Debian Codegraph @

test-suite/bugs/bug_21683.v

raw
1 Fixpoint iterate_to_neg (f : nat -> Type) (n : nat) (seed : nat) : Type :=
2 match n with
3 | O => f seed -> False
4 | S m => iterate_to_neg f m seed
5 end.
6
7 Fail Fixpoint russell (n : nat) : Type :=
8 match n with
9 | O => True
10 | S m => iterate_to_neg russell 1 (S m)
11 end.
12
13 (*
14 Definition delta (x : russell 1) : False := x x.
15 Definition omega : False := delta delta.
16
17 Print Assumptions omega.
18 *)
19
20 Fail Fixpoint F (n : unit) : False :=
21 (fix G F (n : unit) {struct n} : False := F tt) F n.