src/HOL/Tools/refute.ML
changeset 30347 91f73b2997f9
parent 30314 853778f6ef7d
child 30349 110826d1e5ff
equal deleted inserted replaced
30316:379d6f06cdb2 30347:91f73b2997f9
  1225         Output.priority "Invoking SAT solver...";
  1225         Output.priority "Invoking SAT solver...";
  1226         (case SatSolver.invoke_solver satsolver fm of
  1226         (case SatSolver.invoke_solver satsolver fm of
  1227           SatSolver.SATISFIABLE assignment =>
  1227           SatSolver.SATISFIABLE assignment =>
  1228           (Output.priority ("*** Model found: ***\n" ^ print_model thy model
  1228           (Output.priority ("*** Model found: ***\n" ^ print_model thy model
  1229             (fn i => case assignment i of SOME b => b | NONE => true));
  1229             (fn i => case assignment i of SOME b => b | NONE => true));
  1230            "genuine")
  1230            if maybe_spurious then "potential" else "genuine")
  1231         | SatSolver.UNSATISFIABLE _ =>
  1231         | SatSolver.UNSATISFIABLE _ =>
  1232           (Output.priority "No model exists.";
  1232           (Output.priority "No model exists.";
  1233           case next_universe universe sizes minsize maxsize of
  1233           case next_universe universe sizes minsize maxsize of
  1234             SOME universe' => find_model_loop universe'
  1234             SOME universe' => find_model_loop universe'
  1235           | NONE           => (Output.priority
  1235           | NONE           => (Output.priority