lean2/tests/lean/run/tactic10.lean
Leonardo de Moura 0f27856e4a feat(library/tactic): new apply tactic
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-07-02 13:14:50 -07:00

9 lines
199 B
Text

import standard
using tactic
theorem tst (a b : Bool) (H : a ↔ b) : b ↔ a
:= by apply iff_intro;
⟦ assume Hb, iff_mp_right H Hb ⟧;
⟦ assume Ha, iff_mp_left H Ha ⟧
check tst