chrisflav / chrisflav/mathlib-staging
Generalize `have` tactic
Nobody has claimed this yet.
- Dominant language
- Lean
- Stars
- 0
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
Write a tactic that generalizes a local have or let statement: Given some context and a have or let with a certain type signature, generate a new have / let declaration with all free variables in the context of the have / let introduced as parameters.
- Provide a way to restrict the generalization by explicitly listing the variable that should be generalized.
- Write useful test cases.
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
Start by locating the existing tactic entry point and its test conventions in the repository. Define the behavior for generalizing free variables from a local have or let, including explicit variable restriction, then add useful tests that demonstrate both forms and verify the generated declaration.
Written by the indexing model from the issue text.
Assessment
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100