Skip to content

Sync upstream mathlib4 (2026-05-11, +11 commits)#3

Merged
winstonyin-ax merged 12 commits into
masterfrom
sync/upstream
May 11, 2026
Merged

Sync upstream mathlib4 (2026-05-11, +11 commits)#3
winstonyin-ax merged 12 commits into
masterfrom
sync/upstream

Conversation

@winstonyin-ax
Copy link
Copy Markdown
Collaborator

@winstonyin-ax winstonyin-ax commented May 11, 2026

Automated daily sync from leanprover-community/mathlib4@master.

Auto-merges to master once CI (self-hosted) passes. Regenerated
daily until merged or until a conflict appears.


Note

Medium Risk
Medium risk due to wide-ranging library changes across algebra/topology/set theory (new lemmas, moved definitions, and import reshuffles) that may affect downstream proofs via typeclass/rewriter behavior, though changes are largely additive and refactoring-focused.

Overview
Syncs 11 upstream commits.

Adds a new complex analysis file Analysis/Complex/ValueDistribution/Cartan (and imports it from Mathlib.lean) establishing circle-integrability/average results for log ‖meromorphicTrailingCoeffAt (f · - a) 0‖ as groundwork for Cartan’s formula.

Extends “directed supremum preserves commutativity” support by adding isMulCommutative_iSup lemmas/instances for Subsemigroup, Submonoid, Subgroup, Subsemiring/Subring, and (non-unital, star) Subalgebra variants, plus related directed StarSubalgebra coercion lemmas.

Refactors/extends meromorphic infrastructure with new fun-form iff lemmas for add/sub meromorphicity, order/trailing-coefficient negation lemmas, and additional trailing-coefficient arithmetic lemmas; also tweaks Expect positivity/strictness lemmas and adds C⋆-algebra spectral-radius-to-real/norm-squared identities.

Includes several topology/linear-algebra maintenance changes: moves Submodule.subtypeL into the Submodule namespace with deprecations, relocates closed-complemented results to Topology/Algebra/Module/FiniteDimension, and simplifies some proofs/simp usage; plus new codiscreteWithin lemmas for complements of singleton/finite sets and new ordinal/cardinal lemmas around ω^2 bounds, cofinalities, and inaccessibles.

Reviewed by Cursor Bugbot for commit 5c2406f. Bugbot is set up for automated code reviews on this repo. Configure here.

gw90 and others added 12 commits May 10, 2026 18:21
…ebra norm equals the square root of the spectral radius of star a * a (#33178)

Adds lemmas that the ||a||^2_A=sqrt(spectralRadius C (star a * a)). I think it would be helpful to have these lemmas available in Mathlib. It'll help with some of the other things I'm working on. Feel free to move them to a different file or rename them as you see fit.

Co-authored-by: Gregory Wickham <gwickham99@gmail.com>
Co-authored-by: Jireh Loreaux <loreaujy@gmail.com>
If `f : ℂ → ℂ` is meromorphic, establish the circle integrability of the function `a ↦ log ‖meromorphicTrailingCoeffAt (f · - a) 0‖` and compute values of the circle integral. The circle integral in question is one of the main terms in Cartan's classic formula, describing the characteristic function `characteristic f ⊤ r` as a sum of circle averages. 

This is the second section of a four-part PR, establishing Cartan's formula and its most immediate corollaries.
…ctions (#38984)

Add simple, but useful, variants of the principle of isolated zeros for meromorphic functions.
…(#36891)

Used in the CGT repo.

Co-authored-by: Aaron Liu <aaronliu2008@outlook.com>
…n lemmas (#38962)

This PR renames the companion lemmas of `Submodule.subtypeL` for consistency with `Submodule.mkQL` (introduced in PR #38811). Specifically, `Submodule.coe_subtypeL` is renamed to `Submodule.toLinearMap_subtypeL` (to accurately reflect that it projects to the underlying LinearMap, not a function-level coercion), and `Submodule.coe_subtypeL'` is renamed to `Submodule.coe_subtypeL` (since this is the genuine function-level coercion lemma).
…sional (#38579)

`Submodule.ClosedComplemented.of_quotient_finiteDimensional` currently says that any finite codimension *closed* subspace of a Banach space is topologically complemented. The current proof uses the Banach open mapping theorem.

In fact the result holds for any TVS over a nontrivially normed field, and we have the stronger result that any algebraic complement of a finite codimension closed subspace is in fact a topological complement.
@winstonyin-ax winstonyin-ax merged commit d012a08 into master May 11, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants