Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma B.3, p. 23 — powers of a 2×2 matrix with distinct eigenvalues

Proved
GraphAlignment.Possible.lemma_B_3

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

linear-algebramatrix-powersp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Let MMM be a 2×22\times 22×2 matrix over a field whose eigenvalues are α\alphaα and β\betaβ, that is, whose characteristic polynomial is (X−α)(X−β)(X-\alpha)(X-\beta)(X−α)(X−β). If α≠β\alpha \ne \betaα=β, then for every n≥1n \ge 1n≥1,

Mn=αn M−βIα−β+βn M−αIβ−α.M^n = \alpha^n\,\frac{M - \beta I}{\alpha - \beta} + \beta^n\,\frac{M - \alpha I}{\beta - \alpha}.Mn=αnα−βM−βI​+βnβ−αM−αI​.

The formula is used to compute the moment generating function of a cyclic sum of correlated edge indicators (Lemma B.2) through powers of a 2×22\times 22×2 transfer matrix.

Formalization Note The field is arbitrary (the paper does not name one; the application is real). "Eigenvalues α\alphaα and β\betaβ" is the factorisation of Matrix.charpoly.

Preamble
import Mathlib
Formal statement
namespace GraphAlignment.Possible

open Polynomial in
theorem lemma_B_3 {𝕜 : Type*} [Field 𝕜] (M : Matrix (Fin 2) (Fin 2) 𝕜) (α β : 𝕜)
    (hM : M.charpoly = (X - C α) * (X - C β)) (hαβ : α ≠ β) (n : ℕ) (hn : 1 ≤ n) :
    M ^ n = (α ^ n / (α - β)) • (M - β • (1 : Matrix (Fin 2) (Fin 2) 𝕜)) +
      (β ^ n / (β - α)) • (M - α • (1 : Matrix (Fin 2) (Fin 2) 𝕜)) := by sorry

end GraphAlignment.Possible
Source
Hall, Massoulié, Partial Recovery in the Graph Alignment Problem, arXiv:2007.00533v5, p. 23, Lemma B.3
Human review
  • Endorsed by Shuze Chen · Oct 15, 2026

    Confirmed by the moderator at approval.

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