Debian Codegraph @

test-suite/complexity/f_equal.v

raw
1 (* Checks that f_equal does not reduce the term uselessly *)
2 (* Expected time < 1.00s *)
3
4 Fixpoint stupid (n : nat) : unit :=
5 match n with
6 | 0 => tt
7 | S n =>
8 let () := stupid n in
9 let () := stupid n in
10 tt
11 end.
12
13 Goal stupid 23 = stupid 23.
14 Timeout 5 Time f_equal.
15 Abort.