Sync upstream mathlib4 (2026-08-02, +12 commits) - #92
Merged
Conversation
This PR updates the Mathlib dependencies.
…1488) Split from #37959 Co-authored-by: artie2000 <artem.khovanov@gmail.com>
…three property (#42321)
… and double sum indexed by ι₂ and fibres of f : ι₁ → ι₂ (#39607) 1. Add variant `equivCongrLeft'` of `equivCongrLeft`, and corresponding `…_apply` lemma. 2. Add `…_of lemmas` for both `equivCongrLeft` and `equivCongrLeft'`. 3. Add `…of lemma` for `sigmaCurry`, i.e. `sigmaCurry_of`. 4. Add `sigmaFiberAddEquiv`: the equivalence between a direct sum indexed by a type `ι₁` and the double sum indexed by a type `ι₂` and the fibres of a map `f : ι₁ → ι₂`. Add two `…_apply` lemmas and an `…_of` lemma. Co-authored-by: TentativeConvert <marcus.zibrowius@cantab.net>
All these definitions are noncomputable (because they use choice/produce sets), but the computability checker doesn't spot this until I try making `Set` a one-field structure. This is because the computability checker doesn't even try to compute sorts, but it doesn't see that `s : Set α` is (equivalent to) a family of sorts. Follow-up to #41446. Generated by Claude Opus, then reviewed and cherry-picked line-by-line by myself. Assisted-by: Claude Opus 4.8
This PR probably removes most existing typos in mathlib docstrings. They were found by first extracting docstrings and putting them in a seperate txt file, then run a spell checker on in (in this case: https://github.com/codespell-project/codespell) and finally checking the output (many false ositives from names...) Co-authored-by: Batixx <s59fpern@uni-bonn.de>
…ty (#41798) Prove `Measure.map (AffineMap.homothety x c) μH[d] = ‖c‖₊⁻¹ ^ d • μH[d]` for `c ≠ 0`, resolving the TODO in `Mathlib/MeasureTheory/Measure/Hausdorff.lean`: the generalisation of `AffineMap.homothety_continuous` it was waiting for has since been merged, so the result follows from `hausdorffMeasure_homothety_preimage` via `Measure.ext`.
…ile (#42335) Co-authored-by: Whysoseriourhah <yx3021@ic.ac.uk>
Also tags `Subgraph.Adj.adj_sub`/`spanningCoe_adj`/`sup_adj`/`edge_adj` with `grind`.
This PR updates the Mathlib dependencies.
If the category of elements of a covariant functor has an initial object, then the functor is corepresentable. Co-authored-by: emilyriehl <eriehl@jhu.edu>
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.
Automated daily sync from
leanprover-community/mathlib4@master.ae0d973d69b779efa724095bd41793b8cf233831Auto-merges to
masteronceCI (self-hosted)passes. Regenerateddaily until merged or until a conflict appears.
Note
Low Risk
Routine mathlib4 upstream sync: mostly additive lemmas, proof refactors, and documentation. No auth, deployment, or breaking application-layer changes in this repo’s sync workflow.
Overview
Daily upstream merge from
leanprover-community/mathlib4(tipae0d973).New API:
DirectSum.sigmaFiberAddEquivand relatedsigmaCurry/equivCongrLeftsimp lemmas;Module.finrank_dvd_finrank_left/rightand division cancel lemmas (used in intermediate fields);Functor.ElementsequivalenceshasInitial_iff_isCorepresentable/hasInitial_iff_isRepresentable;HomotopyEquiv.copyandhomotopyEquivalencesinstances (IsMultiplicative, two-out-of-three,RespectsIso);Measure.map_homothety_hausdorffMeasure; normed star group lemmas (Metric.star_ball,dist_star_star, etc.).Proof / definitional cleanup: valuation
restrictandIsEquivAPI; homotopy equivalence API (@[simps], implicitCinrefl/symm/trans); simple-graphedge/sup_adjproofs viagrind; intermediate fieldfinrank_dvdrouted through new module lemmas.Misc:
noncomputableon several archive/counterexample defs; doc/typo fixes across tactics and ring theory;lake-manifestBatteries revision bump.Reviewed by Cursor Bugbot for commit add1aba. Bugbot is set up for automated code reviews on this repo. Configure here.