4946f55290
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
22 lines
337 B
Text
22 lines
337 B
Text
import logic
|
|
|
|
namespace N1
|
|
constant num : Type.{1}
|
|
constant foo : num → num → num
|
|
end N1
|
|
|
|
namespace N2
|
|
constant val : Type.{1}
|
|
constant foo : val → val → val
|
|
end N2
|
|
|
|
open N1
|
|
open N2
|
|
constants a b : num
|
|
constant f : num → val
|
|
coercion f
|
|
|
|
definition aux2 := foo a b
|
|
check aux2
|
|
theorem T3 : aux2 = N1.foo a b
|
|
:= eq.refl _
|