2013-09-03 17:09:19 +00:00
|
|
|
|
Set: pp::colors
|
2013-09-03 17:44:51 +00:00
|
|
|
|
Set: pp::unicode
|
2013-12-30 21:35:37 +00:00
|
|
|
|
Imported 'int'
|
|
|
|
|
Imported 'real'
|
2013-10-25 02:08:35 +00:00
|
|
|
|
Failed to solve
|
2013-11-07 18:16:22 +00:00
|
|
|
|
⊢ (?M::0 ≈ Nat::add) ⊕ (?M::0 ≈ Int::add) ⊕ (?M::0 ≈ Real::add)
|
2013-12-30 21:35:37 +00:00
|
|
|
|
(line: 3: pos: 9) Overloading at
|
2013-10-25 02:08:35 +00:00
|
|
|
|
(Real::add | Int::add | Nat::add) 1 ⊤
|
|
|
|
|
Failed to solve
|
|
|
|
|
⊢ Bool ≺ ℕ
|
|
|
|
|
Substitution
|
2013-11-07 18:16:22 +00:00
|
|
|
|
⊢ Bool ≺ ?M::8
|
2013-12-30 21:35:37 +00:00
|
|
|
|
(line: 3: pos: 9) Type of argument 2 must be convertible to the expected type in the application of
|
2013-11-07 18:16:22 +00:00
|
|
|
|
?M::0
|
2013-10-25 02:08:35 +00:00
|
|
|
|
with arguments:
|
2013-11-07 18:16:22 +00:00
|
|
|
|
?M::1 1
|
2013-10-25 02:08:35 +00:00
|
|
|
|
⊤
|
|
|
|
|
Assignment
|
2013-11-07 18:16:22 +00:00
|
|
|
|
⊢ ℕ ≈ ?M::8
|
2013-10-25 02:08:35 +00:00
|
|
|
|
Destruct/Decompose
|
2013-12-14 20:25:00 +00:00
|
|
|
|
⊢ ℕ → ℕ ≈ Π x : ?M::8, ?M::9
|
2013-10-25 02:08:35 +00:00
|
|
|
|
Substitution
|
2013-12-14 20:25:00 +00:00
|
|
|
|
⊢ ?M::7[inst:0 (?M::1 1)] ≈ Π x : ?M::8, ?M::9
|
2013-12-30 21:35:37 +00:00
|
|
|
|
(line: 3: pos: 9) Function expected at
|
2013-11-07 18:16:22 +00:00
|
|
|
|
?M::0 (?M::1 1) ⊤
|
2013-10-25 02:08:35 +00:00
|
|
|
|
Assignment
|
2013-12-19 22:47:53 +00:00
|
|
|
|
a : ℕ ⊢ ℕ → ℕ ≈ ?M::7
|
2013-10-25 02:08:35 +00:00
|
|
|
|
Destruct/Decompose
|
2013-12-14 20:25:00 +00:00
|
|
|
|
⊢ ℕ → ℕ → ℕ ≈ Π x : ?M::6, ?M::7
|
|
|
|
|
Substitution
|
|
|
|
|
⊢ ?M::2 ≈ Π x : ?M::6, ?M::7
|
2013-12-30 21:35:37 +00:00
|
|
|
|
(line: 3: pos: 9) Function expected at
|
2013-12-14 20:25:00 +00:00
|
|
|
|
?M::0 (?M::1 1) ⊤
|
|
|
|
|
Assignment
|
|
|
|
|
⊢ ℕ → ℕ → ℕ ≺ ?M::2
|
|
|
|
|
Propagate type, ?M::0 : ?M::2
|
|
|
|
|
Assignment
|
|
|
|
|
⊢ ?M::0 ≈ Nat::add
|
|
|
|
|
Assumption 0
|
2013-10-25 02:08:35 +00:00
|
|
|
|
Failed to solve
|
|
|
|
|
⊢ Bool ≺ ℤ
|
|
|
|
|
Substitution
|
2013-11-07 18:16:22 +00:00
|
|
|
|
⊢ Bool ≺ ?M::8
|
2013-12-30 21:35:37 +00:00
|
|
|
|
(line: 3: pos: 9) Type of argument 2 must be convertible to the expected type in the application of
|
2013-11-07 18:16:22 +00:00
|
|
|
|
?M::0
|
2013-10-25 02:08:35 +00:00
|
|
|
|
with arguments:
|
2013-11-07 18:16:22 +00:00
|
|
|
|
?M::1 1
|
2013-10-25 02:08:35 +00:00
|
|
|
|
⊤
|
|
|
|
|
Assignment
|
2013-11-07 18:16:22 +00:00
|
|
|
|
⊢ ℤ ≈ ?M::8
|
2013-10-25 02:08:35 +00:00
|
|
|
|
Destruct/Decompose
|
2013-12-14 20:25:00 +00:00
|
|
|
|
⊢ ℤ → ℤ ≈ Π x : ?M::8, ?M::9
|
2013-10-25 02:08:35 +00:00
|
|
|
|
Substitution
|
2013-12-14 20:25:00 +00:00
|
|
|
|
⊢ ?M::7[inst:0 (?M::1 1)] ≈ Π x : ?M::8, ?M::9
|
2013-12-30 21:35:37 +00:00
|
|
|
|
(line: 3: pos: 9) Function expected at
|
2013-11-07 18:16:22 +00:00
|
|
|
|
?M::0 (?M::1 1) ⊤
|
2013-10-25 02:08:35 +00:00
|
|
|
|
Assignment
|
2013-12-19 22:47:53 +00:00
|
|
|
|
a : ℤ ⊢ ℤ → ℤ ≈ ?M::7
|
2013-10-25 02:08:35 +00:00
|
|
|
|
Destruct/Decompose
|
2013-12-14 20:25:00 +00:00
|
|
|
|
⊢ ℤ → ℤ → ℤ ≈ Π x : ?M::6, ?M::7
|
|
|
|
|
Substitution
|
|
|
|
|
⊢ ?M::2 ≈ Π x : ?M::6, ?M::7
|
2013-12-30 21:35:37 +00:00
|
|
|
|
(line: 3: pos: 9) Function expected at
|
2013-12-14 20:25:00 +00:00
|
|
|
|
?M::0 (?M::1 1) ⊤
|
|
|
|
|
Assignment
|
|
|
|
|
⊢ ℤ → ℤ → ℤ ≺ ?M::2
|
|
|
|
|
Propagate type, ?M::0 : ?M::2
|
|
|
|
|
Assignment
|
|
|
|
|
⊢ ?M::0 ≈ Int::add
|
|
|
|
|
Assumption 2
|
2013-10-25 02:08:35 +00:00
|
|
|
|
Failed to solve
|
|
|
|
|
⊢ Bool ≺ ℝ
|
|
|
|
|
Substitution
|
2013-11-07 18:16:22 +00:00
|
|
|
|
⊢ Bool ≺ ?M::8
|
2013-12-30 21:35:37 +00:00
|
|
|
|
(line: 3: pos: 9) Type of argument 2 must be convertible to the expected type in the application of
|
2013-11-07 18:16:22 +00:00
|
|
|
|
?M::0
|
2013-10-25 02:08:35 +00:00
|
|
|
|
with arguments:
|
2013-11-07 18:16:22 +00:00
|
|
|
|
?M::1 1
|
2013-10-25 02:08:35 +00:00
|
|
|
|
⊤
|
|
|
|
|
Assignment
|
2013-11-07 18:16:22 +00:00
|
|
|
|
⊢ ℝ ≈ ?M::8
|
2013-10-25 02:08:35 +00:00
|
|
|
|
Destruct/Decompose
|
2013-12-14 20:25:00 +00:00
|
|
|
|
⊢ ℝ → ℝ ≈ Π x : ?M::8, ?M::9
|
2013-10-25 02:08:35 +00:00
|
|
|
|
Substitution
|
2013-12-14 20:25:00 +00:00
|
|
|
|
⊢ ?M::7[inst:0 (?M::1 1)] ≈ Π x : ?M::8, ?M::9
|
2013-12-30 21:35:37 +00:00
|
|
|
|
(line: 3: pos: 9) Function expected at
|
2013-11-07 18:16:22 +00:00
|
|
|
|
?M::0 (?M::1 1) ⊤
|
2013-10-25 02:08:35 +00:00
|
|
|
|
Assignment
|
2013-12-19 22:47:53 +00:00
|
|
|
|
a : ℝ ⊢ ℝ → ℝ ≈ ?M::7
|
2013-10-25 02:08:35 +00:00
|
|
|
|
Destruct/Decompose
|
2013-12-14 20:25:00 +00:00
|
|
|
|
⊢ ℝ → ℝ → ℝ ≈ Π x : ?M::6, ?M::7
|
|
|
|
|
Substitution
|
|
|
|
|
⊢ ?M::2 ≈ Π x : ?M::6, ?M::7
|
2013-12-30 21:35:37 +00:00
|
|
|
|
(line: 3: pos: 9) Function expected at
|
2013-12-14 20:25:00 +00:00
|
|
|
|
?M::0 (?M::1 1) ⊤
|
|
|
|
|
Assignment
|
|
|
|
|
⊢ ℝ → ℝ → ℝ ≺ ?M::2
|
|
|
|
|
Propagate type, ?M::0 : ?M::2
|
|
|
|
|
Assignment
|
|
|
|
|
⊢ ?M::0 ≈ Real::add
|
|
|
|
|
Assumption 5
|
2013-09-03 03:05:47 +00:00
|
|
|
|
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
|
2013-10-24 22:29:56 +00:00
|
|
|
|
f (r2t b) (t2r a)
|