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

13 lines
No EOL
244 B
Text

(* import("tactic.lua") *)
definition f(a : Bool) : Bool := not a.
theorem T (a b : Bool) : a \/ b => (f b) => a := _.
apply discharge
apply discharge
disj_hyp
unfold f
exact
absurd
done
print environment 1.