The edge-isoperimetric inequality for the Hamming cube #
A set A of the Hamming cube spans few edges: counting each edge from both of its endpoints,
summing over the points of A their numbers of neighbours in A gives at most |A| log₂ |A|
(BitString.sum_card_filter_update_mem_le). This is the classical bound behind the
edge-isoperimetric inequality, first proved by Harper (1964) O'Donnell, Section 2.6,
proved here by induction on the dimension:
splitting the cube along one coordinate into halves with a and b points of A, the edges
across the cut number at most min a b, and
a log₂ a + b log₂ b + 2 min a b ≤ (a + b) log₂ (a + b).
Read through the total influence, which counts the edges leaving A, this is the
edge-isoperimetric inequality: a Boolean function with
α = min (Pr[f = 1], Pr[f = -1]) has 2 α log₂ (1 / α) ≤ I[f]
(BitString.two_mul_min_mul_logb_inv_le_totalInfluence) O'Donnell, Theorem 2.39.
As in Proposition 1.15 (BitString.two_mul_min_le_expect_sub_expect_sq_signVal), α is
written as the relative Hamming distance to the nearer constant: signVal false = 1, so
Pr[f = 1] is hammingDist f (fun _ => true) / 2 ^ n, and log is log₂ as in the book.
Equivalently, the bound holds with α the relative distance to either constant
(BitString.two_mul_hammingDist_div_mul_logb_inv_le_totalInfluence). The book notes the bound
is optimal for α a power of 1/2 (subcubes); the tests check the conjunction of two bits. The
book states the theorem without proof; its Exercises 10.25 and 11.21 derive weaker forms.
Main results #
Cslib.BitString.sum_card_filter_update_mem_le: a set of the cube spans at most|A| log₂ |A|directed edges.Cslib.BitString.two_mul_hammingDist_div_mul_logb_inv_le_totalInfluence,Cslib.BitString.two_mul_min_mul_logb_inv_le_totalInfluence: the edge-isoperimetric inequality.
Usage #
Apply two_mul_min_mul_logb_inv_le_totalInfluence f to f : (ι → Bool) → Bool over any finite
coordinate type ι. Its α is the same minimum of relative Hamming distances as in
two_mul_min_le_expect_sub_expect_sq_signVal, so the two bounds compose. When the distance to
one constant b is known, two_mul_hammingDist_div_mul_logb_inv_le_totalInfluence f b gives the
bound for that distance directly; b = true gives the book's Pr[f = 1]. For a set A of the
cube, sum_card_filter_update_mem_le A bounds the directed edges inside A. The checked clients in
CslibFrontierTests/BooleanAnalysisEdgeIsoperimetry.lean
count the edges spanned by the square and by three of its corners, apply the inequality to a
dictator on three bits, and show it is attained by the conjunction of two bits, with α = 1/4 and
total influence 1.
References #
An inequality of entropies #
Edges spanned by a set of the cube #
Sets of the cube span few edges: summing over the points x of a set A of the Hamming
cube the number of neighbours of x in A gives at most |A| log₂ |A|.
The edge-isoperimetric inequality #
The edge-isoperimetric inequality, for either constant: a Boolean function read as signs
at relative Hamming distance α from the constant b has 2 α log₂ (1 / α) ≤ I[f], a form of
O'Donnell, Theorem 2.39. Here α = Pr[f ≠ b] = Pr[f = !b].
The edge-isoperimetric inequality: a Boolean function read as signs with
α = min (Pr[f = 1], Pr[f = -1]) has 2 α log₂ (1 / α) ≤ I[f]
O'Donnell, Theorem 2.39. As in
BitString.two_mul_min_le_expect_sub_expect_sq_signVal, α is the relative Hamming distance to
the nearer constant.