coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: "Soegtrop, Michael" <michael.soegtrop AT intel.com>
- To: "coq-club AT inria.fr" <coq-club AT inria.fr>
- Subject: RE: [Coq-Club] Newbies Question
- Date: Thu, 21 May 2015 17:24:39 +0000
- Accept-language: de-DE, en-US
yes, you are right. I used it as test case for the proof automation I am working on and tried to do it as mechanic as possible, but for sure I should have chosen values which fulfill the preconditions. I also think that x has to be <=100.
And yes, in POST1 p equals po cause of the assignment, so POST2 is never entered. Just POST0 is not trivially true.
Best regards,
Michael
From: coq-club-request AT inria.fr [mailto:coq-club-request AT inria.fr]
On Behalf Of Cedric Auger
2015-05-21 17:51 GMT+02:00 Soegtrop, Michael <michael.soegtrop AT intel.com>:
Technically, that does not come into contradiction with POST0, POST1 and POST2, as "value(d,f,i,po,ko,x)" would have failed before reaching POSTn (the PRECOND statement). I am not used to Python, and there are things, that I do not understand at all in this code, probably because I have wrong ideas on the semantics. I do not see how the POST2 branch can be entered. Didn’t we have a po←p 3 lines above? And for POST1 (which seems to be always entered for the exact same reason), how could POST1 not be trivially true, as 2 lines above, we also have ko←k?
|
- [Coq-Club] Newbies Question, FOURNIER Laurent, 05/21/2015
- Re: [Coq-Club] Newbies Question, Nuno Gaspar, 05/21/2015
- RE: [Coq-Club] Newbies Question, Soegtrop, Michael, 05/21/2015
- Re: [Coq-Club] Newbies Question, Cedric Auger, 05/21/2015
- RE: [Coq-Club] Newbies Question, Soegtrop, Michael, 05/21/2015
- Re: [Coq-Club] Newbies Question, Christophe Bal, 05/21/2015
- RE: [Coq-Club] Newbies Question, Soegtrop, Michael, 05/21/2015
- Re: [Coq-Club] Newbies Question, Christophe Bal, 05/21/2015
- RE: [Coq-Club] Newbies Question, Soegtrop, Michael, 05/21/2015
- Re: [Coq-Club] Newbies Question, Cedric Auger, 05/21/2015
- Re: [Coq-Club] Newbies Question, Gabriel Scherer, 05/21/2015
- Re: [Coq-Club] Newbies Question, Pierre Courtieu, 05/22/2015
- RE: [Coq-Club] Newbies Question, FOURNIER Laurent, 05/26/2015
- Re: [Coq-Club] Newbies Question, Cedric Auger, 05/21/2015
- RE: [Coq-Club] Newbies Question, Soegtrop, Michael, 05/21/2015
- Re: [Coq-Club] Newbies Question, Christophe Bal, 05/21/2015
- RE: [Coq-Club] Newbies Question, Soegtrop, Michael, 05/21/2015
- Re: [Coq-Club] Newbies Question, Cedric Auger, 05/21/2015
Archive powered by MHonArc 2.6.18.