2014-01-05 18:32:47 +00:00
|
|
|
(* import("tactic.lua") *)
|
2014-01-05 20:05:08 +00:00
|
|
|
theorem T (a b c : Bool): a => b /\ c => c /\ a /\ b := _.
|
2014-01-06 03:10:21 +00:00
|
|
|
apply discharge
|
|
|
|
apply discharge
|
2013-12-26 23:54:53 +00:00
|
|
|
conj_hyp
|
2014-01-06 03:10:21 +00:00
|
|
|
apply and::intro
|
2014-01-05 18:32:47 +00:00
|
|
|
(* Focus(Then(show_tac(), conj_tac(), show_tac(), assumption_tac()), 2) *)
|
2013-12-26 23:54:53 +00:00
|
|
|
exact
|
2013-11-30 19:28:10 +00:00
|
|
|
done
|
|
|
|
|
2014-01-05 20:05:08 +00:00
|
|
|
theorem T2 (a b c : Bool): a => b /\ c => c /\ a /\ b := _.
|
2014-01-06 03:10:21 +00:00
|
|
|
apply discharge
|
|
|
|
apply discharge
|
2013-12-26 23:54:53 +00:00
|
|
|
conj_hyp
|
2014-01-06 03:10:21 +00:00
|
|
|
apply and::intro
|
2014-01-05 18:32:47 +00:00
|
|
|
(* 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) *)
|
2013-11-30 19:28:10 +00:00
|
|
|
done
|