[Why3-club] warning: this expression may diverge

2014-02-10 Thread Johannes Kanig
y case the loop expression actually contains a raise expression. -- Johannes Kanig ___ Why3-club mailing list Why3-club@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/why3-club

Re: [Why3-club] warning: this expression may diverge

2014-02-10 Thread Johannes Kanig
t news. Completely interchangeable, as in assert { True } and function b : bool = true ? Johannes -- Johannes Kanig ___ Why3-club mailing list Why3-club@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/why3-club

[Why3-club] Why3 simplifying too much

2014-02-10 Thread Johannes Kanig
milar) was guaranteed to work and not suppress VCs, we could get rid of "keep_on_simp". What do you think? -- Johannes Kanig simp.mlw Description: Binary data ___ Why3-club mailing list Why3-club@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/why3-club

Re: [Why3-club] warning: this expression may diverge

2014-02-10 Thread Johannes Kanig
which function/statement belongs a given warning? Not something that we want to tackle right now. -- Johannes Kanig ___ Why3-club mailing list Why3-club@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/why3-club

Re: [Why3-club] warning: this expression may diverge

2014-02-10 Thread Johannes Kanig
verge. You are talking about a more heuristic warning. -- Johannes Kanig ___ Why3-club mailing list Why3-club@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/why3-club

[Why3-club] warning about unused variable

2014-02-11 Thread Johannes Kanig
a ref; * I would prefer to not have this warning. What do you think? -- Johannes Kanig ___ Why3-club mailing list Why3-club@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/why3-club

Re: [Why3-club] Why3 simplifying too much

2014-02-12 Thread Johannes Kanig
at right? I'm not sure, in any case it never came up up to now. So I would say do as you wish! Johannes -- Johannes Kanig ___ Why3-club mailing list Why3-club@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/why3-club

Re: [Why3-club] warning about unused variable

2014-02-13 Thread Johannes Kanig
s* used!), and I would prefer not to have it, or some way to disable it. -- Johannes Kanig ___ Why3-club mailing list Why3-club@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/why3-club

Re: [Why3-club] warning about unused variable

2014-02-13 Thread Johannes Kanig
ut I don't see a deficiency of Why3 to fix in this example. I agree that's the real issue here. -- Johannes Kanig ___ Why3-club mailing list Why3-club@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/why3-club

Re: [Why3-club] Why3 simplifying too much

2014-03-03 Thread Johannes Kanig
n, * a VC, even if it is simply "true", when there is a precondition, and the call has a "keep_on_simp" tag. No urgency of course, just wanted to let you know our preference. Best, Johannes -- Johannes Kanig ___ Why3-club mailing list W

Re: [Why3-club] Why3 simplifying too much

2014-03-03 Thread Johannes Kanig
On Mon, 03 Mar 2014 10:02:19 +0100, Johannes Kanig wrote: I was confused - we would indeed want to make the distinction you describe: And attached is a file which describes the issue: currently Why issues a VC on the call, although it doesn't have a precondition. Best, Joh

Re: [Why3-club] why3/jessie doesn't build with ocaml 4.01 ?

2014-06-04 Thread Johannes Kanig
(e.g. on libre.adacore.com). There should be no problem to have two installs of why3 on a system, as long as they are not installed in the same place. -- Johannes Kanig ___ Why3-club mailing list Why3-club@lists.gforge.inria.fr http

Re: [Why3-club] why3/jessie doesn't build with ocaml 4.01 ?

2014-06-04 Thread Johannes Kanig
Oh, as a side note, I think the INSTALL instructions may be out-of-date. It seems the correct install target is now "install-all", not "byte install-lib" To which INSTALL instructions are you referring? Thanks for your efforts, Johannes -- Johannes Kanig _

Re: [Why3-club] why3/jessie doesn't build with ocaml 4.01 ?

2014-06-04 Thread Johannes Kanig
ac45b;hb=HEAD OK, then that's for the upstream Why3 people to fix. -- Johannes Kanig ___ Why3-club mailing list Why3-club@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/why3-club

Re: [Why3-club] why3/jessie doesn't build with ocaml 4.01 ?

2014-06-04 Thread Johannes Kanig
ork. Johannes -- Johannes Kanig ___ Why3-club mailing list Why3-club@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/why3-club

Re: [Why3-club] why3/jessie doesn't build with ocaml 4.01 ?

2014-06-05 Thread Johannes Kanig
l it "why3-spark2014" or some such. 2) it would be best not to have this package at all, it is useless in itself and only useful as a component of SPARK 2014. You are free to do whatever you want, of course. -- Johannes Kanig ___ Why3-club ma

Re: [Why3-club] [Why3 API] Definition of Call_provers.prover_result?

2015-07-10 Thread Johannes Kanig
because ... Where is prover_result defined? How am I supposed to access the proof_attempt_status? ... you can find that type in the file /src/driver/call_provers.ml[i] -- Johannes Kanig, PhD Senior Software Engineer ___ Why3-club

Re: [Why3-club] Difference between lemma and goal, and why are they inconsistent?

2016-07-05 Thread Johannes Kanig
the context; * axiom: does not generate a proof obligation, will appear in the context. Johannes -- Johannes Kanig, PhD Senior Software Engineer ___ Why3-club mailing list Why3-club@lists.gforge.inria.fr http://lists.gforge.inria.fr/mailman/listinfo/why3-club

Re: [Why3-club] A question about the context consistency in Why3 Logic

2017-09-11 Thread Johannes Kanig
an be easily removed (e.g. prenex quantifiers in the goal). With Why3, it is relatively hard to produce goals without quantifiers, so in most cases the prover will say "unknown" instead of "sat". -- Johannes Kanig, PhD Senior Software Engineer ___ Why3-club mailing list Why3-club@lists.gforge.inria.fr https://lists.gforge.inria.fr/mailman/listinfo/why3-club

Re: [Why3-club] Running multiple provers in parallel on a single task

2017-10-23 Thread Johannes Kanig
using sessions? If not, you can just replace your pids by the "prover_call" type of call_provers.mli. The call_on_* functions of that file (and the more high-level ones of driver.mli) return immediately, so they are suitable for running provers in parallel. -- Johannes Kanig, PhD Senio

Re: [Why3-club] strange error when using external solvers: connection refused

2017-12-10 Thread Johannes Kanig
rguments for that process, e.g. using "ps" if still running, or using strace? - what happens if you run that process by hand using the same arguments? Best, Johannes -- Johannes Kanig, PhD Senior Software Engineer ___ Why3-club mailing lis

Re: [Why3-club] Mixing integers and reals

2019-10-31 Thread Johannes Kanig
ub.com/AdaCore/why3 - see the contents of the old transformation: git show 9bed9dea98f532afdf6eebfb3545ab7c58493daa:src/transform/gnat_float.ml But note that the code is from 2015, so it probably won't compile with today's Why3 and requires some modification. -- Johannes Kanig, PhD