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: Hendrik Tews <hendrik AT askra.de>
  • To: coq-club AT inria.fr
  • Subject: Re: [Coq-Club] Show Goal "<goal-id>" in Coq 8.7 or later?
  • Date: Tue, 04 Jun 2019 22:05:46 +0200
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=hendrik AT askra.de; spf=None smtp.mailfrom=hendrik AT askra.de; spf=None smtp.helo=postmaster AT askra.de
  • Ironport-phdr: 9a23:NBY0BB+3+dvTPP9uRHKM819IXTAuvvDOBiVQ1KB40e0cTK2v8tzYMVDF4r011RmVBNydsq4cwLKK+4nbGkU4qa6bt34DdJEeHzQksu4x2zIaPcieFEfgJ+TrZSFpVO5LVVti4m3peRMNQJW2aFLduGC94iAPERvjKwV1Ov71GonPhMiryuy+4ZLebxhViDanfL9/Iwm6oQrNusQZnIBvNrs/xhzVr3VSZu9Y33loJVWdnxb94se/4ptu+DlOtvwi6sBNT7z0c7w3QrJEAjsmNXs15NDwuhnYUQSP/HocXX4InRdOHgPI8Qv1Xpb1siv9q+p9xCyXNtD4QLwoRTiv6bpgRRn1gykFKjE56nnahMxugqxGrhKvqR5wzY3ab46aKPVwcbjQfc8DRWZdQspdSzZMD4G6YoASD+QBJ+FYr4zlqlUMsxS+AxSjBPnuyj9Lm3T4w7M10uo6EQrb2wEgH8wBsHLJo9XvNacSUvu4w7PTzTXAdfNZwy3x55XWfR04p/yHQLx+cc3UyUY1FgPFiE2dqYPkPzOJ1uQNrnOU4/B8WuKojm4qrRx6rDu3xso0iYTFm5gZxk3F+Ch92oo5O8O0RU5hbdK5H5ZdtzmWOo92T884R2xkpDw2xqAGtJO1ZiQHxpcqyhjCYPKdaYeI+AjsVOOJLDd4mn1lfLW/ig6o/ki7ye38TNO73ExXoSVbitXMt3YN2ALP6sWfSfZx412t1SuO2g3X8O1IP144mKrBJ5I8zbM9loIfsUHZES/3nEX2grWWdkIh+uWw6+TofLPmqYKGN491iQHzKb4hmte8AeQiKAcCRXWU9vqk2L354UL5WKlKjuExkqTBrJ/aIt0bqrelDA9Rz4Ys8A2yDyym0dQdhXkINkhJeBOBj4jzOlHBOur0DfmlgwfkrDA+zPffe7blH5/lL37Zkb6nc6wuxVRbzV8TwNZT/ZNXQo0MP+m7Dk/8stDCDxwROhe32e+hBNgrhdBWYn6GHqLMaPCailSP/O96e7DQNr9Qgy70Lr0e39CrlWUwwAdPdLKqx5JRZH3qRq03cXXcWmLlh5I6KUlPuwM/SOLwj1jbCWxafHWoVuQw62NjUd/0PcL4XomoxYe58mK7E5lRPzgUA0uPC36ue4jWA/o=

Emilio,

thanks for your quick answer.

Emilio Jesús Gallego Arias
<e AT x80.org>
writes:

> I'm not sure there's a new syntax, see the removal PR
> https://github.com/coq/coq/pull/765

I was afraid of that. Proof General was using Show Goal "id"
since the proof tree branch was merged in 2012. When the removal
PR was discussed, I did unfortunately not have the time to follow
any discussions around Coq or Proof General in 2017.

> 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.

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.

> Goal identifiers,

Could somebody point me to the documentation of goal identifiers?
I cannot find them with google.

> 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?

Thanks,

Hendrik



Archive powered by MHonArc 2.6.18.

Top of Page