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

31 lines
790 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 : ?M0[lift:0:2]
b : ?M2[lift:0:1]
λ a b c : , a + c + b
Error (line: 17, pos: 19) ambiguous overloads
Candidates:
Real::add :
Int::add :
Nat::add :
Arguments:
a : ?M0[lift:0:2]
b : ?M2[lift:0:1]
Assumed: x
λ a b : , a + x + b