Re: [Why3-club] What module is Number ?

2013-12-31 Thread Yannick Moy
's apparently a utility module that ships with why3: $ find . -name number.ml ./src/util/number.ml You are probably missing "-I src/util" in the compilation switches, so that Number is visible. Best regards -- Yannick Moy, Senior Software Engineer, AdaCore ___

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

2014-02-10 Thread Yannick Moy
r one, it won't be possible to > instantiate an abstract terminating function (that is, any "val" without an > explicit "diverges" clause) with a potentially diverging implementation. And > this is no more the question of usability but of correctness. sure, bu

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

2014-02-10 Thread Yannick Moy
-- Johannes Kanig (2014-02-10) > > On Mon, 10 Feb 2014 18:28:15 +0100, Yannick Moy wrote: >> Or have a more clever warning which does not warn on "while True" loops. > > Yannick, If I understand correctly, the warning is supposed to be "complete", >

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

2014-02-10 Thread Yannick Moy
kely to happen on purpose. > All this is to say that I'm rather > cautious about defining what "is expected to be fine". I'd say an infinite loop with raised exceptions and no variant should be "fine", in the sense that this should not be an obvious cau

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

2014-02-11 Thread Yannick Moy
27;ll simply mark all our generated "while True" loops as potentially diverging, which should not (I hope) have any impact whatsoever on VC generation. -- Yannick Moy, Senior Software Engineer, AdaCore ___ 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 Yannick Moy
y do as > you wish! In our translation to Why3, we use "requires { true }" when there is no explicit precondition on the Ada subprogram, but we do not end with a subgoal of "true" in that case, so it must be discarded by the WP. -- Yannick Moy, Senior Software Engineer, AdaCo

[Why3-club] Compiling Why3 IDE on Mac

2014-02-20 Thread Yannick Moy
this work? -- Yannick Moy, Senior Software Engineer, AdaCore ___ Why3-club mailing list Why3-club@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/why3-club

Re: [Why3-club] Compiling Why3 IDE on Mac

2014-02-20 Thread Yannick Moy
-- Alan Schmitt (2014-02-20) > > Yannick Moy writes: > >> Quick question to Mac users: how do you get labgtksourceview2? > > Through opam, by first installing gtksourceview using homebrew. Thanks! I had gtksourceview already installed with macports, so I simply used

Re: [Why3-club] Compiling Why3 IDE on Mac

2014-02-21 Thread Yannick Moy
ing XQuartz 2.7.5 and why3 0.82. Everything is > installed through homebrew / opam. Not seeing it either, using X11 and the latest sources of why3. -- Yannick Moy, Senior Software Engineer, AdaCore ___ Why3-club mailing list Why3-club@lists.gforge

Re: [Why3-club] Compiling Why3 IDE on Mac

2014-02-21 Thread Yannick Moy
-- Yannick Moy (2014-02-21) > > > Thanks! I had gtksourceview already installed with macports, so I simply used > opam to get lablgtk-extras, and it worked! For others who have the same > problem, here is exactly what I did, using macports+opam: Argh! I just saw the maintai

[Why3-club] two open positions in new Joint Laboratory to develop Why3 and SPARK technologies

2014-04-02 Thread Yannick Moy
, see the description of the position at INRIA: http://www.inria.fr/en/institute/recruitment/offers/r-d-engineers/%28view%29/details.html?id=PNGFK026203F3VBQB6G68LOE1&LOV5=4510&ContractType=6502&LG=EN&Resultsperpage=20&nPostingID=8315&nPostingTargetID=14052&option=52&

[Why3-club] invitation to STRESS - October 3 - 7, Corfu, Greece

2014-08-21 Thread Yannick Moy
SMT solving with CVC4 and model checking with Kind 2. A very exciting mix! I should also stress that Corfu must provide a rather relaxing surrounding around this time of the year, despite the name of the school. See you there... -- Yannick Moy, Senior Software Engineer, Ada

Re: [Why3-club] Translation to Z3 problem

2014-10-13 Thread Yannick Moy
mponents", etc.) 2. translate your structure into a concrete Why3 type (for example a record as in your example) and impose further restrictions with predicates applied to specific values of the type I think there is now a notion of type invariant in Why3 which would be more like what you

Re: [Why3-club] Why3 version 0.84 and Z3 version 4.3.2 do not work together

2014-11-25 Thread Yannick Moy
line in provers-detection-data.conf file, or something else? My advice is to simply remove -rs from the Z3 entry in your local .why3.conf generated by running why3config --detect-provers. -- Yannick Moy, Senior Software Engineer, AdaCore ___ Why3-club ma

Re: [Why3-club] Resource limit

2015-07-27 Thread Yannick Moy
=%S %f" However, I don't think it's available yet on the command line, only through the API. (and BTW for Why3 team, this field is not yet documented in Why3 manual at http://why3.lri.fr/doc-0.85/manual011.html#sec117) -- Yannick Moy, Senior Software Engineer, AdaCore _

Re: [Why3-club] Several remarks and questions on Why3

2016-06-06 Thread Yannick Moy
he SPARK User's Guide at http://docs.adacore.com/spark2014-docs/html/ug/gnatprove.html#how-to-investigate-unproved-checks <http://docs.adacore.com/spark2014-docs/html/ug/gnatprove.html#how-to-investigate-unproved-checks> I believe Why

Re: [Why3-club] Several remarks and questions on Why3

