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: Clément Pit--Claudel <clement.pit AT gmail.com>
  • To: 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:19:19 +0200
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=clement.pit AT gmail.com; spf=SoftFail smtp.mailfrom=clement.pit AT gmail.com; spf=None smtp.helo=postmaster AT mout.kundenserver.de
  • Ironport-phdr: 9a23:un3PTBBXAYzlHrtEWkXCUyQJP3N1i/DPJgcQr6AfoPdwSP7/oMbcNUDSrc9gkEXOFd2CrakU26yM6Ou5BjFIyK3CmU5BWaQEbwUCh8QSkl5oK+++Imq/EsTXaTcnFt9JTl5v8iLzG0FUHMHjew+a+SXqvnYsExnyfTB4Ov7yUtaLyZ/nh6booNaKPFgArQH+SI0xBS3+lR/WuMgSjNkqAYcK4TyNnEF1ff9Lz3hjP1OZkkW0zM6x+Jl+73YY4Kp5pIYTGZn9Kq8/VPlTCCksG2Ez/szi8xfZHiWV4X5JeWGXlxdOHz/97Q2/G7z1uzb2u+41jCKeMMj7S6xyQTW+x6huQR7sziwAMmhqoynslsVsgfcD81qarBtlztuMbQ==

Definitely look at the jsCoq side too; they are doing plenty of neat things
wrt printing goals.

On 03/27/2016 08:53 AM, Gregory Malecha wrote:
> Hello, Hani --
>
> What format are you looking for the information to be in? Without doing
> anything on the Coq implementation side, you can run the ideslvae protocol
> and parse the results (you might want to issue 'Set Printing All' first so
> you don't need to worry about notations). I know of several projects that
> have done something similar to this.
>
> I did a very hacky implementation a while ago:
> https://github.com/gmalecha/coq-interact
> Val Roberts at UCSD has done something nicer for PeaCoq:
> http://goto.ucsd.edu/peacoq/ (probably check out the source code)
>
>
> On Sat, Mar 26, 2016 at 5:40 PM, Hani Awni
> <hani.awni AT gmail.com
>
> <mailto:hani.awni AT gmail.com>>
> wrote:
>
> Hello,
> What would be the best way to get the current proof state at the point
> in interactive proving where Coq is expecting the human to suggest the next
> tactic? For example, I need the information for Proof General's display of
> the list of goals when it is waiting for the user to input "intros",
> "trivial", etc.
>
> For background, I am a cognitive scientist and budding computer
> scientist working in Dr. Hummel's Abstract Relational Reasoning cognitive
> science lab at UIUC, where we have a python model (called LISA) of how
> humans solve relational analogies. The idea is, during an attempt at using
> Coq to prove a human-specified theorem, our model should be able to
> recognize the abstract, structural similarity of the current goals and
> proof state to previous examples it has seen, and consequently suggest the
> appropriate tactic string, including specific mappings like what variable
> to apply over.
> In order for this to happen, I must automatically translate the proof
> state given by Coq into a series of propositions for LISA to understand. 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.
>
> On the #coq IRC, it was suggested that I implement a new tactic using a
> Coq plugin in OCaml, because there I could acquire the proof state;
> however, a tactic specifies the new proof state, whereas our model can only
> provide the tactic to use. Can I recursively attempt a new tactic in place
> of my current one?
>
> This seems like a basic need, so I feel like I have overlooked
> something very basic in my searching; feel free to point out the obvious
> approaches first.
>
> Thank you,
> Hani Awni
>
>
>
>
> --
> gregory malecha
> http://www.people.fas.harvard.edu/~gmalecha/

Attachment: signature.asc
Description: OpenPGP digital signature




Archive powered by MHonArc 2.6.18.

Top of Page