lean2/tests/lean/tactic12.lean
Leonardo de Moura 0c059a9917 feat(library/tactic): use _tac suffix instead of _tactic like Isabelle
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-12-05 20:06:32 -08:00

13 lines
No EOL
281 B
Text

Theorem T (a b : Bool) : ((fun x, x /\ b) a) => ((fun x, x) a).
apply beta_tac.
apply imp_tac.
apply conj_hyp_tac.
apply assumption_tac.
done.
Variables p q : Bool.
Theorem T2 : p /\ q => q.
apply imp_tac.
apply conj_hyp_tac.
apply assumption_tac.
done.