lean2/tests/lean/disj1.lean
Leonardo de Moura fa98c1358f feat(library/tactic): add disj_tactic
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-12-05 04:49:06 -08:00

19 lines
No EOL
416 B
Text

Theorem T1 (a b : Bool) : a \/ b => b \/ a.
apply imp_tactic
apply disj_hyp_tactic
apply disj_tactic
back
apply assumption_tactic
apply disj_tactic
apply assumption_tactic
done
(**
simple_tac = REPEAT(ORELSE(imp_tactic, assumption_tactic, disj_hyp_tactic, disj_tactic)) .. now_tactic
**)
Theorem T2 (a b : Bool) : a \/ b => b \/ a.
apply simple_tac
done
Show Environment 1.