3-dimensional matching: definition #
3-DIMENSIONAL MATCHING (Karp 1972): given three marked classes and a set of triples, one element from each class, is there a set of triples covering every marked element exactly once?
The vocabulary FirstOrder.Language.tripleSys carries three unary marks
xEl, yEl, zEl and one ternary relation trip. A yes-instance is one
admitting a matching (DescriptiveComplexity.IsMatchingOn): a sub-relation of
trip, inside the three classes, that covers each marked element exactly
once. Nothing asks the three classes to be disjoint or to exhaust the
universe: elements outside them ride along, and the reduction of
DescriptiveComplexity.Problems.ThreeDimMatching.Hardness produces disjoint ones
anyway.
Perfect matchings force the three classes to have the same size, which is why the problem is the tripartite form of Exact Cover with sets of size three, and why it is the natural source of the exact-cover family.
Relation symbols of the language of triple systems.
- xEl : tripleSysRel 1
xEl a:abelongs to the first class. - yEl : tripleSysRel 1
yEl a:abelongs to the second class. - zEl : tripleSysRel 1
zEl a:abelongs to the third class. - trip : tripleSysRel 3
trip a b c:(a, b, c)is one of the available triples.
Instances For
Dependency graph
Dependency graph
Equations
- One or more equations did not get rendered due to their size.
Instances For
Dependency graph
The relational language of triple systems: three marked classes and a ternary relation.
Equations
- FirstOrder.Language.tripleSys = { Functions := fun (x : ℕ) => Empty, Relations := FirstOrder.Language.tripleSysRel }
Instances For
Dependency graph
Dependency graph
The first-class symbol.
Instances For
Dependency graph
The second-class symbol.
Instances For
Dependency graph
The third-class symbol.
Instances For
Dependency graph
The triple symbol.
Instances For
Dependency graph
The shorthands of the vocabulary #
Belonging to the first class.
Equations
Instances For
Dependency graph
Belonging to the second class.
Equations
Instances For
Dependency graph
Belonging to the third class.
Equations
Instances For
Dependency graph
Being an available triple.
Equations
Instances For
Dependency graph
Matchings #
A matching: a set of triples, taken from T and lying in the three
classes, covering every marked element exactly once.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Dependency graph
The problem #
A triple system is a yes-instance when some subset of its triples covers each marked element exactly once.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Dependency graph
Having a 3-dimensional matching is isomorphism-invariant.
Dependency graph
3-DIMENSIONAL MATCHING, as a problem on triple systems: do some of the triples cover every marked element exactly once?
Equations
- One or more equations did not get rendered due to their size.