lean2/tests/lean/interactive/t11.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
342 B
Text

(**
auto = Repeat(OrElse(conj_hyp_tac(), conj_tac(), assumption_tac()))
**)
Theorem T2 (A B : Bool) : A /\ B -> B /\ A :=
fun assumption : A /\ B,
let lemma1 : A := _,
lemma2 : B := _,
conclusion : B /\ A := _
in conclusion.
auto. done.
auto. done.
auto. done.