In mathematics, a valuation is a function that assigns to each element of a field a real number, measuring the "size" of elements, in a manner compatible with field operations, and respecting certain axioms, such as non-negativity and the triangle inequality.