Alternative definition of function. A function with domain can be viewed as the set

Vertical line test. Every ``vertical line'' should intersect the graph of in at most one point.