equal
deleted
inserted
replaced
242 |
242 |
243 val opt_modes = |
243 val opt_modes = |
244 Scan.optional (@{keyword "("} |-- Parse.!!! (Scan.repeat1 Parse.xname --| @{keyword ")"})) []; |
244 Scan.optional (@{keyword "("} |-- Parse.!!! (Scan.repeat1 Parse.xname --| @{keyword ")"})) []; |
245 |
245 |
246 val _ = |
246 val _ = |
247 Outer_Syntax.command @{command_spec "approximate"} "print approximation of term" |
247 Outer_Syntax.command @{command_keyword approximate} "print approximation of term" |
248 (opt_modes -- Parse.term |
248 (opt_modes -- Parse.term |
249 >> (fn (modes, t) => Toplevel.keep (approximate_cmd modes t))); |
249 >> (fn (modes, t) => Toplevel.keep (approximate_cmd modes t))); |
250 |
250 |
251 fun approximation_tac prec splitting taylor ctxt i = |
251 fun approximation_tac prec splitting taylor ctxt i = |
252 REPEAT (FIRST' [etac @{thm intervalE}, |
252 REPEAT (FIRST' [etac @{thm intervalE}, |