lean2/tests/lean/implicit1.lean.expected.out

31 lines
786 B
Text
Raw Normal View History

Set: pp::colors
Set: pp::unicode
Assumed: f
∀ a : , (f a a) > 0
∀ a b : , (f a b) > 0
Assumed: g
∀ (a : ) (b : ), (g a b) > 0
∀ a b : , (g a (f a b)) > 0
Set: lean::pp::coercion
∀ a b : , (g a (int_to_real (f a b))) > (nat_to_int 0)
λ a : , a + 1
Error (line: 10, pos: 18) ambiguous overloads
Candidates:
Real::add :
Int::add :
Nat::add :
Arguments:
a : lift:0:2 ?M0
b : lift:0:1 ?M2
λ a b c : , a + c + b
Error (line: 17, pos: 19) ambiguous overloads
Candidates:
Real::add :
Int::add :
Nat::add :
Arguments:
a : lift:0:2 ?M0
b : lift:0:1 ?M2
Assumed: x
λ a b : , a + x + b