equal
deleted
inserted
replaced
174 List.app (writeln o Sign.string_of_term sign o #2) axpairs |
174 List.app (writeln o Sign.string_of_term sign o #2) axpairs |
175 else () |
175 else () |
176 |
176 |
177 (*add definitions of the inductive sets*) |
177 (*add definitions of the inductive sets*) |
178 val thy1 = thy |> Theory.add_path big_rec_base_name |
178 val thy1 = thy |> Theory.add_path big_rec_base_name |
179 |> (#1 o PureThy.add_defs_i false (map Thm.no_attributes axpairs)) |
179 |> (snd o PureThy.add_defs_i false (map Thm.no_attributes axpairs)) |
180 |
180 |
181 |
181 |
182 (*fetch fp definitions from the theory*) |
182 (*fetch fp definitions from the theory*) |
183 val big_rec_def::part_rec_defs = |
183 val big_rec_def::part_rec_defs = |
184 map (get_def thy1) |
184 map (get_def thy1) |