OctoInform Beta

OpenAI preprint, September 2026 · Appendix A. Elementary convex facts used in the proof

Lemma A.1: Existence, closedness, local uniform convergence, and limiting bounds for subgradients on open subsets of ℝ2\mathbb{R}^2

Local convergence and subgradients of planar convex functions.

Hover over a blue or green term in the text, or a node in the graph, to find it in the other. Select it to read its declaration both in Lean and in words.

The setting

In equilibrium statistical mechanics, the rescaled grand-canonical pressure Qϕ(β,h)Q_\phi(\beta, h) is a convex function of the inverse temperature β\beta and the rescaled chemical potential hh on the parameter half-plane Ω=(0,∞)×ℝ\Omega = (0, \infty) \times \mathbb{R}. Passing to the thermodynamic limit or taking limits along families of potentials produces families of convex functions on open subsets of ℝ2\mathbb{R}^2 that converge pointwise. Tracking phase coexistence and the stability of supporting hyperplanes under such limits relies on local uniform convergence together with basic properties of subdifferentials: existence and closedness of the set of supporting slopes, local boundedness of slopes along converging families, and the passage of supporting slopes to the limit.

Subgradients on the parameter plane

A thermodynamic parameter pair is an ordered pair x=(β,h)∈ℝ2x = (\beta, h) \in \mathbb{R}^2, where β\beta represents the inverse temperature and hh represents the rescaled chemical potential.✦ For two thermodynamic parameter pairs v=(v1,v2)v = (v_1, v_2) and w=(w1,w2)w = (w_1, w_2) in ℝ2\mathbb{R}^2, the parameter inner product is the Euclidean inner product v⋅w=v1w1+v2w2.v \cdot w = v_1 w_1 + v_2 w_2.(1)✦ We write ∥v∥\|v\| for the norm of vv on ℝ2\mathbb{R}^2.

Given a subset S⊆ℝ2S \subseteq \mathbb{R}^2, a real-valued function F:ℝ2→ℝF : \mathbb{R}^2 \to \mathbb{R}, and points x,v∈ℝ2x, v \in \mathbb{R}^2, the pair vv is a supporting slope of FF at xx on SS if F(x)+v⋅(y−x)≤F(y)for all y∈S.F(x) + v \cdot (y - x) \le F(y) \quad \text{for all } y \in S.(2)✦ The subgradient set of FF at xx on SS, denoted ∂SF(x)\partial_S F(x), is the set of all supporting slopes of FF at xx on SS: ∂SF(x)={v∈ℝ2:F(x)+v⋅(y−x)≤F(y)for all y∈S}.\begin{aligned} \partial_S F(x) = \bigl\{\, v \in \mathbb{R}^2 :\; &F(x) + v \cdot (y - x) \le F(y) \\ &\text{for all } y \in S \,\bigr\}. \end{aligned}(3)✦

The claim

Lemma. If S⊆ℝ2S \subseteq \mathbb{R}^2 is open, F:ℝ2→ℝF : \mathbb{R}^2 \to \mathbb{R} is convex on SS, and x∈Sx \in S, then FF admits a supporting slope at xx on SS: ∂SF(x)≠∅.\partial_S F(x) \neq \emptyset.(4)✦

For any subset S⊆ℝ2S \subseteq \mathbb{R}^2, any function F:ℝ2→ℝF : \mathbb{R}^2 \to \mathbb{R}, and any point x∈ℝ2x \in \mathbb{R}^2, the subgradient set ∂SF(x)\partial_S F(x) is closed in ℝ2\mathbb{R}^2: ∂SF(x)¯=∂SF(x).\overline{\partial_S F(x)} = \partial_S F(x).(5)✦

Let EE be any finite-dimensional real normed vector space, let S⊆ES \subseteq E be open, let (Fi)i∈ι(F_i)_{i \in \iota} be a family of functions E→ℝE \to \mathbb{R} indexed by a set ι\iota with a proper filter ll on ι\iota (one not containing the empty set), and let f:E→ℝf : E \to \mathbb{R}. If FiF_i is eventually convex on SS along ll and Fi(y)→f(y)F_i(y) \to f(y) along ll for every y∈Sy \in S, then Fi→flocally uniformly on S along l.F_i \to f \quad \text{locally uniformly on } S \text{ along } l.(6)✦

Let S⊆ℝ2S \subseteq \mathbb{R}^2 be open, let ll be any filter on a set ι\iota (not necessarily proper), and let (Fi)i∈ι(F_i)_{i \in \iota} be a family of functions ℝ2→ℝ\mathbb{R}^2 \to \mathbb{R} and f:ℝ2→ℝf : \mathbb{R}^2 \to \mathbb{R} such that FiF_i is eventually convex on SS along ll and Fi(y)→f(y)F_i(y) \to f(y) along ll for every y∈Sy \in S. If (xi)i∈ι(x_i)_{i \in \iota} is a family in ℝ2\mathbb{R}^2 converging along ll to a point x∈Sx \in S, then there exists a constant C≥0C \ge 0 such that, eventually along ll, ∥v∥≤Cfor every v∈∂SFi(xi).\|v\| \le C \quad \text{for every } v \in \partial_S F_i(x_i).(7)✦

Let S⊆ℝ2S \subseteq \mathbb{R}^2 be open, let ll be a proper filter on ι\iota (one not containing the empty set), and let (Fi)i∈ι(F_i)_{i \in \iota} be a family of functions ℝ2→ℝ\mathbb{R}^2 \to \mathbb{R} converging locally uniformly on SS along ll to a function f:ℝ2→ℝf : \mathbb{R}^2 \to \mathbb{R} that is continuous on SS. If (xi)i∈ι(x_i)_{i \in \iota} and (vi)i∈ι(v_i)_{i \in \iota} are families in ℝ2\mathbb{R}^2 converging along ll to x∈Sx \in S and v∈ℝ2v \in \mathbb{R}^2, respectively, with vi∈∂SFi(xi)v_i \in \partial_S F_i(x_i) eventually along ll, then v∈∂Sf(x).v \in \partial_S f(x).(8)✦

In the paper, the result reads: on an open convex set O⊂ℝmO \subset \mathbb{R}^m, every finite convex function FF is locally Lipschitz with nonempty compact subdifferentials bounded on compact subsets, pointwise convergence of finite convex functions FnF_n to a finite function FF implies convexity of FF and local uniform convergence, and for xn→x∈Ox_n \to x \in O and vn∈∂OFn(xn)v_n \in \partial_O F_n(x_n) under local uniform convergence Fn→FF_n \to F, the sequence (vn)(v_n) is bounded with every limit point in ∂OF(x)\partial_O F(x). The Lean library states these local convergence and subgradient properties on open subsets of the two-dimensional plane ℝ2\mathbb{R}^2 of thermodynamic parameter pairs, splitting them into the five assertions (4) to (8) along a filter ll.

What is checked

The Lean library states the five assertions (4) to (8) over thermodynamic parameter pairs in ℝ2\mathbb{R}^2, using the parameter inner product (1), supporting slopes (2), and subgradient sets (3). Existence of subgradients (4), locally uniform convergence (6), and the local bound on subgradients (7) are stated for real-valued functions convex (or eventually convex along a filter ll) on an open set S⊆ℝ2S \subseteq \mathbb{R}^2; closedness of the subgradient set (5) is stated for an arbitrary subset S⊆ℝ2S \subseteq \mathbb{R}^2, function FF, and point xx; and the passage of subgradients to limits (8) is stated for a proper filter ll and locally uniform convergence to a function continuous on an open set S⊆ℝ2S \subseteq \mathbb{R}^2.