The setting
In classical continuum statistical mechanics, the grand pressure depends on the inverse temperature and the scaled chemical potential , while the canonical free energy at density is linked to by Legendre-Fenchel duality in the field variable . A first-order thermal phase transition at fixed density appears as a strict corner in the inverse temperature dependence of the canonical free energy, where the right derivative drops strictly below the left derivative.
When the grand pressure admits two distinct supporting slopes at a parameter that share the same density coordinate , duality converts the gap between their energy slopes into a strict temperature corner at in the canonical free energy at density . Because supporting slopes of convex functions are often established locally near a point, a companion convex-analytic step extends any supporting slope on a closed ball in the domain to a global supporting slope.
Supporting slopes and strict corners
A pressure function is a real-valued function of two real variables , representing inverse temperature and scaled chemical potential.✦ Given a pressure function and real numbers , the pair is a supporting slope of at if (1)✦ holds for every and every . Condition (1) restricts the comparison point to the open half-plane , while may be any point in .
A function has a strict corner at if admits a left derivative within at and a right derivative within at satisfying , and is not differentiable at .
In a real inner product space with inner product and induced norm , let be a subset and let be a function. A vector is a supporting slope on of at a point if (2)✦ for every . For and , the closed ball of radius centered at is .
The claim
Lemma 7.5.
Let be pressure functions, and let satisfy , , and . Suppose that for every , that is concave on , and that both and are supporting slopes of at . Then the function given by (3)✦ has a strict corner at .
Let be a real inner product space, let be a convex subset, and let be convex on . If , , and is a supporting slope of on at , then is a supporting slope of on at ; that is, for every , (4)✦
What is checked
In the Lean library, Lemma 7.5 states two results over the definitions above. The first is stated for a pair of real-valued functions and on linked by Legendre-Fenchel duality at a fixed density with concave on , together with two distinct supporting slopes of at in the sense of (1) sharing the density coordinate , yielding a strict corner at for the rescaled canonical free energy (3). The second is stated for a convex function on a convex subset of a real inner product space and extends a supporting slope on at to the global supporting inequality (4) on , in the sense of (2).