be7fa0932a
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
30 lines
786 B
Text
30 lines
786 B
Text
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
|