Article · Wikipedia archive · Last revised Jun 5, 2026

L-reduction

In computer science, particularly the study of approximation algorithms, an L-reduction is a transformation of optimization problems which linearly preserves approximability features; it is one type of approximation-preserving reduction. L-reductions in studies of approximability of optimization problems play a similar role to that of polynomial reductions in the studies of computational complexity of decision problems.

Last revised
Jun 5, 2026
Read time
≈ 7 min
Length
1,627 w
Citations
5
Source

In computer science, particularly the study of approximation algorithms, an L-reduction ("linear reduction") is a transformation of optimization problems which linearly preserves approximability features; it is one type of approximation-preserving reduction. L-reductions in studies of approximability of optimization problems play a similar role to that of polynomial reductions in the studies of computational complexity of decision problems.

The term L reduction is sometimes used to refer to log-space reductions, by analogy with the complexity class L, but this is a different concept.

Definition

Travelling salesman problem. The instance is a finite set of cities and the distances between them. A solution is a tour that visits all the cities. source ↗

Before giving the definition, we recall some concepts of optimization problems, illustrated with the travelling salesman problem (TSP). First an instance is the input of the problem, i.e. the information we need to compute a solution. An instance for TSP is a finite set of cities and the distances between them. A solution is a tour that visits all the cities. In the case of TSP, the cost of a solution is the length of the tour. We write O P T T S P ( x ) {\displaystyle \mathrm {OPT_{TSP}} (x)} to be the cost of an optimal solution, i.e. the length of a shortest tour. Let A and B be optimization problems and cA and cB their respective cost functions.

A pair of functions f and g is an L-reduction if all of the following conditions are met:

  • functions f and g are computable in polynomial time,
  • if x is an instance of problem A, then f(x) is an instance of problem B,
  • if y' is a solution to f(x), then g(y' ) is a solution to x,
  • there exists a positive constant α such that
O P T B ( f ( x ) ) α O P T A ( x ) {\displaystyle \mathrm {OPT_{B}} (f(x))\leq \alpha \mathrm {OPT_{A}} (x)} ,
  • there exists a positive constant β such that for every solution y' to f(x)
