src/HOL/Tools/SMT/smt_setup_solvers.ML
changeset 41787 5acde4abb07b
parent 41771 70d4585b11a6
child 41800 7f333b59d5fb
equal deleted inserted replaced
41786:a5899d0ce1a1 41787:5acde4abb07b
    60     name = make_name is_remote "cvc3",
    60     name = make_name is_remote "cvc3",
    61     class = SMTLIB_Interface.smtlibC,
    61     class = SMTLIB_Interface.smtlibC,
    62     avail = make_avail is_remote "CVC3",
    62     avail = make_avail is_remote "CVC3",
    63     command = make_command is_remote "CVC3",
    63     command = make_command is_remote "CVC3",
    64     options = cvc3_options,
    64     options = cvc3_options,
    65     default_max_relevant = 200,
    65     default_max_relevant = 200 (* FUDGE *),
    66     supports_filter = false,
    66     supports_filter = false,
    67     outcome =
    67     outcome =
    68       on_first_line (outcome_of "Unsatisfiable." "Satisfiable." "Unknown."),
    68       on_first_line (outcome_of "Unsatisfiable." "Satisfiable." "Unknown."),
    69     cex_parser = NONE,
    69     cex_parser = NONE,
    70     reconstruct = NONE }
    70     reconstruct = NONE }
    84   avail = make_local_avail "YICES",
    84   avail = make_local_avail "YICES",
    85   command = make_local_command "YICES",
    85   command = make_local_command "YICES",
    86   options = (fn ctxt => [
    86   options = (fn ctxt => [
    87     "--rand-seed=" ^ string_of_int (Config.get ctxt SMT_Config.random_seed),
    87     "--rand-seed=" ^ string_of_int (Config.get ctxt SMT_Config.random_seed),
    88     "--smtlib"]),
    88     "--smtlib"]),
    89   default_max_relevant = 200,
    89   default_max_relevant = 200 (* FUDGE *),
    90   supports_filter = false,
    90   supports_filter = false,
    91   outcome = on_first_line (outcome_of "unsat" "sat" "unknown"),
    91   outcome = on_first_line (outcome_of "unsat" "sat" "unknown"),
    92   cex_parser = NONE,
    92   cex_parser = NONE,
    93   reconstruct = NONE }
    93   reconstruct = NONE }
    94 
    94 
   129     name = make_name is_remote "z3",
   129     name = make_name is_remote "z3",
   130     class = Z3_Interface.smtlib_z3C,
   130     class = Z3_Interface.smtlib_z3C,
   131     avail = make_avail is_remote "Z3",
   131     avail = make_avail is_remote "Z3",
   132     command = z3_make_command is_remote "Z3",
   132     command = z3_make_command is_remote "Z3",
   133     options = z3_options,
   133     options = z3_options,
   134     default_max_relevant = 250,
   134     default_max_relevant = 250 (* FUDGE *),
   135     supports_filter = true,
   135     supports_filter = true,
   136     outcome = z3_on_last_line,
   136     outcome = z3_on_last_line,
   137     cex_parser = SOME Z3_Model.parse_counterex,
   137     cex_parser = SOME Z3_Model.parse_counterex,
   138     reconstruct = SOME Z3_Proof_Reconstruction.reconstruct }
   138     reconstruct = SOME Z3_Proof_Reconstruction.reconstruct }
   139 in
   139 in