Local Hypercube Embeddings for Monotonicity Testing and Negative Sensitivity #
This module formalizes local embeddings and relaxed local embeddings of finite product
distributions ([m]^n, μ₁^(⊗ n)) into the Boolean hypercube ({0, 1}^(n · r), U), together
with monotonicity-distance preservation, expected square-root negative sensitivity pullbacks,
statistical-distance stability, generic Cslib.PCP.LocalTest pullback and repetition
amplification, and concrete instantiation with Cslib.BitString.edgeTest.
Main definitions #
Cslib.BitString.probDist,distToMonotone: disagreement probability and distance to monotonicity under an arbitrary finite probability mass function.Cslib.BitString.negSensitivity,cubeNegSensitivity: negative sensitivity on hypergrids[m]^nand Boolean hypercubes{0, 1}^n.Cslib.BitString.RelaxedLocalEmbedding,LocalEmbedding,CanRelaxedLocallyEmbed,CanLocallyEmbed: randomized monotone local embeddings.Cslib.BitString.liftedFunction,liftedFunctionFlat,pullbackLocalTest: lifted Boolean functions and pulled-back local testers.
Main results #
Cslib.BitString.distToMonotone_uniformCube_eq_relDistMonotone: compatibility withCslib.BitString.relDistMonotone.Cslib.BitString.monotone_liftedFunction,distToMonotone_le_liftedFunction,distToMonotone_le_liftedFunctionFlat: monotonicity and distance-to-monotonicity preservation under local embeddings.Cslib.BitString.cubeNegSensitivity_liftedFunctionFlat_le,expect_sqrt_cubeNegSensitivity_le,localEmbedding_dist_and_sqrt_negSensitivity: pointwise and expected square-root negative sensitivity pullbacks.Cslib.BitString.abs_distToMonotone_sub_le_dist,abs_expect_sub_le_mul_dist: statistical-distance stability.Cslib.BitString.pullbackLocalTest_sound_and_complete,repeatAll_pullbackLocalTest_sound_and_complete,pullback_edgeTest_sound_and_complete: one-sided local-tester lifting and amplification.
Distance to monotonicity and negative sensitivity #
The distance to monotonicity ε(f; μ) = min_{g monotone} Δ(f, g; μ) of a Boolean function
f : α → Bool on a finite partial order α under μ.
Bridge to Cslib.BitString.relDistMonotone on the uniform Boolean hypercube.
The negative sensitivity s_f^-(x) of f : [m]^n → {0, 1} at x: the number of
coordinates i : Fin n for which there exists y differing from x only on coordinate i such
that (x, y) violates monotonicity (x < y and f x > f y, or y < x and f y > f x).
Local embeddings and relaxed local embeddings #
A probability distribution ([m], μ₁) can be r-locally
embedded in ({0, 1}^r, μ₂) via a monotone map φ : {0, 1}^r → [m], a finite probability space
(Ω, P), and monotone maps Ψ_ω : [m] → {0, 1}^r satisfying the pushforward, inverse-sampling,
and right-inverse (φ ∘ Ψ_ω = id) conditions.
Lifted functions on {0, 1}^{n × r} and {0, 1}^{n · r} #
Distance preservation #
Under any relaxed r-local embedding
of ([m], μ₁) in ({0, 1}^r, μ₂), the lifted function g satisfies
ε(f; μ₁^{⊗ n}) ≤ ε(g; μ₂^{⊗ n}).
Flattened uniform-cube distance preservation: if ([m], μ₁) is r-locally
embedded, then ε(f; μ₁^{⊗ n}) ≤ ε(g; U^{⊗ (n·r)}).
Negative sensitivity pullback #
Pointwise negative-sensitivity bound: for any monotone
φ : {0, 1}^r → [m] and f : [m]^n → {0, 1}, s_g^-(x) ≤ r · s_f^-(Φ(x)).
Expected square-root negative sensitivity pullback under a relaxed local embedding:
under any relaxed r-local embedding (r > 0),
E_{x ~ μ₂^{⊗ n}}[√s_g^-(x)] ≤ √r · E_{y ~ μ₁^{⊗ n}}[√s_f^-(y)].
Statistical-distance perturbation lemmas #
Changing the distribution from μ to ν changes distToMonotone f by at most dist μ ν.
Generic LocalTest pullback and concrete edge-tester instantiation #
Pull back a LocalTest on the Boolean hypercube {0, 1}^{n · r} along φ^{⊗ n} to a
LocalTest on [m]^n with the exact same randomness space R and query index type Q.
Pulling back a LocalTest preserves acceptance probability on f vs the lifted function
liftedFunctionFlat φ f.
Given any local
monotonicity tester T on the uniform hypercube {0, 1}^{n · r} that always accepts monotone
functions and rejects ε-far functions with probability at least ρ, an r-local embedding of
([m], μ₁) yields a local tester on [m]^n with the exact same query type Q that always
accepts monotone functions and rejects functions ε-far under μ₁^{⊗ n} with probability at
least ρ.
Concrete unconditional instantiation of pullbackLocalTest_sound_and_complete with the
Cslib.BitString.edgeTest (2-query edge tester), proving non-vacuity and yielding a 2-query
monotonicity tester over ([m]^n, μ₁^{⊗ n}) with rejection probability at least ε / (n · r).
Repeating a pulled-back local tester k times (k ≥ 2 / ρ) preserves one-sided completeness
and boosts rejection probability on ε-far functions to at least 2 / 3.
Given an r-local embedding (r > 0)
of ([m], μ₁) into ({0, 1}^r, U), the lifted function g = liftedFunctionFlat E.φ f satisfies
both ε(f; μ₁^{⊗ n}) ≤ ε(g; U^{⊗ (nr)}) and
(1 / √r) · E_{U^{⊗ (nr)}}[√s_g^-] ≤ E_{μ₁^{⊗ n}}[√s_f^-].