File: bug_17805.v

package info (click to toggle)
coq 8.20.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 44,116 kB
  • sloc: ml: 234,160; sh: 4,301; python: 3,270; ansic: 2,644; makefile: 882; lisp: 172; javascript: 63; xml: 24; sed: 2
file content (19 lines) | stat: -rw-r--r-- 706 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Inductive baz :=
  K : (let foo2 := Type@{_} in
  let foo3 := Type@{_} in
  let set_le_foo3 := (fun y : Set => (fun x : foo3 => x) y) in
  let foo3_le_foo2 := (fun y : foo3 => (fun x : foo2 => x) y) in
  let set_eq_foo2 := (fun y : foo2 => (fun x : Set => x) y) in
  nat) -> baz.


(* a bit more transitive constraints *)
Inductive baz' :=
  K' : (let foo2 := Type@{_} in
       let foo3 := Type@{_} in
       let foo4 := Type@{_} in
  let set_le_foo3 := (fun y : Set => (fun x : foo3 => x) y) in
  let foo3_le_foo2 := (fun y : foo3 => (fun x : foo2 => x) y) in
  let foo2_le_foo4 := (fun y : foo2 => (fun x : foo4 => x) y) in
  let set_eq_foo4 := (fun y : foo4 => (fun x : Set => x) y) in
  nat) -> baz'.