1.1 --- a/src/HOL/SMT/SMT.thy Wed May 12 23:54:01 2010 +0200
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,79 +0,0 @@
1.4 -(* Title: HOL/SMT/SMT.thy
1.5 - Author: Sascha Boehme, TU Muenchen
1.6 -*)
1.7 -
1.8 -header {* Bindings to several SMT solvers *}
1.9 -
1.10 -theory SMT
1.11 -imports SMT_Base Z3
1.12 -uses
1.13 - "Tools/cvc3_solver.ML"
1.14 - "Tools/yices_solver.ML"
1.15 -begin
1.16 -
1.17 -setup {* CVC3_Solver.setup #> Yices_Solver.setup *}
1.18 -
1.19 -
1.20 -
1.21 -section {* Setup *}
1.22 -
1.23 -text {*
1.24 -Without further ado, the SMT solvers CVC3 and Z3 are provided
1.25 -remotely via an SMT server. For faster responses, the solver
1.26 -environment variables CVC3_SOLVER, YICES_SOLVER, and Z3_SOLVER
1.27 -need to point to the respective SMT solver executable.
1.28 -*}
1.29 -
1.30 -
1.31 -
1.32 -section {* Available configuration options *}
1.33 -
1.34 -text {* Choose the SMT solver to be applied (one of cvc3, yices, or z3): *}
1.35 -
1.36 -declare [[ smt_solver = z3 ]]
1.37 -
1.38 -text {* Restrict the runtime of an SMT solver (in seconds): *}
1.39 -
1.40 -declare [[ smt_timeout = 20 ]]
1.41 -
1.42 -
1.43 -subsection {* Z3-specific options *}
1.44 -
1.45 -text {* Pass extra command-line arguments to Z3 to control its behaviour: *}
1.46 -
1.47 -declare [[ z3_options = "" ]]
1.48 -
1.49 -text {* Enable proof reconstruction for Z3: *}
1.50 -
1.51 -declare [[ z3_proofs = false ]]
1.52 -
1.53 -text {* Enable or disable tracing of the theorems used for proving a
1.54 -proposition: *}
1.55 -
1.56 -declare [[ z3_trace_assms = false ]]
1.57 -
1.58 -
1.59 -subsection {* Certificates *}
1.60 -
1.61 -text {* To avoid invocation of an SMT solver for the same problem
1.62 -again and again, cache certificates in a file (the filename must
1.63 -be given by an absolute path, an empty string disables the usage
1.64 -of certificates): *}
1.65 -
1.66 -declare [[ smt_certificates = "" ]]
1.67 -
1.68 -text {* Allows or disallows the addition of new certificates to
1.69 -the current certificates file (when set to @{text false}, only
1.70 -existing certificates are used and no SMT solver is invoked): *}
1.71 -
1.72 -declare [[ smt_fixed = false ]]
1.73 -
1.74 -
1.75 -subsection {* Special configuration options *}
1.76 -
1.77 -text {* Trace the problem file, the result of the SMT solver and
1.78 -further information: *}
1.79 -
1.80 -declare [[ smt_trace = false ]]
1.81 -
1.82 -end