2013-09-04 20:21:57 +00:00
|
|
|
|
Set: pp::colors
|
|
|
|
|
Set: pp::unicode
|
|
|
|
|
Assumed: f
|
|
|
|
|
Error (line: 4, pos: 6) type mismatch at application
|
|
|
|
|
f 10 ⊤
|
|
|
|
|
Function type:
|
2013-09-08 18:04:07 +00:00
|
|
|
|
Π (A : Type), A → A → A
|
2013-09-04 20:21:57 +00:00
|
|
|
|
Arguments types:
|
|
|
|
|
ℕ : Type
|
|
|
|
|
10 : ℕ
|
|
|
|
|
⊤ : Bool
|
|
|
|
|
Assumed: g
|
|
|
|
|
Error (line: 7, pos: 6) unsolved placeholder at term
|
|
|
|
|
g 10
|
|
|
|
|
Assumed: h
|
|
|
|
|
Error (line: 11, pos: 27) application type mismatch during term elaboration
|
|
|
|
|
h A x
|
|
|
|
|
Function type:
|
2013-09-08 18:04:07 +00:00
|
|
|
|
Π (A : Type), A → A
|
2013-09-04 20:21:57 +00:00
|
|
|
|
Arguments types:
|
|
|
|
|
A : Type
|
2013-09-13 01:25:38 +00:00
|
|
|
|
x : ?M0
|
2013-09-04 20:21:57 +00:00
|
|
|
|
Elaborator state
|
2013-09-13 01:25:38 +00:00
|
|
|
|
#0 ≈ ?M0[lift:0:2]
|
2013-09-04 20:21:57 +00:00
|
|
|
|
Assumed: eq
|
|
|
|
|
Error (line: 15, pos: 51) application type mismatch during term elaboration
|
|
|
|
|
eq C a b
|
|
|
|
|
Function type:
|
2013-09-08 18:04:07 +00:00
|
|
|
|
Π (A : Type), A → A → Bool
|
2013-09-04 20:21:57 +00:00
|
|
|
|
Arguments types:
|
|
|
|
|
C : Type
|
2013-09-13 01:25:38 +00:00
|
|
|
|
a : ?M0[lower:5:5 lift:0:3 subst:0 B subst:1 A]
|
|
|
|
|
b : ?M2[lower:5:5 lift:0:2 subst:0 a subst:1 B subst:2 A]
|
2013-09-04 20:21:57 +00:00
|
|
|
|
Elaborator state
|
2013-09-13 01:25:38 +00:00
|
|
|
|
#0 ≈ ?M2[lift:0:2]
|
|
|
|
|
#0 ≈ ?M0[lift:0:3]
|
2013-09-04 20:21:57 +00:00
|
|
|
|
Assumed: a
|
|
|
|
|
Assumed: b
|
|
|
|
|
Assumed: H
|
|
|
|
|
Error (line: 20, pos: 18) type mismatch during term elaboration
|
|
|
|
|
Discharge (λ H1 : _, Conj H1 (Conjunct1 H))
|
|
|
|
|
Term after elaboration:
|
|
|
|
|
Discharge (λ H1 : ?M4, Conj H1 (Conjunct1 H))
|
|
|
|
|
Expected type:
|
|
|
|
|
b
|
|
|
|
|
Got:
|
|
|
|
|
?M4 ⇒ ?M2
|
|
|
|
|
Elaborator state
|
2013-09-13 01:25:38 +00:00
|
|
|
|
?M2[lift:0:1] ≈ (?M4[lift:0:1]) ∧ a
|
2013-09-04 20:21:57 +00:00
|
|
|
|
b ≈ if Bool ?M4 ?M2 ⊤
|
|
|
|
|
b ≈ if Bool ?M4 ?M2 ⊤
|
|
|
|
|
Error (line: 22, pos: 22) type mismatch at application
|
|
|
|
|
Trans (Refl a) (Refl b)
|
|
|
|
|
Function type:
|
2013-09-08 18:04:07 +00:00
|
|
|
|
Π (A : Type U) (a b c : A), (a = b) → (b = c) → (a = c)
|
2013-09-04 20:21:57 +00:00
|
|
|
|
Arguments types:
|
|
|
|
|
Bool : Type
|
|
|
|
|
a : Bool
|
|
|
|
|
a : Bool
|
|
|
|
|
b : Bool
|
|
|
|
|
Refl a : a = a
|
|
|
|
|
Refl b : b = b
|
|
|
|
|
Error (line: 24, pos: 6) type mismatch at application
|
|
|
|
|
f Bool Bool
|
|
|
|
|
Function type:
|
2013-09-08 18:04:07 +00:00
|
|
|
|
Π (A : Type), A → A → A
|
2013-09-04 20:21:57 +00:00
|
|
|
|
Arguments types:
|
|
|
|
|
Type : Type 1
|
|
|
|
|
Bool : Type
|
|
|
|
|
Bool : Type
|
|
|
|
|
Error (line: 27, pos: 21) type mismatch at application
|
|
|
|
|
DisjCases (EM a) (λ H_a : a, H) (λ H_na : ¬ a, NotImp1 (MT H H_na))
|
|
|
|
|
Function type:
|
2013-09-08 18:04:07 +00:00
|
|
|
|
Π (a b c : Bool), (a ∨ b) → (a → c) → (b → c) → c
|
2013-09-04 20:21:57 +00:00
|
|
|
|
Arguments types:
|
|
|
|
|
a : Bool
|
|
|
|
|
¬ a : Bool
|
|
|
|
|
a : Bool
|
|
|
|
|
EM a : a ∨ ¬ a
|
|
|
|
|
(λ H_a : a, H) : a → ((a ⇒ b) ⇒ a)
|
|
|
|
|
(λ H_na : ¬ a, NotImp1 (MT H H_na)) : (¬ a) → a
|