Let (X,d) be a metric space with X nonempty, let M be a real number with 0≤M, and let f:X→R be lower semicontinuous on X with 0≤f(x)≤M for every x∈X. For k∈N let λk=ι(k), where ι is the canonical map from N to R, and define fk:X→R by
fk(x)=inf{f(y)+λkd(x,y):y∈X}(x∈X).
1. For every k∈N and every x∈X the infimum above exists in R, and 0≤fk(x)≤f(x)≤M.
2. For every k∈N the function fk is Lipschitz with constant λk, as a map from (X,d) to R equipped with the absolute-value metric, and is therefore continuous on X.
3. For every k∈N and every x∈X, fk(x)≤fk+1(x).
4. For every x∈X the sequence (fk(x))k∈N converges to f(x), and f(x) is the least upper bound of the set {fk(x):k∈N}.