Merged
Conversation
This PR updates the Mathlib dependencies.
…d` (#15951) Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
…nalyticGroupoid` (#10853) 1. Change the definition of `analyticGroupoid` to mean analytic everywhere including on the boundary, using the recently added `AnalyticWithinAt` def. 2. Define `AnalyticManifold` as a charted space compatible with `analyticGroupoid`. In finite dimensions `AnalyticManifold` is equivalent to `SmoothManifoldWithCorners`, so an alternative option would be to leave this out and prove the necessary correspondence via Osgood's theorem. However, we don't have Osgood's theorem yet, and it's nice to have a version that works arbitrarily.
Prove Beck's comonadicity theorem by dualizing everything in [CategoryTheory.Monad.Monadicity](https://leanprover-community.github.io/mathlib4_docs/Mathlib/CategoryTheory/Monad/Monadicity.html). This contribution was created as part of the AIM workshop "Formalizing Algebraic Geometry" in June 2024. Co-authored-by: dagurtomas <dagurtomas@gmail.com> Co-authored-by: adamtopaz <github@adamtopaz.com> Co-authored-by: Jack McKoen <104791831+mckoen@users.noreply.github.com>
chore: Fix mistakes in user-facing error and trace messages
At least, until I fix a bug, reported both on [Mathlib](https://leanprover.zulipchat.com/#narrow/stream/287929-mathlib4/topic/haveLet.20linter.20crashing.20under.20.60byAsSorry.60) and on projects depending on [Mathlib](https://leanprover.zulipchat.com/#narrow/stream/412902-Polynomial-Freiman-Ruzsa-conjecture/topic/Outstanding.20tasks.2C.20version.202.2E0/near/464281461).
Co-authored-by: ChrisHughes24 <chrishughes24@gmail.com>
These paths refer to files and folders that used to exist but not anymore due to refactors such as [mathlib3#12929](leanprover-community/mathlib3#12929) and [mathlib3#8095](#8095).
For an `AddCommGroup` `A` and an integer `n`, - Define `AddSubgroup.torsionBy A n` using `Submodule.torsionBy`; - Define a scoped notation `A[n]`. Additionally, for a natural number `n`, - Equip `A[n]` with a `ZMod n`-module structure.
…ata.Int.Order` (#15152) We swap out some bundled ordered algebra API calls for native `Nat` and `Int` ones. We also add one. This allows us to avoid needing bundled ordered algebra in this file and pushes its import further downstream. Since it touches `Init.Data.Int.Order`, we rename it `Data.Int.Order.Basic`. Co-authored-by: Matthew Robert Ballard <100034030+mattrobball@users.noreply.github.com> Co-authored-by: Johan Commelin <johan@commelin.net>
This PR adds more API lemmas about the bicategory of categories `Cat`. These are added as `simp` is not able to use the corresponding `NatTrans` lemmas when working with 2-morphisms in the bicategory `Cat`. Due to this some proofs in `CategoryTheory/Grothendieck` can be golfed.
…flat as a submodule (#15360)
A tweak to `linear_combination` so that when the default normalization tactic fails, the "red underlines" appear on the `linear_combination` call itself, rather than just on the "by" at the start of the proof. For example, compare before/after on this example:
```lean
import Mathlib
example {a : ℤ} (h : a = 1) : a = 2 := by
linear_combination h
```
Zulip discussion:
https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/Propagating.20errors.20through.20Unhygienic.2Erun
This PR updates the Mathlib dependencies.
…lgebra` typeclasses (#14699) Define a typeclass `Differential` of `CommRing`s with a chosen `Derivation`, a notation for that derivation, and a `DifferentialAlgebra` for `Algerba`s on differential rings whose `algebraMap` commutes with the derivation. Co-authored-by: Daniel Weber <55664973+Command-Master@users.noreply.github.com>
so that printing the definitions shows `match … with` properly, and meta code looking for matchers work. Fixes an item on #1074
…#16024) This is simply not simpler From LeanAPAP
I need this to drop `[T2Space _]` assumptions here and there.
Define an `IsHomeomorph` predicate for maps between topological spaces to complement the existing bundled `Homeomorph` API. Co-authored-by: Yaël Dillies <yael.dillies@gmail.com>
... in finite dimensions.
This PR updates the Mathlib dependencies.
…l Inner Product Space as Direct Sum of Simultaneous Eigenspaces of Commuting Symmetric Operators (#15012) Introduced `Mathlib.Analysis.InnerProductSpace.Simultaneous.lean` as a receptacle for results concerning simultaneous eigenspace decomposition results for tuples of commuting symmetric operators on (finite-dimensional) Hilbert space. Includes decomposition of finite-dimensional Hilbert space as internal direct sum of simultaneous eigenspaces of a commuting pair of symmetric operators. Co-Authored by: Jack Cheverton <jt18chev@siena.edu> Co-Authored by: Samyak Dhar Tuladhar <sd10tula@siena.edu> Co-authored-by: JonBannon <59937998+JonBannon@users.noreply.github.com>
This PR updates the Mathlib dependencies.
From LeanAPAP Co-authored-by: Bhavik Mehta <bhavik.mehta8@gmail.com>
All these lemmas have pretty generic names
… calculus has nonempty spectrum (#16343) In particular, this gives us that the `ℝ`-spectrum of selfadjoint elements and the `ℝ≥0`-spectrum of nonnegative elements in a C⋆-algebra are nonempty.
It's better if the NIGHTLY_TESTING token is reserved for the nightly-testing-* branches. This should also hopefully help with API limits.
`Quot.exact` ↦ `Quot.eqvGen_exact` `Quot.EqvGen_sound` ↦ `Quot.eqvGen_sound`
…ofinite` (#14382) Let `(Sᵢ)_{i : I}` be a family of finite sets indexed by a cofiltered category `I` and let `S` be its limit in `Profinite`. Let `G` be a functor from `Profinite` to a category `C` and suppose that `G` preserves the limit described above. Suppose further that the projection maps `S ⟶ Sᵢ` are epimorphic for all `i`. Then `G.obj S` is isomorphic to a limit indexed by `StructuredArrow S toProfinite` (see `Profinite.Extend.isLimitCone`). We also provide the dual result for a functor of the form `G : Profiniteᵒᵖ ⥤ C`.
Currently, some style exceptions emitted by the `lint-style.py` script are not recognised by that same script. This can lead to confusing behaviour. That said, all current exceptions should rather be fixed than excepted - so this is unlikely to be an issue in practice.
PR summary 116cb4eea5
|
| File | Base Count | Head Count | Change |
|---|---|---|---|
| Mathlib.Topology.UrysohnsLemma | 1223 | 1237 | +14 (+1.14%) |
| Mathlib.Topology.Category.CompHaus.Basic | 1316 | 1330 | +14 (+1.06%) |
| Mathlib.Topology.Compactness.CompactlyGeneratedSpace | 1320 | 1334 | +14 (+1.06%) |
| Mathlib.Topology.Category.Profinite.Basic | 1322 | 1336 | +14 (+1.06%) |
| Mathlib.Topology.Category.CompactlyGenerated | 1323 | 1337 | +14 (+1.06%) |
| Mathlib.Topology.Category.Profinite.Product | 1323 | 1337 | +14 (+1.06%) |
| Mathlib.Topology.Category.Stonean.Basic | 1350 | 1364 | +14 (+1.04%) |
| Mathlib.Topology.Category.Profinite.Extend | 1351 | 1365 | +14 (+1.04%) |
| Mathlib.Topology.Category.Stonean.Adjunctions | 1352 | 1366 | +14 (+1.04%) |
| Mathlib.Condensed.Basic | 1386 | 1400 | +14 (+1.01%) |
| Mathlib.Condensed.Functors | 1404 | 1418 | +14 (+1.00%) |
| Mathlib.Topology.Category.Profinite.EffectiveEpi | 1408 | 1422 | +14 (+0.99%) |
| Mathlib.Topology.Category.Stonean.EffectiveEpi | 1408 | 1422 | +14 (+0.99%) |
| Mathlib.Topology.Category.LightProfinite.Basic | 1353 | 1366 | +13 (+0.96%) |
| Mathlib.Topology.Category.LightProfinite.AsLimit | 1354 | 1367 | +13 (+0.96%) |
| Mathlib.Topology.Category.LightProfinite.Sequence | 1355 | 1368 | +13 (+0.96%) |
| Mathlib.Topology.Category.LightProfinite.Extend | 1359 | 1372 | +13 (+0.96%) |
| Mathlib.Condensed.TopComparison | 1464 | 1478 | +14 (+0.96%) |
| Mathlib.Condensed.TopCatAdjunction | 1469 | 1483 | +14 (+0.95%) |
| Mathlib.Condensed.Equivalence | 1474 | 1488 | +14 (+0.95%) |
| Mathlib.Condensed.Light.Basic | 1406 | 1419 | +13 (+0.92%) |
| Mathlib.Condensed.Light.Functors | 1410 | 1423 | +13 (+0.92%) |
| Mathlib.Topology.Category.Profinite.Nobeling | 1550 | 1564 | +14 (+0.90%) |
| Mathlib.Condensed.Module | 1551 | 1565 | +14 (+0.90%) |
| Mathlib.Condensed.CartesianClosed | 1566 | 1580 | +14 (+0.89%) |
| Mathlib.Condensed.Discrete.Basic | 1472 | 1485 | +13 (+0.88%) |
| Mathlib.Condensed.Explicit | 1595 | 1609 | +14 (+0.88%) |
| Mathlib.Condensed.Light.TopComparison | 1485 | 1498 | +13 (+0.88%) |
| Mathlib.Condensed.Light.TopCatAdjunction | 1489 | 1502 | +13 (+0.87%) |
| Mathlib.Condensed.Light.Module | 1587 | 1600 | +13 (+0.82%) |
| Mathlib.Condensed.Light.Limits | 1588 | 1601 | +13 (+0.82%) |
| Mathlib.Condensed.Light.CartesianClosed | 1601 | 1614 | +13 (+0.81%) |
| Mathlib.Condensed.Light.Explicit | 1602 | 1615 | +13 (+0.81%) |
Import changes for all files
| Files | Import difference |
|---|---|
3 filesMathlib.Topology.MetricSpace.PartitionOfUnity Mathlib.Topology.PartitionOfUnity Mathlib.Analysis.Convex.PartitionOfUnity |
3 |
Mathlib.Topology.CompletelyRegular |
12 |
17 filesMathlib.Topology.Category.LightProfinite.EffectiveEpi Mathlib.Condensed.Discrete.Basic Mathlib.Condensed.Light.Explicit Mathlib.Topology.Category.LightProfinite.Extend Mathlib.Condensed.Light.CartesianClosed Mathlib.Condensed.Light.TopComparison Mathlib.Condensed.Light.TopCatAdjunction Mathlib.Topology.Category.LightProfinite.AsLimit Mathlib.Topology.Category.LightProfinite.Limits Mathlib.Condensed.Light.Epi Mathlib.Condensed.Light.Limits Mathlib.Topology.Category.LightProfinite.Basic Mathlib.Topology.Category.LightProfinite.Sequence Mathlib.Condensed.Light.Basic Mathlib.Condensed.Light.Module Mathlib.Condensed.Light.Functors Mathlib.MeasureTheory.Measure.EverywherePos |
13 |
35 filesMathlib.Topology.Category.Stonean.Adjunctions Mathlib.Topology.Category.Stonean.EffectiveEpi Mathlib.Topology.Category.CompHaus.EffectiveEpi Mathlib.Topology.Category.Profinite.CofilteredLimit Mathlib.Condensed.Limits Mathlib.Condensed.TopComparison Mathlib.Topology.Category.Profinite.Nobeling Mathlib.Condensed.Explicit Mathlib.Condensed.Module Mathlib.Topology.Category.Profinite.EffectiveEpi Mathlib.Topology.Category.Profinite.AsLimit Mathlib.Condensed.Basic Mathlib.Condensed.Solid Mathlib.Topology.Category.CompHaus.Basic Mathlib.Topology.Category.CompHaus.Projective Mathlib.Topology.Category.Profinite.Projective Mathlib.Topology.Category.Profinite.Basic Mathlib.Topology.Category.CompHaus.Limits Mathlib.Condensed.TopCatAdjunction Mathlib.Topology.UrysohnsLemma Mathlib.Topology.Category.CompactlyGenerated Mathlib.Topology.Category.Compactum Mathlib.Topology.Category.Profinite.Extend Mathlib.Condensed.CartesianClosed Mathlib.Topology.Compactness.CompactlyGeneratedSpace Mathlib.Topology.Category.Stonean.Basic Mathlib.Topology.Category.Locale Mathlib.Order.Category.Frm Mathlib.Condensed.Epi Mathlib.Condensed.Functors Mathlib.Condensed.Equivalence Mathlib.Topology.Category.Profinite.Product Mathlib.Topology.Category.Profinite.Limits Mathlib.Topology.Order.Category.FrameAdjunction Mathlib.Topology.Category.Stonean.Limits |
14 |
Declarations diff
+ coe_unitIntervalSubmonoid
+ exists_forall_tsupport_iUnion_one_iUnion_of_isOpen_isClosed
+ exists_tsupport_one_of_isOpen_isClosed
+ mem_unitIntervalSubmonoid
+ prod_mem
+ unitIntervalSubmonoid
You can run this locally as follows
## summary with just the declaration names:
./scripts/declarations_diff.sh <optional_commit>
## more verbose report:
./scripts/declarations_diff.sh long <optional_commit>The doc-module for script/declarations_diff.sh contains some details about this script.
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.
No description provided.