Debian Codegraph @

test-suite/bugs/bug_17805.v

raw
1 Inductive baz :=
2 K : (let foo2 := Type@{_} in
3 let foo3 := Type@{_} in
4 let set_le_foo3 := (fun y : Set => (fun x : foo3 => x) y) in
5 let foo3_le_foo2 := (fun y : foo3 => (fun x : foo2 => x) y) in
6 let set_eq_foo2 := (fun y : foo2 => (fun x : Set => x) y) in
7 nat) -> baz.
8
9
10 (* a bit more transitive constraints *)
11 Inductive baz' :=
12 K' : (let foo2 := Type@{_} in
13 let foo3 := Type@{_} in
14 let foo4 := Type@{_} in
15 let set_le_foo3 := (fun y : Set => (fun x : foo3 => x) y) in
16 let foo3_le_foo2 := (fun y : foo3 => (fun x : foo2 => x) y) in
17 let foo2_le_foo4 := (fun y : foo2 => (fun x : foo4 => x) y) in
18 let set_eq_foo4 := (fun y : foo4 => (fun x : Set => x) y) in
19 nat) -> baz'.