Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

One-pass memory lower bound for binary inner product

Proved
CommunicationComplexity.randomized_inner_product_retained_state_lower_bound

by Jie Luo · Nov 26, 2026 · Mathlib 0df444a (Lean v4.33.1)

communication-complexitycomplexity-theory

Let XXX and YYY be independent uniform mmm-bit blocks, with XXX arriving first. Fix any finite set SSS of retained states and any finite distribution of random seeds independent of X,YX,YX,Y. For each seed, the first stage maps XXX to a state in SSS. The second stage uses the seed, that state, and YYY to predict the parity of ∑i=1mXiYi\sum_{i=1}^m X_iY_i∑i=1m​Xi​Yi​. If the average success probability is at least 2/32/32/3, then 2m≤9∣S∣2^m\leq 9|S|2m≤9∣S∣.

Preamble
import Mathlib

open scoped BigOperators
Formal statement
theorem CommunicationComplexity.randomized_inner_product_retained_state_lower_bound {m : ℕ} {State Seed : Type} [Fintype State] [Fintype Seed]
    (retain : Seed → (Fin m → Bool) → State)
    (reply : Seed → State → (Fin m → Bool) → Bool)
    (weight : Seed → ℝ) (nonneg : ∀ r, 0 ≤ weight r) (total : (∑ r, weight r) = 1)
    (good : (2 : ℝ) / 3 ≤ ∑ r, weight r *
      ((∑ x : Fin m → Bool, ∑ y : Fin m → Bool,
        if reply r (retain r x) y = decide (Odd (∑ i : Fin m, (x i && y i).toNat))
        then 1 else 0) / ((2 : ℝ) ^ m) ^ 2)) :
    2 ^ m ≤ 9 * Fintype.card State := by sorry
Source
Adaptation of the Hadamard orthogonality and Cauchy–Schwarz method for binary inner product in Benny Chor and Oded Goldreich, Unbiased Bits from Sources of Weak Randomness and Probabilistic Communication Complexity, SIAM Journal on Computing 17(2), 1988, Theorem 9, https://doi.org/10.1137/0217015.

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me