Reduce the
SAT problem to the
3-DIMENSIONAL MATCHING problem.
These problems are defined as follows:
- SAT: given a boolean formula F in conjunctive normal form, is F
satisfiable?
More formally, this problem can be defined as the following set:
{F=C1∧…∧Cn∣F satisfiable}
- 3-DIMENSIONAL MATCHING: given three finite sets S1,S2,S3 and a
ternary relation R on those sets, is there a subrelation S of R such that
each element of S1,S2,S3 occurs exactly once in S?
More formally, this problem can be defined as the following set:
{⟨S1,S2,S3,R⟩∣S1,S2,S3 finite sets∧∣S1∣=∣S2∣=∣S3∣∧R⊆(S1×S2×S3)∧∃S⊆R:(∀i∈{1,2,3}:∀e∈Si:∃!⟨e1,e2,e3⟩∈S:ei=e)}
The input and output of the reduction conform to the following data types: