Sync upstream mathlib4 (2026-07-24, +7 commits) - #83
Merged
Conversation
Change the definition of [MeasureTheory.IsStoppingTime.measurableSpace](https://leanprover-community.github.io/mathlib4_docs/Mathlib/Probability/Process/Stopping.html#MeasureTheory.IsStoppingTime.measurableSpace) to require that it contains only sets that are measurable wrt `⨆ t, f t` where `f` is the filtration. This is what is done for instance in _Semimartingale Theory and Stochastic Calculus_ by He Wang Yan and is needed in the Brownian motion project.
… with zero (#40591) Proves two lemmas for infinite products over groups with zero: inverses and division behave as expected provided the limit is nonzero. This requires an extra import to get some of the GroupWithZero API. Maybe the GroupWithZero results should be in a different file but I was just adding to what was already there in Group.lean.
This PR introduces two type classes on `Graph`: `Loopless` and `Simple`.
…/right}` for `ConditionallyCompleteLinearOrderBot` (#38856) and `≤` versions for `ConditionallyCompleteLattice`.
Also add a few missing lemmas about the less bundled versions, make variable names follow the local file convention and explicit a missing argument. Also unprotected `toMultiplicative` and `toAdditive` because I do not see any reason why these should have been protected in the first place. From Toric
If two Lie algebras have bases with matching Cartan matrices, then they are isomorphic.
This PR updates the Mathlib dependencies.
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.6c5a9081e9b704f0d366214e1fd5e68e1538a4b2Auto-merges to
masteronceCI (self-hosted)passes. Regenerateddaily until merged or until a conflict appears.
Note
Medium Risk
Broad upstream sync; stopping-time σ-algebra definition changes and API tweaks in monoid algebras may affect downstream proofs.
Overview
Lie algebras: Adds
LieAlgebra.Basis.Prodwith a product construction on Chevalley–Serre bases andequivOfReindex, showing two simple Lie algebras with the same Cartan matrix (up to reindexing) are isomorphic. Supporting API includesLieEquiv.prodComm,LieSubalgebra.equivMapOfInjective,map_lieSpan, andIsSimple.nontrivial.Combinatorics: New
Graph.Loopless/Graph.Simpleand conversionstoSimpleGraph/ofSimpleGraphon the generalGraphAPI.Probability: Stopping-time
measurableSpacenow treats sets as measurable in⨆ t, f t(not only the ambient σ-algebra), with matchingmeasurable_iSup/measurableSet_eq_top'lemmas used throughout stopping-time arguments.Algebra & topology: Monoid/add-monoid algebra
toMultiplicative/toAdditive(and alg/bialg variants) are reorganized with@[simps]and single-element lemmas;FiniteTypecall sites pick up an explicitRargument. Submodule map/kernel lemmas are extended. Infinite products gain inverse and divisionHasProd/tprodlemmas underContinuousInv₀. MinorciSup/ciInfsimp lemmas in conditionally complete lattices.Deps:
lake-manifest.jsonbumps batteries;Mathlib.leanimports the new modules.Reviewed by Cursor Bugbot for commit 2cbacd9. Bugbot is set up for automated code reviews on this repo. Configure here.