coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Vladimir Voevodsky <vladimir AT ias.edu>
- To: Coq-Club Club <coq-club AT inria.fr>
- Subject: [Coq-Club] an issue with notations
- Date: Sun, 17 Apr 2011 11:12:09 -0400
Hello,
I am trying to learn the Coq system for notations. When I write:
Notation "'total2'" := (@sigT) (at level 0): type_scope.
Notation "'tpair'" := (@existT) (at level 0) : type_scope.
Definition pr21 (T:UU) (P:T -> UU) (z: total2 T P) : T :=
match z with
tpair t x => t
end.
Coq complains at the definition by saying "Constructor expected". What is
wrong there?
Vladimir.
- Re: [Coq-Club] Impredicative [ Set ], (continued)
- Re: [Coq-Club] Impredicative [ Set ], Vladimir Voevodsky
- Re: [Coq-Club] Impredicative [ Set ], Pierre Courtieu
- [Coq-Club] messy behavior with universes, Vladimir Voevodsky
- [Coq-Club] Re: [coqdev] messy behavior with universes, Tom Prince
- [Coq-Club] Re: [coqdev] messy behavior with universes, Vladimir Voevodsky
- Re: [Coq-Club] Re: [coqdev] messy behavior with universes, Carlos Simpson
- Re: [Coq-Club] Re: [coqdev] messy behavior with universes, Vladimir Voevodsky
- Message not available
- Re: [Coq-Club] Re: [coqdev] messy behavior with universes, Enrico Tassi
- Message not available
- Re: [Coq-Club] Re: [coqdev] messy behavior with universes, Andreas Abel
- [Coq-Club] THedu'11 at CADE: last call for ext.abstracts, Laurent Théry
- [Coq-Club] an issue with notations, Vladimir Voevodsky
- [Coq-Club] a problem with canonical structures, Vladimir Voevodsky
- Re: [Coq-Club] a problem with canonical structures, Cyril Cohen
- [Coq-Club] Another question, Vladimir Voevodsky
- Re: [Coq-Club] Another question, Vincent Siles
- Re: [Coq-Club] an issue with notations, Hugo Herbelin
- Re: [Coq-Club] an issue with notations, Vladimir Voevodsky
- Re: [Coq-Club] an issue with notations, Tom Prince
- Re: [Coq-Club] Impredicative [ Set ], Alexandre Pilkiewicz
Archive powered by MhonArc 2.6.16.