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

22 lines
No EOL
597 B
Text

(* import("tactic.lua") *)
theorem T (a b c : Bool): a => b /\ c => c /\ a /\ b := _.
apply discharge
apply discharge
conj_hyp
apply and::intro
(* Focus(Then(show_tac(), conj_tac(), show_tac(), assumption_tac()), 2) *)
exact
done
theorem T2 (a b c : Bool): a => b /\ c => c /\ a /\ b := _.
apply discharge
apply discharge
conj_hyp
apply and::intro
(* show_tac() *)
(* Focus(Then(show_tac(), conj_tac(), Focus(assumption_tac(), 1)), 2) *)
(* show_tac() *)
(* Focus(assumption_tac(), 1) *)
(* show_tac() *)
(* Focus(assumption_tac(), 1) *)
done