ECE 512 Lecture 4.3: The DPLL (backtracking) algorithm

Professor Anand Raghunathan presented this lecture in an offering of ECE 512, Digital Systems Design Automation, at Purdue University.

The Boolean satisfiability problem (SAT) underpins a wide range of verification, optimization, and artificial‑intelligence tasks, making efficient solving strategies a cornerstone of modern computational engineering. The DPLL (Davis‑Putnam‑Logemann‑Loveland) algorithm represents a seminal advance that replaces resolution‑based elimination with systematic case splitting and backtracking, thereby avoiding the exponential memory blow‑up of earlier approaches. Understanding this algorithm is essential for anyone developing or analyzing contemporary SAT solvers.

The lecture details the DPLL procedure as a depth‑first traversal of an implicit search tree, where each decision assigns a truth value to a selected variable and the current path is the only state retained. Clause status is tracked as unresolved, satisfied, or unsatisfied, and the algorithm detects conflicts when a variable would need contradictory assignments on the same path. Boolean constraint propagation is introduced as the mechanism for deriving implications: when a clause contains exactly one unassigned literal, that literal must be forced to a specific value to avoid immediate falsification. The discussion also contrasts DPLL’s case‑splitting strategy with the resolution step of the original Davis‑Putnam method, highlighting how the former converts exponential memory growth into worst‑case exponential time while enabling practical heuristics to prune the search space.

Armed with this knowledge, learners can trace the DPLL algorithm step‑by‑step on a given CNF instance, pinpoint the exact moments where conflicts arise, and infer the forced assignments that result from Boolean constraint propagation. They become capable of articulating how case splitting partitions the search space and how backtracking restores completeness after a conflict, thereby laying the groundwork for designing, tuning, or extending modern SAT solvers.

Previous
Previous

AI Hardware Acceleration in ASIC Design Lecture 1: Introduction & History of Artificial Intelligence

Next
Next

SCALE PI Symposium 2025: STARS and MITLL Tape-out Programs