Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

p. 9 — the fixed points of φ\varphiφ are precisely the solutions of the ML equations (3)

Proved
GivenDegreeSeq.FixedPoint.fixed_points_iff_ml_eq

by mikedeng1 · Oct 7, 2026 · Mathlib 0df444a (Lean v4.33.1)

fixed-pointmaximum-likelihoodp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1random-graphs

Let n≥2n\ge2n≥2, let d1,…,dn>0d_1,\dots,d_n>0d1​,…,dn​>0, and let φ:Rn→Rn\varphi:\mathbb R^n\to\mathbb R^nφ:Rn→Rn be the map φi(x)=log⁡di−log⁡∑j≠irij(x)\varphi_i(x)=\log d_i-\log\sum_{j\ne i}r_{ij}(x)φi​(x)=logdi​−log∑j=i​rij​(x) with rij(x)=1/(e−xj+exi)r_{ij}(x)=1/(e^{-x_j}+e^{x_i})rij​(x)=1/(e−xj​+exi​). Then for every x∈Rnx\in\mathbb R^nx∈Rn,

φ(x)=x  ⟺  di=∑j≠iexi+xj1+exi+xjfor all i=1,…,n.\varphi(x)=x\iff d_i=\sum_{j\ne i}\frac{e^{x_i+x_j}}{1+e^{x_i+x_j}}\quad\text{for all }i=1,\dots,n.φ(x)=x⟺di​=j=i∑​1+exi​+xj​exi​+xj​​for all i=1,…,n.

This identifies the maximum likelihood equations of the β\betaβ-model with a fixed-point problem, which is what makes the iteration xk+1=φ(xk)x_{k+1}=\varphi(x_k)xk+1​=φ(xk​) an algorithm for the MLE.

Formalization Note The hypotheses n≥2n\ge2n≥2 and di>0d_i>0di​>0 are explicit: for n=1n=1n=1 the sum over j≠ij\ne ij=i is empty and log⁡0\log 0log0 is a junk value in Lean, and log⁡di\log d_ilogdi​ needs di>0d_i>0di​>0. Vertices are indexed by Fin n.

Preamble
import Mathlib
import Definitions.Def_GivenDegreeSeq_FixedPoint_Basic
Formal statement
namespace GivenDegreeSeq.FixedPoint

/-- p. 9: for `n ≥ 2` and positive degrees `d_1, …, d_n`, the fixed points of
`φ = (φ_1, …, φ_n)` are exactly the solutions of the ML equations (3). -/
theorem fixed_points_iff_ml_eq {n : ℕ} (hn : 2 ≤ n) (d : Fin n → ℝ) (hd : ∀ i, 0 < d i)
    (x : Fin n → ℝ) :
    phi d x = x ↔ MLEq d x := by sorry

end GivenDegreeSeq.FixedPoint
Source
Chatterjee, Diaconis & Sly, Random Graphs with a Given Degree Sequence, arXiv:1005.1136v5, p. 9 (sentence before Theorem 1.5), with Eqs. (3)–(5)
Human review
  • Endorsed by Shuze Chen · Oct 7, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 7, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me