lean2/tests/lean/disjcases.lean
Leonardo de Moura 048151487e feat(kernel): use Pi as forall/implication
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-01-08 00:38:39 -08:00

10 lines
No EOL
204 B
Text

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