changeset 8521 | 4e42e1734004 |
parent 8500 | efa136cbde29 |
child 8562 | ce0e2b8e8844 |
8520:b6dd80ea3af1 | 8521:4e42e1734004 |
---|---|
377 val skip_proofP = |
377 val skip_proofP = |
378 OuterSyntax.improper_command "sorry" "skip proof (quick-and-dirty mode only!)" K.qed |
378 OuterSyntax.improper_command "sorry" "skip proof (quick-and-dirty mode only!)" K.qed |
379 (P.marg_comment >> IsarThy.skip_proof); |
379 (P.marg_comment >> IsarThy.skip_proof); |
380 |
380 |
381 val forget_proofP = |
381 val forget_proofP = |
382 OuterSyntax.improper_command "oops" "forget proof" K.qed_global |
382 OuterSyntax.command "oops" "forget proof" K.qed_global |
383 (P.marg_comment >> IsarThy.forget_proof); |
383 (P.marg_comment >> IsarThy.forget_proof); |
384 |
384 |
385 |
385 |
386 |
386 |
387 (* proof steps *) |
387 (* proof steps *) |
445 (Scan.succeed (Toplevel.print o IsarCmd.redo)); |
445 (Scan.succeed (Toplevel.print o IsarCmd.redo)); |
446 |
446 |
447 val undos_proofP = |
447 val undos_proofP = |
448 OuterSyntax.improper_command "undos_proof" "undo last proof commands" K.control |
448 OuterSyntax.improper_command "undos_proof" "undo last proof commands" K.control |
449 (P.nat >> (Toplevel.print oo IsarCmd.undos_proof)); |
449 (P.nat >> (Toplevel.print oo IsarCmd.undos_proof)); |
450 |
|
451 val kill_proofP = |
|
452 OuterSyntax.improper_command "kill_proof" "undo current proof" K.control |
|
453 (Scan.succeed IsarCmd.kill_proof); |
|
454 |
450 |
455 val undoP = |
451 val undoP = |
456 OuterSyntax.improper_command "undo" "undo last command" K.control |
452 OuterSyntax.improper_command "undo" "undo last command" K.control |
457 (Scan.succeed (Toplevel.print o IsarCmd.undo)); |
453 (Scan.succeed (Toplevel.print o IsarCmd.undo)); |
458 |
454 |
641 theoremP, lemmaP, showP, haveP, thusP, henceP, assumeP, presumeP, |
637 theoremP, lemmaP, showP, haveP, thusP, henceP, assumeP, presumeP, |
642 defP, fixP, letP, caseP, thenP, fromP, withP, noteP, beginP, endP, |
638 defP, fixP, letP, caseP, thenP, fromP, withP, noteP, beginP, endP, |
643 nextP, qedP, terminal_proofP, immediate_proofP, default_proofP, |
639 nextP, qedP, terminal_proofP, immediate_proofP, default_proofP, |
644 skip_proofP, forget_proofP, deferP, preferP, applyP, apply_endP, |
640 skip_proofP, forget_proofP, deferP, preferP, applyP, apply_endP, |
645 proofP, alsoP, finallyP, backP, cannot_undoP, clear_undosP, redoP, |
641 proofP, alsoP, finallyP, backP, cannot_undoP, clear_undosP, redoP, |
646 undos_proofP, kill_proofP, undoP, killP, |
642 undos_proofP, undoP, killP, |
647 (*diagnostic commands*) |
643 (*diagnostic commands*) |
648 pretty_setmarginP, print_commandsP, print_contextP, print_theoryP, |
644 pretty_setmarginP, print_commandsP, print_contextP, print_theoryP, |
649 print_syntaxP, print_theoremsP, print_attributesP, print_methodsP, |
645 print_syntaxP, print_theoremsP, print_attributesP, print_methodsP, |
650 thms_containingP, print_bindsP, print_lthmsP, print_casesP, |
646 thms_containingP, print_bindsP, print_lthmsP, print_casesP, |
651 print_thmsP, print_propP, print_termP, print_typeP, |
647 print_thmsP, print_propP, print_termP, print_typeP, |