| 1 |
(* Expected time < 1.00s *) |
| 2 |
|
| 3 |
Fixpoint fib n := |
| 4 |
match n with |
| 5 |
| O => 1 |
| 6 |
| 1 => 1 |
| 7 |
| S (S n as m) => fib n + fib m |
| 8 |
end. |
| 9 |
|
| 10 |
(* In ored to compute implicit arguments the system has to whd this |
| 11 |
term. In call by name it takes a lot of time, in call by need it is |
| 12 |
instantaneous. *) |
| 13 |
Definition statement k := |
| 14 |
(fun v => match v + v + v + v + v with 0 => True | _ => forall x, x + 1 = x end) |
| 15 |
((fun x => x - x) (fib k)). |
| 16 |
|
| 17 |
Set Implicit Arguments. |
| 18 |
Timeout 3 Time Axiom test : statement 20. |