coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: André Hirschowitz <ah AT unice.fr>
- To: Coq Club <coq-club AT pauillac.inria.fr>
- Subject: Re: [Coq-Club] an inductive types question
- Date: Sun, 11 Oct 2009 18:58:02 +0200
- List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>
- Organization: UNS
The intended meaning is
Inductive Ztwo : Type :=
O :Ztwo
| ZtwoS : {S: Ztwo ->Ztwo ; Z2axiom : forall n : Ztwo , SSn =n} .
would be problematic?
Mainly because it has non sense (or I am stupid),
I don't even understand what would be the type of ZtwoS
Variable Ztwo: Type.
Variable ZtwoO: Ztwo.
Variable ZtwoS: Ztwo ->Ztwo.
Hypothesis Z2axiom : forall n : Ztwo , ZtwoS (ZtwoS n) =n.
This is not yet problematic. But we want to know more:
- at first that these assumptions are "consistent" and also
-some initiality, which will warrant (essential) uniqueness.
Here initiality means something like
"a function from Ztwo to another Type T is given by a term v of type T (for ZtwoO)
and a term r : T ->T satisfying forall x \in T, r(r x)=x.".
Initiality should be witnessed by Coq constructions extending Case and Fixpoint. In order to be correct, these new constructions should generate proof obligations. May-be this generation could be (slighty?) problematic.
It may be also not so easy to identify a good class of "allowed" axioms (for instance
ZtwoO \neq ZtwoO should be rejected).
ah
- Re: [Coq-Club] an inductive types question, (continued)
- Re: [Coq-Club] an inductive types question, Dan Doel
- [Coq-Club] another question (Prop as a subtype of Set), Vladimir Voevodsky
- [Coq-Club] another question (cont.), Vladimir Voevodsky
- Re: [Coq-Club] another question (cont.), Taral
- [Coq-Club] About extraction and mutual recursion, AUGER Cédric
- [Coq-Club] Typo on coq manual, AUGER
- Re: [Coq-Club] Typo on coq manual, Pierre Letouzey
- Re: [Coq-Club] another question (Prop as a subtype of Set), Matthieu Sozeau
- Re: [Coq-Club] an inductive types question, Vladimir Voevodsky
- Re: [Coq-Club] an inductive types question, AUGER Cédric
- Re: [Coq-Club] an inductive types question, André Hirschowitz
- Re: [Coq-Club] an inductive types question, AUGER Cédric
- [Coq-Club] another inductive types question, Vladimir Voevodsky
- Re: [Coq-Club] another inductive types question, AUGER Cédric
- Re: [Coq-Club] another inductive types question, Roman Beslik
- Re: [Coq-Club] another inductive types question, Vladimir Voevodsky
- Re: [Coq-Club] Type hierarchy, Randy Pollack
Archive powered by MhonArc 2.6.16.