Debian Codegraph @

test-suite/bugs/bug_4420.v

raw
1 Module foo.
2 Parameter (Char : Type).
3 Axiom foo : Type -> Type.
4 Goal foo Char = foo Char.
5 change foo with (fun x => foo x).
6 cbv beta.
7 reflexivity.
8 Defined.
9 End foo.
10
11 Inductive foo (A : Type) : Prop := I. (*Top.1*)
12 Lemma bar : foo Type. (*Top.3*)
13 Proof.
14 Set Printing Universes.
15 change foo with (fun x : Type => foo x). (*Top.4*)
16 cbv beta.
17 apply I. (* I Type@{Top.3} : (fun x : Type@{Top.4} => foo x) Type@{Top.3} *)
18 Defined.