Definition 5.25 (Relations)

  1. Let A and B be sets. A relation from A to B is a subset A×B

  2. Let kZ+ and let A1,,Ak be sets
    A relation on A1,,Ak is a subset of A1××Ak
    The number k is called the arity of the relation

  3. Let A be a set and let kN
    A k-ary relation over A is a subset of Ak

#TODO the example