2013-12-06 21:23:20 +00:00
|
|
|
(**
|
2013-12-26 23:54:53 +00:00
|
|
|
auto = Repeat(OrElse(conj_hyp_tac(), conj_tac(), assumption_tac()))
|
2013-12-06 21:23:20 +00:00
|
|
|
**)
|
|
|
|
|
|
|
|
Theorem T2 (A B : Bool) : A /\ B -> B /\ A :=
|
|
|
|
fun assumption : A /\ B,
|
|
|
|
let lemma1 : A := _,
|
|
|
|
lemma2 : B := _,
|
|
|
|
conclusion : B /\ A := _
|
|
|
|
in conclusion.
|
2013-12-26 23:54:53 +00:00
|
|
|
auto. done.
|
|
|
|
auto. done.
|
|
|
|
auto. done.
|