lean2/tests/lean/tactic9.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

11 lines
No EOL
267 B
Text

Definition f(a : Bool) : Bool := not a.
Theorem T (a b : Bool) : a \/ b => (f b) => a := _.
apply imp_tac
apply imp_tac
apply disj_hyp_tac
apply (** unfold_tac("f") **)
apply assumption_tac
apply absurd_tac
done
Show Environment 1.