(* Taken from Lammich's GRAT tool, and slightly adapted to use positive nats as variables *) section ‹Basics of Boolean Formulas in CNF› theory SAT_Basic imports Main begin