lean2/tests/lean/tactic9.lean
Leonardo de Moura f1b97b18b4 refactor(frontends/lean/parser): tactic macros, and tactic Lua bindings
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-12-26 15:54:53 -08:00

13 lines
No EOL
245 B
Text

(** import("tactic.lua") **)
Definition f(a : Bool) : Bool := not a.
Theorem T (a b : Bool) : a \/ b => (f b) => a := _.
apply Discharge
apply Discharge
disj_hyp
unfold f
exact
absurd
done
Show Environment 1.