Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Printing new universes

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Printing new universes


Chronological Thread 
  • From: Thomas Braibant <thomas.braibant AT gmail.com>
  • To: Jason Gross <jasongross9 AT gmail.com>
  • Cc: coq-club AT inria.fr
  • Subject: Re: [Coq-Club] Printing new universes
  • Date: Sun, 1 Jul 2012 17:38:44 -0400

Hi,

I hacked a quick plugin that seems to do what you want in a crude way.

It provides several new vernacular commands that:
- make it possible to file the current universe constraints (giving it a
name);
- compute the difference between two sets universe constraints that
were filed before (using two names);
- compute the difference between the current universe constraints and
a set of universe constraints that were filed before.

Hope that helps.
Thomas

PS: The name of the vernacular command may sound weird, but I could
not use something starting with "Save".

On Sun, Jul 1, 2012 at 4:47 PM, Jason Gross
<jasongross9 AT gmail.com>
wrote:
> Hi,
> Is there a way to ask coq for the new universe constraints that were
> introduced by a particular definition or theorem? Alternatively, is there a
> way to script emacs, running Proof General, to save the output of [Print
> Universes] at one point, and diff that against the output of [Print
> Universes] at another point, and show some number of surrounding lines?
>
> Thanks.
>
> -Jason

Attachment: jason.tar
Description: Unix tar archive




Archive powered by MHonArc 2.6.18.

Top of Page