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 19:40:39 +0000
- Accept-language: de-DE, en-US
I think a direct translation of Python to Gallina might work except for:
- while loops - recursive functions - function variables
I don’t think python has other potentially non terminating constructs. The object system might make it quite nasty, though.
But it is an interesting question how desirable this would be or for what purpose this should be used. It might be useful for converting parts of the Python standard library to Coq. But for proving properties of Python programs it is likely a better idea to have an inductive description of Python programs and some interpreter for this, so that one can make inductive proofs of general interesting properties of Python programs.
Best regards,
Michael
From: coq-club-request AT inria.fr [mailto:coq-club-request AT inria.fr]
On Behalf Of Christophe Bal
Thanks a lot.
Do you think that this kind if thing could be automated ?
I ask this because I will do a Python package, in a near future, that can produce a fine AST from Python code (and also other language). Then it could be interesting to see if a transformation from the AST to Coq could be done so as to launch verifications ?
Christophe BAL Enseignant de mathématiques en Lycée et développeur Python amateur --- French math teacher in a "Lycée" and Python amateur developer
2015-05-21 20:01 GMT+02:00 Soegtrop, Michael <michael.soegtrop AT intel.com>:
|
- [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.