2014-07-02 20:14:50 +00:00
|
|
|
import standard
|
|
|
|
using tactic
|
2014-06-30 01:26:07 +00:00
|
|
|
|
|
|
|
theorem tst {A B : Bool} (H1 : A) (H2 : B) : A ∧ B ∧ A
|
2014-07-02 20:14:50 +00:00
|
|
|
:= by apply and_intro; state; exact; apply and_intro; !exact
|
|
|
|
check tst
|
|
|
|
|
|
|
|
theorem tst2 {A B : Bool} (H1 : A) (H2 : B) : A ∧ B ∧ A
|
|
|
|
:= by !((apply @and_intro | exact) ; trace "STEP"; state; trace "----------")
|
|
|
|
|
|
|
|
check tst2
|
|
|
|
|