Functions

Domains and Codomains

Official Rules for Functions

  1. $f$ must obey its domain/codomain rules:

$$ \forall a \in A.~\exists b \in B.~ f(a) = b $$

  1. $f$ must be deterministic:

$$ \forall a_1 \in A.~\forall a_2 \in A.~(a_1=a_2 \to f(a_1)=f(a_2)) $$

defining functions