A partial function is a subset of such that if and then . i.e. for each element of , there is at most one result in .