Discrepancy Upper Bound for the Greater-Than Function #
This module constructs a hard joint distribution greaterThanDist on pairs of n-bit strings
for the Greater-Than Boolean function greaterThanBits n (following the standard shared-prefix
coupling / discrepancy lower bound for Greater-Than, e.g. Viola 2015) and proves an O(1 / √n)
upper bound on its discrepancy, yielding a log₂(n) / 2 - 6 public-coin randomized
communication complexity lower bound at error 1/3.
Main definitions #
Cslib.Communication.greaterThanBits: the Greater-Than Boolean function onn-bit strings (withFin.lastas the most significant bit), reusingCslib.Communication.greaterThanviaCslib.BitString.equivFin.Cslib.Communication.greaterThanDist,Cslib.Communication.greaterThanDistSucc,Cslib.Communication.greaterThanDistExplicit: the hard joint distribution on pairs of bit strings, defined both recursively on the most significant bit and via an explicit three-step sampling procedure (draw a split coordinatekuniformly from0, …, n - 1, sample a shared prefix abovek, set opposing bits atk, and sample remaining suffix bits uniformly).
Main results #
Cslib.Communication.greaterThanDistExplicit_eq_greaterThanDistSucc: the explicit three-step sampling distribution agrees identically with the recursive definitiongreaterThanDistSucc.Cslib.Communication.discrepancy_greaterThanSucc_rect_lt,Cslib.Communication.discrepancy_greaterThanSucc_rect_le: for every combinatorial rectangleS × TinBitString (m + 1) × BitString (m + 1)with uniform densitiess = |S| / 2^(m + 1)andt = |T| / 2^(m + 1), the rectangle discrepancy is at most20 * √(s * t) / √(m + 1)(strictly<whenSandTare nonempty).Cslib.Communication.discrepancy_greaterThan_lt:discrepancy (greaterThanDist n hn) (greaterThanBits n) < 20 / √nfor everyn ≥ 1.Cslib.Communication.ecomplexity_greaterThan_lower_bound: every1/3-error public-coin randomized protocol forgreaterThanBits nrequires at leastlog₂(n) / 2 - 6bits of communication.
The Greater-Than Boolean function on n-bit strings #
The Greater-Than Boolean function GT_n on n-bit strings, interpreting bit strings as
binary numerals via Cslib.BitString.equivFin (with Fin.last as the most significant bit)
and reusing Cslib.Communication.greaterThan.
Splitting greaterThanBits (n + 1) on the most significant bit (Fin.last n).
The hard distribution μ_n for Greater-Than #
Explicit three-step sampling definition of μ_{m+1}:
sample k : Fin (m + 1) uniformly, sample a shared prefix z above k, opposite bits (w, !w)
at k, and independent suffixes (x', y') below k (here Fin.last is the most significant
bit, matching BitString.equivFin).
Point masses of greaterThanDistSucc 0: opposite 1-bit strings each have mass 1 / 2,
and equal 1-bit strings have mass 0.
Mass of greaterThanDistSucc (m + 1) at (Fin.snoc x' a, Fin.snoc y' b).
The explicit three-step sampling distribution agrees identically with the recursive
definition greaterThanDistSucc.
Elementary algebraic inequalities for the Greater-Than induction #
Rectangle discrepancy induction for GT_n #
Nonempty strict rectangle discrepancy bound: for every m : ℕ and
nonempty rectangle S × T in BitString (m + 1) × BitString (m + 1), the rectangle
discrepancy of GT_{m+1} under μ_{m+1} is strictly less than
20 * √((|S|/2^(m+1)) * (|T|/2^(m+1))) / √(m + 1).
General non-strict rectangle discrepancy bound for possibly empty rectangles.
For every n ≥ 1, the discrepancy of GT_n with respect to greaterThanDist n hn is
strictly less than 20 / √n.
Public-coin randomized communication complexity lower bound for the n-bit Greater-Than
function: any 1/3-error public-coin protocol requires at least log₂(n) / 2 - 6 bits.