arXiv Science⌕ Search

arXiv · cs/0604113

One-in-Two-Matching Problem is NP-complete

Abstract

2-dimensional Matching Problem, which requires to find a matching of left- to right-vertices in a balanced $2n$-vertex bipartite graph, is a well-known polynomial problem, while various variants, like the 3-dimensional analogoue (3DM, with triangles on a tripartite graph), or the Hamiltonian Circuit Problem (HC, a restriction to ``unicyclic'' matchings) are among the main examples of NP-hard problems, since the first Karp reduction series of 1972. The same holds for the weighted variants of these problems, the Linear Assignment Problem being polynomial, and the Numerical 3-Dimensional Matching and Travelling Salesman Problem being NP-complete. In this paper we show that a small modification of the 2-dimensional Matching and Assignment Problems in which for each $i \leq n/2$ it is required that either $π(2i-1)=2i-1$ or $π(2i)=2i$, is a NP-complete problem. The proof is by linear reduction from SAT (or NAE-SAT), with the size $n$ of the Matching Problem being four times the number of edges in the factor graph representation of the boolean problem. As a corollary, in combination with the simple linear reduction of One-in-Two Matching to 3-Dimensional Matching, we show that SAT can be linearly reduced to 3DM, while the original Karp reduction was only cubic.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Sergio Caracciolo, Davide Fichera, Andrea Sportiello. 2006-04-28. One-in-Two-Matching Problem is NP-complete. https://arxiv.science/abs/cs/0604113

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite arXiv Science by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

Polynomial-Time Mistake-Bounded Language Generation

In this paper, we introduce a polynomial-time version of the mistake-bounded language generation (MBLG) framework due to Kleinberg, Peale, and Reingold (2026). We obtain upper and lower bounds for several simple families of Boolean functions in our setting. Namely, we first observe that families of parities of variables, symmetric functions, and 2CNFs are polynomial-time MBLG. We then show that the family of monotone functions with polynomially many maxterms is polynomial-time MBLG. For instance, disjunctions of literals are monotone Boolean functions with 1 maxterm, and thus polynomial-time MBLG. Under the existence of one-way functions, we show that disjunctions of literals are not polynomial-time MBLG. From the latter result, we deduce that polynomial-time MBLG families are not closed under union, and that there are families that are polynomial-time PAC learnable but not polynomial-time MBLG (again, under the existence of one-way functions). Finally, assuming the existence of injective one-way functions, we show that there are polynomial-time MBLG families that are not polynomial-time PAC learnable.

cs.CC↗

Average-Case Shellsort: Pass-Comparison Tradeoffs and Deterministic Construction

We study ordinary Shellsort with an input-independent decreasing gap table, charging all key comparisons. Let $A_p(n)$ be its minimum uniform-permutation mean among tables of at most $p$ passes. We construct an explicitly sampleable distribution showing, for an absolute constant $C$ and all $n\ge2$, $p\ge1$, \[ A_p(n)\le Cnp \bigl(n^3\lceil\log_2(2n)\rceil\bigr)^{1/(p+3/2)}. \] The construction combines prime gaps that reduce uncertainty on the original random input with a coprime suffix valid for each entrance state. A second-moment interface joins the phases without resampling their intermediate chains. A Frobenius bound pays the final insertion pass. In particular, at $p=\lfloor c\log n\rfloor$ the limiting mean coefficient is $O(ce^{3/c})$ for $0<c\le1$, compared with the classical $Ω(ce^{1/c})$ lower bound. We also give a pointwise randomized-table bound $2^{58}np\,n^{4/(p+1/2)}$ for every fixed input. Separately, we approximate the complete mean of any legal table to additive error one deterministically in $\exp(n^{2/3+o(1)})$ time and polynomial space. The reduction uses coupled Boolean evaluations and the comparator-circuit pseudorandom generator of Cavalar and Lu. Enumerating our support then deterministically selects a table meeting the mean upper bound, up to additive two, when $p=O(\log n)$. Our companion manuscript independently establishes unrestricted average order $Θ(n\log n)$ and a subexponential deterministic construction; Du and Wan independently obtain the same optimal average order. The results here refine the pass-dependent bounds and improve the deterministic preprocessing guarantee. They do not determine the optimal general exponent or give a polynomial-time deterministic construction.

cs.CC↗

Feasible Proofs of the Lovász Local Lemma

We study feasible proofs of the Lovász Local Lemma (LLL) in the framework of Bounded Arithmetic. Our main result resolves an open problem of Lê by formalising the Moser-Tardos theorem in the theory $\mathsf{APC}_1$, under the standard LLL condition, for instances in which the conditional probabilities of the bad events can be computed efficiently, such as those arising from $k$-CNF formulas. For such instances, our proof moreover yields a deterministic polynomial-time many-one reduction of the LLL good-assignment search problem to a single instance of $\mathsf{LossyCode}$. For bad events given only by their indicator circuits, we formalise the general Moser-Tardos theorem in $\mathsf{APC}_2$, using Jeřábek's approximate counting by hashing. We also formalise several variants of the LLL under stronger hypotheses or in more restricted settings within weaker theories. In $\mathsf{PV}_1$, we formalise the Chandrasekaran-Goyal-Haeupler algorithm under constant exponent slack, as well as the deterministic Moser-Tardos construction for fixed dependency degree and fixed multiplicative slack. In $\mathsf{VNC}^2$, we formalise the Haeupler-Harris parallel construction with a single maximal-independent-set computation in the symmetric atomic-event setting. Together, these results give a proof-theoretic comparison of randomised, deterministic, and parallel forms of the LLL, and show how slack and algorithmic structure affect the strength of the theory needed to prove them.

cs.CC↗