2013-09-04 00:24:05 +00:00
|
|
|
|
Set: pp::colors
|
|
|
|
|
Set: pp::unicode
|
|
|
|
|
Assumed: f
|
2013-09-04 16:03:41 +00:00
|
|
|
|
∀ a : ℤ, (f a a) > 0
|
|
|
|
|
∀ a b : ℤ, (f a b) > 0
|
2013-09-04 00:24:05 +00:00
|
|
|
|
Assumed: g
|
2013-09-04 16:03:41 +00:00
|
|
|
|
∀ (a : ℤ) (b : ℝ), (g a b) > 0
|
|
|
|
|
∀ a b : ℤ, (g a (f a b)) > 0
|
2013-09-04 00:24:05 +00:00
|
|
|
|
Set: lean::pp::coercion
|
2013-09-04 16:03:41 +00:00
|
|
|
|
∀ a b : ℤ, (g a (int_to_real (f a b))) > (nat_to_int 0)
|
|
|
|
|
λ a : ℕ, a + 1
|
2013-09-04 00:24:05 +00:00
|
|
|
|
Error (line: 10, pos: 18) ambiguous overloads
|
|
|
|
|
Candidates:
|
2013-09-04 16:03:41 +00:00
|
|
|
|
Real::add : ℝ → ℝ → ℝ
|
|
|
|
|
Int::add : ℤ → ℤ → ℤ
|
|
|
|
|
Nat::add : ℕ → ℕ → ℕ
|
2013-09-04 00:24:05 +00:00
|
|
|
|
Arguments:
|
2013-09-13 01:25:38 +00:00
|
|
|
|
a : ?M0
|
|
|
|
|
b : ?M2[lower:2:2 lift:0:1 subst:0 a]
|
2013-09-04 16:03:41 +00:00
|
|
|
|
λ a b c : ℤ, a + c + b
|
2013-09-04 00:24:05 +00:00
|
|
|
|
Error (line: 17, pos: 19) ambiguous overloads
|
|
|
|
|
Candidates:
|
2013-09-04 16:03:41 +00:00
|
|
|
|
Real::add : ℝ → ℝ → ℝ
|
|
|
|
|
Int::add : ℤ → ℤ → ℤ
|
|
|
|
|
Nat::add : ℕ → ℕ → ℕ
|
2013-09-04 00:24:05 +00:00
|
|
|
|
Arguments:
|
2013-09-13 01:25:38 +00:00
|
|
|
|
a : ?M0
|
|
|
|
|
b : ?M2[lower:2:2 lift:0:1 subst:0 a]
|
2013-09-04 00:24:05 +00:00
|
|
|
|
Assumed: x
|
2013-09-04 16:03:41 +00:00
|
|
|
|
λ a b : ℤ, a + x + b
|