⊕SAT and Mod_k-SAT: complete problems for the classes defined by one count #
For a property R of a number, DescriptiveComplexity.CountingProblem.decide R C
is the decision problem “R holds of the count of C”, and
DescriptiveComplexity.countClass₁ R the class of the problems defined by R
of one witness count: ⊕P for Odd, Mod_k P for “not a multiple of k”.
- The decision version of
#SATis complete for every such class (DescriptiveComplexity.decide_sharpSat_countClass₁_complete): membership is that#SATis in#P, and hardness is the parsimonious Tseitin interpretation ofDescriptiveComplexity.Problems.Sat.CountingHardness, which carries a witness count to a model count exactly and so carries any property of it. - It transfers along parsimonious reductions
(
DescriptiveComplexity.countClass₁_complete_of_sharpP_parsimoniousComplete): the decision version of every parsimoniously#P-complete problem is complete for every such class. So⊕SAT,⊕3SAT,⊕Clique, …, and the parity of the number of accepting runs of a machine, are⊕P-complete; likewise forMod_k P. - The machine characterization
(
DescriptiveComplexity.mem_parityP_iff_le_parity_sharpNtmAccept): a problem is in⊕Pexactly when it reduces to the parity of the number of accepting runs of a nondeterministic polynomial-time machine, through the counting machine bridge ofDescriptiveComplexity.Problems.Machine.CountingHardness.
The classical statements are Papadimitriou, Zachos 1982
for ⊕SAT and Valiant 1979 for the transfer: a
parsimonious reduction preserves every property of the count.
The decision version of a counting problem #
The decision version of a counting problem by a property R of
numbers: does the count satisfy R?
Equations
Instances For
Dependency graph
Dependency graph
The class of the problems defined by the property R of one witness
count.
Equations
- DescriptiveComplexity.countClass₁ R = DescriptiveComplexity.countClass (fun (x x_1 : ℕ) => True) fun (c x : ℕ) => R c
Instances For
Dependency graph
A relativized parsimonious reduction is a relativized first-order reduction between the decision versions by any property: equal counts share every property.
Equations
- DescriptiveComplexity.RelOrderedParsimoniousReduction.decide R f = { Tag := f.Tag, tagFinite := ⋯, dim := f.dim, toRelInterpretation := f.toRelInterpretation, dom_nonempty := ⋯, correct := ⋯ }
Instances For
Dependency graph
An ordered parsimonious reduction is an ordered first-order reduction between the decision versions by any property.
Equations
- DescriptiveComplexity.OrderedParsimoniousReduction.decide R f = { Tag := f.Tag, tagFinite := ⋯, tagNonempty := ⋯, dim := f.dim, toInterpretation := f.toInterpretation, correct := ⋯ }
Instances For
Dependency graph
The decision versions of #SAT #
Every problem defined by a property of one witness count reduces to the
decision version of #SAT by that property: the parsimonious Tseitin
interpretation.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Dependency graph
The decision version of #SAT by R is complete for the class of
R.
Dependency graph
Completeness transfers along parsimonious completeness: the decision
version by R of every parsimoniously #P-complete problem is complete for
the class of R.
Dependency graph
⊕SAT and Mod_k-SAT #
⊕SAT: the number of models of a CNF formula is odd.
Equations
Instances For
Dependency graph
Mod_k-SAT: the number of models of a CNF formula is not a multiple of
k.
Equations
Instances For
Dependency graph
⊕SAT is ⊕P-complete.
Registered in the Lax archive as
Lax175070.ParitySatComplete.paritySat_parityP_complete.
Dependency graph
Mod_k-SAT is Mod_k P-complete.
Registered in the Lax archive as
Lax175070.ParitySatComplete.modSat_modP_complete.
Dependency graph
The parity of every parsimoniously #P-complete problem is
⊕P-complete.
Registered in the Lax archive as
Lax175070.ParitySatComplete.parityP_complete_of_sharpP_parsimoniousComplete.
Dependency graph
The machine characterization of ⊕P: a problem is in ⊕P exactly
when it reduces to the parity of the number of accepting runs of a
nondeterministic polynomial-time machine.
Registered in the Lax archive as
Lax175070.ParitySatComplete.mem_parityP_iff_le_parity_sharpNtmAccept.
Dependency graph
The machine characterization of Mod_k P.
Registered in the Lax archive as
Lax175070.ParitySatComplete.mem_modP_iff_le_mod_sharpNtmAccept.
Dependency graph
The residue of every parsimoniously #P-complete problem is
Mod_k P-complete.
Registered in the Lax archive as
Lax175070.ParitySatComplete.modP_complete_of_sharpP_parsimoniousComplete.