src/Pure/Isar/specification.ML
changeset 38388 94d5624dd1f7
parent 38350 480b2de9927c
child 39288 f1ae2493d93f
equal deleted inserted replaced
38386:370712dd4628 38388:94d5624dd1f7
   183             (PureThy.name_multi (Name.of_binding b) (map subst props)))
   183             (PureThy.name_multi (Name.of_binding b) (map subst props)))
   184         #>> (fn ths => ((b, atts), [(map #2 ths, [])])));
   184         #>> (fn ths => ((b, atts), [(map #2 ths, [])])));
   185 
   185 
   186     (*facts*)
   186     (*facts*)
   187     val (facts, facts_lthy) = axioms_thy
   187     val (facts, facts_lthy) = axioms_thy
   188       |> Named_Target.init NONE
   188       |> Named_Target.theory_init
   189       |> Spec_Rules.add Spec_Rules.Unknown (consts, maps (maps #1 o #2) axioms)
   189       |> Spec_Rules.add Spec_Rules.Unknown (consts, maps (maps #1 o #2) axioms)
   190       |> Local_Theory.notes axioms;
   190       |> Local_Theory.notes axioms;
   191 
   191 
   192     val _ =
   192     val _ =
   193       if not do_print then ()
   193       if not do_print then ()