Upgrade to Lean 4.30.0 / Mathlib v4.30.0#2
Open
elazarg wants to merge 7 commits into
Open
Conversation
- lean-toolchain: v4.21.0-rc3 -> v4.27.0 - lakefile.toml: pin mathlib to v4.27.0 - Delete lake-manifest.json (Lake regenerates) - cubical_sperner_prep: add import Mathlib.Tactic; close new implicit-arg side goals (hn1) in 5 places - cubical_sperner: close hn1 side goal; fix simp for Set.MapsTo - apply_cubical_sperner: annotate tendsto_one_div with (R : Real) for new ContinuousSMul typeclass - kakutani: same tendsto_one_div annotation - brouwer: replace removed EquivLike.inv_apply_eq_iff_eq_apply with explicit symm_apply_apply proof Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Replace ~37 verbose Nat/Fin arithmetic proofs with `omega` - Fix 3 deprecated names: Finset.filter_False -> filter_false, Function.Surjective.injective_of_fintype -> injective_of_finite, div_add_div_same -> add_div - Remove 13 unused simp arguments flagged by linter - Net -53 lines, zero warnings Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
cubical_sperner_prep and cubical_sperner imported SimpleGraph.DegreeSum and SimpleGraph.Clique but never used them. Removing saves 21 build jobs. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Replace 25-line affine span argument with 7-line proof using interior_pi_set and interior_Icc to show the unit cube has nonempty interior. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Fix proofs broken by v4.29 tactic regressions: - `rw` on Iff no longer matches in `convex_homeos`; use `.mpr` directly. - `rwa` with Finset-coe membership no longer unfolds in `cubical_sperner`; construct the membership explicitly via `Finset.mem_coe` + `Finset.mem_filter`. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.
Summary
Relative to
harfe:main, this branch updates the project from Leanv4.21.0-rc3to Lean/Mathlibv4.30.0and carries the proof modernization and cleanup work accumulated along the way.Toolchain and package updates
leanprover/lean4:v4.30.0.v4.30.0and mark Lake as using a fixed toolchain.lake-manifest.json.Proof porting and modernization
hn1side goals in the cubical Sperner proofs.Set.MapsToand Finset-coercion proofs, including places whererwano longer unfolds the membership coercions.rw-on-Iffproof inconvex_homeoswith a direct.mpruse.(R : Real)annotations fortendsto_one_divafter theContinuousSMulchange.EquivLike.inv_apply_eq_iff_eq_applyuse with an explicitsymm_apply_applyproof.Finset.filter_False,Function.Surjective.injective_of_fintype,div_add_div_same,not_lt_zero',tendsto_finset_sum, andpush_neg.omegaand remove unused simp arguments flagged by the linter.Cleanup and theorem surface
SimpleGraph.DegreeSumandSimpleGraph.Cliqueimports from the cubical Sperner files.unit_cube_homeo_unit_ballusinginterior_pi_setandinterior_Icc.Function.IsFixedPt/Function.fixedPointsaliases for the cubical and Brouwer fixed-point statements.scripts/AxiomAudit.leanfor the main fixed-point theorems.Verification
lake exe cache getlake build FixedPointTheoremswith no warningslake env lean scripts/AxiomAudit.leanThe audited statements
fixed_point_unit_cube,fixed_point_unit_cube_isFixedPt,brouwer_fixed_point,brouwer_fixed_point_isFixedPt,brouwer_fixedPoints_nonempty, andkakutani_fixed_pointdepend onpropext,Classical.choice, andQuot.sound.