lean2/tests/lean/overload2.lean.expected.out

46 lines
1.1 KiB
Text
Raw Normal View History

Set: pp::colors
Set: pp::unicode
Imported 'Int'
Imported 'Real'
Failed to solve
⊢ (?M::0 ≈ Nat::add) ⊕ (?M::0 ≈ Int::add) ⊕ (?M::0 ≈ Real::add)
overload2.lean:3:8: Overloading at
(Real::add | Int::add | Nat::add) 1
Failed to solve
⊢ Bool ≺
overload2.lean:3:8: Type of argument 2 must be convertible to the expected type in the application of
Nat::add
with arguments:
1
Failed to solve
⊢ Bool ≺
overload2.lean:3:8: Type of argument 2 must be convertible to the expected type in the application of
Int::add
with arguments:
1
Failed to solve
⊢ Bool ≺
overload2.lean:3:8: Type of argument 2 must be convertible to the expected type in the application of
Real::add
with arguments:
1
Assumed: R
Assumed: T
Assumed: r2t
Coercion r2t
Assumed: t2r
Coercion t2r
Assumed: f
Assumed: a
Assumed: b
Set: lean::pp::coercion
Set: lean::pp::notation
f a b
f (r2t b) (t2r a)
Assumed: g
f a b
f (r2t b) (t2r a)