Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Show Goal "<goal-id>" in Coq 8.7 or later?

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Show Goal "<goal-id>" in Coq 8.7 or later?


Chronological Thread 
  • From: Emilio Jesús Gallego Arias <e AT x80.org>
  • To: Hendrik Tews <hendrik AT askra.de>
  • Cc: coq-club AT inria.fr
  • Subject: Re: [Coq-Club] Show Goal "<goal-id>" in Coq 8.7 or later?
  • Date: Wed, 05 Jun 2019 18:52:03 +0200
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=e AT x80.org; spf=Pass smtp.mailfrom=e AT x80.org; spf=Pass smtp.helo=postmaster AT x80.org
  • Ironport-phdr: 9a23:D0e8cRZSW3aOOmTbkMaen/f/LSx+4OfEezUN459isYplN5qZoMm9bnLW6fgltlLVR4KTs6sC17OP9fm8AydRv96oizMrSNR0TRgLiMEbzUQLIfWuLgnFFsPsdDEwB89YVVVorDmROElRH9viNRWJ+iXhpTEdFQ/iOgVrO+/7BpDdj9it1+C15pbffxhEiCCybL9vMRm6txjdu8YIjYdtLqs8ywbCr2dVdehR2W5mP0+YkQzm5se38p5j8iBQtOwk+sVdT6j0fLk2QKJBAjg+PG87+MPktR/YTQuS/XQcSXkZkgBJAwfe8h73WIr6vzbguep83CmaOtD2TawxVD+/4apnVAPkhSEaPDMi7mrZltJ/g75aoBK5phxw3YjUYJ2ONPFjeq/RZM4WSXZdUspUUSFKH4GyYJYVD+cZPehWsZTzp1wArRWwBwaiB+3gxTBUiXLtwa02z/4sHR3a0AE6Hd8DtmnfotXvNKcVVOC41KbGzTDCb/NS2Df975DHfBQ/rvGXR6pwatLex0g1GAPBilWft4PlPzSN2ekRqWib7vBvVfmygGMgtQ58uTeuy8QwhoXTgYIV0F/E+Dx/zY0oJtO4UFZ2bcOnHZZTrS2WKZV6T8I4T211uis216cKtYO1cSQU0JgqxRzSZ+aaf4WI4R/vTvudLDRkiH5/Zr6yiAq+/E69wePmTMa0ykxFri9dn9nMqH8N0xvT59CIS/Z+4kutwzGP1xrc6u1cIEA0k7TUK4I5z7ItlZcesl7PEjHolEj3lqOaa0cp9vWy5+j6bLjquIeQN4puhQH/NqQulNa/AeM9MgUWQWeW4uu92b7/8UHjR7VKlPI2nrHDsJ/GPcQburK5AwhN34k/7Ba/Fi6q38gcnXkaN11IYwmHjojsO1HWOv/0F/a/g1K2kDdq3f/KJLPhAo+eZkTExZfse7pn6k0U9Acs1pgL559SBqsAI9r6QUzrvZrUA0lqHRazxrPKDdR514Qpe2+UkLSuH6rWtVKH4dUGOeiFf8dBtR7te6Bj4OTh2yxq0WQBdLWkiMNEIEuzGe5rdgDAOSK13oUxVFwStw97d9TEzUWYWG8BdybqGaUm6WNjUd/0PcL4XomoxYe58mK7E5lRNzJWWgjKFm3nJdzdCqU8LRmKK8okqQQqEL2oSosvzxar5V3qm+IhKfDbqHQV
  • Organization: X80 Heavy Industries

Hendrik Tews
<hendrik AT askra.de>
writes:

>> I guess that command could be re-instantiated, or you could use
>
> I find prooftree really useful. It helps to maintain the overview
> in mid-size or bigger proofs. I would therefore really appreciate
> if the command would be supported again.

IMHO this command can be resurrected, I don't have time to do the PR
now, please feel free to go ahead.

> If it is not too difficult, a command that prints a goal in a
> certain state, would even be more useful. That would permit to
> print a goal in the state before certain existential variables
> have been instantiated. In turn, this would permit to move more
> of the proof tree logic and data from Proof General to prooftree
> and to decouple both application even more, with benefits for
> performance. Proof General tries to parallelise Coq and the
> command queue handling by sending the next command to Coq before
> the output from the previous has been fully processed. Because
> one cannot print a goal at a previous state, all the code that
> decides about what goals need to be printed must be located in
> Proof General, must run before Proof General sends the next
> command to Coq and does therefore run sequentially with Coq.

I am not sure what you mean, but I'd suggest you open an issue on Github
and we continue the discussion there.

>> however, I am not sure if using the toplevel protocol to
>> implement proof tree display will be robust enough as to
>> survive for long.
>
> What would you suggest instead?

That's a good question, you could try for example some tools such as
coq-serapi, it does provide a nicer interaction model, however that
protocol is also not expected to stay like this for long; I'd like to do
a major revision soon.

On the other hand, getting feedback on what you folks would need would
be great as to be sure your use case is properly accounted in the next
revision.

E.



Archive powered by MHonArc 2.6.18.

Top of Page