2013-12-06 13:13:29 +00:00
|
|
|
(**
|
2013-12-26 23:54:53 +00:00
|
|
|
simple_tac = Repeat(OrElse(conj_hyp_tac(), conj_tac(), assumption_tac()))
|
2013-12-06 13:13:29 +00:00
|
|
|
**)
|
|
|
|
|
|
|
|
Theorem T2 (A B : Bool) : A /\ B => B /\ A :=
|
|
|
|
Discharge (fun H : A /\ B,
|
|
|
|
let H1 : A := _,
|
|
|
|
H2 : B := _,
|
|
|
|
main : B /\ A := _
|
|
|
|
in main).
|
2013-12-26 23:54:53 +00:00
|
|
|
simple_tac. done.
|
|
|
|
simple2_tac. done.
|
|
|
|
simple_tac. done.
|
2013-12-06 13:13:29 +00:00
|
|
|
|
|
|
|
Echo "echo command after failure"
|