Codes from small-bias lists: nearly uncorrelated codewords and short correlation lists #
A list r : Z → ι → Bool of bit strings, indexed by a finite type Z, encodes a message
x : ι → Bool as the word z ↦ r z ⬝ᵥ x of inner products modulo two: the linear code whose
generator matrix has the rows r z. Suppose the list is δ-biased, that is, the uniform
distribution over the list is δ-biased (Cslib.BitString.IsSmallBias). Then the word of a
nonzero message is nearly balanced, |∑ z, signVal (r z ⬝ᵥ x)| ≤ δ |Z|
(Cslib.BitString.abs_sum_signVal_dotProduct_le), and the words of distinct messages are nearly
uncorrelated (Cslib.BitString.abs_sum_signVal_mul_signVal_dotProduct_le), since their exclusive
or is the word of the nonzero message x + y. This is the code of [KW16],
arXiv:1511.07860v1, Proposition 2 and Corollary 6.1 (labels eps-biased and uncorrFunctCor),
in ±1 correlation form.
Few codewords then correlate with any fixed word T : Z → Bool: for δ, γ ≥ 0, the number N of
messages x with |∑ z, signVal (T z) * signVal (r z ⬝ᵥ x)| ≥ γ |Z| satisfies
N * (γ ^ 2 - δ) ≤ 1, so N ≤ 1 / (γ ^ 2 - δ) when γ ^ 2 > δ
(Cslib.BitString.card_le_abs_sum_signVal_mul_signVal_dotProduct_mul_le). This is
[KW16], Lemma 6.1 (label uncorrAgreeLem), with explicit constants; it follows from
card_mul_sub_le_one_of_abs_inner_ge for the ±1 words in EuclideanSpace ℝ Z
(Cslib.BitString.signWord).
Main results #
Cslib.BitString.sum_signVal_dotProduct_eq: the sign sum of a word is|Z|times a bias of the list.Cslib.BitString.abs_sum_signVal_dotProduct_le: the word of a nonzero message is nearly balanced.Cslib.BitString.abs_sum_signVal_mul_signVal_dotProduct_le: the words of distinct messages are nearly uncorrelated.Cslib.BitString.card_le_abs_sum_signVal_mul_signVal_dotProduct_mul_le: few codewords correlate with a fixed word.
References #
The sign sum of the word z ↦ r z ⬝ᵥ x is |Z| times the bias of the list r at the
support of x.
The word of a nonzero message is nearly balanced: if the list r is δ-biased and
x ≠ 0, then |∑ z, signVal (r z ⬝ᵥ x)| ≤ δ |Z|.
The words of distinct messages are nearly uncorrelated ([KW16],
arXiv:1511.07860v1, Corollary 6.1, in ±1 form): if the list r is δ-biased and x ≠ y,
then |∑ z, signVal (r z ⬝ᵥ x) * signVal (r z ⬝ᵥ y)| ≤ δ |Z|.
Few codewords correlate with a fixed word ([KW16], arXiv:1511.07860v1,
Lemma 6.1, with explicit constants): if the list r is δ-biased with δ ≥ 0 and γ ≥ 0, then
the messages x whose words have correlation at least γ |Z| in absolute value with a fixed word
T satisfy #{x | …} * (γ ^ 2 - δ) ≤ 1; so when γ ^ 2 > δ they number at most
1 / (γ ^ 2 - δ).