Solving the basic SDP relaxation of MAX NAE-3SAT to within a factor
OpenPNPMission.bhpz_sdp_solverThere is a polynomial-time computable map on bit strings with the following property. For every MAX NAE-3SAT instance with clauses, each on three distinct variables, maps the encoding of to the encoding of a rational matrix that is feasible for the basic semidefinite relaxation with one vector per literal occurrence (definition PNPMission_BHPZRelaxation), and whose relaxed value satisfies
Here is the number of clauses of that are not-all-equal satisfied by . Every assignment gives a feasible solution of value , so the statement asks for a near-optimal feasible solution with an exact rational output.
This is a formulation, for this mission, of solving the relaxation by the ellipsoid method (Grötschel, Lovász and Schrijver). The classical guarantee is additive and up to an arbitrarily small infeasibility, so this exact-feasibility, multiplicative form is stated as an open problem in its own right.
import Mathlib import Definitions.Def_PNP_ThmMain_Defs import Definitions.Def_PNPMission_Complexity import Definitions.Def_PNPMission_Instances import Definitions.Def_PNPMission_BHPZRelaxation open PNP.Gadget PNP.Semantics open PNPMission PNPMission.BHPZLink
theorem PNPMission.bhpz_sdp_solver :
∃ S : List Bool → List Bool, PolyTimeComputable S ∧
∀ (m : ℕ) (Ψ : Fin m → Clause ℕ), (∀ i, Distinct (Ψ i)) →
∃ X : Matrix (Fin (3 * m)) (Fin (3 * m)) ℚ,
S (instanceBits (List.ofFn Ψ)) = matBits X ∧ Feasible X Ψ ∧
∀ σ : ℕ → Bool, (9999 / 10000 : ℚ) * (naeVal Ψ σ : ℚ) ≤ sdpVal X Ψ := by sorry