leanprover-community / leanprover-community/lean4game
Feature request: Hints sensitive to further proof states
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 553
- Forks
- 105
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 8
Description
If I understand correctly, the Hints are currently based on the current goal and it's associated proof state only. Further goals are not taken into account. However, sometimes, an intermediate stage of a correct solution can be distinguished from an intermediate stage of an non-solution only based on further goals. For example, in the two lines marked (***) in
Robo, Planet Robostwana, Level 7
the first goals and proof states match, but the second goal is j ≠ j (which is not provable) in one line and j ≠ i (which is provable from the assumptions) in the other line.
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 with Game/Levels/Robotswana/L07_EBasisZeroOffDiag.lean at the two lines marked (***) and compare the later goals and proof states described in the issue. Trace the existing Hints behavior from the repository entry points, then verify that hints can distinguish cases using further goals as well as the current goal.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- game-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100