Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Assumption 2 and §2.2 — scaled outcome functions and smooth interference on the box

Definition
DiffNeighbors_Bias_Supplement_SmoothModel

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

differences-in-neighborsnetwork-interferencep2o-batch-supp500p2o-gran-per-chapterp2o-plan-paperp2o-v1

Let GGG be an undirected, loopless graph on a finite unit set III, let fif_ifi​ be the potential outcomes, and write fia(z)=fi(zzi=a)f_i^a(z)=f_i(z^{z_i=a})fia​(z)=fi​(zzi​=a). For an interference scale δ\deltaδ, put Bδ=[0,δ]IB_\delta=[0,\delta]^IBδ​=[0,δ]I. Smooth interference means

fia(z)=gia((δzj)j∈I),∣D(Dgia)(x)[ek][ej]∣≤L(x∈Bδ, j,k∈Ni, j≠k).f_i^a(z)=g_i^a((\delta z_j)_{j\in I}),\qquad |D(Dg_i^a)(x)[e_k][e_j]|\le L\quad(x\in B_\delta,\ j,k\in\mathcal N_i,\ j\ne k).fia​(z)=gia​((δzj​)j∈I​),∣D(Dgia​)(x)[ek​][ej​]∣≤L(x∈Bδ​, j,k∈Ni​, j=k).

Here aaa is a binary treatment, zzz a binary vector, and eje_jej​ the coordinate basis vector. The predicate requires differentiability of giag_i^agia​ and of its within-derivative map on the closed box, without continuity of second derivatives or regularity outside it. Theorems separately require δ>0\delta>0δ>0.

This is the continuous model behind the finite-difference bounds. The paper's neighbour-coordinate functions extend by projection to all coordinates. The domain follows Assumption 2 on p. 6 and the evaluations g(δz)g(\delta z)g(δz), resolving the inconsistent [0,1]n[0,1]^n[0,1]n domain on p. 5. Neither neighborhood interference nor nonnegativity of LLL is bundled here; Theorem 3 states these separately.

Definition code
import Mathlib
import Definitions.Def_DiffNeighbors_Bias_Model

noncomputable section

namespace DiffNeighbors.Bias.Supplement

variable {ι : Type*} [Fintype ι] [DecidableEq ι]

/-- The box [0, δ]^ι from Assumption 2 (p. 6). Values of g outside this box
are never constrained or used. Theorems require δ > 0. -/
def interferenceBox (δ : ℝ) : Set (ι → ℝ) := Set.Icc 0 (fun _ => δ)

/-- The δ-parameterization of §2.2 (p. 5) and Assumption 2 (p. 6).
The paper's g on neighbour coordinates is extended by composing with the
projection onto the neighbours. No locality condition is imposed here.
Twice differentiability is within the closed box, with no global regularity
or continuity of second derivatives required. The bound is only for distinct
neighbours. L is not required to be nonnegative in this predicate; when there
are no such pairs its derivative-bound clause is vacuous. -/
def SmoothInterference (G : SimpleGraph ι) (f : ι → (ι → Bool) → ℝ)
    (g : ι → Bool → (ι → ℝ) → ℝ) (δ L : ℝ) : Prop :=
  (∀ i a z, condOutcome f i a z = g i a (fun j => δ * ind (z j))) ∧
  (∀ i a, DifferentiableOn ℝ (g i a) (interferenceBox δ)) ∧
  (∀ i a, DifferentiableOn ℝ (fderivWithin ℝ (g i a) (interferenceBox δ))
    (interferenceBox δ)) ∧
  (∀ i a x, x ∈ interferenceBox δ → ∀ j k, G.Adj i j → G.Adj i k → j ≠ k →
    |fderivWithin ℝ (fderivWithin ℝ (g i a) (interferenceBox δ))
      (interferenceBox δ) x (Pi.single k 1) (Pi.single j 1)| ≤ L)

end DiffNeighbors.Bias.Supplement

end
Source
Peng, Ye, Zheng, Differences-in-Neighbors for Network Interference in Experiments, arXiv:2503.02271v1, pp. 5–6, §2.2, (1), 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