| O P T A ( x ) c A ( g ( y ) ) | β | O P T B ( f ( x ) ) c B ( y ) | {\displaystyle |\mathrm {OPT_{A}} (x)-c_{A}(g(y'))|\leq \beta |\mathrm {OPT_{B}} (f(x))-c_{B}(y')|} .

Example

Here is a L-reduction from MAX 3-SAT to MAX 2-SAT.1 Consider a MAX 3-SAT instance φ := i = 1 m ( i 1 i 2 i 3 ) {\displaystyle \varphi :=\bigwedge _{i=1}^{m}(\ell _{i}^{1}\lor \ell _{i}^{2}\lor \ell _{i}^{3})} where i 1 {\displaystyle \ell _{i}^{1}} , i 2 {\displaystyle \ell _{i}^{2}} and i 3 {\displaystyle \ell _{i}^{3}} are literals. The function f {\displaystyle f} of our L-reduction is defined as follows. The MAX 2-SAT instance f ( φ ) {\displaystyle f(\varphi )} is the formula:

f ( φ ) := i = 1 m ( i 1 i 2 i 3 i 4 ( ¯ i 1 ¯ i 2 ) ( ¯ i 1 ¯ i 3 ) ( ¯ i 2 ¯ i 3 ) ( i 1 ¯ i 3 ) ( i 2 ¯ i 4 ) ( ¯ i 3 ¯ i 4 ) {\displaystyle f(\varphi ):=\bigwedge _{i=1}^{m}(\ell _{i}^{1}\land \ell _{i}^{2}\land \ell _{i}^{3}\land \ell _{i}^{4}\land ({\bar {\ell }}_{i}^{1}\lor {\bar {\ell }}_{i}^{2})\land ({\bar {\ell }}_{i}^{1}\lor {\bar {\ell }}_{i}^{3})\land ({\bar {\ell }}_{i}^{2}\lor {\bar {\ell }}_{i}^{3})\land (\ell _{i}^{1}\lor {\bar {\ell }}_{i}^{3})\land (\ell _{i}^{2}\lor {\bar {\ell }}_{i}^{4})\land ({\bar {\ell }}_{i}^{3}\lor {\bar {\ell }}_{i}^{4})} where i 4 {\displaystyle \ell _{i}^{4}} is a new variable.

The function g {\displaystyle g} of our L-reduction is defined as follows. Given an assignment ν {\displaystyle \nu } for f ( φ ) {\displaystyle f(\varphi )} , we define g ( ν ) {\displaystyle g(\nu )} to be the assignment ν {\displaystyle \nu } restricted to variables in φ {\displaystyle \varphi } (i.e. we just ignore the truths of the variables i 4 {\displaystyle \ell _{i}^{4}} ). We can prove that:

  • O P T M A X 2 S A T ( f ( φ ) ) 13 O P T M A X 3 S A T ( φ ) {\displaystyle \mathrm {OPT_{MAX-2SAT}} (f(\varphi ))\leq 13\mathrm {OPT_{MAX-3SAT}} (\varphi )} ;
  • | O P T M A X 3 S A T ( ϕ ) c M A X 3 S A T ( g ( ν ) ) | | O P T M A X 2 S A T ( f ( ϕ ) ) c M A X 2 S A T ( y ) | {\displaystyle |\mathrm {OPT_{MAX3SAT}} (\phi )-c_{MAX3SAT}(g(\nu '))|\leq |\mathrm {OPT_{MAX-2SAT}} (f(\phi ))-c_{MAX-2SAT}(y')|} .

Properties

Implication of PTAS reduction

An L-reduction from problem A to problem B implies an AP-reduction when A and B are minimization problems and a PTAS reduction when A and B are maximization problems. In both cases, when B has a PTAS and there is an L-reduction from A to B, then A also has a PTAS.23 This enables the use of L-reduction as a replacement for showing the existence of a PTAS-reduction; Crescenzi has suggested that the more natural formulation of L-reduction is actually more useful in many cases due to ease of usage.4

Proof (minimization case)

Let the approximation ratio of B be 1 + δ {\displaystyle 1+\delta } . Begin with the approximation ratio of A, c A ( y ) O P T A ( x ) {\displaystyle {\frac {c_{A}(y)}{\mathrm {OPT} _{A}(x)}}} . We can remove absolute values around the third condition of the L-reduction definition since we know A and B are minimization problems. Substitute that condition to obtain

c A ( y ) O P T A ( x ) O P T A ( x ) + β ( c B ( y ) O P T B ( x ) ) O P T A ( x ) {\displaystyle {\frac {c_{A}(y)}{\mathrm {OPT} _{A}(x)}}\leq {\frac {\mathrm {OPT} _{A}(x)+\beta (c_{B}(y')-\mathrm {OPT} _{B}(x'))}{\mathrm {OPT} _{A}(x)}}}

Simplifying, and substituting the first condition, we have

c A ( y ) O P T A ( x ) 1 + α β ( c B ( y ) O P T B ( x ) O P T B ( x ) ) {\displaystyle {\frac {c_{A}(y)}{\mathrm {OPT} _{A}(x)}}\leq 1+\alpha \beta \left({\frac {c_{B}(y')-\mathrm {OPT} _{B}(x')}{\mathrm {OPT} _{B}(x')}}\right)}

But the term in parentheses on the right-hand side actually equals δ {\displaystyle \delta } . Thus, the approximation ratio of A is 1 + α β δ {\displaystyle 1+\alpha \beta \delta } .

This meets the conditions for AP-reduction.

Proof (maximization case)

Let the approximation ratio of B be 1 1 δ {\displaystyle {\frac {1}{1-\delta '}}} . Begin with the approximation ratio of A, c A ( y ) O P T A ( x ) {\displaystyle {\frac {c_{A}(y)}{\mathrm {OPT} _{A}(x)}}} . We can remove absolute values around the third condition of the L-reduction definition since we know A and B are maximization problems. Substitute that condition to obtain

c A ( y ) O P T A ( x ) O P T A ( x ) β ( c B ( y ) O P T B ( x ) ) O P T A ( x ) {\displaystyle {\frac {c_{A}(y)}{\mathrm {OPT} _{A}(x)}}\geq {\frac {\mathrm {OPT} _{A}(x)-\beta (c_{B}(y')-\mathrm {OPT} _{B}(x'))}{\mathrm {OPT} _{A}(x)}}}

Simplifying, and substituting the first condition, we have

c A ( y ) O P T A ( x ) 1 α β ( c B ( y ) O P T B ( x ) O P T B ( x ) ) {\displaystyle {\frac {c_{A}(y)}{\mathrm {OPT} _{A}(x)}}\geq 1-\alpha \beta \left({\frac {c_{B}(y')-\mathrm {OPT} _{B}(x')}{\mathrm {OPT} _{B}(x')}}\right)}

But the term in parentheses on the right-hand side actually equals δ {\displaystyle \delta '} . Thus, the approximation ratio of A is 1 1 α β δ {\displaystyle {\frac {1}{1-\alpha \beta \delta '}}} .

If 1 1 α β δ = 1 + ϵ {\displaystyle {\frac {1}{1-\alpha \beta \delta '}}=1+\epsilon } , then 1 1 δ = 1 + ϵ α β ( 1 + ϵ ) ϵ {\displaystyle {\frac {1}{1-\delta '}}=1+{\frac {\epsilon }{\alpha \beta (1+\epsilon )-\epsilon }}} , which meets the requirements for PTAS reduction but not AP-reduction.

Other properties

L-reductions also imply P-reduction.4 One may deduce that L-reductions imply PTAS reductions from this fact and the fact that P-reductions imply PTAS reductions.

L-reductions preserve membership in APX for the minimizing case only, as a result of implying AP-reductions.

Examples

See also

See also

References

References

  1. Ausiello, Giorgio; Paschos, Vangelis (September 2005). Approximability preserving reduction.
  2. Kann, Viggo (1992). On the Approximability of NP-complete \mathrm{OPT}imization Problems. Royal Institute of Technology, Sweden. ISBN 978-91-7170-082-7.
  3. Christos H. Papadimitriou; Mihalis Yannakakis (1988). "\mathrm{OPT}imization, Approximation, and Complexity Classes". STOC '88: Proceedings of the twentieth annual ACM Symposium on Theory of Computing. doi:10.1145/62212.62233.
  4. Crescenzi, Pierluigi (1997). "A short guide to approximation preserving reductions". Proceedings of Computational Complexity. Twelfth Annual IEEE Conference. Washington, D.C.: IEEE Computer Society. pp. 262–. doi:10.1109/CCC.1997.612321. ISBN 9780818679070. S2CID 18911241.
  • G. Ausiello, P. Crescenzi, G. Gambosi, V. Kann, A. Marchetti-Spaccamela, M. Protasi. Complexity and Approximation. Combinatorial optimization problems and their approximability properties. 1999, Springer. ISBN 3-540-65431-3