The parser had a nasty ambiguity. For example,
f Type 1
had two possible interpretations
(f (Type) (1))
or
(f (Type 1))
To fix this issue, whenever we want to specify a particular universe, we have to precede 'Type' with a parenthesis.
Examples:
(Type 1)
(Type U)
(Type M + 1)
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
6 lines
121 B
Text
6 lines
121 B
Text
Definition B : Type := Bool
|
|
Definition T : (Type 1) := Type
|
|
Variable N : T
|
|
Variable x : N
|
|
Variable a : B
|
|
Axiom H : a
|