Theorem. Closure of partial functions under identity and composition [00K8]

Partial functions are closed under identity and composition in the following sense:

  1. For any set A, the identity relation \mathsf {id}_{A} \colon A\mathbin {\nrightarrow } A is functional.
  2. For any sets A,B,C and functional relations f\colon A\mathbin {\rightharpoonup } B and g \colon B\mathbin {\rightharpoonup } C, the relational composite g\circ f \colon A\mathbin {\nrightarrow } C is functional.