coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Pierre Casteran <pierre.casteran AT labri.fr>
- To: Victor Porton <porton AT narod.ru>
- Cc: Coq Club <coq-club AT inria.fr>
- Subject: Re: [Coq-Club] Dependent records conditions
- Date: Mon, 21 Nov 2011 16:00:51 +0100
Le 21/11/2011 15:53, Victor Porton a écrit :
Parameter A : Set.
Parameter B : A -> Prop.
Structure Foo := mkFoo { a : A; b : B a }.
(* How to prove this lemma? Is it possible at all? *)
Lemma my (u : Foo) : B (@a u).
Is it possible and *******trivial*********
Lemma my (u : Foo) : B (@a u).
destruct u;trivial.
Qed.
Do you mean you didn't try such an elementary solution ?
P.
- [Coq-Club] Dependent records conditions, Victor Porton
- Re: [Coq-Club] Dependent records conditions, Pierre Casteran
- Re: [Coq-Club] Dependent records conditions,
Daniel Schepler
- Re: [Coq-Club] Dependent records conditions, AUGER Cedric
- Re: [Coq-Club] Dependent records conditions,
Daniel Schepler
- Re: [Coq-Club] Dependent records conditions, Pierre Casteran
Archive powered by MhonArc 2.6.16.