lean2/tests/lean/run/tactic8.lean

9 lines
208 B
Text
Raw Normal View History

import standard
using tactic
theorem tst {A B : Bool} (H1 : A) (H2 : B) : A ∧ B ∧ A
:= by (apply @and_intro;
apply (show A, from H1);
apply (show B ∧ A, from and_intro H2 H1))
check @tst