lean2/tests/lean/run/bug6.lean
Leonardo de Moura 6b60db7b93 fix(frontends/lean/elaborator): bug when mixing implicit arguments and sections
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-07-19 09:55:34 +01:00

20 lines
322 B
Text

import standard
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