coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Jason Gross <jasongross9 AT gmail.com>
- To: Abhishek Anand <abhishek.anand.iitg AT gmail.com>
- Cc: coq-club <coq-club AT inria.fr>
- Subject: Re: [Coq-Club] congruence of definitional equality
- Date: Thu, 30 Jan 2014 02:24:46 -0500
All of the rules are directed, and thus together define a normalization procedure (which results from repeatedly applying them). (There is some trickiness with eta for functions, but that is not hard to reason about after the fact.) It is extremely nontrivial to prove that this normalization procedure is terminating and confluent (that all valid sequences of rule applications result in the same normal form), but these are the two necessary and interesting properties for the standard meta-theoretic presentation, and for computation/evaluation to work. The proof technique is called logical relations, and the major components of the proof are called progress and preservation. Once you have that proof in hand, judgmental equality is just the minimal reflexive (syntactic) relation on normal forms, and this is obviously a congurence.
To answer your question about the existence of such a congruence, it is always possible to construct the reflexive transitive symmetric closure of a relation, and if your relation is proof-irrelevant, it'll be minimal almost by definition.
-Jason
I've seen the definitional equality of Coq being presented
as a bunch of (mainly computational) rules, e.g. http://adam.chlipala.net/cpdt/html/Equality.htmlI've never seen a proof that it is actually a congruence.
Is it just defined as the least congruence containing a bunch
of greek rules? If so, why would such a least relation exist?
(I guess it can be meta-theoretically written as strictly positively inductively defined relation?)Or, is it completely specified first and then proved to be a congruence? (e.g. in the style of http://www.cs.cornell.edu/Info/Projects/NuPrl/documents/Howe/howeEqualityinLazy_LICS98.ps)
Or something else?
Thanks,
-- Abhishek
http://www.cs.cornell.edu/~aa755/
- [Coq-Club] congruence of definitional equality, Abhishek Anand, 01/30/2014
- Re: [Coq-Club] congruence of definitional equality, Jason Gross, 01/30/2014
- Re: [Coq-Club] congruence of definitional equality, Frédéric Blanqui, 01/30/2014
Archive powered by MHonArc 2.6.18.