lean2/tests/lean/run/tactic3.lean
Leonardo de Moura b2b76b078f feat(frontends/lean): remove build_tactic_cmds, and use expressions for representing tactics
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-07-01 20:43:53 -07:00

10 lines
No EOL
170 B
Text

import logic
import tactic
using tactic
theorem tst {A B : Bool} (H1 : A) (H2 : B) : A
:= by state_tac; now_tac |
state_tac; fail_tac |
exact_tac
check tst