src/HOL/Import/replay.ML
changeset 39557 fe5722fce758
parent 37778 87b5dfe00387
child 41164 6854e9a40edc
equal deleted inserted replaced
39556:32a00ff29d1a 39557:fe5722fce758
   337           | delta (Hol_const_mapping (thyname, constname, fullcname)) thy = 
   337           | delta (Hol_const_mapping (thyname, constname, fullcname)) thy = 
   338             add_hol4_const_mapping thyname constname true fullcname thy
   338             add_hol4_const_mapping thyname constname true fullcname thy
   339           | delta (Hol_move (fullname, moved_thmname)) thy = 
   339           | delta (Hol_move (fullname, moved_thmname)) thy = 
   340             add_hol4_move fullname moved_thmname thy
   340             add_hol4_move fullname moved_thmname thy
   341           | delta (Defs (thmname, eq)) thy =
   341           | delta (Defs (thmname, eq)) thy =
   342             snd (PureThy.add_defs false [((Binding.name thmname, eq), [])] thy)
   342             snd (Global_Theory.add_defs false [((Binding.name thmname, eq), [])] thy)
   343           | delta (Hol_theorem (thyname, thmname, th)) thy =
   343           | delta (Hol_theorem (thyname, thmname, th)) thy =
   344             add_hol4_theorem thyname thmname ([], th_of thy th) thy
   344             add_hol4_theorem thyname thmname ([], th_of thy th) thy
   345           | delta (Typedef (thmname, (t, vs, mx), c, repabs, th)) thy = 
   345           | delta (Typedef (thmname, (t, vs, mx), c, repabs, th)) thy = 
   346             snd (Typedef.add_typedef_global false (Option.map Binding.name thmname)
   346             snd (Typedef.add_typedef_global false (Option.map Binding.name thmname)
   347               (Binding.name t, map (rpair dummyS) vs, mx) c
   347               (Binding.name t, map (rpair dummyS) vs, mx) c