lean2/tests/lean/run/bug6.lean
Leonardo de Moura 68d9bef860 refactor(library): add 'eq' and 'ne' namespaces
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-09-04 18:41:06 -07:00

21 lines
327 B
Text

import logic
open eq
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