Hovers & infoview fail for `ex_of_PSigma`
Nobody has claimed this yet.
- Dominant language
- Lean
- Stars
- 9.2k
- Forks
- 990
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 175
Description
Neither the LSP hover for the definition id nor the infoview goal display (on the first x in the body e.g.) work in the ex_of_PSigma theorem. The infoview shows the following error:
Error updating: Error fetching goals: Rpc error: InternalError: unknown constant '«term_×'_»'
What happens is that there's a built-in delaborator for PSigma, but the ×' syntax is defined using a ParserDescr. So the delaborator produces invalid syntax before the notation command for ×'.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure in the ex_of_PSigma theorem, focusing on the LSP hover and infoview displays for the definition id and the first x. Read the PSigma built-in delaborator alongside the ×' ParserDescr and notation mentioned in the report. Done means both views work without producing the unknown constant '«term_×'_»' error.
Written by the indexing model from the issue text.
Assessment
- Domain
- compilers, devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100