Set: pp::colors Set: pp::unicode Assumed: f λ (A B : Type) (a : B), f B a Error (line: 4, pos: 40) application type mismatch during term elaboration f B a Function type: Π (A : Type), A → Bool Arguments types: B : Type a : ?M0[lower:3:3 lift:0:2 subst:0 A] Elaborator state #0 ≈ ?M0[lift:0:2] Assumed: myeq myeq (Π (A : Type), A → A) (λ (A : Type) (a : A), a) (λ (B : Type) (b : B), b) myeq (Π (A : Type), A → A) (λ (A : Type) (a : A), a) (λ (B : Type) (b : B), b) : Bool Assumed: R Assumed: h λ (H : Bool) (f1 g1 : Π A : Type, R A) (G : Π A : Type, myeq (R A) (f1 A) (g1 A)), h f1 : Bool → (Π (f1 g1 : Π A : Type, R A), (Π A : Type, myeq (R A) (f1 A) (g1 A)) → Bool)