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

19 lines
No EOL
383 B
Text

Theorem T1 (a b : Bool) : a \/ b => b \/ a.
apply imp_tac
apply disj_hyp_tac
apply disj_tac
back
apply assumption_tac
apply disj_tac
apply assumption_tac
done
(**
simple_tac = REPEAT(ORELSE(imp_tac, assumption_tac, disj_hyp_tac, disj_tac)) .. now_tac
**)
Theorem T2 (a b : Bool) : a \/ b => b \/ a.
apply simple_tac
done
Show Environment 1.