lean2/tests/lean/run/tactic10.lean
Leonardo de Moura cbc81ea6c5 chore(*): minimize dependencies on tests
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-08-24 19:58:48 -07:00

9 lines
200 B
Text

import logic
using tactic
theorem tst (a b : Prop) (H : a ↔ b) : b ↔ a
:= by apply iff_intro;
apply (assume Hb, iff_elim_right H Hb);
apply (assume Ha, iff_elim_left H Ha)
check tst