equal
deleted
inserted
replaced
270 (* code_pred command and values command *) |
270 (* code_pred command and values command *) |
271 |
271 |
272 val _ = |
272 val _ = |
273 Outer_Syntax.local_theory_to_proof @{command_spec "code_pred"} |
273 Outer_Syntax.local_theory_to_proof @{command_spec "code_pred"} |
274 "prove equations for predicate specified by intro/elim rules" |
274 "prove equations for predicate specified by intro/elim rules" |
275 (opt_expected_modes -- opt_modes -- scan_options -- Parse.term_group >> code_pred_cmd) |
275 (opt_expected_modes -- opt_modes -- scan_options -- Parse.term >> code_pred_cmd) |
276 |
276 |
277 val _ = |
277 val _ = |
278 Outer_Syntax.improper_command @{command_spec "values"} |
278 Outer_Syntax.improper_command @{command_spec "values"} |
279 "enumerate and print comprehensions" |
279 "enumerate and print comprehensions" |
280 (opt_print_modes -- opt_param_modes -- value_options -- Scan.optional Parse.nat ~1 -- Parse.term |
280 (opt_print_modes -- opt_param_modes -- value_options -- Scan.optional Parse.nat ~1 -- Parse.term |