A typed partial combinatory algebra is a partial applicative structure satisfying the following conditions
- For all A,B∈∣A∣, there is a kAB:A⇒B⇒A such that
∀a. k⋅a↓,∀a,b. k⋅a⋅b=a
- For all A,B,C∈∣A∣, there is a sABC:(A⇒B⇒C)⇒(A⇒B)⇒(A⇒C) such that
∀f,g. s⋅f⋅g↓,∀f,g,a. s⋅f⋅g⋅a≃(f⋅a)⋅(g⋅a)
Any higher-order model yields an underlying TPCA.