Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] coqchk safe from plugins? (Was: Axioms reported by coqchk)

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] coqchk safe from plugins? (Was: Axioms reported by coqchk)


Chronological Thread 
  • From: Jonathan Leivent <jonikelee AT gmail.com>
  • To: coq-club AT inria.fr
  • Subject: Re: [Coq-Club] coqchk safe from plugins? (Was: Axioms reported by coqchk)
  • Date: Fri, 19 Aug 2016 14:22:02 -0400
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=jonikelee AT gmail.com; spf=Pass smtp.mailfrom=jonikelee AT gmail.com; spf=None smtp.helo=postmaster AT mail-qk0-f178.google.com
  • Ironport-phdr: 9a23:9Ok0/RXXGVu+SanNOPzbdxbyoIXV8LGtZVwlr6E/grcLSJyIuqrYZxOPt8tkgFKBZ4jH8fUM07OQ6PG5HzZeqs/Y7jhCKMUKDE5dz51O3kQJO42sMQXDNvnkbig3ToxpdWRO2DWFC3VTA9v0fFbIo3e/vnY4ExT7MhdpdKyuQtaBx/q+2+36wZDPeQIA3GP7OuIrak/o5lyI6IFW2dIkcfdpjEOR4zNhQKd//StQP1WdnhLxtI+b3aVI1GBugc8n7NNKSq7gfq41HvRyBTUiNH0ptoWw7UGQBT2mvSRHFz1K2loVW0mWpCz8RYr75yvmqvJmim7dMszqTa0+Hz+l6uBuQQPozSwAMiZ+9WjLiol7i6dD5xiloBY4xofPfIyPc/93YqPWetYCAm1NUvFWTSBMGMSnc5EOF/IMMdFfo4XKoEECoAGJGQmhA/niz3lW1UPxiKY9yqEqFRzM9A0mBdMH9nrO//vvM6JHc+ezxbXIxDOLS/5Xxzr79MCccBcnoPKBWb99WcXUwEgrUQjCiwPD+sTeIzqJ27FV4CCg5O16WLfy02M=



On 08/19/2016 02:00 PM, Robbert Krebbers wrote:
On 08/19/2016 07:47 PM, Jonathan Leivent wrote:
Would you even recognize the decompiled lemma as the one you intended,
based on all that would need to be omitted (notations, implicits,
unicode translations, coercions, etc.)?
Depends on the lemma of course. If you ask it to print a lemma whose statement heavily relies on notations and implicit arguments, it will probably be unrecognizable.

However, that does not have to be the case. Take a look at:


https://github.com/math-comp/math-comp/blob/master/mathcomp/odd_order/stripped_odd_order_theorem.v

This is a rather small self-contained file that consists of the odd-order theorem and all definitions involved in its statement. It does not rely on notations, implicit arguments, and so on.

But, that was written by humans, not by a decompiler, correct? I'm anticipating that a decompiler - one that is faithful to the representation that coqchk is actually checking (not, for instance, one that based the decompiler output on some auxiliary info stashed away for just this purpose) - would be problematic both in implementation and in how readable its output would be.

Also, if one is willing to write such things, then isn't the suggestion of a test module that is compiled without plugins sufficient?

-- Jonathan




Archive powered by MHonArc 2.6.18.

Top of Page