Documentation

CslibFrontier.Computability.Complexity.Problems.XSAT

The promise problem xSAT #

Cslib.Complexity.xSAT is the promise problem of Goldreich, Exercise 2.36 (following Even, Selman and Yacobi): its instances are pairs (φ₁, φ₂) of CNF formulas, the yes-instances those with φ₁ satisfiable and φ₂ unsatisfiable, and the no-instances those with φ₁ unsatisfiable and φ₂ satisfiable. It lies in the promise versions of both NP and coNP (Cslib.Complexity.xSAT_mem_PromiseNP_inter_promiseClass_coNP, Part 1 of the exercise): the NP set {(φ₁, φ₂) | φ₁ ∈ SAT} and the coNP set {(φ₁, φ₂) | φ₂ ∈ UNSAT} each contain the yes-instances and avoid the no-instances. Part 2 of the exercise, that every promise problem in PromiseNP is Cook-reducible to xSAT, is not formalized here.

Main definitions #

Main results #

References #

The promise problem xSAT Goldreich, Exercise 2.36: pairs of CNF formulas, with yes-instances (φ₁, φ₂) where φ₁ is satisfiable and φ₂ is not, and no-instances where φ₁ is unsatisfiable and φ₂ is satisfiable.

xSAT is in promise-NP ∩ promise-coNP Goldreich, Exercise 2.36(1), for the pair encoding of CNF formulas: the NP set of pairs with a satisfiable first formula and the coNP set of pairs with an unsatisfiable second formula both separate the yes-instances from the no-instances.