Debian Codegraph @

test-suite/complexity/bug_5702_guard.v

raw
1 (* Examples of strong guard condition failures not requiring backtracking *)
2 (* Expected time < 1.00s *)
3
4 Fixpoint f (n : nat) {struct n} : nat.
5 Proof.
6 do 21 (refine (id _)).
7 exact (f n).
8 Timeout 5 Time Fail Defined. (* Slow. *)
9 Abort.
10
11 Fixpoint f (n m : nat) : nat.
12 Proof.
13 do 20 (refine (id _)).
14 destruct m.
15 - exact O.
16 - exact (f n m).
17 Timeout 5 Time Defined. (* Slow. *)