2016-06-07 Thread Yannick Moy
https://hal.inria.fr/hal-01314885 <https://hal.inria.fr/hal-01314885> or the longer research report: https://hal.inria.fr/hal-01271174 <https://hal.inria.fr/hal-01271174> Maybe David you may want to give additional info on how to use counterexamples in Why3 that is not given curren

Re: [Why3-club] Several remarks and questions on Why3

2016-06-08 Thread Yannick Moy
rexamples in SPARK is that we generate a special VC just for counterexample (not for proof) using a modified CVC4 driver, that forces the logic to AUFLIRA. Then CVC4 emits an error when a nonlinear arithmetic operation is found, but at least we get counterexamples when no suc

Re: [Why3-club] Count-example generation attempts with Z3 and CVC4

2016-08-18 Thread Yannick Moy
pens in your case. But this is not coming from your file, so from int.Int? Can you look at the SMT2 file generated to see where it uses non-linear arithmetic? That's strange, as we do use import int.Int like this in SPARK, without any problem. -- Yannick Moy,

Re: [Why3-club] Several remarks and questions on Why3

2016-08-18 Thread Yannick Moy
asily generated. The problem then is that it may likely be a spurious one. I believe the notions of soft/hard time limits that we proposed in our article is better, as it's easy for the prover to check that current ground terms do not contradict the counterexample. But this has not made it so

Re: [Why3-club] Difference between let and function?

2016-08-25 Thread Yannick Moy
be expanded. On the contrary, > "let" is an "opaque" function definition only seen through its contract. > It can have side effects. > > Am I correct? AFAIK, yes. -- Yannick Moy, Senior Software Engineer, AdaCore ___

Re: [Why3-club] Why3 and CVC4 1.4/1.5

2017-08-07 Thread Yannick Moy
"command" field, you may not need the "command_steps" field in your case) -- Yannick Moy, Senior Software Engineer, AdaCore ___ Why3-club mailing list Why3-club@lists.gforge.inria.fr https://lists.gforge.inria.fr/mailman/listinfo/why3-club

[Why3-club] trying to use Eprover from Why3

2017-11-14 Thread Yannick Moy
. But it just answers with: $ why3 prove -P Eprover quantarrays.mlw Unknown printer 'tptp-fof' Do you get this error when calling TPTP provers? Should I configure why3 differently? Thanks in advance. -- Yannick Moy, Senior Software Enginee

Re: [Why3-club] trying to use Eprover from Why3

2017-11-14 Thread Yannick Moy
t;/lib/why3/plugins/tptp" in my source or installed why3 directory. How do I get this created? Is it a special argument to configure? TIA -- Yannick Moy, Senior Software Engineer, AdaCore ___ Why3-club mailing list Why3-clu

Re: [Why3-club] trying to use Eprover from Why3

2017-11-14 Thread Yannick Moy
-- Yannick Moy (2017-11-14) > indeed, why3config did not generate the "plugin" line. > But in any case, I have no such "/lib/why3/plugins/tptp" in my source or > installed why3 directory. > How do I get this created? Is it a special argument to configure? Forge

Re: [Why3-club] Release of Alt-Ergo 2.0.0

2017-11-16 Thread Yannick Moy
binary could be all Apache 2.0, and that you can just avoid distributing the non-Apache prelude files to get a free software version. Mohamed, do you confirm that? -- Yannick Moy, Senior Software Engineer, AdaCore ___ Why3-club mailing list W

Re: [Why3-club] [Q612-030] adapt SPARK to Why3 1.0.0

2018-07-25 Thread Yannick Moy
? we might need to mark all the generated Why3 code as ghost then. -- Yannick Moy, Senior Software Engineer, AdaCore ___ Why3-club mailing list Why3-club@lists.gforge.inria.fr https://lists.gforge.inria.fr/mailman/listinfo/why3-club

Re: [Why3-club] [Q612-030] adapt SPARK to Why3 1.0.0

2018-07-26 Thread Yannick Moy
If indeed Why3 as a source language benefits from different choices than Why3 as an intermediate language, I suggest the introduction of a "mode" to switch between these two ways to use Why3. -- Yannick Moy, Senior Software Engineer, AdaCore _

Re: [Why3-club] [Q612-030] adapt SPARK to Why3 1.0.0

2018-07-26 Thread Yannick Moy
-- Claire Dross (2018-07-26) No, the polymorphism encoding didn't change at all, so everything should still be there, see François' reply. > > I don't see his reply, were is it? On Why3 list? yes to why3-club@ ___ Why3-club mailing list Why3-

Re: [Why3-club] Failed Why3 Project?

2019-01-30 Thread Yannick Moy
rch-corner-proving-security-of-binary-programs-with-spark <https://blog.adacore.com/research-corner-proving-security-of-binary-programs-with-spark> I cannot comment on the assessment of your professor, I suggest you discuss with him/her the rationale for his assessment? Hope that help

[Why3-club] The successor of Why3 is here

2020-07-30 Thread Yannick Moy
It's called What4: https://galois.com/blog/2020/07/what4-new-library-to-help-devs-build-verification-program-tools/ :-) Of course, no successor here, only an homage to Why3 in picking the name of their tool for addressing different SMT solvers from Haskell code. -- Yannick Moy Senior Sof

[Why3-club] Why3 receives a prize for academic-industrial collaboration

2020-11-27 Thread Yannick Moy
congrats Why3 team: https://systematic-paris-region.org/presse/why3-laureat-du-prix-coup-de-coeur-academique-du-hub-open-source-du-pole-systematic/ well deserved if you ask me. :-) and I totally approve your choice of funding Wikimedia and Framasoft with the prize. -- Yannick Moy Senior Software