src/HOL/SAT.thy
author Christian Sternagel
Thu Aug 30 15:44:03 2012 +0900 (2012-08-30)
changeset 49093 fdc301f592c4
parent 48891 c0eafbd55de3
child 49985 5b4b0e4e5205
permissions -rw-r--r--
forgot to add lemmas
webertj@17618
     1
(*  Title:      HOL/SAT.thy
webertj@17618
     2
    Author:     Alwen Tiu, Tjark Weber
webertj@17618
     3
    Copyright   2005
webertj@17618
     4
webertj@17627
     5
Basic setup for the 'sat' and 'satx' tactic.
webertj@17618
     6
*)
webertj@17618
     7
webertj@17618
     8
header {* Reconstructing external resolution proofs for propositional logic *}
webertj@17618
     9
haftmann@26521
    10
theory SAT
haftmann@26521
    11
imports Refute
webertj@17618
    12
begin
webertj@17618
    13
wenzelm@48891
    14
ML_file "Tools/sat_funcs.ML"
wenzelm@48891
    15
wenzelm@32232
    16
ML {* structure sat = SATFunc(cnf) *}
webertj@17618
    17
wenzelm@32232
    18
method_setup sat = {* Scan.succeed (SIMPLE_METHOD' o sat.sat_tac) *}
webertj@17618
    19
  "SAT solver"
webertj@17618
    20
wenzelm@32232
    21
method_setup satx = {* Scan.succeed (SIMPLE_METHOD' o sat.satx_tac) *}
webertj@17618
    22
  "SAT solver (with definitional CNF)"
webertj@17618
    23
webertj@17618
    24
end