OctoInform Beta

OpenAI preprint, September 2026 · §4. Ideal attraction and supporting slopes

Definition 4.1: Variational transform TaQT_a Q of a pressure function QQ, its maximizing shifts uu, and supporting slopes of QQ and general functions

The ideal attraction transform, maximizing shifts, and supporting slopes.

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 classical continuum statistical mechanics, coupling a reference system to a long-range pair attraction modifies its grand-canonical pressure through a variational operation, the ideal attraction transform TaT_a, parameterized by a real attraction strength a∈ℝa \in \mathbb{R}. The physical thermodynamic parameters are the inverse temperature β>0\beta > 0 and the scaled chemical potential h∈ℝh \in \mathbb{R}, collected into the open half-plane Ω=(0,∞)×ℝ\Omega = (0, \infty) \times \mathbb{R} with points λ=(β,h)\lambda = (\beta, h).

At phase coexistence, a pressure function need not be differentiable as a function of (β,h)(\beta, h). Its first-order thermodynamic response is therefore recorded by affine lower bounds on Ω\Omega, and more generally by the set of supporting slopes of a real-valued function on a prescribed domain.

Shifted attraction branches

A pressure function is a real-valued function Q:ℝ×ℝ→ℝQ : \mathbb{R} \times \mathbb{R} \to \mathbb{R}, written Q(β,h)Q(\beta, h) for β,h∈ℝ\beta, h \in \mathbb{R}.

Given a pressure function QQ, a real attraction strength a∈ℝa \in \mathbb{R}, and a real shift u∈ℝu \in \mathbb{R}, the shifted attraction branch is the pressure function BQ,a,u:ℝ×ℝ→ℝB_{Q, a, u} : \mathbb{R} \times \mathbb{R} \to \mathbb{R} defined for all β,h∈ℝ\beta, h \in \mathbb{R} by BQ,a,u(β,h)=Q(β,h+βau)−βa2u2.B_{Q, a, u}(\beta, h) = Q(\beta, h + \beta a u) - \frac{\beta a}{2} u^2.(1)

Supporting slopes

Let EE be a real inner product space with inner product ⟨⋅,⋅⟩\langle \cdot, \cdot \rangle, let F:E→ℝF : E \to \mathbb{R} be a real-valued function, let D⊆ED \subseteq E be a subset, and let x∈Ex \in E. A vector v∈Ev \in E is a supporting slope of FF on DD at xx if for every y∈Dy \in D, F(x)+⟨v,y−x⟩≤F(y).F(x) + \langle v, y - x \rangle \le F(y).(2)✦

The definition

Definition 4.1. Let QQ be a pressure function and let a∈ℝa \in \mathbb{R}. Using the shifted attraction branch (1), the ideal attraction pressure TaQT_a Q is the pressure function defined for all β,h∈ℝ\beta, h \in \mathbb{R} by (TaQ)(β,h)=supu∈ℝBQ,a,u(β,h),(T_a Q)(\beta, h) = \sup_{u \in \mathbb{R}} B_{Q, a, u}(\beta, h),(3)✦ with the real-supremum convention that (TaQ)(β,h)=0(T_a Q)(\beta, h) = 0 whenever the set {BQ,a,u(β,h):u∈ℝ}\{B_{Q, a, u}(\beta, h) : u \in \mathbb{R}\} is not bounded above. For β,h∈ℝ\beta, h \in \mathbb{R}, a real number u∈ℝu \in \mathbb{R} is a maximizing shift of QQ at (β,h)(\beta, h) with strength aa if for every v∈ℝv \in \mathbb{R}, BQ,a,v(β,h)≤BQ,a,u(β,h).B_{Q, a, v}(\beta, h) \le B_{Q, a, u}(\beta, h).(4)✦ For β,h,e,d∈ℝ\beta, h, e, d \in \mathbb{R}, the pair (e,d)(e, d) is a supporting slope of QQ at (β,h)(\beta, h) if for all β′>0\beta' > 0 and h′∈ℝh' \in \mathbb{R}, Q(β,h)+e(β′−β)+d(h′−h)≤Q(β′,h′).Q(\beta, h) + e(\beta' - \beta) + d(h' - h) \le Q(\beta', h').(5)✦ For a real inner product space EE, a function F:E→ℝF : E \to \mathbb{R}, a subset D⊆ED \subseteq E, and a point x∈Ex \in E, the set of supporting slopes of FF on DD at xx, denoted ∂DF(x)\partial_D F(x), is the set of vectors satisfying (2): ∂DF(x)={v∈E:v is a supporting slopeof F on D at x}.\begin{aligned} \partial_D F(x) = \{ v \in E :{} & v \text{ is a supporting slope} \\ & \text{of } F \text{ on } D \text{ at } x \}. \end{aligned}(6)✦

What is checked

In the Lean library, Definition 4.1 is stated over arbitrary pressure functions Q:ℝ×ℝ→ℝQ : \mathbb{R} \times \mathbb{R} \to \mathbb{R}, real attraction strengths a∈ℝa \in \mathbb{R}, shifted attraction branches BQ,a,uB_{Q, a, u}, and supporting slopes on arbitrary subsets DD of a real inner product space EE, with supporting slopes of QQ tested against all (β′,h′)∈Ω(\beta', h') \in \Omega.