So I'm trying to define an inductive set in coq that has integers from 0 to 10:
Inductive OD : Set := 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10.
I get this message:
Syntax error: '.' expected after [vernac:gallina] (in [vernac_aux]).
Nothing I tried has really worked
Unfortunately the parser is expecting a constructor not a number after
:=. You can bypass this usingNotation.