src/HOL/SAT.thy
author wenzelm
Mon, 25 Nov 2013 18:03:38 +0100
changeset 54645 c19c83f49fa5
parent 49989 34d0ac1bdac6
child 55239 97921d23ebe3
permissions -rw-r--r--
more robust and portable invocation of kill as bash builtin, instead of external executable -- NB: /bin/kill on Mac OS X Mountain Lion chokes on Linux workaround from 3610ae73cfdb;

(*  Title:      HOL/SAT.thy
    Author:     Alwen Tiu, Tjark Weber
    Copyright   2005

Basic setup for the 'sat' and 'satx' tactics.
*)

header {* Reconstructing external resolution proofs for propositional logic *}

theory SAT
imports HOL
begin

ML_file "Tools/prop_logic.ML"
ML_file "Tools/sat_solver.ML"
ML_file "Tools/sat_funcs.ML"

ML {* structure sat = SATFunc(cnf) *}

method_setup sat = {* Scan.succeed (SIMPLE_METHOD' o sat.sat_tac) *}
  "SAT solver"

method_setup satx = {* Scan.succeed (SIMPLE_METHOD' o sat.satx_tac) *}
  "SAT solver (with definitional CNF)"

end