23 Lean Workbook statements with a phantom-variable (binder-escape) defect

Open
#49 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Domain
content

Research direction

Request the full list, contexts, and detector script mentioned in the issue, then inspect the 23 Lean Workbook statements and their big-operator bindings. Verify each statement in Lean 4.9 and confirm that the corrected corpus no longer elaborates with phantom variables or rewards proofs of unintended mathematics.

Written by the indexing model from the issue text.

Description

Hello,

A static check calibrated on known-defective statements (and verified in Lean 4.9)
finds 23 Lean Workbook statements whose big-operator body is unparenthesised, so the
binder variable escapes its scope. Under autoImplicit these elaborate with a phantom
universally quantified variable and do not state the intended mathematics. An example
is a telescoping identity that parses as (sum of (k+1)!) minus a phantom k factorial.
Since the corpus is used as a training reward source, these items pay reward for
proving accidents. Full list, contexts, and the detector script attached on request.

Dominant language
Python
Stars
554
Forks
40
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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.

More from InternLM/InternLM-Math

All issues in InternLM/InternLM-Math

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.