Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 1 — the absolute block mixed difference is bounded by mnLδ²

Open
DiffNeighbors.Bias.Supplement.lemma_1

by mikedeng1 · Nov 23, 2026 · Mathlib 0df444a (Lean v4.33.1)

cluster-randomizationestimator-biasnetwork-interferencep2o-batch-supp500p2o-gran-per-chapterp2o-plan-paperp2o-strengthenedp2o-v1

Let III be a finite unit set, GGG an undirected graph without self-loops, and fi:{0,1}I→Rf_i:\{0,1\}^I\to\mathbb Rfi​:{0,1}I→R the potential outcomes. Write fia(z)=fi(zzi=a)f_i^a(z)=f_i(z^{z_i=a})fia​(z)=fi​(zzi​=a) and let Ni\mathcal N_iNi​ denote its neighbours. Suppose δ>0\delta>0δ>0 and fia(z)=gia(δz)f_i^a(z)=g_i^a(\delta z)fia​(z)=gia​(δz), with giag_i^agia​ twice differentiable within [0,δ]I[0,\delta]^I[0,δ]I and all mixed second derivatives for distinct neighbours bounded in absolute value by LLL (Assumption 2).

For any unit iii, binary treatment aaa, treatment vector zzz, and disjoint subsets S,T⊆NiS,T\subseteq\mathcal N_iS,T⊆Ni​ of sizes m,nm,nm,n, let DS,TD_{S,T}DS,T​ change whole blocks to zero or one, retaining every other entry. Then

∣DS,Tfia(z)∣≤mnLδ2.|D_{S,T}f_i^a(z)|\le mnL\delta^2.∣DS,T​fia​(z)∣≤mnLδ2.

Taking S=Cj∩NiS=C_j\cap\mathcal N_iS=Cj​∩Ni​, T=Ck∩NiT=C_k\cap\mathcal N_iT=Ck​∩Ni​ recovers all cluster sizes in the printed lemma. The absolute bound includes its one-sided conclusion and the mirror used by Theorem 3. Neighborhood interference is unnecessary.

Differences from the source:

  • generalization: two distinct neighbour clusters other than the own cluster, of sizes m,n, and a one-sided block inequality → any disjoint S,T contained in N_i, including empty blocks, and an absolute bound |S||T|Lδ²; reason: the source clusters give S=C_j∩N_i and T=C_k∩N_i; the same signed bound applied to -g gives the other sign, as used on p. 29
  • reading: scaled functions and second derivatives on the box in §2.2 and Assumption 2 → functions on all unit coordinates, parameterized at δz, twice differentiable within [0,δ]^I with bounded mixed within-derivatives only for distinct neighbours; reason: neighbour functions compose with the projection; p. 6 specifies the box and presupposes these derivatives exist, with no global regularity requirement
  • generalization: Assumption 1 holds throughout the paper → neighborhood interference is omitted for this local finite-difference bound; reason: only the parameterization and mixed derivative bounds are used; every neighborhood-interference model remains an instance
  • encoding: binary treatment vectors on [N] → Bool-valued vectors on finite types, with the published conditional outcome and signed finite difference; reason: Bool encodes zero and one and all finite source instances are retained
Preamble
import Mathlib
import Definitions.Def_DiffNeighbors_Bias_Supplement_SmoothModel
import Definitions.Def_DiffNeighbors_Bias_Supplement_BlockModel
Formal statement
namespace DiffNeighbors.Bias.Supplement

/-- Lemma 1, Appendix A.2, p. 28, in its two-sided form used on p. 29.
Any two disjoint subsets of N_i are allowed; the source clusters are the
special case S = C_j ∩ N_i, T = C_k ∩ N_i. Empty blocks are permitted.
Neighborhood interference is unnecessary for this assertion. -/
theorem lemma_1 {ι : Type*} [Fintype ι] [DecidableEq ι]
    (G : SimpleGraph ι) [DecidableRel G.Adj] (f : ι → (ι → Bool) → ℝ)
    (g : ι → Bool → (ι → ℝ) → ℝ) (δ L : ℝ) (hδ : 0 < δ)
    (hg : SmoothInterference G f g δ L)
    (i : ι) (a : Bool) (z : ι → Bool) (S T : Finset ι)
    (hS : S ⊆ G.neighborFinset i) (hT : T ⊆ G.neighborFinset i)
    (hST : Disjoint S T) :
    |blockDiff (condOutcome f i a) S T z| ≤
      (S.card : ℝ) * (T.card : ℝ) * L * δ ^ 2 := by sorry

end DiffNeighbors.Bias.Supplement
Source
Peng, Ye, Zheng, Differences-in-Neighbors for Network Interference in Experiments, arXiv:2503.02271v1, p. 28, Appendix A.2, Lemma 1; p. 29, use of the absolute bound

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