Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Using a Model of Human Analogical Reasoning to drive Coq fully autonomously

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Using a Model of Human Analogical Reasoning to drive Coq fully autonomously


Chronological Thread 
  • From: e+coq-club AT x80.org (Emilio Jesús Gallego Arias)
  • To: Hani Awni <hani.awni AT gmail.com>
  • Cc: coq-club AT inria.fr
  • Subject: Re: [Coq-Club] Using a Model of Human Analogical Reasoning to drive Coq fully autonomously
  • Date: Mon, 28 Mar 2016 00:48:46 +0200
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=e+coq-club AT x80.org; spf=Neutral smtp.mailfrom=e+coq-club AT x80.org; spf=None smtp.helo=postmaster AT jiboia.ensmp.fr
  • Ironport-phdr: 9a23:vMaPgBJQPPmq/C8iq9mcpTZWNBhigK39O0sv0rFitYgUIvrxwZ3uMQTl6Ol3ixeRBMOAu6IC0bGd6v+wEUU7or+/81k6OKRWUBEEjchE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i760zceF13FOBZvIaytQ8iJ35Txjbv5osKDKyxzxxODIppKZC2sqgvQssREyaBDEY0WjiXzn31TZu5NznlpL1/A1zz158O34YIxu38I46Fp34d6XK77Z6U1S6BDRHRjajhtpZ6jiR6WbQKJ5zM1TWMX2k5ICg7EqhjlWJbZvS7zt+470y6fa57YV7cxDDnh5KByDRTslS0vJ25htmbNhYQwoadapBOm7z5y2BzPKK6cMP5zcaSVVMkbTHEADZUZbDBIHo7pN9hHNOEGJ+sN6tCl/1Y=
  • Organization: X80 Heavy Industries

Hi Hani,

Hani Awni
<hani.awni AT gmail.com>
writes:

> I can design this translation, but the first step in this is getting
> my hands on Coq's current goals list, whether in OCaml or Lisp or
> Python.

As suggested by Gregory, you can use the XML protocol and ideslave to
get the goals. I don't have the details at hand but it shouldn't be
difficult to setup.

If you need more control over the goals you can see what the ocaml code
does here:

https://github.com/coq/coq/blob/trunk/ide/ide_slave.ml#L212

and this for coqtop:

https://github.com/coq/coq/blob/trunk/printing/printer.ml#L621

Also you may be interested in:

https://bitbucket.org/coqpide/pidetop/

jsCoq is quite boring for now, as it just calls pr_open_subgoals.

However, we have done some incomplete experiments with automatic
serialization of terms at:

https://github.com/ejgallego/jscoq/blob/master/coq-js/jssexp.ml

I have been working on an evolution of the current XML protocol for
JsCoq that in theory would allow you to get a bit more information of
what is currently possible, however don't hold your breath for it to
happen anytime soon.

Best,
E.



Archive powered by MHonArc 2.6.18.

Top of Page