Documentation

CslibFrontier.Computability.Communication.BSM.PolynomialDegree

Polynomials of Bounded Degree in Bounded Simultaneous Messages (BSM) #

This module formalizes referee-degree bounds for the Bounded Simultaneous Messages (BSM) model [BDF+23] (arXiv:2310.00334v4, Section 4), in which computationally unbounded senders Alice and Bob each map an n-bit input to an m-bit message and send them simultaneously to a referee Carol who evaluates a multivariate polynomial of total degree at most d over a commutative semiring R (with bits embedded as 0/1 via Cslib.BitString.bitVal).

Model conventions relative to Section 4 of [BDF+23]:

Main definitions #

Main results #

References #

structure Cslib.Communication.BSM.PolyBSMProtocol (R : Type u_1) [CommSemiring R] {n : โ„•} (m d : โ„•) (f : (Fin n โ†’ Bool) โ†’ (Fin n โ†’ Bool) โ†’ Bool) :
Type u_1

A polynomial Bounded Simultaneous Messages (BSM) protocol over R for f : (Fin n โ†’ Bool) โ†’ (Fin n โ†’ Bool) โ†’ Bool, where computationally unbounded Alice and Bob each send m bits and Carol evaluates a multivariate polynomial of total degree at most d ([BDF+23], ยง4).

noncomputable def Cslib.Communication.BSM.polyBSMDeg (R : Type u_1) [CommSemiring R] {n : โ„•} (m : โ„•) (f : (Fin n โ†’ Bool) โ†’ (Fin n โ†’ Bool) โ†’ Bool) :

d_f(n, m): minimum total degree of Carol in an m-bit polynomial BSM protocol for f ([BDF+23], ยง4). Because sInf is taken in โ„•, this defaults to 0 (Nat.sInf_empty) when no m-bit polynomial BSM protocol exists for f.

noncomputable def Cslib.Communication.BSM.maxPolyBSMDeg (R : Type u_1) [CommSemiring R] (n m : โ„•) :

d(n, m): worst-case polynomial BSM degree over all Boolean functions on 2n bits ([BDF+23], ยง4). Each polyBSMDeg R m f uses the โ„•-valued sInf convention (returning 0 if no m-bit protocol exists for f), so maxPolyBSMDeg is the maximum over the finite set of functions f : (Fin n โ†’ Bool) โ†’ (Fin n โ†’ Bool) โ†’ Bool under that convention.

theorem Cslib.Communication.BSM.polyBSMDeg_le_maxPolyBSMDeg (R : Type u_1) [CommSemiring R] {n m : โ„•} (f : (Fin n โ†’ Bool) โ†’ (Fin n โ†’ Bool) โ†’ Bool) :

For every Boolean function f on 2n bits over a commutative semiring R, d_f(n, m) โ‰ค d(n, m).

Universal Degree Upper Bound #

theorem Cslib.Communication.BSM.maxPolyBSMDeg_le_twelve_mul_div_logb (R : Type u_1) [CommRing R] {n m : โ„•} (hn : 1 โ‰ค n) (hnm : n < m) (hm2 : m < 2 ^ n) :
โ†‘(maxPolyBSMDeg R n m) โ‰ค 12 * โ†‘n / Real.logb 2 (โ†‘m / โ†‘n)

Universal degree-reduction upper bound ([BDF+23], Proposition 4.1, arXiv:2310.00334v4, ยง4): Over any commutative ring R, for all 1 โ‰ค n and n < m < 2^n, d(n, m) โ‰ค 12 * n / logโ‚‚(m / n) (in particular d(n, m) = O(n / logโ‚‚(m / n))).

Lower Bound for Equality #

Every polynomial of total degree โ‰ค d over a field F computing n-bit Cslib.Communication.equality with m-bit messages satisfies 2 ^ n โ‰ค (m + 1) ^ d ([BDF+23], ยง4, proof of Proposition 4.2).

theorem Cslib.Communication.BSM.div_logb_le_polyBSMDeg_equality (F : Type u_2) [Field F] {n m : โ„•} (hm : 1 โ‰ค m) (hnm : n โ‰ค m) :
โ†‘n / Real.logb 2 (โ†‘m + 1) โ‰ค โ†‘(polyBSMDeg F m equality)

Equality degree-reduction lower bound ([BDF+23], Proposition 4.2, arXiv:2310.00334v4, ยง4): Over any field F (including ZMod 2 and โ„), for all 1 โ‰ค m and n โ‰ค m, n / logโ‚‚(m + 1) โ‰ค d_EQ(n, m).

Tight Bound for Polynomial Message Length #

theorem Cslib.Communication.BSM.maxPolyBSMDeg_poly_isTheta (F : Type u_1) [Field F] {C : โ„} (hC : 1 < C) :
(fun (n : โ„•) => โ†‘(maxPolyBSMDeg F n โŒŠโ†‘n ^ CโŒ‹โ‚Š)) =ฮ˜[Filter.atTop] fun (n : โ„•) => โ†‘n / Real.logb 2 โ†‘n

Tight degree bound for polynomial message length ([BDF+23], Corollary 4.3, arXiv:2310.00334v4, ยง4): Over any field F, for every constant C > 1, d(n, โŒŠn ^ CโŒ‹) = ฮ˜(n / logโ‚‚ n).