Lars Dölle
2018-08-10 05:17:24 UTC
Hi,
reading the section titled "Inductive Defintions" in reference manual,
| https://coq.inria.fr/distrib/current/refman/language/cic.html#inductive-definitions
a parameter "p" is introduced. Then three examples follow, namely
"list", "tree+forest", "even+odd".
I see some glitches here:
0) In the Web-page, end of last paragraph before the formal representation
of "list", a text "** Examples **" appears, which should be sub-section title,
i think.
1) In the formal representation of "tree+forest", the parameter p is
missing. The text spells "Ind[]", but it should be "Ind[0]".
2) I think, in the "even+odd" formal representation, the parameter p
also wrong. The text spells "Ind[1]", but it should be "Ind[0]" to the
best of my understanding. The point is that
| even_O : even 0
does not have a parameter. It would help me, if someone could please
confirm my reading here.
3) In the example of "even+odd", "Prop" is spelled in small letters "prop",
thus one cannot copy-paste the text into coqide.
Thanks and kind regards
Lars
reading the section titled "Inductive Defintions" in reference manual,
| https://coq.inria.fr/distrib/current/refman/language/cic.html#inductive-definitions
a parameter "p" is introduced. Then three examples follow, namely
"list", "tree+forest", "even+odd".
I see some glitches here:
0) In the Web-page, end of last paragraph before the formal representation
of "list", a text "** Examples **" appears, which should be sub-section title,
i think.
1) In the formal representation of "tree+forest", the parameter p is
missing. The text spells "Ind[]", but it should be "Ind[0]".
2) I think, in the "even+odd" formal representation, the parameter p
also wrong. The text spells "Ind[1]", but it should be "Ind[0]" to the
best of my understanding. The point is that
| even_O : even 0
does not have a parameter. It would help me, if someone could please
confirm my reading here.
3) In the example of "even+odd", "Prop" is spelled in small letters "prop",
thus one cannot copy-paste the text into coqide.
Thanks and kind regards
Lars