2014-08-25 02:58:48 +00:00
|
|
|
import logic
|
2014-09-03 23:00:38 +00:00
|
|
|
open tactic
|
2014-06-30 07:51:11 +00:00
|
|
|
|
2014-07-22 16:43:18 +00:00
|
|
|
theorem tst (a b : Prop) (H : a ↔ b) : b ↔ a
|
2014-07-02 21:09:01 +00:00
|
|
|
:= have H1 [fact] : a → b, -- We need to mark H1 as fact, otherwise it is not visible by tactics
|
2014-09-05 04:25:21 +00:00
|
|
|
from iff.elim_left H,
|
|
|
|
by apply iff.intro;
|
|
|
|
apply (assume Hb, iff.elim_right H Hb);
|
2014-07-04 17:10:05 +00:00
|
|
|
apply (assume Ha, H1 Ha)
|