equal
deleted
inserted
replaced
206 |
206 |
207 val nested_size_gen_o_maps_complete = forall (not o null) nested_size_gen_o_mapss; |
207 val nested_size_gen_o_maps_complete = forall (not o null) nested_size_gen_o_mapss; |
208 val nested_size_gen_o_maps = fold (union Thm.eq_thm_prop) nested_size_gen_o_mapss []; |
208 val nested_size_gen_o_maps = fold (union Thm.eq_thm_prop) nested_size_gen_o_mapss []; |
209 |
209 |
210 val ((raw_size_consts, raw_size_defs), (lthy1, lthy1_old)) = lthy0 |
210 val ((raw_size_consts, raw_size_defs), (lthy1, lthy1_old)) = lthy0 |
211 |> Local_Theory.open_target |> snd |
211 |> Local_Theory.open_target |
212 |> apfst split_list o @{fold_map 2} (fn b => fn rhs => |
212 |> apfst split_list o @{fold_map 2} (fn b => fn rhs => |
213 Local_Theory.define ((b, NoSyn), ((maybe_conceal_def_binding b, []), rhs)) |
213 Local_Theory.define ((b, NoSyn), ((maybe_conceal_def_binding b, []), rhs)) |
214 #>> apsnd snd) |
214 #>> apsnd snd) |
215 size_bs size_rhss |
215 size_bs size_rhss |
216 ||> `Local_Theory.close_target; |
216 ||> `Local_Theory.close_target; |