Skip to content

Sync upstream mathlib4 (2026-07-26, +4 commits) - #85

Merged
winstonyin-ax merged 5 commits into
masterfrom
sync/upstream
Jul 26, 2026
Merged

Sync upstream mathlib4 (2026-07-26, +4 commits)#85
winstonyin-ax merged 5 commits into
masterfrom
sync/upstream

Conversation

@winstonyin-ax

@winstonyin-ax winstonyin-ax commented Jul 26, 2026

Copy link
Copy Markdown
Collaborator

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

Low Risk
Routine upstream merge touching Mathlib proofs and a dependency pin; no auth, security, or application runtime code.

Overview
Upstream mathlib4 sync (tip 9cebae57…) bumps batteries and advances upstream_sha.

Nat factorials: ascFactorial_le and descFactorial_le are tagged with @[gcongr] so the monotonicity tactic can use them when rewriting under ascending/descending factorials.

Manifold Icc intervals: The proof that Icc x y → ℝ is smooth is reworked using SmoothEmbedding / IsImmersionOfComplement instead of a long chart-by-chart argument. New results include isSmoothEmbedding_subtypeVal_Icc, contMDiff_iff_comp_subtypeVal_Icc, and isImmersionOfComplement_subtypeVal_Icc. Public names move from contMDiff_subtype_coe_Icc / mfderiv_subtype_coe_Icc_one to contMDiff_subtypeVal_Icc / mfderiv_subtypeVal_Icc_one (old names kept as deprecated aliases). Mathlib/Geometry/Manifold/Instances/Real.lean gains simp-friendly lemmas for 𝓡∂ n, IccLeftChart, and IccRightChart (apply/symm forms) to support the new proofs.

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

grunweg and others added 5 commits July 25, 2026 09:21
…(#29077)

Prove that the inclusion of an interval into the real numbers is a smooth embedding,
and use this to golf the proof that this inclusion is smooth.

While at it, rename the smoothness lemmas after the coercion `Subtype.val` they are using,
as mandated by the naming convention.
…ial_le (#41577)

This PR adds the `@[gcongr]` attribute to `Nat.ascFactorial_le` and to the identically-shaped `Nat.descFactorial_le`, so that `gcongr` can rewrite under `ascFactorial`/`descFactorial`. `Nat.factorial_le` in the same file is already tagged `@[mono, gcongr]`.

Follow-up to [#40816 (feat(Data/Nat/Factorial/Basic): add `ascFactorial_le`)](leanprover-community/mathlib4#40816).

🤖 Prepared with Claude Code
This PR updates the Mathlib dependencies.
This PR updates the Mathlib dependencies.
@winstonyin-ax
winstonyin-ax merged commit 9ff21f3 into master Jul 26, 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.

3 participants