moved "SAT" before "FunDef" and moved back all SAT-related ML files to where they belong
authorblanchet
Wed, 31 Oct 2012 11:23:21 +0100
changeset 49989 34d0ac1bdac6
parent 49988 ef811090e106
child 49990 42209bfa1548
moved "SAT" before "FunDef" and moved back all SAT-related ML files to where they belong
src/HOL/FunDef.thy
src/HOL/Nitpick.thy
src/HOL/SAT.thy
--- a/src/HOL/FunDef.thy	Wed Oct 31 11:23:21 2012 +0100
+++ b/src/HOL/FunDef.thy	Wed Oct 31 11:23:21 2012 +0100
@@ -5,13 +5,10 @@
 header {* Function Definitions and Termination Proofs *}
 
 theory FunDef
-imports Partial_Function Wellfounded
+imports Partial_Function SAT Wellfounded
 keywords "function" "termination" :: thy_goal and "fun" :: thy_decl
 begin
 
-ML_file "Tools/prop_logic.ML"
-ML_file "Tools/sat_solver.ML"
-
 subsection {* Definitions with default value. *}
 
 definition
--- a/src/HOL/Nitpick.thy	Wed Oct 31 11:23:21 2012 +0100
+++ b/src/HOL/Nitpick.thy	Wed Oct 31 11:23:21 2012 +0100
@@ -8,7 +8,7 @@
 header {* Nitpick: Yet Another Counterexample Generator for Isabelle/HOL *}
 
 theory Nitpick
-imports Map Quotient SAT Record
+imports Hilbert_Choice List Map Quotient Record Sledgehammer
 keywords "nitpick" :: diag and "nitpick_params" :: thy_decl
 begin
 
--- a/src/HOL/SAT.thy	Wed Oct 31 11:23:21 2012 +0100
+++ b/src/HOL/SAT.thy	Wed Oct 31 11:23:21 2012 +0100
@@ -2,15 +2,17 @@
     Author:     Alwen Tiu, Tjark Weber
     Copyright   2005
 
-Basic setup for the 'sat' and 'satx' tactic.
+Basic setup for the 'sat' and 'satx' tactics.
 *)
 
 header {* Reconstructing external resolution proofs for propositional logic *}
 
 theory SAT
-imports Hilbert_Choice List Sledgehammer
+imports HOL
 begin
 
+ML_file "Tools/prop_logic.ML"
+ML_file "Tools/sat_solver.ML"
 ML_file "Tools/sat_funcs.ML"
 
 ML {* structure sat = SATFunc(cnf) *}