English
OfReal preserves maxima: ENNReal.ofReal(max(x,y)) = max(ENNReal.ofReal x, ENNReal.ofReal y).
Русский
OfReal сохраняет максимум: ENNReal.ofReal(max(x,y)) = max(ENNReal.ofReal x, ENNReal.ofReal y).
LaTeX
$$$ \operatorname{ofReal}(\max(x,y)) = \max(\operatorname{ofReal}(x), \operatorname{ofReal}(y)) $$$
Lean4
@[simp]
theorem ofReal_max (x y : ℝ) : ENNReal.ofReal (max x y) = max (.ofReal x) (.ofReal y) :=
ofReal_mono.map_max