equal
deleted
inserted
replaced
636 else foldr1 HOLogic.mk_disj (map transform_rule intr_ts)); |
636 else foldr1 HOLogic.mk_disj (map transform_rule intr_ts)); |
637 |
637 |
638 (* add definiton of recursive predicates to theory *) |
638 (* add definiton of recursive predicates to theory *) |
639 |
639 |
640 val rec_name = |
640 val rec_name = |
641 if Name.name_of alt_name = "" then |
641 if Name.is_nothing alt_name then |
642 Name.binding (space_implode "_" (map (Name.name_of o fst) cnames_syn)) |
642 Name.binding (space_implode "_" (map (Name.name_of o fst) cnames_syn)) |
643 else alt_name; |
643 else alt_name; |
644 |
644 |
645 val ((rec_const, (_, fp_def)), ctxt') = ctxt |> |
645 val ((rec_const, (_, fp_def)), ctxt') = ctxt |> |
646 LocalTheory.define Thm.internalK |
646 LocalTheory.define Thm.internalK |