*bubble* showing tactic state in custom notation
Nobody has claimed this yet.
- Dominant language
- Lean
- Stars
- 384
- Forks
- 124
- Avg merge
- 22h 28m
- Merged PRs (30d)
- 10
Description
I have a custom notation x:term "rewrite_by" c:convSeq which takes a term x and rewrites it by conv tactic c. I would like to have a bubble showing the tactic state right after rewrite_by similarly how there is a bubble right after by when you enter tactic mode.
For example here
#check (0 + 5 + 0) rewrite_by simp∘
there is a bubble(indicated by ∘) after simp but no bubble after rewrite_by.
I would like to have
#check (0 + 5 + 0) rewrite_by∘ simp∘
Contributor guide
No contributing guide indexed for this repository
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 issue using the linked Optimizing Array Expressions example and the rewrite_by notation with simp. Compare how the existing bubble after by is produced with the custom rewrite_by notation. Done means a bubble can appear immediately after rewrite_by, as in rewrite_by∘ simp∘, while preserving the existing bubble after the conversion tactic.
Written by the indexing model from the issue text.
Assessment
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100