Manuscript Offprint
arXiv:2611.00994Subexponential-Time Exact-One Hitting Set
Abstract
Exact-One Hitting Set is one of Karp's original 21 NP-complete problems. Given an explicitly listed family of subsets of an -element ground set, it asks whether some selection meets every input set exactly once. Using the fixed-width exact-counting theorem of OpenAI (2026), we obtain deterministic polynomial-space exact counting in time
where is the input length, with no restriction on the number or widths of the sets.
We develop compact representations behind this consequence. A path realization of two-query counting cancellation, combined with existing row selection, produces two ordinary 3-CNF formulas with at most variables and clauses each. The same variable budget handles signed equations with fixed bounded demands and positive integer coefficients, using a larger fixed clause width. We also prove that every explicitly listed Boolean relation of VC dimension at most one can be represented, on its original variables, by binary clauses and signed exact-one equations. For arbitrarily many such local constraints with unrestricted overlaps, this gives two 3-CNF queries of at most variables each.
A bounded-term version of the path identity further handles fixed finite/cofinite local degree rules on arbitrary graphs. Functional threshold bits give linear-variable counting reductions, including size distributions; induced matching and perfect matching cuts provide compact examples. The path construction is a variable-eliminated realization of marker-parity cancellation. The comparison isolates the explicit variable budgets and structural representations from the algorithmic consequences already implied by existing counting tools.
Keywords. Exact-One Hitting Set, exact counting, constraint representations, VC dimension, local degree constraints, subexponential algorithms.
Contents
1 Introduction 3
2 Technical overview 5
3 Preliminaries 7
4 The two-boundary counting identity 8
5 Exact-One Hitting Set and bounded-demand equations 11
6 Local relations of VC dimension at most one 15
7 Fixed local degree constraints 18
8 Representative graph applications 21
9 Scope and interpretation 24
AI methodology 24
References 25
A Polynomial integer weights and a one-query variant 28
B Further compact graph encodings 30
The exact-one requirement belongs to Karp's original formulation. There is no cardinality budget on : coverage must be reconciled with exclusion, because choosing one element of a set forbids choosing any other element of that set. We measure complexity in , not in the number of constraints or incidences. The explicit input length includes all variable declarations. We compute the stronger exact count
positivity decides feasibility.
The fixed-width exact-counting algorithm of OpenAI [Ope26, Theorem 1.1] makes a linear target-variable budget particularly useful. Its general-density bound gives the following algorithmic consequence of the reduction developed below.
Theorem 1.1 (Exact-One Hitting Set). For an explicitly represented Exact-One Hitting Set instance on elements and of input length , one can compute deterministically in polynomial space and time
The number and widths of the input sets are unrestricted.
The time bound alone is not our novelty claim. A public marker-parity construction [ono26] eliminates wide clauses on variables by subtracting two ordinary model counts with variables. Combining that construction with the row-selection argument of Jansen and Pieterse [JP16, JP19] already yields the same asymptotic rate for Exact-One Hitting Set. We give a path realization with variables and use its explicit syntax to develop representation results for further constraint classes. Section 4.1 makes the relationship to marker-parity cancellation precise; a constant-factor improvement in variables is not claimed to change the order of the displayed time exponent.
The encoding issue is nevertheless substantive. Row selection retains at most original exact-one equations with exactly the same Boolean solutions, but their total width may still be . A separate functional circuit for every retained constraint can introduce quadratically many variables. The alternative is to retain pairwise exclusions on the original variables and represent the remaining coverage conditions jointly. Two boundary conditions on a Boolean path give identical contributions to any assignment missing a condition; their difference retains each valid assignment once. Here #SAT() counts assignments to all declared variables, and 3-CNF means width at most three.
Theorem 1.2 (Linear-variable exact-one reduction). In polynomial time, an Exact-One Hitting Set instance on declared elements can either be solved directly when its family is empty or contains an empty set, or represented by two ordinary unweighted 3-CNFs satisfying
Each query has at most 2r variables and clauses. The queries are nonadaptive and reconstruction uses polynomial-time integer arithmetic.
The general identity accepts a bounded-width CNF together with conditions, each an explicit disjunction of constant-length conjunctions. It uses variables: the number of alternative witnesses affects clauses, not variables. This also clarifies what a representation theorem must provide—few simultaneous conditions and short local witnesses—and leads to two extensions closely tied to exact satisfiability.
First, an equation may demand a fixed number of true literals rather than exactly one. More generally, allow positive binary-encoded integer coefficients and signed literals, with a fixed bound on the normalized demand of each row. After removing constants and choosing the smaller complementary demand, row selection again leaves at most rows. Bounded-width exclusions prevent excess, while a disjunction of terms of length at most prevents deficit. Theorem 5.4 gives two queries with at most variables and width . The demands can differ from row to row; the bound , not an individual row value, is fixed. This extends the generalized exact-satisfiability formulation studied by Hoi and Stephan [HS21] to positive integer coefficients and exact counting.
Second, exact-one structure can be recovered from an allowed table rather than supplied as an equation. A Boolean relation has VC dimension at most one when no pair of coordinates realizes all four Boolean patterns. We prove that every nonempty explicitly listed relation with this property is represented, on its original variables, by unary or binary clauses together with signed exact-one equations. The construction first excludes missing one- and two-coordinate patterns, then separates each remaining unwanted pattern by an exact-one equation. This yields the following consequence.
Theorem 1.3 (Locally VC-dimension-one constraints). Consider declared Boolean variables and any explicitly listed family of allowed tables on subsets of those variables. If each table has VC dimension at most one, the number of global satisfying assignments is recoverable in polynomial time from at most two ordinary 3-CNF counts, each on at most variables and with clauses. It is computable within the time and space bounds of Theorem 1.1. The number of tables, their arities, and their overlaps are unrestricted.
The dimension assumption is local: the global solution space need not have small VC dimension or only polynomially many assignments. The representation is also more specific than arbitrary affine separation. Structure theorems for dimension-one classes [BD15] and the interpolation-degree bound of Moran and Rashtchian [MR20] already explain their low-dimensional algebraic behavior. Our proof provides the particular binary-clause and signed-exact-one syntax needed to preserve the query budget, with an explicit polynomial-time construction. No general priority claim about all equivalent representations is required for the reduction.
Fixed local graph rules supply another source of linearly many conditions. For fixed finite or cofinite sets , a selected set must satisfy when and otherwise. Fixed-class degree-constraint matrices impose an allowed neighbor-count set for each pair of classes. These are established frameworks [BXTV13, FMM25]. A fixed cutoff lets us encode the truth of “at least selected neighbors” for using functional threshold bits per vertex. Section 7 proves deterministic polynomial-space exact counting in time on arbitrary -vertex graphs, where . Input size bounds are allowed; the local rules and class count remain fixed. Induced matching and perfect matching cuts illustrate the construction, while upper domination illustrates the separate role of nonunique decision certificates.
The central organization is thus representational: a compact realization of counting cancellation, bounded-demand equations, a syntax theorem for local dimension-one tables, and functional local-degree encodings. Appendix A records a linear-size arithmetic tool for polynomially bounded integer weights and a one-query implementation of bounded-demand equations. It is not needed by the main two-query proofs. Additional graph encodings are collected in Appendix B rather than treated as separate headline contributions.
Exact-One Hitting Set is monotone Exact Satisfiability; allowing negative literals gives signed XSAT. Incidence transposition gives Exact Cover [Knu00], with our parameter corresponding to the number of candidate sets, not universe size. Positive one-in-three constraints are NP-complete [Sch78], and the corresponding counting problem is #P-complete [CH96]. Earlier exact algorithms distinguish decision and counting [DJB04, BMS05]; representative bounds are for XSAT decision [Hoi20], for unrestricted-width counting [ZSW14], and for width-three counting [HJS20]. Here suppresses input-polynomial factors. Clause-count algorithms [BH08] and structurally restricted subexponential results [PSSW14, Sch18] address different parameter guarantees.
The imported counter and row selection retain their original attribution. Existing graph models include vertex-based induced matching [AET18], regular induced subgraphs [GRS12], matching cuts [LT22, MM23], private neighbors [BHN23], and the kernel CNF [WD12]. Recent ordinary-domination consequences [Cla26], the public marker construction [ono26], and explicit minimal-transversal and upper-domination results [PI26] preclude treating every listed application as a first subexponential algorithm. We instead state the exact representations, query budgets, and count-preservation properties proved here.
Section 2 explains the mechanism. Sections 3–4 give the shared tools. Section 5 treats exact equations, Section 6 proves the local-table representation, and Section 7 treats local graph rules. Section 8 presents representative applications, followed by scope and appendices.
2 Technical overview
The reduction trades unique auxiliary extensions for controlled cancellation. This is a compact path realization of marker-parity cancellation [ono26]; the formal variable elimination is given in Section 4.1. To see why this helps, begin with an exact-one system after row selection. Pairwise clauses express that each retained set contains at most one chosen element, using no new variables. At most coverage clauses remain. A separate circuit for each clause would pay for its width. Instead, we allow a noncovering assignment to have extensions in both queries and arrange for their contributions to be identical.
Write the remaining formula as , where already has width at most three. Associate with edge of a Boolean path . A true literal of forces the two endpoints of that edge to be equal; false literals impose no restriction. The implication
uses two clauses of width at most three. Fix and construct two formulas by fixing respectively to zero and one. Only the internal path positions are new variables. Thus a formula on original variables produces queries on variables, irrespective of the clauses' total width.
Fix an original assignment satisfying , and let be its numbers of path extensions. If all coverage clauses hold, every edge enforces equality: the zero right boundary permits exactly one extension, while the one right boundary permits none. If a clause fails, its edge is unrestricted. Flipping every path value to the right of that edge swaps the boundary condition and preserves all other edge constraints. This is a bijection, so the two extension counts are equal. Assignments violating have no extensions. In summary,
Summing this pointwise identity gives the desired model count. The cancellation is exact for each original assignment; it does not rely on an aggregate balance between unrelated assignments.
The same idea handles more general local witnesses. If a condition is a disjunction of terms of length at most , let every term trigger equality on its edge:
The two implication clauses now have width at most , but require no variable per term. Several true terms only repeat the same equality requirement; they do not create several extensions. Thus the number of simultaneous conditions controls the auxiliary-variable budget, while the size of a witness controls the clause width. For we invoke the counter at that fixed width, rather than split all clauses into 3-CNF and risk losing the variable bound.
Example 1 (Two coverage conditions). Take and . Exclusion forbids choosing either adjacent pair. There is one internal path variable, and the extension counts are
| Original assignment | ||
|---|---|---|
| 010 or 101 (each) | 1 | 0 |
| 100 or 001 (each) | 1 | 1 |
| 000 | 2 | 2 |
| Any assignment violating exclusion | 0 | 0 |
The two queries have six and four models. Their difference counts exactly the hitting sets and .
The representations use this mechanism in different ways. After row selection, an exact equation of demand at most forbids an excess through short clauses and certifies attainment through a term using at most literals. There is still one path edge per retained row. For local dimension-one tables, the preliminary step is different: enumerate the polynomially many assignments consistent with all unary and binary projections, and exclude each unwanted assignment by a signed exact-one equation. All equations from all tables are compressed together, not separately by table.
For graph problems, use the threshold bits for a fixed range . Bounded-width clauses force each bit upward whenever a corresponding -element witness exists. A bounded-term predicate enforces the reverse implication. The correct threshold vector is therefore unique for every selection. Fixed finite/cofinite rules only inspect this vector, so there are constantly many variables and predicates per vertex, despite potentially many neighbor subsets.
Finally, exact counting of original objects requires a count-preserving source encoding, but decision does not. In upper domination, for instance, a valid selected set can have several private-neighbor certificates. The difference still counts satisfying selection-certificate pairs and is positive exactly when a valid set exists. All queries remain ordinary unweighted counting instances. Their answers have only linearly many bits, and they can be evaluated sequentially, preserving polynomial space. The formal argument below separates this shared counting mechanism from the individual source encodings.
3 Preliminaries
All logarithms are to base two, running times count bit operations, and polynomial space is measured in the explicit input length. We use
The offsets make this expression defined for nonnegative ; bounded input parameters will be handled directly. For a fixed positive constant , , and .
An exact-one instance explicitly declares its ground set , so . Its family may repeat sets. An empty set forces count zero, and an empty family has count ; these rules also handle . For , exact-one satisfaction means
These are integer equalities, equivalently rational equalities on Boolean assignments, not parity constraints.
For a formula , counts assignments to all its declared variables, including unused ones. A -CNF has clauses of width at most with ordinary disjunctive semantics. An empty clause is false. A term is a conjunction of literals, and a DNF is a disjunction of terms. An empty term is true and an empty disjunction is false. All term lists below are explicit. Repeated literals may be removed and contradictory terms deleted. Our counting queries are ordinary unweighted formulas: no variables are existentially projected out.
Graphs are explicit and simple, and denotes their vertex count. Write for the open neighborhood and . Digraphs are loopless and may have antiparallel arcs; their out-neighborhoods are denoted . Cardinality thresholds are part of the input. By contrast, a fixed width, local degree rule, or number of classes is independent of input size. Constants and polynomial degrees may depend on those fixed choices.
Lemma 3.1 (Row selection; Jansen–Pieterse [JP16, JP19]). From an explicitly represented rational linear system in variables, one can select at most original equations in deterministic polynomial time with exactly the same rational, and hence Boolean, solutions. Applied to (6), the output retains original input sets.
Proof. Select original rows forming a basis of the augmented row space . Every omitted row has the form for selected rows. If satisfies the selected equations, then
Thus it satisfies every omitted equation. The reverse direction holds because the selected equations are a subset of the input. This does not assume consistency. The augmented dimension is . Exact Gaussian elimination selects the rows in polynomial bit complexity; after clearing denominators, fraction-free elimination keeps intermediate bit lengths polynomial. The output is a subset of the original equations, not their row-echelon combinations, so their form and widths do not change.
The next imported lemma allows arbitrarily many clauses. Its width-three case suffices for exact-one systems and all compact encodings in Section 8. The local degree theorem uses its full fixed-width form.
Lemma 3.2 (Fixed-width exact counting; OpenAI [Ope26]). For every fixed , a -CNF on declared variables and clauses can be counted deterministically in
bit operations and bits of space, with no bound on .
Proof. Apply the general-density part of Theorem 1.1 of [Ope26]. The source counts declared variables and allows shorter clauses by repeating a literal, so our width convention changes neither variables nor counts. For , use direct enumeration.
CNF encodings of cardinality constraints have been studied extensively [Sin05]. We use the following functional encoding of unweighted cardinalities. A proof is included because its linear variable budget is needed repeatedly; a separate sequential counter with a growing threshold would not give the same guarantee. Linear-size cardinality circuits also occur in [Cla26, proof of Corollary 7].
Lemma 3.3 (Linear-size cardinality encoding). For and an input threshold , each of , , and has a uniformly constructible 3-CNF encoding with auxiliary variables and clauses. Each satisfying input assignment has exactly one auxiliary extension, and each other input has none. A fixed number of such tests still costs variables.
Proof. First handle thresholds outside as constant conditions. Pad the input to a power of two using constant zeros. A balanced binary addition tree computes the sum. At level , it performs additions of -bit numbers. Ripple-carry addition uses fan-in-two gates per addition, for total size
Comparison of the resulting bits with adds gates. Use AND, OR, and XOR gates and negations. A full truth-table encoding for each gate uses a constant number of clauses of width at most three, and one variable for its output. Require the final output to be true. For any input assignment, all gate values are uniquely determined in topological order, so the extension exists precisely when the test succeeds and is then unique. Constant-size inputs are immediate. Repeat this construction for a fixed number of tests.
The cardinality lemma concerns unweighted counts. It does not assert a linear-size encoding for sums with unrestricted binary weights.
4 The two-boundary counting identity
The identity separates two costs: the number of conditions that must all hold, and the number of alternative witnesses for each condition. Only the first costs path variables. We prove the bounded-term version once; wide clauses are its one-literal special case.
Theorem 4.1 (Two-query identity for bounded-length terms). Let be a CNF of width at most on declared variables. For , let
where every term has at most literals and all term lists are explicit. Suppose , and let be the number of clauses of . There are two nonadaptive ordinary unweighted CNF queries satisfying
with the exact variable budget and clause bounds
They are constructible in polynomial time in the explicit representation. For , one query to suffices.
Proof. Introduce fresh variables . For set the endpoints to constants,
and, for a term , put . Define
Substitute the endpoint constants and delete tautological clauses, but retain all declared variables. The pair for T expresses
It has width at most , introduces no variable for T, and contributes at most two clauses. The endpoints are constants rather than variables. This proves (9).
For correctness, fix the original assignment and let be its number of extensions to the internal path variables. If , both extension counts are zero. Otherwise, edge enforces equality precisely when : some true term activates equality, whereas if all terms are false every pair of clauses on that edge is automatically satisfied.
If all predicates are true, the whole path equals its left endpoint zero. Thus the all-zero internal assignment is the unique extension for , and there is no extension for .
If some predicate is false, fix one such index and map an extension under boundary to one under boundary by
The left endpoint stays zero, and the right endpoint changes as required. On every edge other than , either both endpoints are flipped or neither is, preserving equality requirements. Edge is unrestricted. The map is its own inverse and fixes the original assignment, so it is a bijection of the two extension sets. Hence . This also covers : there are no internal variables and the map changes only the fixed right boundary. Empty term lists give unrestricted edges, and an empty term forces equality, consistently with the Boolean conventions.
We have therefore proved the pointwise identity
Summing over every assignment to the declared variables proves (8). All construction steps traverse explicit terms and clauses, so their bit complexity is polynomial in the representation length.
Lemma 4.2 (Wide-clause specialization). Let be a 3-CNF on declared variables and let be arbitrary-width clauses on those variables, with either sign of literal. For , two ordinary 3-CNFs satisfy
each with exactly declared variables and at most clauses.
Proof. Regard each literal of as a one-literal term in and apply Theorem 4.1 with . In this case the queries are explicitly
with the boundaries in (10).
For term length greater than one, Theorem 4.1 is a fixed-width reduction, not necessarily a width-three reduction. Introducing a new variable to split every longer clause could destroy its linear variable budget. We instead apply Lemma 3.2 at the resulting fixed width. For a fixed source assignment, all cancellation takes place between ordinary nonnegative extension counts; neither weighted counting nor projection is used.
4.1 Relation to marker-parity cancellation
The public wide-clause construction of [ono26] introduces a marker that may be true only when the th clause is false, and subtracts the odd-marker count from the even-marker count. For a fixed assignment with false clauses, its signed contribution is . A sequential parity circuit uses markers and outputs, giving declared variables per query.
The same construction applies to a bounded-term predicate by adding
Let , with and . The change of coordinates
is bijective between marker assignments of parity and internal path assignments. A true term forces , which is exactly the equality across edge in (11). Eliminating all marker variables, and treating the fixed final parity as a constant, leaves only the internal path variables. This derives the path realization and its count identity without treating the two cancellation mechanisms as unrelated.
For bounded-length terms, the marker implementation has width at most , whereas the path uses . The variable saving can therefore cost one unit of clause width; neither resource budget uniformly dominates the other. The improvement from to is an explicit variable saving, not a different asymptotic exponent under Lemma 3.2. In particular, marker-parity cancellation combined with row selection already implies the rate of Theorem 1.1. The representations developed next specify which constraints admit the required small number of predicates and bounded term length. The bounded-term extension above is an algebraic extension of the same mechanism, not a claim that the cited catalog explicitly stated it.
Proposition 4.3 (Shared algorithmic transfer). Fix . Suppose a problem with positive integer parameter , input length , and has a polynomial-time encoding of the form in Theorem 4.1, with
and total representation length polynomial in . Assume a source solution exists exactly when the encoded formula is satisfiable. Then feasibility is decidable with at most two exact-counting queries in deterministic polynomial space and time
The constants may depend on the fixed encoding parameters. If the source count equals the encoded model count, the same algorithm computes that count exactly.
Proof. For , the identity returns the model count of the encoding as the difference of two answers; for , use one answer. The query width is fixed and . By Lemma 3.2, each query takes the time in (15); logarithms of and are comparable for large , and small is handled directly. The polynomial number of input clauses contributes only a polynomial factor. The difference is positive exactly for feasible inputs.
Each answer has at most bits. Construct the two queries nonadaptively, evaluate them sequentially, and subtract their exact integer answers. Construction, storage, and arithmetic use poly space, which is polynomial in by the parameter assumption. Nothing in the feasibility claim requires different source solutions to have the same number of certificates; it requires only that every solution have at least one and that invalid selections have none.
For witness recovery, additionally assume a polynomial-time map that decodes every satisfying assignment of the source encoding into a valid source solution. After a YES answer, fix its base variables in turn, trying zero and retaining that value precisely when a satisfying extension still exists. Additional unit clauses go in and do not alter the variable or predicate budget. After at most further tests, decode the resulting satisfying assignment. All encodings below expose the original selection or class bits, so they have the required map; one may stop as soon as these bits have been fixed. Polynomially many calls preserve (15).
5 Exact-One Hitting Set and bounded-demand equations
We now apply the path identity to exact-one systems. Row selection bounds the number of remaining coverage clauses; pairwise exclusions handle the other half of each exact-one condition. We first prove the reduction without assuming any particular counting algorithm, and then derive the running time.
Proof of Theorem 1.2. If contains an empty set, return zero. If is empty, return . In all other cases apply Lemma 3.1 to (6), retaining original sets with . Their exact-one constraints have exactly the same Boolean solutions as the input.
Let be the set of unordered pairs of distinct elements that occur together in at least one retained set. Define
If an assignment satisfies the selected exact-one constraints, it satisfies every pairwise exclusion and every . Conversely, allows at most one chosen element in each , because any two distinct elements of form a pair in ; requires at least one. Hence
where the formula retains all original variable declarations. Lemma 4.2 now gives the two queries and the identity (4).
The resource bounds follow separately. There are internal path variables, so each query has
Since contains each unordered pair at most once, . Also . The clause bound from Lemma 4.2 is therefore
Literal incidences contribute clauses but no extra variables. Original variables that are absent from the selected sets, or disappear during boundary simplification, remain declared. Thus their choices retain the correct multiplicity without a separate correction factor.
Row selection has polynomial bit complexity. The pairs can be enumerated with pair operations and deduplicated deterministically; constructing both query lists is also polynomial-time work. Neither construction depends on an oracle answer. Finally, each answer is at most and therefore has at most bits. Subtracting the two exact integers takes polynomial time and yields , a nonnegative integer at most .
Algorithm 1 records the complete procedure. The subroutine COUNT3CNF returns an exact model count, not a satisfiability answer.
Algorithm 1 Exact counting for Exact-One Hitting Set
Require: Explicit ground set and family
Ensure:
1: if then
2: return 0
3: end if
4: if then
5: return
6: end if
7: Select original sets using Lemma 3.1.
8: Form and as in (16).
9: Construct using (14), retaining all declared variables.
10: .
11: , after the first call has finished.
12: return
Proof of Theorem 1.1. Theorem 1.2 proves correctness: Algorithm 1 returns , whose positivity decides feasibility. After the trivial cases, its source encoding has variables, coverage clauses, and polynomial representation length. Thus , , and the hypotheses of Proposition 4.3 hold with fixed widths. That proposition gives (3) and polynomial space; the factor polynomial in is polynomial in because the ground set is explicit. In particular, the two query variables satisfy and their clause counts are , so the imported exponent is . The encoding preserves the full solution set, not merely existence, and therefore the transfer gives exact counting. Bounded may be handled directly.
5.1 Signed exact satisfiability
A signed XSAT instance is a family of clauses of positive and negative literals, with the requirement that exactly one literal in each clause be true. We assume that distinct literals in a clause have distinct underlying variables. All variables are explicitly declared, and the number and widths of the clauses are unrestricted.
Theorem 5.1 (Signed XSAT). The count of a signed XSAT instance can be computed deterministically in polynomial space and time (3). Except for the empty-family and empty-clause cases, it is the difference of two 3-CNF counts, each on at most 2r variables and with clauses.
Proof. The empty-family and empty-clause cases give and zero, respectively. Consider a nonempty clause whose positive and negative literals use the disjoint variable sets and . Its exact-one requirement is
The coefficients belong to and the right-hand side has magnitude at most . Lemma 3.1 therefore selects original clauses in polynomial bit complexity, preserving all Boolean solutions.
For each pair of literals in a retained clause, put into , removing duplicates. For each unordered pair of underlying variables there are four possible sign combinations, so has at most clauses. Let be the ordinary disjunction of the literals in retained clause . An assignment satisfies exactly when it makes one literal true in each retained clause, hence exactly when it solves the original signed instance.
Lemma 4.2 applies without a change: it depends on a literal's truth value, not on its sign. It produces two queries with
whose count difference is the desired answer. These are the same asymptotic resource bounds used in the proof of Theorem 1.1, so the same time and space analysis applies.
The distinct-variable convention is part of this statement; repeated occurrences of a variable within one exact-one clause are not treated as independent choices.
Corollary 5.2 (Binary side constraints). The signed exact-one count may additionally be restricted by any explicitly given 2-CNF on the same variables. After direct treatment of empty cases, at most two 3-CNF queries suffice, each on at most 2r variables and with clauses. The time and space bounds of Theorem 1.1 are unchanged.
Proof. Keep the side clauses in and apply row selection only to the exact-one equations. The argument above preserves their intersection with . After simplification and deduplication there are only possible unary and binary clauses, so the clause budget is unchanged. If no equations remain, count the side formula directly. A contradictory side clause gives count zero.
5.2 Exact Cover measured by candidate sets
Let be a universe and an explicitly listed, indexed family of candidate sets. An exact cover is a set of indices such that each lies in exactly one with . Sets with different indices are distinct choices even when their contents agree. The parameter here is the number of candidate sets, not .
Corollary 5.3 (Exact Cover). For an Exact Cover instance of input length with indexed candidate sets, the number of exact covers can be computed deterministically in polynomial space and time
The decision problem has the same bound, without a restriction on the universe size or the number of incidences.
Proof. Take as the selectable ground set and form, for every , the scope
A set of indices hits each exactly once if and only if the corresponding candidate sets cover each exactly once. The correspondence uses the same index set in both directions, so it preserves the count bijectively. Transposing the incidence list takes polynomial time and gives an explicitly represented instance of polynomial length. Apply Theorem 1.1 with .
An uncovered universe element creates an empty scope and correctly forces count zero. An empty candidate set, when allowed, creates an unconstrained declared variable; it is counted as an optional indexed choice, as required by the stated definition.
5.3 Fixed, row-dependent exact demands
Generalized exact satisfiability allows different clauses to require different numbers of true literals [HS21]. We also allow positive integer coefficients supplied in binary. The equations have the form
where literals are evaluated as zero or one. The number of rows and their widths are unrestricted. The fixed-demand assumption is imposed after the following solution-preserving normalization.
Within a row, aggregate the coefficients of and as and . Their contribution is
where if and otherwise; omit a zero difference. Subtract the constants from the target. If the resulting target is outside , where is the sum of the remaining positive coefficients, return zero. Complementing every remaining literal changes the target to , so use whichever target is smaller. Constant true rows may be deleted. The resulting rows use distinct underlying variables. All this takes polynomial bit time even when the original coefficients are large.
Theorem 5.4 (Fixed-demand exact counting). Fix an integer . For a system (22) on declared variables whose normalized row demands are at most , its exact solution count is recoverable by at most two ordinary CNF counting queries, each on at most variables, of width at most
, and with clauses. The construction takes polynomial time for fixed , and the resulting algorithm uses polynomial space and time
The demands may differ among rows, and the original positive coefficients are binary encoded. Only is fixed independently of the input.
Proof. Perform the normalization above. Return if no rows remain and handle directly. In each row replace any coefficient larger than its target by . This preserves the Boolean solutions of that row: a literal with such a coefficient must be false in either system. Apply Lemma 3.1 to the capped, normalized affine equations, retaining of those rows. This step is after capping; the retained rows have exactly the same Boolean solutions as the full normalized system. Denote a retained row's contribution by .
To enforce , put into a CNF the clauses
These clauses never reject a contribution at most . Conversely, suppose the true literals contribute more than and choose an inclusion-minimal overweight subset . Removing any one item leaves total weight at most . Positivity and integrality of the weights then imply , so its forbidden clause occurs in (23). Thus these clauses enforce exactly the upper bound, and have width at most .
For attainment of the target, require
When , the empty subset supplies the empty, true term. Under the upper bound, is equivalent to : a true term already contributes ; conversely, if equality holds, the entire set of true literals is such a term because each positive weight is at least one and hence at most literals are true. If no subset attains the target, is false, as required. Every term has length at most .
The formula is therefore pointwise equivalent to the original system on its declared variables, without certificates. For fixed , there are upper clauses and terms. Theorem 4.1 gives and the stated fixed width, and Proposition 4.3 gives the time, count, and space guarantees. In a trivial no-row case no query is needed.
An instance can thus mix demands zero, one, and two, rather than requiring a uniform demand. This is a fixed-bound theorem, not a uniform guarantee for growing with . Appendix A.2 gives a different, parsimonious implementation with one query of width and variables, using the arithmetic lemma there. It has a lower width but not the explicit variable budget; the two implementations offer different guarantees.
6 Local relations of VC dimension at most one
An allowed table explicitly lists the permitted patterns on an ordered scope of distinct variables. Different tables may have arbitrary, overlapping scopes. The table has VC dimension at most one if no pair of coordinates realizes all four patterns. Empty tables force count zero; the nonempty table on a zero-length scope is tautological. The restriction is on each local table, not on the global set of solutions.
Dimension-one classes admit familiar structural descriptions [BD15]. The interpolation bound also gives affine separation on a dimension-one domain [MR20, Theorem 2.2 and Proposition 6.1]. We prove a more specific representation for use with the preceding exact-one reduction: the nonbinary conditions have literal coefficients and right-hand side one. The proof includes the construction and its size, rather than assuming that a suitable affine description is supplied.
6.1 Binary closure and effective enumeration
For a nonempty table , let forbid every missing unary or binary pattern. For instance, if coordinates never take the values together, include the clause . Let
Then . The closure also has VC dimension at most one: for every coordinate pair, a pattern missing from is explicitly forbidden by .
Lemma 6.1 (Size and enumeration of the binary closure). A Boolean class on coordinates that shatters no pair has at most members. Consequently, has at most assignments and can be listed in deterministic polynomial time in the explicit description of and its scope.
Proof. For the size bound, use induction on , with at most one empty pattern when . Split a class by its last bit, obtaining prefix sets . Their union still shatters no pair, so . Their intersection contains at most one prefix: two distinct common prefixes differ in some coordinate, and extending both by both last-bit values would shatter that coordinate together with the last one. Thus
Construct by scanning the explicitly listed projections. Enumerate its satisfying assignments by fixing successive coordinates and using a 2-SAT feasibility test to retain only extendible prefixes. At any depth there are at most retained prefixes, since different prefixes have disjoint sets of completions. There are depths and at most two tests per retained prefix. Each test concerns a polynomial-size 2-CNF with additional unit clauses, so total time and space are polynomial. The construction keeps every scope variable, including coordinates fixed by unary clauses.
The binary closure need not equal the table. For , pairwise exclusions also allow 000. The missing condition is exactly . The next lemma shows that this form of repair always suffices.
6.2 Separation by signed exact-one equations
Lemma 6.2 (Exact-one separation). For each , one can find in polynomial time a subset , with , such that every satisfies
whereas y does not satisfy this equation.
Proof. Start with all coordinates and delete a coordinate whenever no row of agrees with on the remaining coordinates. Stop at an inclusion-minimal set on which has no agreeing row. Projection tests are scans of , so this takes polynomial time. Since satisfies every unary and binary restriction, no set of size at most two has this property. Thus .
For every , minimality supplies a row agreeing with on . It must differ at , since no row agrees on all of . On the coordinates , the disagreement vector therefore has its sole one at .
Every row of disagrees with somewhere on . Suppose one row disagreed at two distinct coordinates . Its pair of disagreement bits would be 11, while and supply 10 and 01. A third coordinate exists, and supplies 00. Complementing coordinates does not change whether they are shattered. These four patterns contradict the dimension assumption on . Thus every row disagrees in exactly one position of , proving (25). The assignment has zero disagreements and is excluded.
Theorem 6.3 (Binary clauses and exact-one representation). Every nonempty explicitly listed Boolean relation of VC dimension at most one has a polynomial-time constructible representation, on its original variables, as a conjunction of unary or binary clauses and at most signed exact-one equations. Its Boolean solution set is exactly .
Proof. Use and enumerate by Lemma 6.1. For each , add the equation in Lemma 6.2. Every row of satisfies all these conditions. An assignment outside fails ; an assignment in fails its own separating equation. Hence the solution set is exactly . The number of equations is at most , and each has width at most . All stages are polynomial in the explicit input length. The zero-coordinate nonempty relation needs no conditions.
This syntax does not assert that every conjunction of binary clauses and exact-one equations has VC dimension one. It is a representation in the needed direction. In particular, affine interpolation alone does not specify the literal coefficients, right-hand side, or clause count obtained here.
6.3 Many overlapping local constraints
Proof of Theorem 1.3. Reject an empty allowed table and discard zero-scope tautologies. Apply Theorem 6.3 to each remaining table on its own scope, retaining every global variable declaration. Collect all binary clauses in one formula , and all signed exact-one equations in one system. This representation is pointwise equivalent to the original conjunction, regardless of scope overlaps. Its length is polynomial in , since every table and scope is explicit.
Deduplicate the clauses in ; there are only distinct unary and binary clauses on variables. Apply row selection to the union of all separating equations, not independently to each table. At most equations remain, each still a signed exact-one equation on distinct variables. This preserves all solutions of those equations and therefore also their intersection with . Corollary 5.2 gives the two queries, each with at most variables and clauses. If no separating equation remains, itself is one query; tautological or inconsistent cases are handled directly. The imported counter and the shared transfer give the asserted exact count, bit time, and polynomial space.
Local dimension one does not imply few global assignments. For example, the singleton table on each of disjoint scopes permits all assignments. The gain comes from the restricted form of each local relation and global row selection, not from enumerating the global solution set. General dimension-one structure and affine interpolation retain their existing attribution; the explicit syntax and its query budget are the representation guarantee proved in this section.
7 Fixed local degree constraints
Fixed finite/cofinite neighbor-count rules distinguish only finitely many small counts and one tail interval, as in the established vertex-subset and partition frameworks [BXTV13, FMM+25]. We encode a count by threshold bits rather than one-hot states. The invariant is direct: bit is true exactly when the count is at least . There are such bits per vertex for a fixed cutoff , with no variable for an edge or neighbor subset.
7.1 Functional threshold bits
Let indicate membership in , fix , and write .
Lemma 7.1 (Threshold representation of neighbor counts). For a -vertex graph with and fixed , introduce variables , . There is a CNF of width at most together with exactly explicit DNF predicates of term length at most such that every assignment to has exactly one satisfying extension to . That extension obeys
The total number of clauses and terms is and the construction is polynomial-time for fixed .
Proof. For each , put into all clauses
and require the predicate
The first family forces when some selected neighbors exist. The second condition forces their existence when .
More explicitly, fix . If , an all-selected -subset forces in (27); that subset also satisfies (28). If , the disjunction of -witnesses is false, so (28) forces ; every forward clause already has a false-selected neighbor and is satisfied. If , there are no forward clauses and the reverse predicate is simply , giving the same conclusion. This proves existence and uniqueness of all bits. Their monotone order follows from (26); it need not be separately enforced.
Each forward clause has width . The literal is a one-literal term and each other term has length . There are predicates and enumerable clauses and terms. No witness subset receives an auxiliary variable.
For a correct threshold vector, the truncated count is recognized by the following term of length at most two:
Exactly one of these terms is true. The last term represents all counts at least , not just count .
7.2 Vertex-subset rules and their size distributions
Fix finite or cofinite . A -set satisfies
Choose a fixed cutoff beyond which membership in both sets is constant.
Corollary 7.2 (Fixed -sets). For every fixed , feasible sets satisfying an input upper, lower, or exact bound on can be counted exactly in deterministic polynomial space and time
For , each of at most two counting queries has
where counts functional size-test variables and is zero without a test. The empty graph is handled directly. Computing the entire cardinality distribution takes polynomially many such queries within the same asymptotic time and space.
Proof. Start with Lemma 7.1. If state is disallowed by , forbid ; if it is disallowed by , forbid . Each prohibition is one clause of width at most three, since has at most two literals. For , disallowed has its ordinary membership meaning; for , it means the entire tail is disallowed. Uniqueness of the threshold vector makes these clauses pointwise equivalent to (30). Add the functional size test when required.
There are base variables and predicates. The bounded part has width at most and all terms have length at most . Theorem 4.1 gives (31); Proposition 4.3 gives the running time. Threshold bits and gates are uniquely determined, so the difference counts sets, not multiple witnesses. To obtain all sizes, repeat with for . There are only coefficients, each with bits, so the calls and output use the stated resources.
Independent domination uses and . The choice and requires the selected set to induce a -regular graph. The threshold encoding saves one state variable per vertex compared with a -way one-hot encoding, while retaining functional extensions; this is a budget improvement, not a different asymptotic rate.
7.3 Fixed-class degree-constraint matrices
Fix and a matrix with finite or cofinite entries. A labeled partition is feasible when
Classes may be empty unless excluded by input bounds . The matrix and are fixed; the graph and bounds vary. Choose a common constant tail cutoff for all entries.
Theorem 7.3 (Fixed degree-template counting). For fixed , feasible labeled partitions with input class-size bounds can be counted by at most two ordinary unweighted fixed-width CNF queries. For , each query has
(33) where is the number of functional size-test variables, or zero without tests. The resulting time is
with deterministic computation and polynomial space. The empty graph is decided directly from the bounds.
Proof. Use one-hot class variables . For each target class , apply Lemma 7.1 to its selection vector, with fresh threshold bits for . Once all classes are chosen, these bits uniquely encode the truncated number of class- neighbors of . Let be the corresponding term from (29). For every state disallowed by , forbid with a clause of width at most three. As before, the tail is either entirely allowed or entirely disallowed. These clauses impose exactly (32). Add at most functional class-size tests.
The bounded formula contains class constraints, forward threshold clauses, allowed-state clauses, and size circuits. Its width is at most . There are
base variables and reverse predicates; all terms have length at most . Theorem 4.1 gives (33). Enumerating neighbor subsets is polynomial for fixed . The encoding is functional for every feasible labeled partition, proving exact count preservation; Proposition 4.3 gives time and space. Inconsistent size bounds are rejected, and other bounds are intersected with .
This counts labeled partitions, not partitions modulo permutation of class names. For fixed , repeating over all size tuples still uses only polynomially many queries. Perfect Matching Cut is the two-class template with diagonal entries and off-diagonal entries and both classes required nonempty. Minimum or maximum feasible size follows by threshold tests even when the feasible sets themselves are not inclusion-monotone.
7.4 A smaller encoding for regular induced subgraphs
The general representation explains the scope; individual rules can avoid threshold bits. Fixed-degree regular induced subgraphs provide an example studied in the exact-algorithm literature [GRS12].
Proposition 7.4 (Maximum fixed-d regular induced subgraph). For each fixed , deciding whether at least vertices induce a -regular graph reduces to at most two width- queries. For , each has
where encodes the input size bound. Exact counting with an upper, lower, or exact size bound has the same budgets. The algorithm uses time and polynomial space.
Proof. Use selection bits . Let B contain the functional size circuit and all clauses
They allow at most selected neighbors at a selected vertex. Require, for each vertex,
This allows an unselected vertex and otherwise demands at least selected neighbors. The conditions are therefore equivalent to induced -regularity. There are variables and predicates, bounded width , and term length at most . There are upper clauses and terms. Apply Theorem 4.1 and Proposition 4.3. Only functional size gates are added, so original selections are counted exactly. Empty graphs and trivial thresholds are treated directly.
No connectivity condition is imposed: permits a disjoint union of cycles, not necessarily one Hamiltonian cycle. The constants are independent of input size. Unit clauses on selection or class bits permit witness recovery without changing the budgets. Polynomially many threshold or self-reduction calls preserve the displayed times.
8 Representative graph applications
Induced matching and perfect matching cuts show how direct formulas avoid the threshold variables of the general degree template. Upper domination instead illustrates why a decision encoding may have nonunique certificates. Shorter encodings for Independent Dominating Set, Dominating Induced Matching, and Kernel in a Digraph are retained in Appendix B. Existing models and the public cancellation constructions are attributed at their point of use.
Corollary 8.1 (Graph decision algorithms). The three problems treated in this section and the three additional problems in Appendix B can be decided on arbitrary explicitly represented -vertex graphs in deterministic polynomial space and time
Every feasibility test uses at most two ordinary 3-CNF counting queries with variables. Input size thresholds need not be fixed. A witness and an optimum threshold, when applicable, can be recovered within the same asymptotic bound.
All graphs are simple and undirected except for the kernel application. Budgets below concern constructed queries for ; empty inputs and trivial thresholds are handled directly. The symbol is the actual number of functional gate variables in the indicated size test. The displayed budgets are not new characterizations of the underlying graph problems.
8.1 Induced matching and exact size information
An induced matching is a matching whose endpoints induce exactly its matching edges. Maximum Induced Matching asks whether there are at least such edges. Its vertex-based representation is established in the formulation work of Ahat, Ekim, and Taşkin [AET18]; exact algorithms are studied, for example, in [XT17]. The relevant resource advantage is that endpoint variables, unlike edge variables, remain linear in on dense graphs.
Proposition 8.2 (Maximum Induced Matching). Given a graph and integer , deciding whether has an induced matching of at least edges reduces to at most two ordinary 3-CNF counting queries, each with variables and clauses.
Proof. A set is the endpoint set of an induced matching exactly when is 1-regular: every component is then a single edge, with no further edges between endpoints. This correspondence is bijective, and the matching has edges. Apply Proposition 7.4 with and . Its upper-degree clauses have width three, and its lower predicates are the wide clauses
. Thus the query width is three and the stated budgets follow. The size of every feasible endpoint set is automatically even. If , the empty matching suffices; if , return NO.
Corollary 8.3 (Induced-matching size distribution). For an arbitrary -vertex graph, let be its number of induced matchings with exactly edges. The full list is computable deterministically in polynomial space and time poly. Counting all induced matchings without a size test needs two 3-CNF queries with variables for ; a fixed size uses variables with .
Proof. A 1-regular endpoint set uniquely determines its induced matching, including the empty set and empty matching. Apply Proposition 7.4 with , using no size test for the total count or the functional test for . Each endpoint set then has exactly one gate extension. Evaluate the pairs of queries sequentially. Each coefficient is at most because endpoint sets are distinct; their bit lengths and number are polynomial. The zero-vertex graph has only the empty matching. The largest nonzero index and its coefficient give the optimum size and number of optimum solutions.
This is a count-preserving refinement of the existing endpoint representation, not a separate graph characterization. Marker-parity elimination [ono26] also gives the same exponent form when combined with that representation; the path implementation gives the stated smaller variable budget.
8.2 Perfect matching cuts
A perfect matching cut is a partition into two nonempty parts such that the set of all crossing edges is a perfect matching. Equivalently, each vertex has exactly one neighbor on the opposite side [LT22]. It is not merely a perfect matching that contains a cut. Exact algorithms for this problem include [LT22, MM23]. It is a fixed degree-template problem, but one side bit per vertex gives a smaller direct encoding.
Proposition 8.4 (Perfect Matching Cut). Deciding whether a graph has a partition into two nonempty parts whose crossing edges form a perfect matching reduces to at most two ordinary 3-CNF counting queries, each with variables and clauses.
Proof. Use to denote the side of vertex . For every unordered pair of distinct neighbors , put
into . If , the first clause forbids two 1-neighbors; if , the second forbids two 0-neighbors. Thus imposes the at-most-one condition. Add the wide clauses
For either value of , the active clause demands an opposite-side neighbor. Together, these constraints say exactly that every vertex has one such neighbor. In an undirected graph, the crossing edges therefore form a spanning 1-regular graph, namely a perfect matching. On a nonempty graph, the same condition forces both sides nonempty. Conversely, any perfect matching cut satisfies all these clauses. An isolated vertex makes its two clauses inconsistent, as required.
The input has variables, wide clauses, total wide-clause length, and clauses in . Lemma 4.2 gives and ; Proposition 4.3 applies. The empty graph has no partition into two nonempty parts and is rejected directly.
8.3 Nonunique certificates: upper domination
Upper Dominating Set asks whether there is an inclusion-minimal dominating set of size at least . Here minimality is by containment, not by cardinality. A selected vertex has a private neighbor if . A dominating set is inclusion-minimal exactly when every selected vertex has a private neighbor: that vertex becomes undominated if its unique selected neighbor is removed; conversely, a selected vertex with no private neighbor can be deleted without losing domination.
Exact counting and size distributions of minimal dominating sets, and hence upper domination, already appear in the public manuscript [PI26, Section on minimal dominating sets and upper domination]. We retain the following decision encoding to illustrate nonunique certificates, not as a new qualitative algorithm. We use the -variable formulation of Burdett, Haythorpe, and Newcombe [BHN23, Section 2.1], expressed below as CNF conditions. Earlier work on upper domination also treats pathwidth algorithms and subexponential approximation [DLP22]; approximation and arbitrary-graph exact decision are different guarantees.
Proposition 8.5 (Upper Dominating Set). Given a graph and integer , deciding whether has an inclusion-minimal dominating set of size at least reduces to at most two ordinary 3-CNF counting queries, each with variables and clauses. The count difference is positive exactly for a YES-instance.
Proof. Use for selection and to mark a private-neighbor witness. Let encode the size threshold. The bounded-width part is
where neighbor pairs contain distinct vertices. Add the wide clauses
Suppose the encoding is satisfied, and set . The make dominating and the size circuit gives . A marked vertex has at most one selected closed neighbor by (38) and at least one by . For every , clause supplies a marked . Since the graph is undirected, , so . Thus every selected vertex has a private neighbor, proving inclusion-minimality.
Conversely, for a minimal dominating set of the required size, mark one private neighbor for each selected vertex and no others. Every marked vertex has exactly one selected closed neighbor, so all clauses of hold. Domination gives the , the chosen witnesses give the , and the cardinality circuit has its consistent extension. This proves existence equivalence in both directions. Different markings of witnesses for the same are deliberately allowed.
There are base variables and wide clauses, with total wide-clause length . The bounded part has clauses. Lemma 4.2 therefore gives and . The count difference counts valid selection-witness pairs; its positivity, not its value as a count of sets, decides the problem. Proposition 4.3 supplies the time and space bound. For the empty graph, the only minimal dominating set is empty. On a nonempty graph, thresholds give YES and give NO.
In Formulation 1 of [BHN23], substituting turns the existing private-neighbor inequalities into the conditions above: restricts the closed-neighborhood count to at most one, and requires a marked witness. The source model is therefore unchanged. The reduction counts its satisfying certificates; it does not identify all certificates belonging to the same minimal dominating set.
Proof of Corollary 8.1. Each encoding here or in Appendix B has , , polynomial representation length, and a width-three part supplemented by wide clauses. Its model count is positive exactly for a feasible instance. Proposition 4.3 gives the two-query, time, and space guarantees, including for the nonunique-certificate encoding.
Binary search computes each optimum size with threshold tests. For witness recovery, fix original selection or side bits by adding unit clauses to the same encoding, preserving a satisfying extension at every step. Upper-domination witness bits may remain unfixed. The final selection or class labels decode directly to a solution. At most further calls are needed, preserving (36).
9 Scope and interpretation
The main resource is a linear number of simultaneous conditions on a linear number of variables. Row selection supplies it for exact equations; the local-table representation recovers that equation syntax; threshold bits supply it directly for fixed local graph rules. Incidences and alternative witnesses add clauses instead of variables. Section 4.1 explains the exact relation to existing marker-parity cancellation [ono26]: the smaller path representation does not by itself change the asymptotic exponent. The representations, budgets, and count-preservation properties are the concrete guarantees established here.
Exact equations, local allowed tables, threshold bits, and arithmetic gates preserve counts of original objects. Upper-domination certificates need not: only positivity is used, and stronger counting results already exist [PI26]. Neither use of the difference is a pair of satisfiability tests. Both queries can be satisfiable when the original instance is infeasible, and separate approximate counts need not approximate their difference.
Linear variable count is not subquadratic bit-size compression. Our exact-one and table queries may have clauses and bits, consistent with the generalized-kernel lower bounds of [JP16, JP19]. The dimension promise is local; the demand bound, degree rules, and class count are fixed. Appendix A permits polynomially bounded integer weights, not unrestricted exponentially large weights. Full distributions use polynomially many queries. No graph-connectivity consequence or Exact Cover algorithm parameterized by universe size is asserted.
The same representations transfer any deterministic polynomial-space fixed-width bound with . For and sufficiently large , . Thus the transfer does not depend on the particular quantitative rate of the cited counter.
AI methodology
Generative AI was used in research discussions, development and examination of the two-query identities, structural representations, and their applications, literature searches, proof organization, and substantive drafting and revision of the manuscript. The human authors are responsible for the final mathematical statements, originality, attribution, references, and presentation.
References
[AET18] Betül Ahat, Tınaz Ekim, and Z. Caner Taşkin. Integer programming formulations and Benders decomposition for the Maximum Induced Matching problem. INFORMS Journal on Computing, 30(1):43–56, 2018. doi:10.1287/ijoc.2017.0764.
[BD15] Shai Ben-David. Notes on classes with Vapnik-Chervonenkis dimension 1. arXiv preprint, 2015. Version 1, July 19, 2015. URL: https://arxiv.org/abs/1507.05307v1.
[BDCEP13] Nicolas Bourgeois, Federico Della Croce, Bruno Escoffier, and Vangelis Th. Paschos. Fast algorithms for min independent dominating set. Discrete Applied Mathematics, 161(4-5):558–572, 2013. doi:10.1016/j.dam.2012.01.003.
[BH08] Andreas Björklund and Thore Husfeldt. Exact algorithms for exact satisfiability and number of perfect matchings. Algorithmica, 52(2):226–249, 2008. doi:10.1007/s00453-007-9149-8.
[BHN23] Ryan Burdett, Michael Haythorpe, and Alex Newcombe. Binary programming formulations for the upper domination problem. Mathematical Methods of Operations Research, 98:155–168, 2023. Preprint first posted in 2021 as arXiv:2110.04987. doi:10.1007/s00186-023-00831-2.
[BMS05] Jesper Makholm Byskov, Bolette Ammitzbøll Madsen, and Bjarke Skjerna. New algorithms for Exact Satisfiability. Theoretical Computer Science, 332(1-3):515–541, 2005. doi:10.1016/j.tcs.2004.12.023.
[BXTV13] Binh-Minh Bui-Xuan, Jan Arne Telle, and Martin Vatshelle. Fast dynamic programming for locally checkable vertex subset and vertex partitioning problems. Theoretical Computer Science, 511:66–76, 2013. doi:10.1016/j.tcs.2013.01.009.
[CH96] Nadia Creignou and Miki Hermann. Complexity of generalized satisfiability counting problems. Information and Computation, 125(1):1–12, 1996. doi:10.1006/inco.1996.0016.
[Cla26] Claude (Anthropic). A time algorithm for 3-SAT. Hexagon preprint hexagon:2610.00577v1, 2026. Manuscript dated October 26; version 1 deposited October 27, 2026. Corollary 7. URL: https://hexagonmath.org/2610.00577v1.
[DJB04] Vilhelm Dahllöf, Peter Jonsson, and Richard Beigel. Algorithms for four variants of the exact satisfiability problem. Theoretical Computer Science, 320(2-3):373–394, 2004. doi:10.1016/j.tcs.2004.02.035.
[DLP22] Louis Dublois, Michael Lampis, and Vangelis Th. Paschos. Upper Dominating Set: Tight algorithms for pathwidth and sub-exponential approximation. Theoretical Computer Science, 923:271–291, 2022. doi:10.1016/j.tcs.2022.05.013.
[FMM 25] Jacob Focke, Dániel Marx, Fionn Mc Inerney, Daniel Neuen, Govind S. Sankar, Philipp Schepper, and Philip Wellnitz. Tight complexity bounds for counting generalized dominating sets in bounded-treewidth graphs—part I: Algorithmic results. ACM Transactions on Algorithms, 21(3):27:1–27:45, 2025. doi:10.1145/3731452.
[GRS12] Sushmita Gupta, Venkatesh Raman, and Saket Saurabh. Maximum r-regular induced subgraph problem: Fast exponential algorithms and combinatorial bounds. SIAM Journal on Discrete Mathematics, 26(4):1758–1780, 2012. doi:10.1137/09077850X.
[HJS20] Gordon Hoi, Sanjay Jain, and Frank Stephan. A faster exact algorithm to count X3SAT solutions. In Helmut Simonis, editor, Principles and Practice of Constraint Programming (CP 2020), volume 12333 of Lecture Notes in Computer Science, pages 375–391. Springer, 2020. doi:10.1007/978-3-030-58475-7_22.
[Hoi20] Gordon Hoi. An improved exact algorithm for the Exact Satisfiability problem. In Weili Wu and Zhongnan Zhang, editors, Combinatorial Optimization and Applications (COCOA 2020), volume 12577 of Lecture Notes in Computer Science, pages 304–319. Springer, 2020. doi:10.1007/978-3-030-64843-5_21.
[HS21] Gordon Hoi and Frank Stephan. Improved algorithms for the general exact satisfiability problem. arXiv:2101.08637v2, 2021. Version of July 30, 2021. URL: https://arxiv.org/abs/2101.08637v2.
[JP16] Bart M. P. Jansen and Astrid Pieterse. Optimal sparsification for some binary CSPs using low-degree polynomials. In Proceedings of the 41st International Symposium on Mathematical Foundations of Computer Science (MFCS 2016), volume 58 of LIPIcs, pages 71:1–71:14, 2016. Article 71, 14 pp. doi:10.4230/LIPIcs.MFCS.2016.71.
[JP19] Bart M. P. Jansen and Astrid Pieterse. Optimal sparsification for some binary CSPs using low-degree polynomials. ACM Transactions on Computation Theory, 11(4):28:1–28:26, 2019. Article 28, 26 pp. See also MFCS 2016 version. doi:10.1145/3349618.
[Kar72] Richard M. Karp. Reducibility among combinatorial problems. In R. E. Miller and J. W. Thatcher, editors, Complexity of Computer Computations, pages 85–103. Plenum, 1972. doi:10.1007/978-1-4684-2001-2_9.
[Knu00] Donald E. Knuth. Dancing links. In Jim Davies, Bill Roscoe, and Jim Woodcock, editors, Millennial Perspectives in Computer Science, pages 187–214. Palgrave, 2000. URL: https://arxiv.org/abs/cs/0011047.
[LT22] Van Bang Le and Jan Arne Telle. The perfect matching cut problem revisited. Theoretical Computer Science, 931:117–130, 2022. doi:10.1016/j.tcs.2022.07.035.
[MM23] Neeldhara Misra and Yash More. Finding perfect matching cuts faster. In Combinatorial Algorithms (IWOCA 2023), volume 13889 of Lecture Notes in Computer Science, pages 307–318. Springer, 2023. doi:10.1007/978-3-031-34347-6_26.
[MR20] Shay Moran and Cyrus Rashtchian. Shattered sets and the Hilbert function. Technical Report TR15-189, revision 2, Electronic Colloquium on Computational Complexity, 2020. Originally posted in 2015; revision of May 21, 2020. URL: https://eccc.weizmann.ac.il/report/2015/189/revision/2/download.
[ono26] ono-work. Counting satisfying assignments of unrestricted-width CNF. Entry in the public sat-algorithm-consequences catalog, 2026. Pinned commit e67c6c0; entry data date October 29, 2026. URL: https://github.com/ono-work/sat-algorithm-consequences/blob/e67c6c041749c12c60777cb7bd9d821b2e651aa3/docs/en/exact-count-unrestricted-cnf.md.
[Ope26] OpenAI. The Exponential Time Hypothesis is False. OpenAI Math Release preprint, 2026. Revised October 25, 2026. Theorem 1.1. URL: https://github.com/openai/math/blob/main/preprints/The-Exponential-Time-Hypothesis-is-False-October-25-2026/paper.pdf.
[PI26] Linear-variable exact counting of minimal transversals: A completed reduction, size refinement, and algorithmic consequences. Manuscript in the Principal-Ideal repository, 2026. Dated October 29, 2026; pinned commit 4f49a93. URL: https://github.com/Principal-Ideal/Subexponential-Algorithms-for-Minimal-Transversal-Counting-and-Connected-Domination/blob/4f49a9345e29adac5b0764a79fa8a9728f692b7d/papers/research.tex.
[PIC26] Connected dominating set via monomial-weighted SAT counting: A linear-variable parity reduction and randomized subexponential search. Manuscript in the Principal-Ideal repository, 2026. Dated October 29, 2026; pinned commit 4f49a93. URL: https://github.com/Principal-Ideal/Subexponential-Algorithms-for-Minimal-Transversal-Counting-and-Connected-Domination/blob/4f49a9345e29adac5b0764a79fa8a9728f692b7d/papers/connected_domination.tex.
[PSSW14] Stefan Porschen, Tatjana Schmidt, Ewald Speckenmeyer, and Andreas Wotzlaw. XSAT and NAE-SAT of linear CNF classes. Discrete Applied Mathematics, 167:1–14, 2014. doi:10.1016/j.dam.2013.10.030.
[Sch78] Thomas J. Schaefer. The complexity of satisfiability problems. In Proceedings of the 10th Annual ACM Symposium on Theory of Computing (STOC 1978), pages 216–226. ACM, 1978. doi:10.1145/800133.804350.
[Sch18] Bernd R. Schuh. Exact satisfiability of linear CNF formulas. Discrete Applied Mathematics, 251:1–4, 2018. doi:10.1016/j.dam.2018.05.018.
[Sin05] Carsten Sinz. Towards an optimal CNF encoding of Boolean cardinality constraints. In Peter van Beek, editor, Principles and Practice of Constraint Programming (CP 2005), volume 3709 of Lecture Notes in Computer Science, pages 827–831. Springer, 2005. doi:10.1007/11564751_73.
[WD12] Michał Walicki and Sjur Dyrkolbotn. Finding kernels or solving SAT. Journal of Discrete Algorithms, 10:146–164, 2012. doi:10.1016/j.jda.2011.11.004.
[XN15] Mingyu Xiao and Hiroshi Nagamochi. Exact algorithms for dominating induced matching based on graph partition. Discrete Applied Mathematics, 190–191:147–162, 2015. doi:10.1016/j.dam.2015.04.012.
[XT17] Mingyu Xiao and Huan Tan. Exact algorithms for Maximum Induced Matching. Information and Computation, 256:196–211, 2017. doi:10.1016/j.ic.2017.07.006.
[ZSW14] Jumping Zhou, Weihua Su, and Jianan Wang. New worst-case upper bound for counting exact satisfiability. International Journal of Foundations of Computer Science, 25(6):667–678, 2014. doi:10.1142/S0129054114500270.
A Polynomial integer weights and a one-query variant
This appendix records a separate arithmetic tool. It is not needed by the path proofs or the local-table representation. Its scope is polynomially bounded integer coefficients, not arbitrary binary weights. The purpose of the grouping argument is to justify a linear auxiliary-variable budget; the individual Boolean arithmetic gates are standard.
A.1 A linear-size weighted-sum circuit
Lemma A.1 (Polynomial-coefficient weighted sums). Fix . Let be Boolean variables, either or , and be explicitly given integers. Each comparison
has a uniformly constructible functional 3-CNF encoding with auxiliary variables and clauses. Every input assignment meeting the comparison has exactly one auxiliary extension; every other input has none. A fixed number of such comparisons still costs variables, with the constant also depending on their number.
Proof. Handle and targets outside the attainable range directly. For , take
Expand each weight in base : , . The number of digit positions is . At each position , group the literals by their common nonzero digit , and compute the group population count
Then
A group of literals has a population-count circuit with fan-in-two gates, by the balanced addition argument of Lemma 3.3. At a given digit position the groups are disjoint and contain at most literals in total, so all group counts cost gates. Each has bits. Multiplication by the known digit is implemented by summing at most shifted copies, each of bits, at cost gates. Across all positions there are at most nonempty groups, so this stage costs
The bound is asymptotic with a fixed constant; the finitely many smaller sizes are absorbed into that constant, not omitted from the algorithm.
Multiplication by changes wiring only. All nonnegative partial sums in (40) have bits because the total is at most . Adding the group contributions and comparing with takes further gates. The digit lists and the circuit are constructible in polynomial bit time, including reading the target.
Use fan-in-two AND, OR, XOR, and unary NOT gates. Introduce one output variable per gate and encode its full truth table by a constant number of clauses of width at most three; pin the comparison output to true. A fixed input determines all gate values in topological order, proving the unique-extension property. A fixed number of tests uses disjoint gate variables and adds only a constant multiple of the size.
Corollary A.2 (Polynomially bounded weight budgets). Suppose an encoding covered by Proposition 4.3 has parameter , base variables, and predicates. A fixed number of additional integer-weight tests on its base variables, with nonnegative coefficients at most for fixed , can be imposed without changing the poly time form or polynomial space. Each test instance uses at most two counting queries; all count-preservation guarantees of the source encoding remain valid.
Proof. The transfer hypothesis has , so coefficients at most are also at most . Use Lemma A.1 on the existing variables and put the resulting functional gate clauses into . This adds variables and clauses and changes its width only to at most . The predicates are unchanged. Apply the shared transfer. Functional gates preserve multiplicities; they do not remove nonunique source certificates.
The same argument permits a complete joint distribution for a fixed number of such weights, since each total ranges over only polynomially many integers. This uses polynomially many pairs of queries, and its output is polynomial in size; it is not a two-query guarantee for the full coefficient table. We do not use sign-weighted model counting or a randomized connectivity test in this paper. The distinction from separate monomial-interpolation and connected-domination constructions [PIC26] is substantive: only the ordinary, functional weight tests above are needed here, and no general best-possible running-time claim for weighted counting is made.
A.2 One-query bounded-demand equations
The main proof of Theorem 5.4 uses a path so that its variable budget remains explicitly at most 2r. The following alternative uses the arithmetic lemma to aggregate all deficits into a single test.
Proposition A.3 (Parsimonious bounded-demand encoding). Under the hypotheses of Theorem 5.4, the exact count can also be obtained from one ordinary CNF counting query of width , with variables and clauses. Every satisfying assignment of the original system has exactly one auxiliary extension. The same time form and polynomial-space bound follow.
Proof. Perform the same normalization, coefficient capping, and row selection as in that theorem. Retain the upper-bound CNF (23) for the selected rows, but omit their lower predicates. For any assignment satisfying this CNF, each deficit is nonnegative. Hence all exact equations hold if and only if
Indeed, this equality sets the sum of nonnegative deficits to zero.
Collect the coefficients of each original variable on the left. If its positive- and negative-literal totals are , write the contribution as , and move the constant to the right. Since each capped coefficient is at most and each row uses a variable at most once,
Thus Lemma A.1, with constants depending on , supplies a functional 3-CNF test of (41) using auxiliary variables. A target outside the attainable range gives count zero. Conjoining it with the upper-bound clauses yields width max{3, d + 1} and exactly the original count. Its size is polynomial for fixed d. Apply the imported fixed-width counter; handle the no-row and bounded-size cases directly. □
For , this alternative has width three, whereas the main path implementation has width four and an explicit variable cap. One query and smaller width do not by themselves imply a smaller running-time constant, since the arithmetic construction has a different hidden variable constant. The two bounds should therefore be compared as stated rather than one being described as uniformly superior.
B Further compact graph encodings
These applications complete Corollary 8.1. They use the same path identity and existing local characterizations. They are collected here to keep the main text focused on structural representations rather than a list of problem-specific consequences. As in Section 8, denotes the size-test gate count, and negative variable formulas are never used for the empty input.
B.1 Independent Dominating Set
Independent Dominating Set asks for an independent dominating set of size at most , equivalently a maximal independent set of size at most . This is not the problem of finding a large independent set. Dedicated exact algorithms include [BDCEP13].
Proposition B.1 (Independent Dominating Set). Given a graph and integer , deciding whether has an independent dominating set of size at most reduces to at most two ordinary 3-CNF counting queries. Each constructed query has variables and clauses.
Proof. Use for selection and let be the functional cardinality encoding. Put
The bounded-width part imposes independence and size; the clauses impose domination. Thus the encoding is satisfiable precisely for the desired sets. It has base variables and wide clauses, whose total length is . Lemma 4.2 gives and . Proposition 4.3 applies. Negative thresholds give NO; for , a maximal independent set witnesses YES. The empty graph is tested directly. □
B.2 Dominating Induced Matching
Dominating Induced Matching, also called Efficient Edge Domination, requires each edge to be dominated by exactly one matching edge, counting a matching edge as dominating itself. Its characterization as a partition into an independent set and an induced 1-regular graph is used in [XN15].
Corollary B.2 (Dominating Induced Matching). Deciding whether a graph has a matching that dominates each edge exactly once reduces to at most two ordinary 3-CNF counting queries, each with variables and clauses.
Proof. Take the 1-regular selected-set encoding of Proposition 7.4 without a cardinality test, and add for each edge . The complement of the selected set is then independent. Each edge inside the selected set is one of its matching edges. Every other edge has exactly one selected endpoint and is incident with precisely that endpoint's matching edge. Conversely, for a dominating induced matching, its endpoints induce exactly its edges, and no edge can have both endpoints outside that set. Thus the characterization is exact. The added clauses are binary, so , , and , giving . An edgeless graph admits the empty matching, consistently with the encoding.
B.3 Directed absorption: kernels in digraphs
A kernel of a loopless digraph is a set with no arc between its members such that every vertex outside has an outgoing arc into . We use this absorbing convention; reversing all arcs converts the opposite one. Unlike the analogous undirected condition, a kernel need not exist. Its connections with SAT, including the following source CNF, are studied in [WD12].
Proposition B.3 (Kernel in a Digraph). For a loopless digraph, deciding whether an independent set absorbs every outside vertex through an arc directed into the set reduces to at most two ordinary 3-CNF counting queries, each with variables and clauses.
Proof. Use for membership in S and form the known encoding
The binary clauses say exactly that is independent. If , its coverage clause requires an outgoing neighbor in ; if , the same clause is automatic. Thus satisfying assignments correspond exactly to kernels. For , there are variables, wide clauses, and total clause length. Lemma 4.2 gives and , and Proposition 4.3 applies. The empty digraph has the empty kernel.