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
All the equational lemma generation bugs in doc-gen4 #998
Comments
@hargoniX Thanks for creating the issue. I will investigate and try to improve the tactic used to automatically prove the equational theorems.
The error message includes the proof state where the tactic got stuck, and its complexity is proportional to the size of the definition. |
leodemoura
added a commit
that referenced
this issue
Feb 8, 2022
The previous changes fixed two of them.
leodemoura
added a commit
that referenced
this issue
Feb 8, 2022
leodemoura
added a commit
that referenced
this issue
Feb 8, 2022
It fixes the following two cases from #998 ``` attribute [simp] Lean.Export.exportName attribute [simp] Lean.Export.exportLevel ```
The previous commit also fixes attribute [simp] ByteSlice.forIn.loop |
leodemoura
added a commit
that referenced
this issue
Feb 10, 2022
Use zeta reduction to create new opportunities of beta-reduction. This issue fixes on the problems that were affecting the generation of equation theorems for `Array.heapSort.loop` (see issue: #998). After this fix, the equation theorem generation fails at `splitMatch`.
leodemoura
added a commit
that referenced
this issue
Feb 10, 2022
…pe errors at `splitMatch` We can now generate the equation theorem for ``` attribute [simp] Array.heapSort.loop ``` see #998
leodemoura
added a commit
that referenced
this issue
Feb 10, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Prerequisites
Description
For doc-gen4 I'm generating all the equational lemmata there are (with the exception of those that time out due to heartbeats)
and the following of them are failing with actual errors during generation instead of just a timeout:
they are most likely not all related to the same issue since there are different error messages but I figured posting them in one issue might be for the best.
Steps to Reproduce
Note that some of these functions are coming from Mathlib4, I reproduce it like this by cloning Mathlib4, setting the lean-toolchain to the (current) latest nightly and writing the following at the bottom of
Mathlib.lean
:All of these end up failing with quite large error messages I don't really know what to make of
Versions
Lean: Lean (version 4.0.0-nightly-2022-02-04, commit 6d07092, Release)
OS: Linux
The text was updated successfully, but these errors were encountered: