lean4-htt/tests/lean/run/tactic8.lean
2016-06-10 18:29:41 -07:00

10 lines
200 B
Text

exit
import logic
open tactic
theorem tst {A B : Prop} (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