Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Eq. (7.2.3) — a ≥ L(x) − 2√2 f_c(A(a),x)√L(x) for the longest common subsequence

Proved
TalagrandConc.Subsequences.eq_7_2_3

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

combinatoricslongest-common-subsequencep2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-bookp2o-v1probability

Let Ω=[0,1]\Omega = [0,1]Ω=[0,1] and N,N′≥0N, N' \ge 0N,N′≥0. For x∈ΩN+N′x \in \Omega^{N+N'}x∈ΩN+N′ let

L(x)=LN,N′(x1,…,xN; xN+1,…,xN+N′)L(x) = L_{N,N'}(x_1,\dots,x_N;\ x_{N+1},\dots,x_{N+N'})L(x)=LN,N′​(x1​,…,xN​; xN+1​,…,xN+N′​)

be the length of the longest common subsequence of the first NNN and the last N′N'N′ coordinates of xxx, and for a>0a > 0a>0 let A(a)={x  ;  L(x)≤a}A(a) = \{x \;;\; L(x) \le a\}A(a)={x;L(x)≤a}. Then for every x∈ΩN+N′x \in \Omega^{N+N'}x∈ΩN+N′,

a≥L(x)−22 fc(A(a),x)L(x),a \ge L(x) - 2\sqrt2\, f_c(A(a),x)\sqrt{L(x)},a≥L(x)−22​fc​(A(a),x)L(x)​,

where fcf_cfc​ is Talagrand's convex hull distance on ΩN+N′\Omega^{N+N'}ΩN+N′.

This is the basic inequality of Section 7.2, the analogue of Lemma 7.1.1 for common subsequences; the factor 222\sqrt 222​ is what turns the constant 444 of Theorem 7.1.2 into 323232 in Theorem 7.2.1.

Formalization Note Stated in the rearranged form L(x)≤a+22 fc(A(a),x)L(x)L(x) \le a + 2\sqrt2\, f_c(A(a),x)\sqrt{L(x)}L(x)≤a+22​fc​(A(a),x)L(x)​ in [0,+∞][0,+\infty][0,+∞]. The restriction a>0a > 0a>0 follows the definition of A(a)A(a)A(a) in Section 7.1.

Preamble
import Mathlib
import Definitions.Def_TalagrandConc_ConvexHull_Basic
import Definitions.Def_TalagrandConc_Subsequences_Basic

open MeasureTheory
open scoped ENNReal
Formal statement
namespace TalagrandConc.Subsequences

/-- Talagrand (1995), Eq. (7.2.3), p. 155. With `Ω = [0,1]`, `x ∈ Ω^{N+N'}`,
`L(x) = L_{N,N'}(x_1, …, x_N; x_{N+1}, …, x_{N+N'})` and `A(a) = {x ; L(x) ≤ a}`, for `a > 0`:
`a ≥ L(x) − 2√2 f_c(A(a), x) √(L(x))`, written as
`L(x) ≤ a + 2√2 f_c(A(a), x) √(L(x))` in `ℝ≥0∞`. -/
theorem eq_7_2_3 {N N' : ℕ} (a : ℝ) (ha : 0 < a) (x : Fin (N + N') → unitInterval) :
    ((lcsJoint x : ℕ) : ℝ≥0∞) ≤
      ENNReal.ofReal a + ENNReal.ofReal (2 * Real.sqrt 2) * TalagrandConc.ConvexHull.fc (levelSet lcsJoint a) x *
        ENNReal.ofReal (Real.sqrt (lcsJoint x)) := by sorry

end TalagrandConc.Subsequences
Source
Talagrand, Concentration of measure and isoperimetric inequalities in product spaces, Publ. Math. IHÉS 81 (1995), p. 155, Eq. (7.2.3)
Human review
  • Endorsed by Shuze Chen · Oct 6, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 6, 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