Lukas' Notes

Definition

MaxE3SAT to Max2SAT

There is a linear reduction from MaxE3SAT to Max2SAT with constants

It replaces each source clause with ten clauses and one fresh auxiliary variable. The target optimum grows by a fixed baseline of six satisfied clauses per source clause, while the backward solution conversion does not increase absolute error.

Construction

Let have variables and clauses , each containing three literals on distinct variables. We construct a formula whose clauses have at most two literals. This construction transforms one Boolean formula into another. Here is a new Boolean variable in the target formula.

Replace one clause by ten clauses

For , where denote literals, introduce a fresh Boolean variable that does not occur in . The index identifies its group: gets , gets , and so on. A source assignment specifies only the variables in ; a target assignment must also choose the values of the new variables.

Replace by the following ten clauses:

GroupClausesWhat satisfies them?
Three original unit clausesEach true original literal contributes one.
Three complemented pairsA pair fails only if both original literals are true.
One auxiliary unit clauseSetting contributes one.
Three auxiliary pairsIf , all three are true; if , they copy .

Negation here complements a literal: if , then . Thus the construction also handles negative source literals.

The variable occurs only in this group. Original variables retain their identities across all groups; a truth assignment cannot choose a different value for the same original variable in different clauses.

Count the contribution of the group

Fix the values of , and let count how many are true. The group score counts satisfied target clauses, not true literals.

First count the six clauses without . The three unit clauses contribute : each true original literal satisfies its own unit clause.

The other three clauses are

Inspect the first one. An OR is false only when both sides are false. Thus is false exactly when . Each of these three clauses therefore fails when its corresponding pair of original literals is both true:

Original pairTarget clause that fails if both are true

We can count the failures directly, without a combinatorial formula:

True original literalsPairs whose two literals are trueFailed pair clausesSatisfied pair clauses
NoneNone
Only None: a pair needs two literals
Only

Choosing another single true literal or another two true literals gives the same counts; all three pairs are present. For example, with , the three target clauses evaluate to , , and : one is false and two are true.

The notation , read “ choose two”, is just a short name for the number of unordered pairs among the true literals. “Unordered” means that and count as the same pair. For the four possibilities here,

For , we can also obtain this count as : choose a first literal in ways and a different second literal in ways, then divide by two because each pair was counted in both orders. With fewer than two true literals, there is no pair to choose.

Consequently the satisfied pair clauses contribute

The four clauses containing give us a choice:

  • If , the unit clause is false, but makes all three auxiliary pairs true: a contribution of .
  • If , the unit clause is true, while the auxiliary pairs have the truth values of : a contribution of .

The group scores are therefore

True original literals Original clause true?Score if Score if Best score
No
Yes
Yes
Yes

Compare the two score columns and keep the better value of ; either value is suitable in a tie. The best score is exactly

Thus every satisfied source clause can contribute seven target points, regardless of whether one, two, or three of its literals are true. An unsatisfied source clause can contribute only six.

The variable is therefore a scoring choice, not an indicator that is satisfied. For example, when only is true, is satisfied but the best choice is . Its role is determined by the clauses above; there is no separate equation defining it from .

Assemble the target instance

Apply the replacement separately to every source clause. The resulting formula has variables and clause occurrences.

Keep repeated clauses as separate occurrences: the objective counts them separately. All target clauses have length one or two, so is a Max2SAT instance.

Converting Solutions and Optima

Write and .

The target optimum is

Extend a source assignment

Suppose a source assignment satisfies clauses. Construct a target assignment by retaining for every . For each group, count the satisfied target clauses with and with , and keep the better choice, as in the table above.

Each occurs only in its own group, so these choices cannot interfere. Two local counts per group suffice; we do not search over all auxiliary assignments or change the original assignment .

In the picture, and . The first two source clauses are true and the third is false, so and . The local choices are:

Fixed literal values in the source clauseGroup score with Group score with Value to keep
:
:
:

The resulting target assignment satisfies

clauses. Extending an optimal source assignment gives .

Restrict any target assignment

Given any target assignment , discard the auxiliary values and retain . Let be the number of source clauses satisfied by , and let be the target value of .

Each group contributes at most or , according to whether its source clause is false or true. Hence

