src/HOL/SAT.thy
author mengj
Tue, 07 Mar 2006 04:01:25 +0100
changeset 19199 b338c218cc6e
parent 17809 195045659c06
child 21588 cd0dc678a205
permissions -rw-r--r--
Proof reconstruction now only takes names of theorems as input.

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

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

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

theory SAT imports Refute

uses
     "Tools/cnf_funcs.ML"
     "Tools/sat_funcs.ML"

begin

text {* \medskip Late package setup: default values for refute, see
  also theory @{text Refute}. *}

refute_params
 ["itself"=1,
  minsize=1,
  maxsize=8,
  maxvars=10000,
  maxtime=60,
  satsolver="auto"]


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

method_setup sat = {* Method.no_args (Method.SIMPLE_METHOD (sat.sat_tac 1)) *}
  "SAT solver"

method_setup satx = {* Method.no_args (Method.SIMPLE_METHOD (sat.satx_tac 1)) *}
  "SAT solver (with definitional CNF)"

end