author | paulson <lp15@cam.ac.uk> |
Wed, 21 Feb 2018 12:57:49 +0000 | |
changeset 67683 | 817944aeac3f |
parent 63962 | 83a625d06e91 |
child 69605 | a96320074298 |
permissions | -rw-r--r-- |
17618 | 1 |
(* Title: HOL/SAT.thy |
2 |
Author: Alwen Tiu, Tjark Weber |
|
3 |
Copyright 2005 |
|
4 |
||
49989
34d0ac1bdac6
moved "SAT" before "FunDef" and moved back all SAT-related ML files to where they belong
blanchet
parents:
49985
diff
changeset
|
5 |
Basic setup for the 'sat' and 'satx' tactics. |
17618 | 6 |
*) |
7 |
||
60758 | 8 |
section \<open>Reconstructing external resolution proofs for propositional logic\<close> |
17618 | 9 |
|
26521 | 10 |
theory SAT |
63962
83a625d06e91
use argo as additional SAT solver with models but no proofs, since the proof trace formats are not easily translatable
boehmes
parents:
60758
diff
changeset
|
11 |
imports Argo |
17618 | 12 |
begin |
13 |
||
49989
34d0ac1bdac6
moved "SAT" before "FunDef" and moved back all SAT-related ML files to where they belong
blanchet
parents:
49985
diff
changeset
|
14 |
ML_file "Tools/prop_logic.ML" |
34d0ac1bdac6
moved "SAT" before "FunDef" and moved back all SAT-related ML files to where they belong
blanchet
parents:
49985
diff
changeset
|
15 |
ML_file "Tools/sat_solver.ML" |
55239 | 16 |
ML_file "Tools/sat.ML" |
63962
83a625d06e91
use argo as additional SAT solver with models but no proofs, since the proof trace formats are not easily translatable
boehmes
parents:
60758
diff
changeset
|
17 |
ML_file "Tools/Argo/argo_sat_solver.ML" |
48891 | 18 |
|
60758 | 19 |
method_setup sat = \<open>Scan.succeed (SIMPLE_METHOD' o SAT.sat_tac)\<close> |
17618 | 20 |
"SAT solver" |
21 |
||
60758 | 22 |
method_setup satx = \<open>Scan.succeed (SIMPLE_METHOD' o SAT.satx_tac)\<close> |
17618 | 23 |
"SAT solver (with definitional CNF)" |
24 |
||
25 |
end |