Home |
Source |
exact
allows users to solve goals by providing a proof object directly. This tactic will fail if the provided proof object does not prove the goal.
(* Simple usage *)
exact I.
Before
-------------------------
1/1
True
exact I.
After
Proof finished
Before
n: nat
-------------------------
1/1
n + 5 = n + 5
exact (eq_refl (n + 5)).
After
Proof finished