Debian Codegraph @

test-suite/success/vm_evars.v

raw
1 Fixpoint iter {A} (n : nat) (f : A -> A) (x : A) :=
2 match n with
3 | 0 => x
4 | S n => iter n f (f x)
5 end.
6
7 Goal nat -> True.
8 Proof.
9 intros n.
10 evar (f : nat -> nat).
11 cut (iter 10 f 0 = 0).
12 vm_compute.
13 intros; constructor.
14 instantiate (f := (fun x => x)).
15 reflexivity.
16 Qed.
17
18 Goal exists x, x = 5 + 5.
19 Proof.
20 eexists.
21 vm_compute.
22 reflexivity.
23 Qed.