coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Bruno Barras <bruno.barras AT inria.fr>
- To: coq-club AT inria.fr
- Subject: Re: [Coq-Club] Dependent Type Problem
- Date: Fri, 18 Dec 2015 20:10:31 +0100 (CET)
Hi,
I'd think so. You can define a constant PE' with the same type as PE that is based on EP, and prove this PE' commutes with EP:
Definition PE' n : P (E n) = n.
rewrite <- (PE n).
apply (f_equal P).
apply EP.
Defined.
rewrite <- (PE n).
apply (f_equal P).
apply EP.
Defined.
Lemma comm x : f_equal P (EP x) = PE' (P x).
<proof not trivial but doable>
So we get the good notion of equivalence.
If you replace PE by PE' in the rest of scripts, you should be able to finish the proof, which I haven't checked.
Bruno.
De: "Jason Gross" <jasongross9 AT gmail.com>
À: "coq-club" <coq-club AT inria.fr>
Envoyé: Vendredi 18 Décembre 2015 17:57:25
Objet: Re: [Coq-Club] Dependent Type ProblemYou should be able to do it for other (non-hset) types by "adjusting" the isomorphism into a good notion of equivalence, and using that instead, right?
-Jason
- [Coq-Club] Dependent Type Problem, Gert Smolka, 12/17/2015
- Re: [Coq-Club] Dependent Type Problem, Abhishek Anand, 12/17/2015
- Re: [Coq-Club] Dependent Type Problem, Gert Smolka, 12/18/2015
- Re: [Coq-Club] Dependent Type Problem, Abhishek Anand, 12/18/2015
- Re: [Coq-Club] Dependent Type Problem, Gert Smolka, 12/18/2015
- Re: [Coq-Club] Dependent Type Problem, Thorsten Altenkirch, 12/18/2015
- Re: [Coq-Club] Dependent Type Problem, Thorsten Altenkirch, 12/18/2015
- Re: [Coq-Club] Dependent Type Problem, Jason Gross, 12/18/2015
- Re: [Coq-Club] Dependent Type Problem, Bruno Barras, 12/18/2015
- Re: [Coq-Club] Dependent Type Problem, Nicola Gambino, 12/18/2015
- Re: [Coq-Club] Dependent Type Problem, Thorsten Altenkirch, 12/18/2015
- Re: [Coq-Club] Dependent Type Problem, Bruno Barras, 12/18/2015
- Re: [Coq-Club] Dependent Type Problem, Jason Gross, 12/18/2015
- Re: [Coq-Club] Dependent Type Problem, Thorsten Altenkirch, 12/18/2015
- Re: [Coq-Club] Dependent Type Problem, Abhishek Anand, 12/17/2015
Archive powered by MHonArc 2.6.18.