equal
deleted
inserted
replaced
191 (* simprocs *) |
191 (* simprocs *) |
192 |
192 |
193 fun simproc_setup name lhss (txt, pos) identifier = |
193 fun simproc_setup name lhss (txt, pos) identifier = |
194 ML_Lex.read pos txt |
194 ML_Lex.read pos txt |
195 |> ML_Context.expression pos |
195 |> ML_Context.expression pos |
196 "val proc: Morphism.morphism -> Simplifier.simpset -> cterm -> thm option" |
196 "val proc: Morphism.morphism -> Proof.context -> cterm -> thm option" |
197 ("Context.map_proof (Simplifier.def_simproc_cmd {name = " ^ ML_Syntax.make_binding name ^ ", \ |
197 ("Context.map_proof (Simplifier.def_simproc_cmd {name = " ^ ML_Syntax.make_binding name ^ ", \ |
198 \lhss = " ^ ML_Syntax.print_strings lhss ^ ", proc = proc, \ |
198 \lhss = " ^ ML_Syntax.print_strings lhss ^ ", proc = proc, \ |
199 \identifier = Library.maps ML_Context.thms " ^ ML_Syntax.print_strings identifier ^ "})") |
199 \identifier = Library.maps ML_Context.thms " ^ ML_Syntax.print_strings identifier ^ "})") |
200 |> Context.proof_map; |
200 |> Context.proof_map; |
201 |
201 |