MAX-2SAT
Reflections and Pedagogical Practices within the Scope of the Theory of Computation Course
DOI:
https://doi.org/10.20873/uft.2675-3588.2026.v7n2.p1-12Keywords:
Max-2SAT, NP-Completude, Redução Polinomial, Teoria da Complexidade, Satisfatibilidade BooleanaAbstract
This paper presents a formal and pedagogical demonstration of the NP-completeness of the Maximum 2-Satisfiability (Max-2SAT) problem through polynomial reduction from the Clique problem. Max-2SAT, a maximization variant of the SAT problem where each clause contains at most two literals, asks whether there exists a Boolean assignment capable of satisfying at least k clauses of a formula in conjunctive normal form. Although the 2-SAT problem is solvable in polynomial time, its maximization version is NP-complete. The demonstration employs a construction with an auxiliary variable that maps graph structures into Boolean formulas, establishing a bijective correspondence between cliques and satisfying assignments. As pedagogical contributions, this work presents: (i) detailed formal proof of NP-membership and NP-hardness; (ii) explicit construction of the Clique <=p Max-2SAT reduction with illustrative figures; (iii) complete step-by-step annotated example; (iv) pseudocode for the polynomial verifier; and (v) discussions about common pitfalls and comprehension strategies. The material produced aims to facilitate the learning of polynomial reductions and strengthen understanding of the boundary between tractability and computational intractability.
Downloads
Published
How to Cite
License
Copyright (c) 2026 Raphael Sales de Souza, Thiago Gonzaga dos Santos, Daniel Martins da Silva, Tanilson Dias dos Santos

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
Authors who publish in this journal agree to the following terms:
- Authors retain copyright and grant the journal the right of first publication, with work simultaneously licensed under the Creative Commons Attribution License (CC BY-NC 4.0), allowing work sharing with acknowledgment of the work's authorship and initial publication in this journal. ;
- Authors are authorized to enter additional contracts separately for the non-exclusive distribution of the version of the work published in this journal (eg, publishing in an institutional repository or as a book chapter), with acknowledgment of authorship and initial publication in this journal;
- Authors are allowed and encouraged to post and distribute their work online (eg, in institutional repositories or on their personal page) at any point after the editorial process;
- In addition, the AUTHOR is informed and agrees with the journal that, therefore, his paper may be incorporated by the AJCEAM into existing or existing scientific information systems and databases (indexers and databases). in the future (indexers and future databases), under the conditions defined by the latter at all times, which will involve at least the possibility that the holders of these databases may perform the following actions on the paper:
- Reproduce, transmit and distribute the paper in whole or in part in any form or means of existing or future electronic transmission, including electronic transmission for research, viewing and printing purposes;
- Reproduce and distribute all or part of the article in print;
- Translate certain parts of the paper;
- Extract figures, tables, illustrations, and other graphic objects and capture metadata, captions, and related article for research, visualization, and printing purposes;
- Transmission, distribution, and reproduction by agents or authorized by the owners of database distributors;
- The preparation of bibliographic citations, summaries and indexes and related capture references from selected parts of the paper;
- Scan and/or store electronic article images and text.

