The clause network in polynomial time #
The clause network of a formula (Cslib.Circuits.Frontier.ClauseNetwork.clauseNetwork) is
computable in polynomial time from the encoded formula, with its number of rows in binary and the
network in the encoding of the contraction algorithm (ExplicitTensorNetwork.encExplicitNetwork).
It is computed from the literal occurrences (Cslib.Logic.PL.computableInPolyTime_occurrences):
every port, previous occurrence and falsifying word is a search or a map over the occurrences, and
every table is a map over the first 2 ^ max k 4 numbers, a constant list. The network of an
occurrence list is polynomial-time for any row tables whose entries are
(Cslib.Circuits.Frontier.ClauseNetwork.computableInPolyTime_network).
Main results #
Cslib.Circuits.Frontier.ClauseNetwork.computableInPolyTime_network: the network of an occurrence list with polynomial-time row tables is polynomial-time.Cslib.Circuits.Frontier.ClauseNetwork.computableInPolyTime_clauseNetwork: the clause network is polynomial-time.
The encoding of occurrence lists: unary clause and position indices and a binary literal.
The ports of a clause, in unary.
The ports of an equality vertex, in unary.
The falsifying word of a list of unary ports.
Row vertices are polynomial-time when every entry of the row tables, at a fixed word value, is polynomial-time in the input and the unary row number.
The entries of the clause tables are polynomial-time at every fixed word value.
Equality vertices are polynomial-time.
Link vertices are polynomial-time.
The network of an occurrence list is polynomial-time, with its number of rows in binary, when the entries of its row tables are.
The clause network is polynomial-time from the encoded formula, with its number of rows in binary.