Skip to Content.
Sympa Menu

coq-club - [Coq-Club] A question about unicity of proofs

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

[Coq-Club] A question about unicity of proofs


chronological Thread 
  • From: Pierre Casteran <pierre.casteran AT labri.fr>
  • To: coq-club AT inria.fr
  • Cc: Vincent Filou <vincent.filou AT labri.fr>
  • Subject: [Coq-Club] A question about unicity of proofs
  • Date: Fri, 20 May 2011 08:46:07 +0200

Hello,

  Let us consider a type of finite or infinite lists :

Variable (A:Type).

CoInductive LList :=
  | LNil: LList
  | LCons : A -> LList -> LList.


Inductive Finite : LList -> Prop :=
  |Finite_LNil: Finite LNil
  |Finite_LCons   : forall a l, Finite l-> Finite (LCons a l).


Is it possible to prove unicity of proofs of Finite ?

Goal forall l (H H0:Finite l), H=H0 ?

Pierre








Archive powered by MhonArc 2.6.16.

Top of Page