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
|
|
|
|
variables x y : A
|
|
|
|
axiom H : x = y
|
|
|
|
check T H
|
|
|
|
check T
|
|
|
|
end
|
|
|
|
|
|
|
|
section
|
|
|
|
parameter {A : Type}
|
|
|
|
theorem T2 ⦃a b : A⦄ (H : a = b) : b = a
|
|
|
|
:= symm H
|
|
|
|
variables x y : A
|
|
|
|
axiom H : x = y
|
|
|
|
check T2 H
|
|
|
|
check T2
|
|
|
|
end
|