surjection
Surjection, also called onto function, is a function f from a set A (the domain) to a set B (the codomain) with the property that every element of B is the image of at least one element of A. Equivalently, the image of f equals the codomain, i.e., f(A) = B. In other words, the function covers the entire target set.
Surjectivity is often described as completeness of the target: no element of B is left unmapped. It
Examples: The function f: Z -> Z defined by f(n) = floor(n/2) is surjective, since every integer m
For finite sets, a surjection f: A -> B implies |A| ≥ |B|; if |A| = |B|, surjectivity implies