Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Speeding up inversion on large inductives

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Speeding up inversion on large inductives


Chronological Thread 
  • From: Enrico Tassi <enrico.tassi AT inria.fr>
  • To: coq-club AT inria.fr
  • Subject: Re: [Coq-Club] Speeding up inversion on large inductives
  • Date: Thu, 10 Sep 2015 12:03:06 +0200
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=enrico.tassi AT inria.fr; spf=None smtp.mailfrom=gares AT fettunta.org; spf=None smtp.helo=postmaster AT fettunta.org
  • Ironport-phdr: 9a23:m0Enahz6Lbvz+STXCy+O+j09IxM/srCxBDY+r6Qd0ekXIJqq85mqBkHD//Il1AaPBtWHrasYw8Pt8IneGkU4qa6bt34DdJEeHzQksu4x2zIaPcieFEfgJ+TrZSFpVO5LVVti4m3peRMNQJW2WVTerzWI4CIIHV2nbEwudrizQ9Kapv/0/t7x0qWbWx9Piju5bOE6BzSNhiKViPMrh5B/IL060BrDrygAUe1XwWR1OQDbxE6ktY/jtKJkpi9Xorcq89NKeaT8ZaUxC7JCXxo8NGVgycvxtBLEBTeG/WAdGjEblABJCA+D8BjhRZbZsy3gt+M71jPMbp6+dqw9RTn3t/QjcxTvkipSbzM=

On Thu, Sep 10, 2015 at 09:19:03AM +0000, Soegtrop, Michael wrote:
> In Coq 8.5 I got the impression that proof terms are not loaded unless
> really used e.g. in a Print. A Print of an imported proof results in a
> message that an opaque proof term has been loaded from a library. Also
> the background proof mechanism of CoqIDE makes the user believe that
> Coq 8.5 can handle opaque proofs.

I don't recall if it was the case in 8.4, but for sure in 8.5 (opaque) proofs
are loaded only on demand and the flag mentioned in this thread is
ignored. I'm sure in 8.3 the flag was needed in order to get lazy
loading of proof objects (needed only by Print and some uses of Extraction).

> Finally I wonder what effect it would have to put the proofs into a
> module and then remove the proof terms by opaque signature ascription.
> In my experience this makes the proofs more opaque than Qed does, e.g.
> they are no longer accessible to Print. Would it still be required to
> load the proof terms when such an opaque module is loaded from a
> library?

I'm not very competent about modules, but in any case opaque proofs are
stored in a flat array on the side of the rest of the data. So the
"extra opacity" a sealed module gives to you is only due to the way Print
works.

Best,
--
Enrico Tassi



Archive powered by MHonArc 2.6.18.

Top of Page