leanprover-community / leanprover-community/lean4game

Feature request: Hints sensitive to further proof states

Open
#331 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

feature
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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.