In mathematics, a magma object, can be defined in any category equipped with a distinguished bifunctor . Since Mag, the category of magmas, has cartesian products, ergo we can consider magma objects in the category Mag. These are called auto magma objects. There's a more direct definition: an auto magma object is a set together with a pair of 2-place operations satisfying . A medial magma is the special case where these operations are equal.