lean2/tests/lean/disjcases.lean
Leonardo de Moura 935c2a03a3 feat(*): change name conventions for Lean builtin libraries
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-01-05 19:21:44 -08:00

11 lines
No EOL
223 B
Text

(* import("tactic.lua") *)
variables a b c : Bool
axiom H : a \/ b
theorem T (a b : Bool) : a \/ b => b \/ a.
apply discharge.
apply (or::elim H).
apply or::intror.
exact.
apply or::introl.
exact.
done.