Positive exact-one SAT after parsimonious planarization #
The compiler first uses the existing parsimonious planar 3SAT-3 construction and then the constant-factor positive exact-three replacement. The emitted integer orthogonal drawing has the actual output incidence graph. All route contacts concern full real supports.
Relative to a supplied planar drawing, the new replacement changes grid sides and all drawing costs by fixed constants. Relative to the original 3SAT instance, the full composition has linear grid sides and quadratic formula, vertex, route, segment and Manhattan wire costs. Models are counted only on occurring variables, and every ordinary source model has a unique extension.
Main definitions #
DrawnPlanarPositiveOneInExactThreeSATThreeInstance,encDrawnPlanarPositiveOneInExactThreeSATThree: supplied-drawing instances and binary encoding.PlanarPositiveOneInExactThreeSATThree: the existential orthogonal-drawing language.DrawnPlanarPositiveOneInExactThreeSATThree: the supplied-drawing language.SharpPlanarPositiveOneInExactThreeSATThree,SharpDrawnPlanarPositiveOneInExactThreeSATThree: the positive exact-one model counts guarded by the existence, respectively the validity, of a planar orthogonal incidence drawing.toPlanarPositiveOneInExactThreeSATThree,toDrawnPlanarPositiveOneInExactThreeSATThree: the actual formula and supplied-drawing compilers.
Main results #
oneModelCount_toPlanarPositiveOneInExactThreeSATThree: preservation of model counts.parsimoniousReducible_SharpThreeSAT_SharpPlanarPositiveOneInExactThreeSATThree,parsimoniousReducible_SharpThreeSAT_SharpDrawnPlanarPositiveOneInExactThreeSATThree: native parsimonious reductions from#3SATto the planarity-guarded counts.PlanarPositiveOneInExactThreeSATThree_npHard,PlanarPositiveOneInThreeSATThree_npHard,DrawnPlanarPositiveOneInExactThreeSATThree_npHard: NP-hardness of the planar positive variants, including the version with the actual drawing supplied.computableInPolyTime_toDrawnPlanarPositiveOneInExactThreeSATThree: native polynomial-time computation of both the actual formula and its drawing.toDrawnPlanarPositiveOneInExactThreeSATThree_fits,toDrawnPlanarPositiveOneInExactThreeSATThree_costs: explicit linear grid sides and quadratic formula and drawing bounds.
References #
The local clause gadgets are from [HuntMaratheRadhakrishnanStearns1998, Theorem 3.8]. The quantitative composition is original.
An instance of DrawnPlanarPositiveOneInExactThreeSATThree: a positive CNF formula
paired with a finite integer orthogonal drawing of its incidence graph.
- formula : Logic.PL.CNF ℕ
The CNF formula.
- drawing : Graph.OrthogonalDrawing
The supplied integer orthogonal incidence drawing.
Instances For
Binary encoding of a CNF formula and its supplied orthogonal incidence drawing.
Instances For
The tuple of the fields of encDrawnPlanarPositiveOneInExactThreeSATThree.
Instances For
Positive exact-three, occurrence-three exact-one formulas with an integer orthogonal incidence drawing whose full real segments meet only at common incident endpoints.
Instances For
The same language with its finite integer incidence drawing supplied as input.
Instances For
The width-at-most-three positive planar variant, without requiring ternary clauses.
Instances For
Count positive exact-three, occurrence-three exact-one models of formulas that have a planar orthogonal incidence drawing; return zero otherwise.
Instances For
Count positive exact-three, occurrence-three exact-one models when the supplied drawing is a planar orthogonal incidence drawing of the formula; return zero otherwise.
Instances For
Apply only the constant-factor positive compiler after the existing planarization.
Instances For
Compute the actual positive incidence drawing by replacing each planar source clause box.
Instances For
The positive formula is produced in native polynomial time.
Every output clause has three distinct variables.
There are no negative output literals.
The local replacements retain the planar compiler's three-occurrence restriction.
Counts on occurring variables agree with the original ordinary 3SAT instance.
Total correctness of the formula compiler, including ordinary syntax rejection.
The new constant-factor replacements retain quadratic growth relative to original 3SAT.
Every total output has its actual positive exact-one incidence drawing.
Membership in the strongest positive target agrees exactly with original 3SAT.
Correctness for the target with its actual drawing supplied.
Correctness when the positive target requires the drawing's existence.
Positive exact-three, occurrence-three planar exact-one SAT is NP-hard.
Correctness of the same compiler for the positive width-three planar variant.
Positive width-three, occurrence-three planar exact-one SAT is NP-hard.
The positive planar compiler preserves syntax-guarded counts on every source input.
The planar formula compiler is a native parsimonious reduction to the planarity-guarded count: every output has a planar orthogonal incidence drawing, so the guard never discards a model.
The full compiler retains linear grid sides relative to the original ordinary 3SAT input.
The actual output formula and drawing all have quadratic size relative to the original ordinary 3SAT input. Segment and wire costs refer to the emitted full routes.
Formula labels, vertex coordinates and route coordinates are all computed in native polynomial time under their ordinary binary encodings.
Ordinary 3SAT reduces natively to the positive target with its actual drawing supplied.
Supplied-drawing planar positive exact-three, occurrence-three exact-one SAT is NP-hard.
Supplying the emitted drawing gives a native parsimonious reduction to the count guarded by the validity of the supplied drawing: the emitted drawing is always a planar orthogonal incidence drawing of the emitted formula.