Port to Lean 4.31#828
Closed
lividgreen wants to merge 7 commits into
Closed
Conversation
Bump lean-toolchain to leanprover/lean4:v4.31.0, pin leanprover-community/mathlib to v4.31.0, refresh lake-manifest.
Foundational-layer drift: FunLike coe_injective' rename, Function.comp_def, Finset.toSet -> coercion, simpa defeq-boundary -> using!, non-inferrable instance -> def/lemma. No statements changed; no sorry.
v4.31 drift across Basic/Arithmetic/Bootstrapping/Completeness/Incompleteness/SetTheory/Skolemization: defeq-boundary crossings, zero_le now-implicit qualification, quote/typed-quote unfolds, instance -> def. Incompleteness theorems stay axiom-clean (no sorry); no statements changed.
v4.31 drift across Hilbert/Kripke/Neighborhood/FMT/Boolean/Entailment: SetLike rename, Finset.toSet -> coercion, simpa -> using!, grind/omega regressions, instance -> def/lemma. No statements changed; no sorry.
v4.31 drift across Hilbert/Kripke/Logic/Boxdot/Algebra/Modality: simpa defeq-boundary -> using!, Finset.toSet -> coercion, conditional/non-inferrable instance -> def/lemma, grind/omega/assumption regressions (trivial/simp/relation-unfold), match equation-gen -> Sum.elim, refine-from metavar fix. No statements changed; no sorry.
…apt to Lean/Mathlib v4.31.0 v4.31 drift: buildAxioms HasJ instance -> def, simpa -> using!, Finset.toSet -> coercion, grind regressions, letterless-realization simpa. No statements changed; no sorry.
Output of the required pre-submission step `lake exe mk_all --module`: updates the shake directive header (--deprecated_module: ignore) for v4.31. Import list unchanged.
Member
|
Hello. We're currently planning to update to v4.31 after incorporating fixes such #823 by @iehality. |
This was referenced Jul 2, 2026
Contributor
|
Thanks, @lividgreen . Though we're liklely using mine ( #830 ), this likely accelerated the process! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I'm using Foundation for my own project. But I run Lean 4.31, so I had to port this with Claude for myself.
It IS AI-generated content, and I'm not an expert in Lean, so may be a good example of AI slop. But build is green.
I hope it is helpful rather than distracting.