-
Notifications
You must be signed in to change notification settings - Fork 143
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[vim-mode] add support for
Proof
modifiers
Handle things like `Proof[exclude_simps thms]` as follows: - `ha` previously selected a goal-statement in between `Theorem`/`Triviality` and `Proof`. Now it also selects the `Proof` keyword and associated `[...]` (including over multiple lines). - To help `ha` above, modify the `HOLSelect` function so that it opens any folds found at the endpoint of its selection. - `hG` goal-setting command now invokes `proofManagerLib.new_goalstack` and `BasicProvers.mk_tacmod` as suggested by @mn200. It searches the selected "goal" for the `Proof` keyword to pass the correct bit to `mk_tacmod`. It remains compatible with selections which do not include the `Proof` keyword. - `he` tactic expansion is eta-expanded so that the `Proof` modifier can intervene for calls to e.g. `srw_ss()` (suggsted by @mn200).
- Loading branch information
Showing
2 changed files
with
15 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters