InternLM / InternLM/InternLM-Math

Is the proof included in the Lean-workbook ensured to be correct?

Open
#40 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
550
Forks
39
PR merge metrics
No merged PRs in 30d

Description

I used the header you provided and integrated the formal_statement and proof. Only to find that some cases pass lean server and some don't.
For example:
theorem lean_workbook_26 (x : ℝ) (hx : 0 < x) : x - 1 ≥ Real.log x := by
nlinarith [log_le_sub_one_of_pos hx]
will display error:unknown identifier 'log_le_sub_one_of_pos'
Do you know how to fix it?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the lean_workbook_26 theorem in the Lean server using the provided header, then check why log_le_sub_one_of_pos is unavailable. Confirm the required environment or declaration and verify that the example compiles without the unknown-identifier error.

Written by the indexing model from the issue text.

Assessment

Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.