Documentation

ConvexAnalysisMonotoneOperators_BauschkeCombettes_2017.Chap09.Example_9_35

noncomputable def ERealFunction.boltzmannEntropy :
(Set.Ioi )

The ]-∞,+∞]-valued extension of x ↦ x \log x - x that equals 0 at 0 and +∞ on the negative half-line.

Instances For
    @[simp]
    theorem ERealFunction.boltzmannEntropy_apply_of_pos {x : } (hx : 0 < x) :
    (boltzmannEntropy x) = (x * Real.log x - x)

    On (0,+∞), boltzmannEntropy is given by the real formula x \log x - x.

    @[simp]

    At 0, boltzmannEntropy takes the value 0.

    @[simp]
    theorem ERealFunction.boltzmannEntropy_apply_of_neg {x : } (hx : x < 0) :
    (boltzmannEntropy x) =

    On (-∞,0), boltzmannEntropy takes the value +∞.

    The effective domain of boltzmannEntropy is the closed half-line [0,+∞).

    boltzmannEntropy is proper as an extended-real-valued function.

    theorem ERealFunction.boltzmannEntropy_lowerSemicontinuous :
    LowerSemicontinuous fun (x : ) => (boltzmannEntropy x)

    The extended-real-valued representative of boltzmannEntropy is lower semicontinuous on .

    Example 9.35: the function equal to x \log x - x on (0,+∞), equal to 0 at 0, and equal to +∞ on (-∞,0) belongs to Γ₀(ℝ); equivalently, it is proper, lower semicontinuous, and strictly convex on its effective domain [0,+∞).