2014-08-25 02:58:48 +00:00
|
|
|
import logic
|
2014-09-05 01:41:06 +00:00
|
|
|
open eq
|
2014-07-19 08:55:34 +00:00
|
|
|
section
|
|
|
|
parameter {A : Type}
|
|
|
|
theorem T {a b : A} (H : a = b) : b = a
|
|
|
|
:= symm H
|
2014-10-02 23:20:52 +00:00
|
|
|
parameters x y : A
|
|
|
|
hypothesis H : x = y
|
2014-07-19 08:55:34 +00:00
|
|
|
check T H
|
|
|
|
check T
|
|
|
|
end
|
|
|
|
|
|
|
|
section
|
|
|
|
parameter {A : Type}
|
|
|
|
theorem T2 ⦃a b : A⦄ (H : a = b) : b = a
|
|
|
|
:= symm H
|
2014-10-02 23:20:52 +00:00
|
|
|
parameters x y : A
|
|
|
|
hypothesis H : x = y
|
2014-07-19 08:55:34 +00:00
|
|
|
check T2 H
|
|
|
|
check T2
|
|
|
|
end
|