coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Adam Chlipala <adam AT chlipala.net>
- To: Pierre-Marie P�drot <pierremarie.pedrot AT ens-lyon.fr>
- Cc: coq-club AT inria.fr
- Subject: Re: [Coq-Club] Yet another dependent type question
- Date: Fri, 26 Mar 2010 10:09:41 -0400
Pierre-Marie Pédrot wrote:
I am currently facing a somewhat simple problem which is very close to
one example that can be found in Adam's book :
Lemma tricky : forall (A : Type) (X : A) (pf : A = A), X = match pf in
(_ = A) return A with refl_equal => X end.
[...]
Any clues (axiom-free, of course) ?
It seems likely that you can't prove this without an axiom. Note that your theorem is _very_ close to the [Eqdep] module's axiom:
http://coq.inria.fr/stdlib/Coq.Logic.Eqdep.html
If you unfold the definition of [eq_rect] there, the statement is almost your [tricky] lemma. The only generalization is allowing any [return] clause, not just [return A].
Whoever thought hard about metatheory here concluded that [eq_rect_eq] isn't provable. Maybe your specialization of it _is_ provable, but I'm not aware of a proof.
- Re: [Coq-Club] finite sets in proofs, (continued)
- Re: [Coq-Club] finite sets in proofs, AUGER
- RE: [Coq-Club] finite sets in proofs, Georges Gonthier
- Re: [Coq-Club] finite sets in proofs,
Chantal Keller
- Re: [Coq-Club] finite sets in proofs,
Thomas Braibant
- Re: [Coq-Club] finite sets in proofs,
Chantal Keller
- Re: [Coq-Club] finite sets in proofs, Thomas Braibant
- Re: [Coq-Club] finite sets in proofs,
Stéphane Lescuyer
- Re: [Coq-Club] finite sets in proofs, Pierre Letouzey
- Re: [Coq-Club] finite sets in proofs, Chantal Keller
- [Coq-Club] Yet another dependent type question,
Pierre-Marie Pédrot
- Re: [Coq-Club] Yet another dependent type question, Adam Chlipala
- Re: [Coq-Club] Yet another dependent type question,
Pierre Corbineau
- Re: [Coq-Club] Yet another dependent type question, Pierre-Marie Pédrot
- Re: [Coq-Club] Yet another dependent type question, Michael Shulman
- Re: [Coq-Club] Yet another dependent type question, Hugo Herbelin
- Re: [Coq-Club] Yet another dependent type question, Michael Shulman
- Re: [Coq-Club] Yet another dependent type question, Hugo Herbelin
- Re: [Coq-Club] Yet another dependent type question,
Pierre Corbineau
- Re: [Coq-Club] Yet another dependent type question, Adam Chlipala
- Re: [Coq-Club] finite sets in proofs,
Chantal Keller
- Re: [Coq-Club] finite sets in proofs,
Thomas Braibant
Archive powered by MhonArc 2.6.16.