Debian Codegraph @

test-suite/output/UnivNotations.out

raw
1 ! nat
2 : Type
3 foo Set nat
4 : Type
5 foo Type@{s ; _} S
6 : Type
7 File "./output/UnivNotations.v", line 20, characters 13-14:
8 The command has indeed failed with message:
9 The term "S" has type "Type@{s ; _}" while it is expected to have type
10 "Type" (universe inconsistency: Cannot enforce Type@{s | Set} <=
11 UnivNotations.24).
12 1 goal
13
14 ============================
15 forall A : Type, A -> ! A
16 foo Type@{UnivNotations.27} nat
17 : Type@{foo.u1}
18 (* {UnivNotations.27} |= UnivNotations.27 < foo.u0 *)
19 foo Type@{s ; Set} S
20 : Type@{foo.u1}
21 (* {} |= Set < foo.u0 *)
22 1 goal
23
24 ============================
25 forall A : Type@{α4 ; UnivNotations.29},
26 A -> foo Type@{α4 ; UnivNotations.29} A