An almost-everywhere equality (or a.e. equality) on a (X,Σ,μ)(X,\Sigma,\mu) is the relation on functions f,g:XRf,g:X\to \overline{\mathbb R} defined by

f=g a.e.μ({xX:f(x)g(x)})=0.f=g \text{ a.e.} \quad \Longleftrightarrow \quad \mu(\{x\in X: f(x)\neq g(x)\})=0.
Equivalent characterizations

Equivalently, the set where ff and gg disagree is a .

Remarks

This formalizes equality and gives an on (for instance) the collection of . Many constructions in integration theory and spaces such as treat functions as identical whenever they are a.e. equal.

Examples
  • On R\mathbb R equipped with the and , the functions f=0f=0 and g=1{0}g=\mathbf{1}_{\{0\}} are a.e. equal.
  • If EXE\subseteq X is a null set and ff is measurable, then ff and the function obtained by redefining ff arbitrarily on EE are a.e. equal.