2014-08-25 02:58:48 +00:00
|
|
|
import logic
|
2014-09-03 23:00:38 +00:00
|
|
|
open bool eq_ops tactic
|
2014-07-27 04:56:35 +00:00
|
|
|
|
|
|
|
variables a b c : bool
|
|
|
|
axiom H1 : a = b
|
|
|
|
axiom H2 : b = c
|
|
|
|
|
|
|
|
check show a = c, from H1 ⬝ H2
|
|
|
|
print "------------"
|
2014-09-08 14:47:42 +00:00
|
|
|
check have e1 [visible] : a = b, from H1,
|
2014-09-05 01:41:06 +00:00
|
|
|
have e2 : a = c, by apply eq.trans; apply e1; apply H2,
|
2014-07-27 04:56:35 +00:00
|
|
|
have e3 : c = a, from e2⁻¹,
|
2014-09-08 14:47:42 +00:00
|
|
|
have e4 [visible] : b = a, from e1⁻¹,
|
2014-07-27 04:56:35 +00:00
|
|
|
show b = c, from e1⁻¹ ⬝ e2
|