src/HOL/Tools/Predicate_Compile/predicate_compile.ML
changeset 52801 6f88e379aa3e
parent 52788 da1fdbfebd39
child 55437 3fd63b92ea3b
equal deleted inserted replaced
52800:1baa5d19ac44 52801:6f88e379aa3e
   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