Debian Codegraph @

test-suite/bugs/bug_18845.v

raw
1 Set Universe Polymorphism.
2
3 Inductive Box@{s;u|} (A:Type@{s;u}) := box (_:A).
4
5 Definition t1@{s;u|} (A:Type@{s;u}) (x y : A) := box _ x.
6 Definition t2@{s;u|} (A:Type@{s;u}) (x y : A) := box _ y.
7
8 Check fun A:SProp => eq_refl : t1 A = t2 A. (* What is in "test-suite/success/sort_polymorphism.v" *)
9 Check fun (A : SProp) => (fun (x : t1 A = t2 A) => x) eq_refl. (* Slight variation *)