coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Paolo Herms <paolo.herms AT cea.fr>
- To: coq-club <coq-club AT inria.fr>
- Subject: [Coq-Club] Polymorphic in number of arguments
- Date: Tue, 17 Apr 2012 10:09:09 +0200
Hello,
any ideas of how to generalise this sequence, ie. define Tn?
Definition T0
(A: Type)
(f: option (A))
:=
{ x : (A) | f = Some x }.
Definition T1
(A: Type)
(B: forall (a:A), Type)
(f: forall (a:A), option (B a))
(a:A) :=
{ x : (B a) | f a = Some x }.
Definition T2
(A: Type)
(B: forall (a:A), Type)
(C: forall (a:A) (b: B a), Type)
(f: forall (a:A) (b: B a), option (C a b))
(a:A) (b: B a) :=
{ x : (C a b) | f a b = Some x }.
Definition T3
(A: Type)
(B: forall (a:A), Type)
(C: forall (a:A) (b: B a), Type)
(D: forall (a:A) (b: B a) (c: C a b), Type)
(f: forall (a:A) (b: B a) (c: C a b), option (D a b c))
(a:A) (b: B a) (c: C a b) :=
{ x : (D a b c) | f a b c = Some x }.
Thanks in advance,
--
Paolo Herms
PhD Student - CEA Software Safety Lab. / Inria ProVal project-team
Paris, France
- [Coq-Club] Polymorphic in number of arguments, Paolo Herms
- Re: [Coq-Club] Polymorphic in number of arguments, Sylvain Heraud
- Message not available
- Re: [Coq-Club] Polymorphic in number of arguments,
Paolo Herms
- Re: [Coq-Club] Polymorphic in number of arguments, Damien Pous
- Re: [Coq-Club] Polymorphic in number of arguments, AUGER Cédric
- Re: [Coq-Club] Polymorphic in number of arguments,
Paolo Herms
- Re: [Coq-Club] Polymorphic in number of arguments, Adam Chlipala
Archive powered by MhonArc 2.6.16.