src/HOL/SAT.thy
author hoelzl
Fri Mar 22 10:41:43 2013 +0100 (2013-03-22)
changeset 51474 1e9e68247ad1
parent 49989 34d0ac1bdac6
child 55239 97921d23ebe3
permissions -rw-r--r--
generalize Bfun and Bseq to metric spaces; Bseq is an abbreviation for Bfun
webertj@17618
     1
(*  Title:      HOL/SAT.thy
webertj@17618
     2
    Author:     Alwen Tiu, Tjark Weber
webertj@17618
     3
    Copyright   2005
webertj@17618
     4
blanchet@49989
     5
Basic setup for the 'sat' and 'satx' tactics.
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
blanchet@49989
    11
imports HOL
webertj@17618
    12
begin
webertj@17618
    13
blanchet@49989
    14
ML_file "Tools/prop_logic.ML"
blanchet@49989
    15
ML_file "Tools/sat_solver.ML"
wenzelm@48891
    16
ML_file "Tools/sat_funcs.ML"
wenzelm@48891
    17
wenzelm@32232
    18
ML {* structure sat = SATFunc(cnf) *}
webertj@17618
    19
wenzelm@32232
    20
method_setup sat = {* Scan.succeed (SIMPLE_METHOD' o sat.sat_tac) *}
webertj@17618
    21
  "SAT solver"
webertj@17618
    22
wenzelm@32232
    23
method_setup satx = {* Scan.succeed (SIMPLE_METHOD' o sat.satx_tac) *}
webertj@17618
    24
  "SAT solver (with definitional CNF)"
webertj@17618
    25
webertj@17618
    26
end