Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
yyyhz opened this issue Sep 20, 2024 · 2 comments
Open

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

yyyhz opened this issue Sep 20, 2024 · 2 comments

Comments

@yyyhz
Copy link

yyyhz commented Sep 20, 2024

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?

@objecti0n
Copy link
Collaborator

@yyyhz
Copy link
Author

yyyhz commented Oct 23, 2024

Thank you very much for your answer, I can run it on the web version! But locally, using open real requires LeanDOJO, but after setting it up according to your README, it comes up with something like:[{'theorem': 'amc12a_2019_p21', 'success': False, 'failure_reason': 'DojoInitError'}] Error Reporting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants