lean2/tests/lean/run/tactic10.lean

8 lines
188 B
Text

import logic
theorem tst (a b : Prop) (H : a ↔ b) : b ↔ a
:= by rapply iff.intro;
apply (assume Ha, iff.elim_left H Ha);
apply (assume Hb, iff.elim_right H Hb)
check tst