Deciding w-implication by a finite search #
Cslib.Complexity.PPSZ.WImplied quantifies over subformulas and total assignments. This file
reduces it to a search over finite lists: x = b is w-implied under τ exactly when τ already
sets x to b, or some choice of w clauses of φ (with repetitions) has no compatible choice of
one literal per clause under τ with x set to !b (Cslib.Complexity.PPSZ.wImplied_iff_test).
A choice of literals is compatible when τ falsifies none of them and no two are complementary
(Cslib.Complexity.PPSZ.compatible); a list of clauses has an extension of a partial assignment
that satisfies it exactly when some choice of one literal per clause is compatible
(Cslib.Complexity.PPSZ.satExt_iff). Both choices are sections of lists (List.sections), the
lists picking one element from each of a list of lists, so the test is a nested search over
sections. The search is the one the word-RAM program
Cslib.Algorithms.WordRAM.PPSZ.impliedCode runs.
Main definitions #
Cslib.Complexity.PPSZ.SatExt: some extension of a partial assignment satisfies a formula.Cslib.Complexity.PPSZ.compatible: a choice of literals can be made true by an extension of a partial assignment.Cslib.Complexity.PPSZ.impliedTest: the finite search deciding w-implication.
Main results #
Cslib.Complexity.PPSZ.satExt_iff: satisfiability by an extension through compatible sections.Cslib.Complexity.PPSZ.wImplied_iff_test: w-implication is the finite search.Cslib.Complexity.PPSZ.implied_eq_test: the implied value through the search.
References #
Some total assignment extending the partial assignment ρ satisfies ψ.
The literals ls can be made true together by an extension of the partial assignment ρ:
ρ falsifies none of them, and no two of them are complementary.
Satisfiability by an extension through choices of literals. Some extension of ρ
satisfies the clauses ψ exactly when some choice of one literal from each clause is
compatible with ρ.
w-implication is a finite search. x = b is w-implied under τ exactly when
impliedTest accepts.
The implied value through the search: true if the search accepts x = true, otherwise
false if it accepts x = false, and none otherwise.