Limited independence fools clause counts #
A clause with j distinct literals and no complementary pair is falsified by a uniformly random
assignment with probability 2 ^ -j, and this computation reads the values of only j variables.
So a k-wise independent family of assignments falsifies each clause with probability at most
2 ^ -min k j, and by linearity of expectation it falsifies on average at most Σ_c 2 ^ -min k |c|
clauses Alon and Spencer, Section 16.2. When every clause has at least k
distinct literals some member of the family falsifies at most 2 ^ -k of the clauses, the bound
that a uniformly random assignment gives for MAX-Ek-SAT. A family with polynomially many seeds
can then be searched exhaustively; CslibFrontier.Logics.Propositional.CNF.ParitySearch does this
for
k = 3.
The assignments are h i ∘ e, where the bits h i x are k-wise independent over the seed i
(Cslib.Probability.IsKWiseIndependentHash) and e maps the variables of the formula injectively
to the points x. Clauses may repeat literals; a clause containing a complementary pair is never
falsified.
Main results #
Cslib.Logic.PL.expect_indicator_eval_eq_false_le: one clause is falsified with probability at most2 ^ -min k |c|.Cslib.Logic.PL.expect_countUnsat_le,Cslib.Logic.PL.exists_countUnsat_le: the average number of falsified clauses is at mostΣ_c 2 ^ -min k |c|, and some seed does as well.Cslib.Logic.PL.exists_two_pow_mul_countUnsat_le: if every clause has at leastkdistinct literals, some seed falsifies at most2 ^ -kof the clauses.
References #
The indicator that σ falsifies c is at most the product, over any set of literals of
c, of the indicators that σ falsifies each of them.
Limited independence and one clause: if the bits h i x are k-wise independent and e
is injective on the variables of c, then the assignment h i ∘ e falsifies c with probability
at most 2 ^ -min k |c|, where |c| is the number of distinct literals of c.
Limited independence and clause counts: if the bits h i x are k-wise independent and
e is injective on the variables of φ, then the expected number of clauses that h i ∘ e
falsifies is at most Σ_c 2 ^ -min k |c|, counting distinct literals.
Some seed attains the bound of Cslib.Logic.PL.expect_countUnsat_le.
Limited independence for MAX-Ek-SAT: if every clause has at least k distinct
literals, some seed of a k-wise independent family falsifies at most 2 ^ -k of the clauses.