Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 1.5 — the iteration xk+1=φ(xk)x_{k+1}=\varphi(x_k)xk+1​=φ(xk​) converges geometrically to the unique β\betaβ-model MLE, and has a divergent subsequence when no MLE exists

Proved
GivenDegreeSeq.FixedPoint.theorem_1_5

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

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

Let n≥3n\ge3n≥3 and let d1,…,dn>0d_1,\dots,d_n>0d1​,…,dn​>0. Let φ:Rn→Rn\varphi:\mathbb R^n\to\mathbb R^nφ:Rn→Rn be given by

φi(x)=log⁡di−log⁡∑j≠i1e−xj+exi,\varphi_i(x)=\log d_i-\log\sum_{j\ne i}\frac{1}{e^{-x_j}+e^{x_i}},φi​(x)=logdi​−logj=i∑​e−xj​+exi​1​,

and, for x0∈Rnx_0\in\mathbb R^nx0​∈Rn, let xk+1=φ(xk)x_{k+1}=\varphi(x_k)xk+1​=φ(xk​) for k=0,1,2,…k=0,1,2,\dotsk=0,1,2,…. There are functions Θ,C:R2→R\Theta,C:\mathbb R^2\to\mathbb RΘ,C:R2→R, with 0≤Θ<10\le\Theta<10≤Θ<1 and CCC continuous, which do not depend on nnn or ddd, such that the following hold.

  1. Suppose the maximum likelihood equations
di=∑j≠ieβ^i+β^j1+eβ^i+β^j,i=1,…,n,(3)d_i=\sum_{j\ne i}\frac{e^{\hat\beta_i+\hat\beta_j}}{1+e^{\hat\beta_i+\hat\beta_j}},\qquad i=1,\dots,n,\tag{3}di​=j=i∑​1+eβ^​i​+β^​j​eβ^​i​+β^​j​​,i=1,…,n,(3)

have a solution β^\hat\betaβ^​. Then β^\hat\betaβ^​ is a fixed point of φ\varphiφ; for every x0x_0x0​ and every k≥0k\ge0k≥0,

∣xk−β^∣∞≤Θ(∣β^∣∞,∣x0∣∞)⌊k/2⌋ ∣x0−β^∣∞,|x_k-\hat\beta|_\infty\le\Theta(|\hat\beta|_\infty,|x_0|_\infty)^{\lfloor k/2\rfloor}\,|x_0-\hat\beta|_\infty,∣xk​−β^​∣∞​≤Θ(∣β^​∣∞​,∣x0​∣∞​)⌊k/2⌋∣x0​−β^​∣∞​,

so xk→β^x_k\to\hat\betaxk​→β^​ geometrically fast at a rate depending only on (∣β^∣∞,∣x0∣∞)(|\hat\beta|_\infty,|x_0|_\infty)(∣β^​∣∞​,∣x0​∣∞​); β^\hat\betaβ^​ is the unique solution of (3); and for every x0x_0x0​,

∣x0−β^∣∞≤C(∣β^∣∞,∣x0∣∞) ∣x0−x1∣∞.|x_0-\hat\beta|_\infty\le C(|\hat\beta|_\infty,|x_0|_\infty)\,|x_0-x_1|_\infty.∣x0​−β^​∣∞​≤C(∣β^​∣∞​,∣x0​∣∞​)∣x0​−x1​∣∞​.
  1. Conversely, if (3) has no solution, then for every x0x_0x0​ the sequence {xk}\{x_k\}{xk​} is unbounded in the sup norm, i.e. it has a divergent subsequence.

This is the paper's algorithmic result: iterating φ\varphiφ computes the maximum likelihood estimate of the β\betaβ-model with a dimension-free geometric rate, certifies its accuracy through the computable quantity ∣x0−x1∣∞|x_0-x_1|_\infty∣x0​−x1​∣∞​, and detects non-existence of the MLE.

