Debian Codegraph @

test-suite/bugs/bug_3825.v

raw
1 Set Universe Polymorphism.
2 Set Printing Universes.
3
4 Axiom foo@{i j} : Type@{i} -> Type@{j}.
5
6 Notation bar := foo.
7
8 Monomorphic Universes i j.
9
10 Check bar@{i j}.
11 Fail Check bar@{i}.
12
13 Notation qux := (nat -> nat).
14
15 Fail Check qux@{i}.
16
17 Axiom TruncType@{i} : nat -> Type@{i}.
18
19 Notation "n -Type" := (TruncType n) (at level 1) : type_scope.
20 Notation hProp := (0)-Type.
21
22 Check hProp.
23 Check hProp@{i}.