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

163 lines
7.4 KiB
Text
Raw Normal View History

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