This holds for an optimal target assignment too, so . Combining the two bounds yields .

An arbitrary target assignment need not have value : the table includes scores and even when a better auxiliary choice exists. We can normalise the assignment by changing only the , increasing its value to . The backward conversion itself needs only the restriction ; the inequality above already covers unnormalised assignments.

The Two L-Reduction Bounds

Bound the target optimum:

A uniformly random source assignment satisfies each three-variable clause with probability . Its expected value is , so some source assignment has at least that value. Consequently,

Substitute this bound on into the target optimum:

This controls the added baseline relative to the source optimum.

Bound the error after restriction:

For every target assignment of value , its restricted source assignment has value with . Rearranging gives

Both errors are non-negative because these are maximisation problems. Thus

Restriction does not increase absolute error. After normalising the auxiliary values, the two errors are exactly equal.

Transferring Inapproximability

The aim is to show that a sufficiently good Max2SAT approximation would give a MaxE3SAT approximation that is known to be impossible unless . The following summary is enough to follow the argument without reconstructing the ten-clause gadget.

What we need from the construction

Start with a MaxE3SAT formula containing clauses. The reduction builds a Max2SAT formula in polynomial time. Convert a target assignment back to a source assignment by discarding the auxiliary-variable values and retaining the original-variable values.

SymbolMeaning
Largest number of source clauses any assignment can satisfy
Largest number of target clauses any assignment can satisfy
Number of target clauses satisfied by the returned target assignment
Number of source clauses satisfied after converting that assignment back
Hypothetical target approximation ratio: on every instance, with

The construction above establishes two bounds:

The target optimum is not too large

The gadget gives . Some source assignment satisfies at least clauses, so . Hence

We need only the final bound: the target optimum is at most times the source optimum.

Converting back does not increase the missing value

For every target assignment, even one with poor auxiliary choices,

These are shortfalls from the respective optima, not counts of all unsatisfied clauses. This bound is why a good target solution gives a good source solution.

Neither the reduction nor the approximation algorithm needs to know or . They are reference values used in the proof.

The scales depict the hypothetical case . The source error bound stays below , so converting the target algorithm would guarantee more than of the source optimum on every instance—not merely on one lucky assignment.

What a target approximation would give us

Suppose a polynomial-time Max2SAT algorithm guarantees ratio . We could approximate a source instance by constructing , running that algorithm, and discarding the auxiliary values of its returned assignment. All three operations take polynomial time.

First express the target guarantee as a bound on the missing value:

For example, permits a shortfall of at most of the target optimum. Apply the two construction bounds:

Subtract this allowed shortfall from the source optimum :

For , the source ratio is approximately . The target’s allowed relative shortfall has become at most on the source side.

When this contradicts known hardness

The separate inapproximability theorem for MaxE3SAT says: unless , no polynomial-time algorithm guarantees a fixed ratio strictly greater than on every MaxE3SAT instance. This is the hardness result we start from; the gadget itself does not prove it.

Our hypothetical target algorithm would contradict that theorem whenever its induced source ratio exceeds :

Therefore, unless , Max2SAT has no polynomial-time approximation algorithm with a fixed ratio greater than . In particular, a -approximation would be too good: it would yield the forbidden source ratio .

This applies inapproximability transfer under L-reductions with and . It is the bound obtained by this reduction, not necessarily the strongest known Max2SAT bound. The boundary ratio itself is not excluded: it yields exactly for the source, which the stated hardness theorem permits.

Running Time

The instance conversion writes ten clauses and introduces one variable per source clause, producing variables and clauses. It uses operations on variable identifiers; the bit encoding also has polynomial size. Restricting a target assignment takes operations, and optional auxiliary normalisation takes more.

Both conversions are polynomial-time. Neither conversion solves the target optimisation problem.

Example

A poor auxiliary choice is not a poor source assignment

Take the single source clause and set . The source clause is satisfied, so the source value is .

With , the target group has true original units, true complemented pairs, true auxiliary units, and true auxiliary pairs: its value is . Since , its target error is .

Restriction already gives an optimal source solution, with error . Changing only to raises the target score to and makes both errors zero. This is why the L-reduction requires an error inequality for every target assignment, not equality before normalisation.