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