coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: muad <muad.dib.space AT gmail.com>
- To: coq-club AT pauillac.inria.fr
- Subject: Re: [Coq-Club] Properties on mutual definitions
- Date: Wed, 9 Dec 2009 11:53:49 -0800 (PST)
- List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>
I just have to suggest this alternative way to prove it.
Ltac mark H := let T := type of H in change (id T) in H.
Ltac unmark := unfold id in *.
Fact totalf {a a'} (F : f a a') : a = a'
with totalg {l l'} (G : g l l') : l = l'.
Proof.
Ltac information f f' := repeat match goal with F : f _ _ |- _ => pose (f'
_ _ F); mark F end.
intros; destruct F; information f totalf; information g totalg;
congruence.
intros; destruct G; information f totalf; information g totalg;
congruence.
Qed.
--
View this message in context:
http://old.nabble.com/Properties-on-mutual-definitions-tp26711958p26716597.html
Sent from the Coq mailing list archive at Nabble.com.
- [Coq-Club] Properties on mutual definitions, Thomas Thüm
- Re: [Coq-Club] Properties on mutual definitions,
Adam Chlipala
- Re: [Coq-Club] Properties on mutual definitions, Thomas Thüm
- Message not available
- Re: [Coq-Club] Properties on mutual definitions,
AUGER
- Re: [Coq-Club] Properties on mutual definitions, muad
- Re: [Coq-Club] Properties on mutual definitions,
Adam Chlipala
- [Coq-Club] Properties on mutual definitions,
Thomas Thüm
- Re: [Coq-Club] Properties on mutual definitions, Adam Chlipala
- Re: [Coq-Club] Properties on mutual definitions,
AUGER
- [Coq-Club] Properties on mutual definitions, Thomas Thüm
- [Coq-Club] Properties on mutual definitions,
Thomas Thüm
- Re: [Coq-Club] Properties on mutual definitions,
Adam Chlipala
- Re: [Coq-Club] Properties on mutual definitions, muad
- Re: [Coq-Club] Properties on mutual definitions,
Adam Chlipala
Archive powered by MhonArc 2.6.16.