Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

(9) — ∣φ(φ(x))−φ(φ(y))∣∞≤θ(x,y)∣x−y∣∞|\varphi(\varphi(x))-\varphi(\varphi(y))|_\infty\le\theta(x,y)|x-y|_\infty∣φ(φ(x))−φ(φ(y))∣∞​≤θ(x,y)∣x−y∣∞​, and ∣φ(x)−φ(y)∣∞≤∣x−y∣∞|\varphi(x)-\varphi(y)|_\infty\le|x-y|_\infty∣φ(x)−φ(y)∣∞​≤∣x−y∣∞​

Proved
GivenDegreeSeq.FixedPoint.eq_9

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

contractionmaximum-likelihoodp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1random-graphs

Let n≥2n\ge2n≥2, d1,…,dn>0d_1,\dots,d_n>0d1​,…,dn​>0, and let φ\varphiφ be the map of (5). For x,y∈Rnx,y\in\mathbb R^nx,y∈Rn let KKK be the maximum of the sup norms ∣x∣∞|x|_\infty∣x∣∞​, ∣y∣∞|y|_\infty∣y∣∞​, ∣φ(x)∣∞|\varphi(x)|_\infty∣φ(x)∣∞​, ∣φ(y)∣∞|\varphi(y)|_\infty∣φ(y)∣∞​, let δ=12e−4K\delta=\tfrac12e^{-4K}δ=21​e−4K, and let

θ(x,y)=1−2(n−2)δ2n−1.\theta(x,y)=1-\frac{2(n-2)\delta^2}{n-1}.θ(x,y)=1−n−12(n−2)δ2​.

Then

∣φ(φ(x))−φ(φ(y))∣∞≤θ(x,y) ∣x−y∣∞;(9)|\varphi(\varphi(x))-\varphi(\varphi(y))|_\infty\le\theta(x,y)\,|x-y|_\infty;\tag{9}∣φ(φ(x))−φ(φ(y))∣∞​≤θ(x,y)∣x−y∣∞​;(9)
  1. 0≤θ(x,y)0\le\theta(x,y)0≤θ(x,y), and θ(x,y)<1\theta(x,y)<1θ(x,y)<1 when n≥3n\ge3n≥3;
  2. ∣φ(x)−φ(y)∣∞≤∣x−y∣∞|\varphi(x)-\varphi(y)|_\infty\le|x-y|_\infty∣φ(x)−φ(y)∣∞​≤∣x−y∣∞​.

The two-step map φ∘φ\varphi\circ\varphiφ∘φ is therefore a strict contraction on every bounded set, with a contraction factor depending only on a bound for the norms involved, while φ\varphiφ itself is non-expansive.

Formalization Note The paper states 0≤θ<10\le\theta<10≤θ<1 without a condition on nnn; for n=2n=2n=2 one has θ=1\theta=1θ=1, so the strict inequality is stated for n≥3n\ge3n≥3, while (9) and the non-expansiveness hold for all n≥2n\ge2n≥2. The paper's further remark that θ\thetaθ is uniformly bounded away from 111 on (bounded) subsets is not stated here; its quantitative form is (10).

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

/-- (9), p. 13: with `K` the maximum of `|x|∞, |y|∞, |φ(x)|∞, |φ(y)|∞` and `δ = ½ e^{−4K}`,
`θ(x, y) = 1 − 2(n − 2)δ²/(n − 1)` satisfies
`|φ(φ(x)) − φ(φ(y))|∞ ≤ θ(x, y) |x − y|∞`; `0 ≤ θ(x, y)`, and `θ(x, y) < 1` when `n ≥ 3`;
and `|φ(x) − φ(y)|∞ ≤ |x − y|∞`. -/
theorem eq_9 {n : ℕ} (hn : 2 ≤ n) (d : Fin n → ℝ) (hd : ∀ i, 0 < d i)
    (x y : Fin n → ℝ) :
    let K : ℝ := max (max ‖x‖ ‖y‖) (max ‖phi d x‖ ‖phi d y‖)
    let δ : ℝ := Real.exp (-4 * K) / 2
    let θ : ℝ := 1 - 2 * ((n : ℝ) - 2) * δ ^ 2 / ((n : ℝ) - 1)
    ‖phi d (phi d x) - phi d (phi d y)‖ ≤ θ * ‖x - y‖ ∧
    0 ≤ θ ∧ (3 ≤ n → θ < 1) ∧
    ‖phi d x - phi d y‖ ≤ ‖x - y‖ := by sorry

end GivenDegreeSeq.FixedPoint
Source
Chatterjee, Diaconis & Sly, Random Graphs with a Given Degree Sequence, arXiv:1005.1136v5, pp. 12–13, Eq. (9) and the bound |φ(x) − φ(y)|∞ ≤ |x − y|∞
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