Functions
Black box that accepts objects as input and produces another object as output
Definition in terms of sets
f:R ? S
- f is a function from R to S
- R: domain of f, S: co-domain of f
- R? S arity (functionality) of f
Equality f = g
- f,g:R ?S f(x) = g(x) (for all x)