a97f82be1a
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
9 lines
301 B
Text
9 lines
301 B
Text
import standard
|
|
using tactic
|
|
|
|
theorem tst (a b : Bool) (H : a ↔ b) : b ↔ a
|
|
:= have H1 [fact] : a → b, -- We need to mark H1 as fact, otherwise it is not visible by tactics
|
|
from iff_elim_left H,
|
|
by apply iff_intro;
|
|
apply (assume Hb, iff_mp_right H Hb);
|
|
apply (assume Ha, H1 Ha)
|