The w-implication search on stored clauses #
The word-RAM program Cslib.Algorithms.WordRAM.PPSZ.impliedCode decides w-implication
(Cslib.Complexity.PPSZ.WImplied) by the finite search Cslib.Complexity.PPSZ.impliedTest, run on
addresses instead of clauses and literals. A choice of clauses is a list of the addresses where
their encodings start (Cslib.Algorithms.WordRAM.PPSZ.clauseAddrs), and a choice of literals is a
list of the addresses of their codes in those encodings. This file states that search on stored
data (Cslib.Algorithms.WordRAM.PPSZ.addrTest) and proves that it is impliedTest
(Cslib.Algorithms.WordRAM.PPSZ.addrTest_eq).
Main definitions #
Cslib.Algorithms.WordRAM.PPSZ.clauseAddrs,Cslib.Algorithms.WordRAM.PPSZ.clauseOf: where the encodings of the clauses start, and the clause stored at an address.Cslib.Algorithms.WordRAM.PPSZ.litFine,Cslib.Algorithms.WordRAM.PPSZ.compatCodes: the compatibility test on literal codes.Cslib.Algorithms.WordRAM.PPSZ.addrTest: the search on stored data.
Main results #
Cslib.Algorithms.WordRAM.PPSZ.succIn_clauseAddrs,Cslib.Algorithms.WordRAM.PPSZ.succIn_range': the odometer steps of the two searches.Cslib.Algorithms.WordRAM.PPSZ.compatCodes_map_litCode: compatibility through codes.Cslib.Algorithms.WordRAM.PPSZ.addrTest_eq: the search on stored data isimpliedTest.
Sections under maps #
Clause addresses #
The addresses where the encodings of the clauses of φ start, when the encoding of φ starts
at address a.
The clause of φ whose encoding starts at address p, when the encoding of φ starts at
address a (the empty clause at other addresses).
Clause addresses lie in the encoding, with their clause.
The clauses at the clause addresses are the clauses of φ.
Clause addresses are duplicate-free.
The encoding of the clause stored at a clause address.
The length word of the clause stored at a clause address.
The codes of the literals of the clause stored at a clause address.
The odometer step of a clause address: the next clause starts after the length word and the literals; after the last clause comes the end of the encoding.
The first clause address is the start of the encoding.
Compatibility through codes #
The code of the complementary literal
(Cslib.Algorithms.WordRAM.ClauseCode.litCodeBy_xor_one).
Literal codes determine literals
(Cslib.Algorithms.WordRAM.ClauseCode.litCodeBy_injective).
Compatibility through codes is compatibility of the literals, with x set to !b.
The search on stored data #
The w-implication search on stored data: the clauses of φ are stored from address C,
and the words of a partial assignment from Tb. The search accepts if the word of x is b, or
some choice of s clause addresses has no compatible choice of literal addresses.
The search on stored data is the w-implication search Cslib.Complexity.PPSZ.impliedTest,
when the clauses of φ are stored from C and the partial assignment τ from Tb.