lean2/tests/lean/tactic12.lean

13 lines
281 B
Text
Raw Normal View History

Theorem T (a b : Bool) : ((fun x, x /\ b) a) => ((fun x, x) a).
apply beta_tac.
apply imp_tac.
apply conj_hyp_tac.
apply assumption_tac.
done.
Variables p q : Bool.
Theorem T2 : p /\ q => q.
apply imp_tac.
apply conj_hyp_tac.
apply assumption_tac.
done.