equal
deleted
inserted
replaced
304 let |
304 let |
305 val facts' = Attrib.map_facts (Attrib.attribute_i thy) facts |
305 val facts' = Attrib.map_facts (Attrib.attribute_i thy) facts |
306 in PureThy.note_thmss kind facts' thy |> snd end |
306 in PureThy.note_thmss kind facts' thy |> snd end |
307 |
307 |
308 fun init_local_elem (Fixes fixes) ctxt = ctxt |> |
308 fun init_local_elem (Fixes fixes) ctxt = ctxt |> |
309 ProofContext.add_fixes_i fixes |> snd |
309 ProofContext.add_fixes fixes |> snd |
310 | init_local_elem (Assumes assms) ctxt = |
310 | init_local_elem (Assumes assms) ctxt = |
311 let |
311 let |
312 val assms' = Attrib.map_specs (Attrib.attribute_i (ProofContext.theory_of ctxt)) assms |
312 val assms' = Attrib.map_specs (Attrib.attribute_i (ProofContext.theory_of ctxt)) assms |
313 in |
313 in |
314 ctxt |> fold Variable.auto_fixes (maps (map fst o snd) assms') |> |
314 ctxt |> fold Variable.auto_fixes (maps (map fst o snd) assms') |> |