2026-08-28·作者 Sijie Wang#idea#math

sat

SAT — Boolean satisfiability (the famous decidable-but-hard one)

Parent: logic

SAT

Given a propositional formula over Boolean variables (built from ∧, ∨, ¬; usually CNF = a conjunction of clauses), is there an assignment making it true?

Unlike FOL validity, SAT is decidable — finitely many assignments — but it's the canonical hard problem.

Cook–Levin: the first NP-complete problem

Cook–Levin (1971)

SAT is NP-complete — it's in NP, and every problem in NP reduces to it in polynomial time. (3-SAT already is.)

So SAT is where P vs NP lives: a polynomial SAT algorithm would collapse NP to P. It's the hub through which thousands of problems are proven NP-hard (by reduction from SAT).

The ∀∃ ladder — SAT → QBF → FOL

  • SAT (propositional, no quantifiers): NP-complete (decidable).
  • QBF (quantified Boolean formulas — ∀/∃ over booleans): PSPACE-complete (still decidable, harder).
  • FOL validity (quantifiers over an infinite domain): undecidable. The quantifier over an infinite domain is exactly what tips logic from "hard but decidable" to "undecidable."

The solvers are the engine we reused

Practical SAT is run by DPLL → CDCL (conflict-driven clause learning); SMT = SAT modulo theories (DPLL(T)) adds arithmetic/arrays. The recursive-harness lifts exactly this machinery to agents:

That's where "we already used SAT."

關於這一條

sijie 的一條 wiki 條目。本站的 AI 以同一套語料庫為依據、以 sijie 的口吻作答,並附有指向此類條目的引用——回答會花 sijie 的錢,所以它在存取碼後等待: 輸入存取碼 →