Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Observation 4.1 — Q(S)_{i,j} counts the paths i →B x →G y →B j with x ∈ S, y ∉ S

Proved
FTConnOracle.Main.observation_4_1

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

expandersfault-tolerant-connectivitygraph-sketchingp2o-gran-per-chapterp2o-plan-paperp2o-strengthenedp2o-v1

Let n≥2n\ge2n≥2, let BBB be a bipartite graph with left side [n][n][n] and right side [r][r][r] (left degrees ℓ≥1\ell\ge1ℓ≥1, (4.1) for ttt), let GGG be a graph on [n][n][n] and S⊆[n]S\subseteq[n]S⊆[n]. For i,j∈[r]i,j\in[r]i,j∈[r] let Pi,jP_{i,j}Pi,j​ be the set of paths i→Bx→Gy→Bji\xrightarrow{B}x\xrightarrow{G}y\xrightarrow{B}jiB​xG​yB​j with x∈Sx\in Sx∈S and y∈Scy\in S^cy∈Sc. Then

Q(S)i,j=∣Pi,j∣.Q(S)_{i,j}=|P_{i,j}|.Q(S)i,j​=∣Pi,j​∣.

The entries of the sketched cut matrix are thus path counts, which is how the lossless expansion of BBB enters the cut-amplification argument.

Formalization Note. A path in Pi,jP_{i,j}Pi,j​ is determined by its middle edge, so Pi,jP_{i,j}Pi,j​ is the set of pairs (x,y)(x,y)(x,y) with x∈Ti∩Sx\in T_i\cap Sx∈Ti​∩S, y∈Tj∖Sy\in T_j\setminus Sy∈Tj​∖S, {x,y}∈E(G)\{x,y\}\in E(G){x,y}∈E(G).

Differences from the source:

  • generalization: the bipartite graph B fixed by Lemma 4.1 for n and an integer 1 ≤ t < n/4 (right side r = O(t log(2n)), left degree ℓ = O(log(2n))) → every B with left side [n], any right side [r], all left degrees equal to some ℓ ≥ 1 and property (4.1) for the parameter t, for every t ∈ ℕ; reason: the proof uses only left-regularity with ℓ ≥ 1 and (4.1); Lemma 4.1's B is one such graph, so the statement specializes to the source's
  • encoding: B as a bipartite graph / its r × n incidence matrix with 0/1 columns b_v; Q(S) an r × r matrix → B : Fin n → Finset (Fin r) (right neighbourhoods); b_v = col B v ∈ ℤ^r; Q(S) a Matrix (Fin r) (Fin r) ℤ, symmetric meaning Qᵀ = Q; reason: same objects; integer entries as in the paper
  • encoding: paths i →B x →G y →B j → pairs (x, y) with i ∈ Γ(x), x ∈ S, {x, y} ∈ E(G), y ∉ S, j ∈ Γ(y) (pathSet); reason: such a path is determined by its middle edge (x, y); the count is the same
Preamble
import Mathlib
import Definitions.Def_FTConnOracle_Main_Expander
Formal statement
namespace FTConnOracle.Main

/-- Observation 4.1 (p. 16): for `i, j ∈ [r]`, the entry `Q(S)_{i,j}` of the sketched cut matrix
equals the number of paths `i →B x →G y →B j` with `x ∈ S` and `y ∈ Sᶜ`. -/
theorem observation_4_1 {n r ℓ t : ℕ} (hn : 2 ≤ n) (B : Fin n → Finset (Fin r))
    (hB : IsLosslessExpander B ℓ t) (G : SimpleGraph (Fin n)) (S : Finset (Fin n))
    (i j : Fin r) :
    cutMatrix B G S i j = ((pathSet B G S i j).card : ℤ) := by sorry

end FTConnOracle.Main
Source
Parter, Tzalik, Deterministic Fault-Tolerant Connectivity Oracles with Subqadratic Space, STOC 2027 submission (manuscript sha256 168306b7…), p. 16 (PDF 18), Observation 4.1
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