Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Equation (6) (corrected: absolute value) — the unit mixed difference is bounded by Lδ²

Open
DiffNeighbors.Bias.Supplement.equation_6

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

cluster-randomizationestimator-biasnetwork-interferencep2o-batch-supp500p2o-correctedp2o-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 every unit iii, binary treatment aaa, treatment vector zzz, and distinct neighbours j,k∈Nij,k\in\mathcal N_ij,k∈Ni​,

∣Δjkfia(z)∣≤Lδ2.|\Delta_{jk}f_i^a(z)|\le L\delta^2.∣Δjk​fia​(z)∣≤Lδ2.

Here Δjkh(z)=h(z1,1)−h(z0,1)−h(z1,0)+h(z0,0)\Delta_{jk}h(z)=h(z^{1,1})-h(z^{0,1})-h(z^{1,0})+h(z^{0,0})Δjk​h(z)=h(z1,1)−h(z0,1)−h(z1,0)+h(z0,0), changing only entries j,kj,kj,k. This is Lemma 1's unit-level base case. Neighborhood interference is unnecessary.

Differences from the source:

  • correction: Equation (6) first equates the signed Δ_jk f_i^a to its absolute value → the conclusion bounds |Δ_jk f_i^a| by Lδ²; reason: the equality is false on the three-node star with f_0^a(z)=-z_1z_2, δ=L=1: the signed difference is -1 and its absolute value is 1; the intended absolute bound is 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
  • reading: Equation (6) says any j,k in N_i while invoking Assumption 2 → j and k are distinct neighbours; reason: Assumption 2 bounds distinct mixed partials; repeated-index signed differences vanish by the published definition
  • 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
Formal statement
namespace DiffNeighbors.Bias.Supplement

/-- Equation (6), p. 9: the mixed finite-difference bound under Assumption 2.
Only distinct neighbours are constrained by Assumption 2. Neighborhood
interference is unnecessary for this local assertion and is omitted. -/
theorem equation_6 {ι : Type*} [Fintype ι] [DecidableEq ι]
    (G : SimpleGraph ι) (f : ι → (ι → Bool) → ℝ)
    (g : ι → Bool → (ι → ℝ) → ℝ) (δ L : ℝ) (hδ : 0 < δ)
    (hg : SmoothInterference G f g δ L)
    (i : ι) (a : Bool) (z : ι → Bool) (j k : ι)
    (hj : G.Adj i j) (hk : G.Adj i k) (hjk : j ≠ k) :
    |secondDiff (condOutcome f i a) j k z| ≤ L * δ ^ 2 := by sorry

end DiffNeighbors.Bias.Supplement
Source
Peng, Ye, Zheng, Differences-in-Neighbors for Network Interference in Experiments, arXiv:2503.02271v1, p. 9, Equation (6), proof of Corollary 1; pp. 5–6, §2.2 and Assumption 2

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