Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§3, proof of Theorem 3.1, p. 10 — x_k is the unit vector along (AᵀA)^{k−1}Aᵀz and y_k the unit vector along (AAᵀ)^k z

Proved
KleinbergHITS.Conv.iterate_closed_form

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

hitsp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1power-iteration

Let AAA be the adjacency matrix of a directed graph on nnn pages, z=(1,…,1)∈Rnz=(1,\dots,1)\in\mathbb R^nz=(1,…,1)∈Rn, and let (xk,yk)(x_k,y_k)(xk​,yk​) be the output of the procedure Iterate(G,k)(G,k)(G,k): x0=y0=zx_0=y_0=zx0​=y0​=z, and for i≥1i\ge1i≥1, xi′=I(yi−1)x_i'=\mathcal I(y_{i-1})xi′​=I(yi−1​), yi′=O(xi′)y_i'=\mathcal O(x_i')yi′​=O(xi′​), and xix_ixi​, yiy_iyi​ are xi′x_i'xi′​, yi′y_i'yi′​ normalized so that their squares sum to 111. Write unit(w)=w/∥w∥2\mathrm{unit}(w)=w/\|w\|_2unit(w)=w/∥w∥2​ for the unit vector in the direction of www. Then for every k≥1k\ge1k≥1,

xk=unit((A⊤A)k−1A⊤z),yk=unit((AA⊤)kz).x_k=\mathrm{unit}\big((A^{\top}A)^{k-1}A^{\top}z\big),\qquad y_k=\mathrm{unit}\big((AA^{\top})^{k}z\big).xk​=unit((A⊤A)k−1A⊤z),yk​=unit((AA⊤)kz).

This identifies Kleinberg's iterates with normalized power iterates of the symmetric matrices A⊤AA^{\top}AA⊤A and AA⊤AA^{\top}AA⊤, which is what allows the convergence theory of the power method to be applied.

Formalization Note The identity holds for every graph, with no use of Assumption (†). "The unit vector in the direction of www" is the mission's normalize w, which returns 000 when w=0w=0w=0; both sides then vanish together, so the statement does not rely on that convention to be true, but it is part of its meaning when an iterate is 000. The restriction k≥1k\ge1k≥1 is needed: at k=0k=0k=0 the iterate x0x_0x0​ is zzz, not the unit vector along A⊤zA^{\top}zA⊤z.

Preamble
import Mathlib
import Definitions.Def_KleinbergHITS_Conv_Setting
Formal statement
namespace KleinbergHITS.Conv

open Matrix

/-- Kleinberg (1999), §3, proof of Theorem 3.1, p. 10: "Thus x_k is the unit vector in the direction
of (AᵀA)^{k−1}Aᵀz, and y_k is the unit vector in the direction of (AAᵀ)^k z." Stated for `k ≥ 1`. -/
theorem iterate_closed_form {n : ℕ} (E : Fin n → Fin n → Prop) [DecidableRel E] :
    ∀ k : ℕ, 1 ≤ k →
      (hitsIter E k).1 =
          normalize ((((adjMatrix E)ᵀ * adjMatrix E) ^ (k - 1)) *ᵥ ((adjMatrix E)ᵀ *ᵥ allOnes n)) ∧
        (hitsIter E k).2 = normalize (((adjMatrix E * (adjMatrix E)ᵀ) ^ k) *ᵥ allOnes n) := by sorry

end KleinbergHITS.Conv
Source
Kleinberg, Authoritative sources in a hyperlinked environment, J. ACM 46(5) (1999), author's copy, p. 10, §3, proof of Theorem 3.1 ("Thus x_k is the unit vector in the direction of (AᵀA)^{k−1}Aᵀz, and y_k is the unit vector in the direction of (AAᵀ)^k z")
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