src/HOL/SAT.thy
author nipkow
Fri Mar 06 17:38:47 2009 +0100 (2009-03-06)
changeset 30313 b2441b0c8d38
parent 26521 f8c4e79db153
child 30510 4120fc59dd85
permissions -rw-r--r--
added lemmas
     1 (*  Title:      HOL/SAT.thy
     2     ID:         $Id$
     3     Author:     Alwen Tiu, Tjark Weber
     4     Copyright   2005
     5 
     6 Basic setup for the 'sat' and 'satx' tactic.
     7 *)
     8 
     9 header {* Reconstructing external resolution proofs for propositional logic *}
    10 
    11 theory SAT
    12 imports Refute
    13 uses
    14   "Tools/cnf_funcs.ML"
    15   "Tools/sat_funcs.ML"
    16 begin
    17 
    18 text {* \medskip Late package setup: default values for refute, see
    19   also theory @{theory Refute}. *}
    20 
    21 refute_params
    22  ["itself"=1,
    23   minsize=1,
    24   maxsize=8,
    25   maxvars=10000,
    26   maxtime=60,
    27   satsolver="auto"]
    28 
    29 ML {* structure sat = SATFunc(structure cnf = cnf); *}
    30 
    31 method_setup sat = {* Method.no_args (Method.SIMPLE_METHOD' sat.sat_tac) *}
    32   "SAT solver"
    33 
    34 method_setup satx = {* Method.no_args (Method.SIMPLE_METHOD' sat.satx_tac) *}
    35   "SAT solver (with definitional CNF)"
    36 
    37 end