Repository navigation
Conversation
Adds external-formalization entries for Q16680059 (strong perfect graph theorem) and Q2800071 (perfect graph theorem), both formalized in Lean 4 at https://github.com/wpegden/spgt with commit-pinned permalinks.
Welcome new contributor!Thank you for contributing to Mathlib! If you haven't done so already, please review our contribution guidelines, as well as the style guide and naming conventions. In particular, we kindly remind contributors that we have guidelines regarding the use of AI when making pull requests. We use a review queue to manage reviews. If your PR does not appear there, it is probably because it is not successfully building (i.e., it doesn't have a green checkmark), has the If you haven't already done so, please come to Zulip and join the Lean community. |
PR summary ef4d6803feImport changes for modified filesNo significant changes to the import graph Import changes for all files
|
✅ PR Title Formatted CorrectlyThe title of this PR has been updated to match our commit style conventions. |
|
I am not an official reviewer, but as a mathlib follower, if I see this in the 1000 theorem list I would be disappointed for how unreadable the repo is (it has a folder with 1900 files that github can't even load) |
|
There is a viewer for the formalization here, which I think is much more user friendly than trying to use github: I would be very happy for any feedback on specific ways readability can be improved however! Note that there is one way I think the formalizations produced by Trellis are unusually readable, which is that every part of every lean proof comes with a detailed natural language proof of a paired natural language statement, that you can compare side by side. Of course I think it's fair to call an enormous formalization difficult to read no matter how it is presented. EDIT: I just realized the viewer is not linked to in the README. I have corrected this! |
|
Welcome! I'm not sure it's stated anywhere yet, but I believe the standard for "has this been formalized" where massive amounts of LLM-generated code are involved ought to at least require the use of leanprover/comparator in the repo with a simple, reviewable As the README says, we need to trust the definitions to trust the formalization, so those ought to be reviewable in such a challenge file :) However, I see there are quite a few definitions. Do you think this is feasible? I will also ping @grunweg on this, particularly on whether 1000 is a place for LLM-generated code at all. It is not clear to me what the list is trying to communicate. Do we want the signal of whether a human has formalized some theorem (and the various properties that come with it)? Or is the fact that it has been formalized at all still useful? (This may have been discussed before.) |
|
Hi @thorirmur, On the page for the SPGT node, the "semantic closure" is only four simple definitions. I am happy to prepare a comparator file if someone clarifies whether that is the only issue. |
|
The 1000.yaml file was created in the pre-AI days (when any formalization of such results was useful progress to track). These days, "X can be formalized" is not that interesting (but reusable results, curated definitions, etc. are). I think its purpose needs to be re-discussed in the age of AI; I'll start one. |
|
I have added comparator files to the repo. If this is supposed to be a list of 1000+ theorems with human-authored formalizations then I 100% I agree this formalization doesn't belong here. That was not my impression from any of its documentation or from some of the accepted solutions: Entry PR Disclosure (verbatim) |
|
Those examples are very different than 500k of LLM generated code |
Could you point me to where this Zulip conversation is? I searched a bit and couldn't find it. (As noted above, I have added comparator files to the repo.) |
|
Any updates on this? |
|
The Zulip conversation above is in the mathlib reviewers stream (i.e., only visible to mathlib reviewers). Discussion is making progress, but hasn't fully converged yet. It looks like the conclusion will be to clarify the intended meaning of the 1000 theorems page. We will post an update here once the discussion has concluded! |
|
Any update on this discussion? |
|
See #44115 |
Adds external-formalization entries for Q16680059 (strong perfect graph theorem) and Q2800071 (perfect graph theorem), both formalized in Lean 4 at https://github.com/wpegden/spgt with commit-pinned permalinks.