Lemma 1 — simultaneous block updates and their signed mixed difference
DefinitionDiffNeighbors_Bias_Supplement_BlockModeldifferences-in-neighborsnetwork-interferencep2o-batch-supp500p2o-gran-per-chapterp2o-plan-paperp2o-v1
For a finite set of coordinates, let set every coordinate of to and leave all others unchanged. Define
The update precedes the update. In Lemma 1 the blocks are disjoint, so the updates commute. The source clusters give , ; all other entries retain their original values.
These definitions express Lemma 1's block notation for every block size. An empty block gives zero mixed difference. They assert no smoothness bound.
Definition code
import Mathlib
namespace DiffNeighbors.Bias.Supplement
variable {ι : Type*} [DecidableEq ι]
/-- Set all entries in S to b, leaving every other entry unchanged.
This is the block treatment notation z^{1_m}, z^{0_m} of Lemma 1 (p. 28). -/
def setBlock (S : Finset ι) (b : Bool) (z : ι → Bool) : ι → Bool :=
fun j => if j ∈ S then b else z j
/-- The signed block mixed difference of Lemma 1 (p. 28). The S update
is made first and the T update second. The lemma requires Disjoint S T. -/
def blockDiff (h : (ι → Bool) → ℝ) (S T : Finset ι) (z : ι → Bool) : ℝ :=
h (setBlock T true (setBlock S true z))
- h (setBlock T false (setBlock S true z))
- h (setBlock T true (setBlock S false z))
+ h (setBlock T false (setBlock S false z))
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