Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Number of full solves with large incoming or activation charge

Proved
NearlyOptimalPPR.Computation.recursive_large_input_count

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

algorithm-analysisgraph-theorypagerank

Let τ(0)<⋯<τ(T)\tau(0)<\cdots<\tau(T)τ(0)<⋯<τ(T) be full-solve states of one recursive call, with initial threshold qjq_jqj​, scale NNN and block size bbb. For consecutive snapshots define

Ji=∑τ(i)+1≤k<τ(i+1)Ij(k)+4κ0qjvol⁡(Hj(τ(i+1))∖Hj(τ(i))).J_i=\sum_{\tau(i)+1\le k<\tau(i+1)}I_j(k) +4\kappa_0q_j\operatorname{vol}\bigl(H_j(\tau(i+1))\setminus H_j(\tau(i))\bigr).Ji​=τ(i)+1≤k<τ(i+1)∑​Ij​(k)+4κ0​qj​vol(Hj​(τ(i+1))∖Hj​(τ(i))).

If E⊆{0,…,T−1}E\subseteq\{0,\ldots,T-1\}E⊆{0,…,T−1} and Ji≥qjb/8J_i\ge q_jb/8Ji​≥qj​b/8 for every i∈Ei\in Ei∈E, then

∣E∣≤80κ0Nb.|E|\le\frac{80\kappa_0N}{b}.∣E∣≤b80κ0​N​.

Here IjI_jIj​ is charged exterior-push inflow and κ0=ℓ+3\kappa_0=\ell+3κ0​=ℓ+3. The finite undirected graph has a nonisolated seed, 0<α<10<\alpha<10<α<1, and positive root threshold. This finite-prefix estimate pays for one class of exceptional full solves in Lemma 4.4.

Preamble
import Definitions.Def_NearlyOptimalPPR_Computation_work_analysis
open Finset Matrix NearlyOptimalPPR.Computation
Formal statement
theorem NearlyOptimalPPR.Computation.recursive_large_input_count (m : SolveModel) (n : ℕ) (g : InputGraph n) (s : Fin n) (α q : ℝ)
    (hα : 0 < α ∧ α < 1) (hq : 0 < q) (hs : 0 < g.graph.degree s)
    (ℓ : ℕ) (schedule : BlockSchedule) (τ : ℕ → ℕ) (hτ : StrictMono τ) (T id : ℕ)
    (hfull : ∀ i ≤ T, fullSolveEvent g (recursiveRun m g s α q ℓ schedule (τ i)) id)
    (E : Finset ℕ) (hE : E ⊆ Finset.range T) :
    let run := recursiveRun m g s α q ℓ schedule
    let st := run (τ 0)
    let j := st.top
    (∀ i ∈ E, (st.frames j).q*(st.frames j).block/8 ≤ fullPairInput g α ℓ run j τ i) →
      (E.card : ℝ) ≤ 80*(kappa ℓ 0 : ℝ)*(st.frames j).N/(st.frames j).block := by sorry
Source
Li, Xu, Yang, Zhou, Nearly optimal Personalized PageRank computation, STOC 2027 submission #884, https://github.com/sigact-stoc/stoc2027/releases/download/papers-1/884.pdf, Lemmas 5.7–5.8 pp.26–28 and the finite-prefix event-counting proof of Lemma 4.4 pp.28–29; Lemma 4.4 statement p.18.

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