About the project
sift is a SAT solver in Haskell: a program that decides whether a logical formula has an assignment of variables that makes it true. It runs on the DPLL algorithm (a backtracking search that fixes the values of variables step by step) and solves real instances. It reads DIMACS files, the standard format for writing down such problems, and translates arbitrary formulas to CNF (conjunctive normal form, which the solver works on) with the Tseitin transformation.
The challenge
A SAT solver sits at the heart of many hard problems, but the hardest thing in this project was precision: a working DPLL and a correct translation of formulas to CNF forgive no slips, because a small bug does not crash, it quietly yields wrong answers.