Definition:Well-Defined/Mapping

Definition
Let $f: S \to T$ be a mapping.

Let $\mathcal R$ be an equivalence relation on $S$.

Let $S / \mathcal R$ be the quotient set determined by $\mathcal R$.

Let $\phi: S / \mathcal R \to T$ be a mapping such that:


 * $\phi \left({\left[\!\left[{x}\right]\!\right]_\mathcal R}\right) = f \left({x}\right)$

Then $\phi: S / \mathcal R \to T$ is well-defined :


 * $\forall \left({x, y}\right) \in \mathcal R: f \left({x}\right) = f \left({y}\right)$

Comment
Suppose we are given a mapping $f: S \to T$.

Suppose we have an equivalence $\mathcal R$ on $S$, and we want to define a mapping on the quotient set: $\phi: S / \mathcal R \to T$ such that $\phi \left({\left[\!\left[{...}\right]\!\right]_\mathcal R}\right) = f \left({\ldots}\right)$. That is, we want every member of the equivalence class to map to the same element.

The only way this can be done is to set $\phi \left({\left[\!\left[{x}\right]\!\right]_\mathcal R}\right) = f \left({x}\right)$.

Now, if $x, y \in S$ are in the same equivalence class with respect to $\mathcal R$, that is, in order for $\phi \left({\left[\!\left[{x}\right]\!\right]_\mathcal R}\right)$ to make any sort of sense, we need to make sure that $\phi \left({\left[\!\left[{x}\right]\!\right]_\mathcal R}\right) = \phi \left({\left[\!\left[{y}\right]\!\right]_\mathcal R}\right)$, or (which comes to the same thing) $f \left({x}\right) = f \left({y}\right)$.

So $\phi \left({\left[\!\left[{x}\right]\!\right]_\mathcal R}\right) = f \left({x}\right)$ defines a mapping $\phi: S / \mathcal R \to T$ iff $\forall \left({x, y}\right) \in \mathcal R: f \left({x}\right) = f \left({y}\right)$.

If this holds, then the mapping $\phi$ is well-defined.

The terminology is misleading, as $\phi$ can not be defined at all if the condition is not met.

What this means is: if we want to define a mapping from a quotient set to any other set, then all the individual elements of each equivalence class in the domain must map to the same element in the codomain.

Therefore, when attempting to construct or analyse such a mapping, it is necessary to check for well-definedness.

Also known as
Some sources use the term consistent for well-defined.