src/HOL/Tools/Predicate_Compile/predicate_compile_fun.ML
changeset 33726 0878aecbf119
parent 33669 ae9a2ea9a989
child 33752 9aa8e961f850
equal deleted inserted replaced
33725:a8481da77270 33726:0878aecbf119
   352         if is_some (try (map (cterm_of thy)) intr_ts) then
   352         if is_some (try (map (cterm_of thy)) intr_ts) then
   353           let
   353           let
   354             val (ind_result, thy') =
   354             val (ind_result, thy') =
   355               thy
   355               thy
   356               |> Sign.map_naming Name_Space.conceal
   356               |> Sign.map_naming Name_Space.conceal
   357               |> Inductive.add_inductive_global (serial ())
   357               |> Inductive.add_inductive_global
   358                 {quiet_mode = false, verbose = false, alt_name = Binding.empty, coind = false,
   358                 {quiet_mode = false, verbose = false, alt_name = Binding.empty, coind = false,
   359                   no_elim = false, no_ind = false, skip_mono = false, fork_mono = false}
   359                   no_elim = false, no_ind = false, skip_mono = false, fork_mono = false}
   360                 (map (fn (s, T) =>
   360                 (map (fn (s, T) =>
   361                   ((Binding.name s, T), NoSyn)) (distinct (op =) (map dest_Free preds)))
   361                   ((Binding.name s, T), NoSyn)) (distinct (op =) (map dest_Free preds)))
   362                 pnames
   362                 pnames