diff options
Diffstat (limited to 'tactics')
| -rw-r--r-- | tactics/extratactics.ml4 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tactics/extratactics.ml4 b/tactics/extratactics.ml4 index a7a89eae73..e45c2170a5 100644 --- a/tactics/extratactics.ml4 +++ b/tactics/extratactics.ml4 @@ -824,3 +824,11 @@ VERNAC COMMAND EXTEND Unshelve => [ Vernacexpr.VtProofStep, Vernacexpr.VtLater ] -> [ Proof_global.simple_with_current_proof (fun _ p -> Proof.unshelve p) ] END + +(* Gives up on the goals under focus: the goals are considered solved, + but the proof cannot be closed until the user goes back and solve + these goals. *) +TACTIC EXTEND give_up +| [ "give_up" ] -> + [ Proofview.give_up ] +END |