Formalization Note The functions Θ\ThetaΘ and CCC are chosen before nnn, ddd, β^\hat\betaβ^​ and x0x_0x0​, which is how "the rate depends only on (∣β^∣∞,∣x0∣∞)(|\hat\beta|_\infty,|x_0|_\infty)(∣β^​∣∞​,∣x0​∣∞​)" and "CCC is a continuous function of the pair" are rendered. Geometric convergence is stated through the two-step contraction factor, Θ⌊k/2⌋\Theta^{\lfloor k/2\rfloor}Θ⌊k/2⌋ (natural-number division k/2k/2k/2). A sequence in Rn\mathbb R^nRn has a subsequence with ∣xkj∣∞→∞|x_{k_j}|_\infty\to\infty∣xkj​​∣∞​→∞ exactly when it is unbounded, so "a divergent subsequence" is stated as unboundedness. The hypothesis n≥3n\ge3n≥3 is not on the page but is required: for n=2n=2n=2 any solution of (3) comes with a whole line of solutions, so uniqueness fails. The degrees are arbitrary positive reals (the proof uses nothing else); log⁡di\log d_ilogdi​ requires di>0d_i>0di​>0. Vertices are Fin n, and ∣⋅∣∞|\cdot|_\infty∣⋅∣∞​ is Mathlib's sup norm on Fin n → ℝ.


Retired 2026-10-27: a Lean-vs-paper fidelity audit found this statement weaker than, or narrower than, the cited result. A corrected statement will be resubmitted.

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

/-- Theorem 1.5, p. 9. There are functions `Θ(a, b) ∈ [0, 1)` and `C(a, b)`, `C` continuous,
both independent of `n` and `d`, such that for every `n ≥ 3` and every positive degree vector
`d`, with `x_k = φ^k(x₀)`:
* if `β̂` solves the ML equations (3), then `β̂` is a fixed point of `φ`;
  `|x_k − β̂|∞ ≤ Θ(|β̂|∞, |x₀|∞)^{⌊k/2⌋} |x₀ − β̂|∞` for every `x₀` and `k`
  (geometric convergence at a rate depending only on `(|β̂|∞, |x₀|∞)`);
  `β̂` is the unique solution of (3); and
  `|x₀ − β̂|∞ ≤ C(|β̂|∞, |x₀|∞) |x₀ − x₁|∞` for every `x₀`;
* if (3) has no solution, then for every `x₀` the sequence `(x_k)` is unbounded, i.e. has a
  subsequence with `|x_{k_j}|∞ → ∞` (a divergent subsequence). -/
theorem theorem_1_5 :
    ∃ Θ C : ℝ → ℝ → ℝ, (∀ a b, 0 ≤ Θ a b ∧ Θ a b < 1) ∧ Continuous (Function.uncurry C) ∧
      ∀ n : ℕ, 3 ≤ n → ∀ d : Fin n → ℝ, (∀ i, 0 < d i) →
        (∀ βhat : Fin n → ℝ, MLEq d βhat →
          phi d βhat = βhat ∧
          (∀ (x₀ : Fin n → ℝ) (k : ℕ),
            ‖(phi d)^[k] x₀ - βhat‖ ≤ Θ ‖βhat‖ ‖x₀‖ ^ (k / 2) * ‖x₀ - βhat‖) ∧
          (∀ b : Fin n → ℝ, MLEq d b → b = βhat) ∧
          (∀ x₀ : Fin n → ℝ, ‖x₀ - βhat‖ ≤ C ‖βhat‖ ‖x₀‖ * ‖x₀ - phi d x₀‖)) ∧
        ((¬ ∃ b : Fin n → ℝ, MLEq d b) →
          ∀ x₀ : Fin n → ℝ, ¬ BddAbove (Set.range fun k : ℕ => ‖(phi d)^[k] x₀‖)) := by sorry

end GivenDegreeSeq.FixedPoint
Source
Chatterjee, Diaconis & Sly, Random Graphs with a Given Degree Sequence, arXiv:1005.1136v5, p. 9, Theorem 1.5 (proof §2, pp. 11–14)
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