Definition. Computability model [math-DO60]

Higher-Order Computability

A computability model CC over a set TT of type names consists of

  • an indexed family ∣C∣={C(τ)∣τ∈T}\vert C \vert = \{ C(\tau) \mid \tau \in T \} of sets, called the datatypes of CC,
  • for each σ,τ∈T\sigma,\tau\in T, a set C[σ,τ]C[\sigma,\tau] of partial functions f:C(σ)→C(τ)f : C(\sigma) \to C(\tau), called operations of CC

such that

  1. for each τ∈T\tau \in T, the identity function id:C(τ)→C(τ)id : C(\tau) \to C(\tau) is in C[τ,τ]C[\tau,\tau]
  2. for any f∈C[ρ,σ]f \in C[\rho, \sigma] and g∈C[σ,τ]g \in C[\sigma, \tau], the composition g∘f∈C[ρ,τ]g \circ f \in C[\rho, \tau].

Corollary [local-0]

A computability model is a category of sets and partial functions.

Notation [local-1]

Denote C[A,B]C[A, B] for C[σ,τ]C[\sigma, \tau] where A=C(σ)A = C(\sigma) and B=C(τ)B = C(\tau).

Definition Total computability model [math-6G74]

A computability model is total if every operations f∈C[A,B]f \in C[A,B] is a total function A→BA \to B.