lean2/tests/lean/run/tactic10.lean
Leonardo de Moura 6632a50015 refactor(library): add namespaces 'or', 'and' and 'iff'
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-09-04 21:25:21 -07:00

9 lines
199 B
Text

import logic
open 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