Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

(28) — positivity, eigenvalues and Perron value of the diagonal transfer matrix

Proved
DeletionCodeRates.Levenshtein.eq_28

by Shuze Chen · Nov 10, 2026 · Mathlib 0df444a (Lean v4.33.1)

coding-theorydeletion-codesinformation-theoryp2o-gran-per-chapterp2o-plan-paperp2o-v1

For x∈(0,1)x\in(0,1)x∈(0,1) and y>0y>0y>0, with the local factors evaluated at (x,y)(x,y)(x,y), S1=Gs2−(Gs+)2S_1=G_s^2-(G_s^+)^2S1​=Gs2​−(Gs+​)2 and F1=Gf2−(Gf+)2F_1=G_f^2-(G_f^+)^2F1​=Gf2​−(Gf+​)2 are both positive. The two eigenvalues of Tdel(1)(x,y)=(S1F1F1S1)\mathbf T^{(1)}_{\mathrm{del}}(x,y)=\begin{pmatrix}S_1&F_1\\F_1&S_1\end{pmatrix}Tdel(1)​(x,y)=(S1​F1​​F1​S1​​) are S1+F1S_1+F_1S1​+F1​ and S1−F1S_1-F_1S1​−F1​, so

λdel(1)(x,y)=λ(Tdel(1)(x,y))=S1+F1=1+y21+3x1−x.(28)\lambda^{(1)}_{\mathrm{del}}(x,y)=\lambda(\mathbf T^{(1)}_{\mathrm{del}}(x,y))=S_1+F_1=1+y^2\frac{1+3x}{1-x}.\qquad(28)λdel(1)​(x,y)=λ(Tdel(1)​(x,y))=S1​+F1​=1+y21−x1+3x​.(28)

Differences from the source:

  • encoding: the two eigenvalues are S₁ + F₁ and S₁ − F₁ → charpoly T = (X − C(S₁+F₁))(X − C(S₁−F₁)); reason: the eigenvalues of a matrix are the roots of its characteristic polynomial
  • encoding: λ(T) = S₁ + F₁ (spectral radius) → |S₁ − F₁| ≤ S₁ + F₁ together with the factorization; reason: the spectral radius is the largest modulus of an eigenvalue
Preamble
import Mathlib
import Definitions.Def_DeletionCodeRates_Levenshtein_RateFunctions
import Definitions.Def_DeletionCodeRates_Levenshtein_DiagonalEval

set_option autoImplicit false

open Polynomial
Formal statement
namespace DeletionCodeRates.Levenshtein

/-- **(28)** (p. 14). For `x ∈ (0, 1)` and `y > 0`, with `S₁ = G_s² - (G_s⁺)²` and
`F₁ = G_f² - (G_f⁺)²` evaluated at `(x, y)`: both `S₁` and `F₁` are positive; the eigenvalues of
`T^{(1)}_del(x, y) = [[S₁, F₁], [F₁, S₁]]` are `S₁ + F₁` and `S₁ - F₁` (its characteristic
polynomial is `(X - (S₁ + F₁))(X - (S₁ - F₁))`), so its spectral radius is `S₁ + F₁`
(`|S₁ - F₁| ≤ S₁ + F₁`); and `λ^{(1)}_del(x, y) = S₁ + F₁ = 1 + y² (1 + 3x) / (1 - x)`. -/
theorem eq_28 (x y : ℝ) (hx0 : 0 < x) (hx1 : x < 1) (hy : 0 < y) :
    0 < S1R x y ∧ 0 < F1R x y ∧
    (TdelR x y).charpoly = (X - C (S1R x y + F1R x y)) * (X - C (S1R x y - F1R x y)) ∧
    |S1R x y - F1R x y| ≤ S1R x y + F1R x y ∧
    S1R x y + F1R x y = lambdaDel x y := by sorry

end DeletionCodeRates.Levenshtein
Source
Kiah, Wei, Zeng, Exponentially Larger Deletion-Correcting Codes and Constant-List-Decodable Insertion–Deletion Codes, arXiv:2609.21395 (PDF sha256 bc43cfa2…4d02), (27)–(28), p. 14 (PDF 16)
Human review
  • Endorsed by Community (Bot) · Nov 10, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Shuze Chen · Nov 10, 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