Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] problem with tactic-generated terms

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] problem with tactic-generated terms


Chronological Thread 
  • From: Jonathan <jonikelee AT gmail.com>
  • To: coq-club AT inria.fr
  • Subject: Re: [Coq-Club] problem with tactic-generated terms
  • Date: Fri, 12 Sep 2014 18:04:30 -0400

On 09/12/2014 05:44 PM, Greg Morrisett wrote:
Uhm, I'm a little worried about this idea of selective proof
irrelevance and the interaction with an injectivity axiom
for some nat -> Prop constructor. This is exactly what we
wanted in Ynot, but I didn't see how to do it safely...

Can you say more Jonathan?

-Greg


Axiom proof_irrelevance : forall (P:Prop) (p1 p2:P), p1 = p2.

So, that certainly won't mix with:


Inductive Erasable(A : Type) : Prop :=
erasable: A -> Erasable A.

Arguments erasable [A] _.

Axiom Erasable_inj : forall {A : Type}{a b : A}, erasable a=erasable
b -> a=b.


A specific Prop P other than Erasable irrelevance:

Axiom P_irrelevance : forall (p1 p2:P), p1 = p2.


Maybe there is a problem here? I will try to create a contradiction in this case, using a Prop that is identical in structure to Erasable, but just not itself Erasable - that actually does look possible...

-- Jonathan




Archive powered by MHonArc 2.6.18.

Top of Page