Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Dependent rewrite question (probably simple answer! :)

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Dependent rewrite question (probably simple answer! :)


chronological Thread 
  • From: Edsko de Vries <devriese AT cs.tcd.ie>
  • To: Adam Chlipala <adamc AT hcoop.net>
  • Cc: coq-club <coq-club AT pauillac.inria.fr>
  • Subject: Re: [Coq-Club] Dependent rewrite question (probably simple answer! :)
  • Date: Fri, 20 Feb 2009 15:03:06 +0000
  • List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>

Hi Adam,

Thanks for taking the time to reply. However, I'm not sure your answer generalizes to the real proof I'm attempting, since you are taking advantage of the fact that I only introduced one constructor for T. Suppose that we change the definition of T to

Inductive T : nat -> Set :=
 | MkT : forall (n:nat), T n
 | MkT2 : forall (n:nat), T n.

Trying this, I now also get stuck in my a_is_b lemma :-( Surely I should still be able to prove that a = b and that X U a = X (U + 1 - 1) b?

Edsko





Archive powered by MhonArc 2.6.16.

Top of Page