equal
deleted
inserted
replaced
531 (parse_args >> (fn args => Toplevel.theory (quickcheck_params_cmd args))); |
531 (parse_args >> (fn args => Toplevel.theory (quickcheck_params_cmd args))); |
532 |
532 |
533 val _ = |
533 val _ = |
534 Outer_Syntax.command @{command_keyword quickcheck} |
534 Outer_Syntax.command @{command_keyword quickcheck} |
535 "try to find counterexample for subgoal" |
535 "try to find counterexample for subgoal" |
536 (parse_args -- Scan.optional Parse.nat 1 >> (fn (args, i) => |
536 (parse_args -- Scan.optional Parse.nat 1 >> |
537 Toplevel.unknown_proof o Toplevel.keep (quickcheck_cmd args i))); |
537 (fn (args, i) => Toplevel.keep (quickcheck_cmd args i))); |
538 |
538 |
539 |
539 |
540 (* automatic testing *) |
540 (* automatic testing *) |
541 |
541 |
542 fun try_quickcheck auto state = |
542 fun try_quickcheck auto state = |