Nondeterministic complexity of equality, disjointness and inner product #
Bounds on Nondeterministic.ecomplexityFun for the standard functions on v-bit strings:
- equality:
N¹(EQ_v) = vKushilevitz and Nisan, Example 2.5, where the lower bound is the fooling set of diagonal pairs of their Example 1.21; the upper bound here is the cover by the2^vdiagonal singletons. Deterministically one more bit is needed, to announce the answer:Cslib.Communication.ecomplexityFun_equalitygivesv + 1forv ≥ 1(see the moduleNondeterministic.Basicon conventions); - disjointness:
N¹(DISJ_v) = v, from the fooling set of complementary pairs Kushilevitz and Nisan, Example 1.23 and the cover by the rectangles{x ⊆ w} × {y ⊆ wᶜ}, soN⁰(NDISJ_v) = vfor its negation; - inner product modulo two:
N¹(IP_v) ≥ v - 1andN⁰(IP_v) ≥ v. A rectangle on which the inner product is constant has at most2^vpairs. The matrix(-1)^(x ⬝ᵥ y)is a2^v × 2^vHadamard matrix, and the inner product is constant on a rectangle exactly when this matrix is, so this is the final statement of Lindsey's lemma Jukna, Appendix A, p. 579: noa × bsubmatrix of ann × nHadamard matrix witha b > nis monochromatic (BitString.card_mul_le_two_pow_of_dotProduct_eq; this is the formal proof, via the bound on signed sums). Alternatively, for the value0the bound is Kushilevitz and Nisan, Example 1.25, by linear algebra over𝔽₂, and the value1reduces to it by translating the two sides of the rectangle by one of their elements, after which the inner product is0on it; this argument is not formalised here. Meanwhile the inner product is1on(4^v - 2^v)/2pairs and0on(4^v + 2^v)/2pairs. SoC¹(IP_v) ≥ (2^v - 1)/2andC⁰(IP_v) ≥ (2^v + 1)/2, which in the unrounded convention of Kushilevitz and Nisan give, forv ≥ 1,N¹(IP_v) ≥ log₂ (2^v - 1) - 1andN⁰(IP_v) > v - 1.
The deterministic Cslib.Communication.ecomplexityFun_equality has the same final name as
Cslib.Communication.Nondeterministic.ecomplexityFun_equality; with both namespaces open, write
Nondeterministic.ecomplexityFun_equality to avoid an ambiguous name.
Main results #
Cslib.Communication.Nondeterministic.ecomplexityFun_equalityCslib.Communication.Nondeterministic.ecomplexityFun_disjointnessCslib.Communication.Nondeterministic.ecomplexityFun_not_disjointnessCslib.Communication.Nondeterministic.HasCover.card_dotProduct_leCslib.Communication.Nondeterministic.le_ecomplexityFun_true_dotProductCslib.Communication.Nondeterministic.le_ecomplexityFun_false_dotProduct
References #
Equality and disjointness #
N¹(EQ_v) = v: the 2 ^ v diagonal pairs form a fooling set, and the 2 ^ v diagonal
singletons {w} × {w} form a 1-cover.
N¹(DISJ_v) = v: the 2 ^ v complementary pairs form a fooling set, and the rectangles
{x ⊆ w} × {y ⊆ wᶜ} for the 2 ^ v sets w form a 1-cover.
N⁰(NDISJ_v) = N¹(DISJ_v) = v.
Inner product #
N⁰(IP_v) ≥ v: more than 2^(v-1) rectangles are needed.