lean4-htt/tests
Leonardo de Moura 746206c5e6
feat: hover information for grind anchors (#10779)
This PR implements hover information for `grind` anchors. Anchors are
stable hash codes for referencing terms in the grind state. The anchors
will be used when auto generating tactic scripts. The hover display the
following information:

1- In the `instantiate` tactic, it displays the type of the theorem
being instantiated.
<img width="952" height="125" alt="image"
src="https://github.com/user-attachments/assets/be949b87-cf9b-4f75-abe0-17751295de93"
/>

2- In the `cases` tactic, the hover information depends on the kind of
case-split.
  a) Proposition
<img width="1019" height="125" alt="image"
src="https://github.com/user-attachments/assets/253e2927-f18e-49ab-a8fc-2144657406d8"
/>

b) A hypotheses. In this case, you can opt to replace the anchor with
the hypothesis' name if it is accessible.
<img width="1019" height="178" alt="image"
src="https://github.com/user-attachments/assets/858b3751-4ef9-492d-a42f-c0743753a7de"
/>

c) A term. The hover displays just the type, by `grind` logs a silent
information with additional information
  
<img width="1376" height="148" alt="image"
src="https://github.com/user-attachments/assets/30078ca4-a886-49d9-912e-866f3567b0da"
/>
2025-10-15 02:43:11 +00:00
..
bench refactor: use Shrink stub in the iterator framework (#10725) 2025-10-14 10:22:14 +00:00
compiler refactor: discipline around arithmetic of String.Pos.Raw (#10713) 2025-10-09 07:47:45 +00:00
elabissues
ir
lake fix: lake: local cache w/ --old (#10741) 2025-10-11 02:20:31 +00:00
lean feat: hover information for grind anchors (#10779) 2025-10-15 02:43:11 +00:00
pkg fix: simp should not pick up inaccessible definitional equations (#10696) 2025-10-08 12:48:35 +00:00
playground
plugin
simpperf
.gitignore
common.sh
lakefile.toml
lean-toolchain