A Distinct-Variable MAX-XOROR Gadget and a Conditional Consequence
Version 1 / Nov 30, 2026 / CC BY 4.0
Abstract
A MAX-XOROR clause has the form for literals . Four such clauses with three auxiliary variables replace each clause of MAX NAE-3SAT: exactly three of them are satisfied when the three literals are equal, and all four otherwise. The fresh literals ensure that every resulting clause uses three distinct variables, matching the standard distinct-variable MAX-CSP convention. Hence the optimum of the resulting MAX-XOROR instance is , where is the number of NAE-3SAT clauses and is the optimum of the NAE-3SAT instance. Since MAX NAE-3SAT admits a polynomial-time approximation algorithm with ratio , the instances in the image of this reduction admit a polynomial-time algorithm with approximation ratio at least . We review how the classical approximation-resistance threshold for the XOROR predicate arises in the hardness-of-approximation literature initiated by Håstad, and we prove a formal proposition showing that the instances in satisfy Håstad's structural preconditions (three distinct variables per clause and free literal polarity) and that any gap-hardness reduction matching Håstad's versus threshold directly covers our MAX-XOROR gap-hardness hypothesis (). Under this hypothesis, . Lean 4 formally verifies the gadget evaluation across all truth assignments, variable distinctness, and the ratio inequalities.
Tools used
- Anthropic
- Claude Sonnet
- OpenAI
- ChatGPT
- Gemini
References
- Brakensiek, Joshua; Huang, Neng; Potechin, Aaron; Zwick, Uri. On the mysteries of MAX NAE-SAT. SIAM Journal on Discrete Mathematics, vol. 39, no. 1, pp. 267–313. 2025DOI
- Håstad, Johan. Some Optimal Inapproximability Results. Journal of the ACM, vol. 48, no. 4, pp. 798–859. 2001DOI
- Vega, Frank. A Distinct-Variable MAX-XOROR Gadget and a Conditional P = NP Consequence. 2026. GitHub, https://github.com/frankvegadelgado/pnplink
Version history
- v1 · 5 pagesSubmitted by Frank VegaThe Lean 4 formalization is available at https://github.com/frankvegadelgado/pnpCurrentNov 30, 2026