twoclause
Twoclause is a term used in mathematical logic and computer science to denote boolean formulas in conjunctive normal form in which every clause contains at most two literals. The standard formal name for this class is 2-CNF; as a family of formulas it sits between the general CNF-SAT problem and more restricted fragments.
Definition and structure: A boolean formula φ is twoclause if φ equals the conjunction of clauses C1 ∧ C2
Example: (x ∨ y) ∧ (¬x ∨ z) ∧ (¬y) is a twoclause formula. It contains two-literal clauses and one-literal
Solving and complexity: The satisfiability problem for twoclause formulas is known as 2-SAT and is solvable
Applications and relationships: Twoclause appears in hardware verification, model checking, and constraint solving, where efficient encodings