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 : lift:0:2 ?M0 Elaborator state #0 ≈ lift:0:2 ?M0 Assumed: myeq myeq (Π (A : Type), A → A) (λ (A : Type) (a : A), a) (λ (B : Type) (b : B), b) Bool Assumed: R Assumed: h Bool → (Π (f1 g1 : Π A : Type, R A), (Π A : Type, myeq (R A) (f1 A) (g1 A)) → Bool)