Papadimitriou–Yannakakis bounded-degree reduction to 3CNF-5
OpenSetCoverThreshold.SetCover.exists_formula5_reductionPapadimitriou–Yannakakis degree reduction from 3CNF- to 3CNF-5 (Formula5), preserving satisfiability and the constant-factor unsatisfiability gap in polynomial time: for any variable bound and unsatisfiability gap , there exists and a polynomial-time reduction mapping 3CNF- formulas to 3CNF-5 formulas such that satisfiable formulas remain satisfiable, and formulas where at most a fraction of clauses can be satisfied are mapped to formulas where at most a fraction can be satisfied (Papadimitriou and Yannakakis 1991; Feige 1998, Proposition 2.1.2).
Preamble
import Mathlib import Definitions.Def_CookPvsNP_defs import Definitions.Def_SetCoverThreshold_SetCover_Complexity import Definitions.Def_SetCoverThreshold_SetCover_Formula
Formal statement
namespace SetCoverThreshold.SetCover
/-- Papadimitriou–Yannakakis degree reduction from 3CNF-`B` to 3CNF-5 (`Formula5`),
preserving satisfiability and the constant-factor unsatisfiability gap in polynomial time. -/
theorem exists_formula5_reduction (B : ℕ) (ε₀ : ℝ) (hε₀ : 0 < ε₀) :
∃ (ε : ℝ) (g : CookPvsNP.CNF → Formula5)
(g_enc : List CookPvsNP.SatSym → List CookPvsNP.SatSym),
0 < ε ∧
CookPvsNP.PolyTimeComputable g_enc ∧
(∀ F, (Is3CNFB B F ∧ F.Satisfiable) ∨ (Is3CNFB B F ∧ AtMostFracSat (1 - ε₀) F) →
CookPvsNP.encodeCNF (g F).toCNF = g_enc (CookPvsNP.encodeCNF F)) ∧
(∀ F, Is3CNFB B F ∧ F.Satisfiable → (g F).toCNF.Satisfiable) ∧
(∀ F, Is3CNFB B F ∧ AtMostFracSat (1 - ε₀) F → AtMostFracSat (1 - ε) (g F).toCNF) := by
sorry
end SetCoverThreshold.SetCoverSource
Papadimitriou and Yannakakis 1991; Feige 1998, A Threshold of ln n for Approximating Set Cover, J. ACM 45(4): 634–652, Proposition 2.1.2