equal
deleted
inserted
replaced
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 |