src/HOL/Tools/Nitpick/nitpick.ML
changeset 37146 f652333bbf8e
parent 36913 0010f08e288e
child 37213 efcad7594872
equal deleted inserted replaced
37145:01aa36932739 37146:f652333bbf8e
   481         val def_us = map (rename_vars_in_nut pool rel_table) def_us
   481         val def_us = map (rename_vars_in_nut pool rel_table) def_us
   482         val nondef_fs = map (kodkod_formula_from_nut ofs kk) nondef_us
   482         val nondef_fs = map (kodkod_formula_from_nut ofs kk) nondef_us
   483         val def_fs = map (kodkod_formula_from_nut ofs kk) def_us
   483         val def_fs = map (kodkod_formula_from_nut ofs kk) def_us
   484         val formula = fold (fold s_and) [def_fs, nondef_fs] KK.True
   484         val formula = fold (fold s_and) [def_fs, nondef_fs] KK.True
   485         val comment = (if unsound then "unsound" else "sound") ^ "\n" ^
   485         val comment = (if unsound then "unsound" else "sound") ^ "\n" ^
   486                       PrintMode.setmp [] multiline_string_for_scope scope
   486                       Print_Mode.setmp [] multiline_string_for_scope scope
   487         val kodkod_sat_solver =
   487         val kodkod_sat_solver =
   488           Kodkod_SAT.sat_solver_spec actual_sat_solver |> snd
   488           Kodkod_SAT.sat_solver_spec actual_sat_solver |> snd
   489         val bit_width = if bits = 0 then 16 else bits + 1
   489         val bit_width = if bits = 0 then 16 else bits + 1
   490         val delay =
   490         val delay =
   491           if unsound then
   491           if unsound then