← Student tools · Problem 59 · Lecture 15 · Round 3 (40 pts)

2-SAT ∈ NL · implication-graph trick

A 2-CNF formula is unsatisfiable iff some variable z has both z → ¬z and ¬z → z in the implication graph.

CLO-3CLO-5R3·40 ptsL15
🔊 Listen
Theorem · 2-SAT ∈ NL

Each 2-clause (a ∨ b) is equivalent to two implications: ¬a → b and ¬b → a. UNSAT iff some var z has paths z → ¬z and ¬z → z. Use NL = coNL: a coNL machine guesses no such cycle exists.

🔊 Listen
Build the implication graph Auto-plays
🔊 Listen
🔊 Listen
🔊 Listen

Sipser: §8.4 (NL). Lecture notes: Module 7 slide 2. Companion problems: P22 (SAT), P42 (PATH NL), P44 (NL = coNL).