lean2/tests/lean/lua15.lean.expected.out

66 lines
2.5 KiB
Text
Raw Normal View History

Set: pp::colors
Set: pp::unicode
Imported 'int'
Assumed: i
Assumed: j
Assumed: p
elaborator exception
Failed to solve
⊢ (?M::0 ≈ Nat::add) ⊕ (?M::0 ≈ Int::add)
Overloading at
(Int::add | Nat::add) i p
Failed to solve
Substitution
≺ ?M::2
Type of argument 1 must be convertible to the expected type in the application of
?M::0
with arguments:
i
p
Assignment
≈ ?M::2
Destruct/Decompose
≈ Π x : ?M::2, ?M::3
Substitution
⊢ ?M::1 ≈ Π x : ?M::2, ?M::3
Function expected at
?M::0 i p
Assignment
≺ ?M::1
Propagate type, ?M::0 : ?M::1
Assignment
⊢ ?M::0 ≈ Nat::add
Assumption 0
Failed to solve
⊢ Bool ≺
Substitution
⊢ Bool ≺ ?M::4
Type of argument 2 must be convertible to the expected type in the application of
?M::0
with arguments:
i
p
Assignment
≈ ?M::4
Destruct/Decompose
≈ Π x : ?M::4, ?M::5
Substitution
⊢ ?M::3[inst:0 i] ≈ Π x : ?M::4, ?M::5
Function expected at
?M::0 i p
Assignment
a : ≈ ?M::3
Destruct/Decompose
≈ Π x : ?M::2, ?M::3
Substitution
⊢ ?M::1 ≈ Π x : ?M::2, ?M::3
Function expected at
?M::0 i p
Assignment
≺ ?M::1
Propagate type, ?M::0 : ?M::1
Assignment
⊢ ?M::0 ≈ Int::add
Assumption 1