Source
ThreeDimensionalMatching
Target
ExactCoverBy3Sets
Motivation
The tagged-disjoint-union construction exposes the direct equivalence between perfect 3-dimensional matching and exact cover by 3-sets. It adds a missing decision-to-decision connection between two canonical set problems with identity solution extraction.
Reference
Karp, “Reducibility Among Combinatorial Problems,” 1972; Garey and Johnson, Computers and Intractability, 1979, Appendix A (3-Dimensional Matching and Exact Cover by 3-Sets definitions). The direction below follows directly from the definitions.
Reduction Algorithm
Let the source contain three coordinate domains W=X=Y={0,...,q-1} and triples M=(t_0,...,t_{r-1}).
- Create target universe
{0,...,3q-1}, interpreted as the tagged disjoint union W union X union Y.
- Map source triple
(w,x,y) to target subset {w, q+x, 2q+y}.
- Keep the configuration vector unchanged: selecting a target subset selects the corresponding source triple.
Every target subset has three distinct tagged elements even when w=x numerically. Selecting q pairwise disjoint target subsets covers all 3q elements iff the corresponding triples use every coordinate in each domain exactly once.
Size Overhead
| Target metric |
Formula |
universe_size |
3 * universe_size |
num_subsets |
num_triples |
num_sets |
num_triples |
Validation Method
- Exhaust every family of triples for
q=2 and compare witness configurations exactly.
- Test duplicate triples, empty
q=0, unused coordinates, and triples with equal numeric coordinates across domains.
- Verify identity extraction and target tagging.
Example
- Source instance:
q=3, triples [(0,0,0),(1,1,1),(2,2,2),(0,1,2),(1,2,0)].
- Construction: target universe
{0,...,8} and subsets {0,3,6}, {1,4,7}, {2,5,8}, {0,4,8}, {1,5,6}.
- Target instance: X3C with five candidate subsets and exact-cover size 3.
- Round trip: selecting the first three subsets covers every target element exactly once and maps to the diagonal perfect matching. The two cross triples are mutually disjoint, but no available third triple covers the remaining tagged coordinates without overlap, so this partial matching cannot be extended to an exact cover.
BibTeX
@incollection{Karp1972,
author = {Karp, Richard M.},
title = {Reducibility Among Combinatorial Problems},
booktitle = {Complexity of Computer Computations},
pages = {85--103},
publisher = {Springer},
year = {1972},
doi = {10.1007/978-1-4684-2001-2_9}
}
Source
ThreeDimensionalMatching
Target
ExactCoverBy3Sets
Motivation
The tagged-disjoint-union construction exposes the direct equivalence between perfect 3-dimensional matching and exact cover by 3-sets. It adds a missing decision-to-decision connection between two canonical set problems with identity solution extraction.
Reference
Karp, “Reducibility Among Combinatorial Problems,” 1972; Garey and Johnson, Computers and Intractability, 1979, Appendix A (3-Dimensional Matching and Exact Cover by 3-Sets definitions). The direction below follows directly from the definitions.
Reduction Algorithm
Let the source contain three coordinate domains
W=X=Y={0,...,q-1}and triplesM=(t_0,...,t_{r-1}).{0,...,3q-1}, interpreted as the tagged disjoint unionW union X union Y.(w,x,y)to target subset{w, q+x, 2q+y}.Every target subset has three distinct tagged elements even when
w=xnumerically. Selectingqpairwise disjoint target subsets covers all3qelements iff the corresponding triples use every coordinate in each domain exactly once.Size Overhead
universe_size3 * universe_sizenum_subsetsnum_triplesnum_setsnum_triplesValidation Method
q=2and compare witness configurations exactly.q=0, unused coordinates, and triples with equal numeric coordinates across domains.Example
q=3, triples[(0,0,0),(1,1,1),(2,2,2),(0,1,2),(1,2,0)].{0,...,8}and subsets{0,3,6},{1,4,7},{2,5,8},{0,4,8},{1,5,6}.BibTeX