Closed Eric-C-Hall closed 6 months ago
How about adjusting the Emacs code so that if the user provides a "prefix argument" (types C-u
first), the sense of the search is flipped so that negative occurrences are searched for? See the elisp for hol-subgoal-tactic
for how to do this:
p
say(interactive "P")
p
will be non-nil if there has been a C-u
typed.BTW: your regression failures are a result of having used Unicode in files committed under src
. There's an emacs command to fix this up semi-automatically. The rules allow the lambda and the magic quotes to be used even if everything else is forbidden.
Thanks for your work on this!
Functionality that allows one to search for theorems such that a certain term specifically appears as a premise or as a conclusion to that theorem, rather than simply testing that the term is present somewhere in the theorem.