lean2/tests/lean/run/bug6.lean
2014-10-09 07:13:06 -07:00

21 lines
331 B
Text

import logic
open eq
section
variable {A : Type}
theorem T {a b : A} (H : a = b) : b = a
:= symm H
variables x y : A
variable H : x = y
check T H
check T
end
section
variable {A : Type}
theorem T2 ⦃a b : A⦄ (H : a = b) : b = a
:= symm H
variables x y : A
variable H : x = y
check T2 H
check T2
end