-
Notifications
You must be signed in to change notification settings - Fork 340
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(Condensed): light condensed objects #9515
Commits on Mar 22, 2024
-
feat: Absolute value and positive parts in pi types (#10256)
and a few more lemmas. From LeanAPAP
Configuration menu - View commit details
-
Copy full SHA for 94d8b87 - Browse repository at this point
Copy the full SHA 94d8b87View commit details -
feat: results about
List.orderedInsert
(#11191)I suspect I will need some of these for #10660
Configuration menu - View commit details
-
Copy full SHA for 33b5c0b - Browse repository at this point
Copy the full SHA 33b5c0bView commit details -
chore: Remove
ball
andbex
from lemma names (#10816)`ball` for "bounded forall" and `bex` for "bounded exists" are from experience very confusing abbreviations. This PR renames them to `forall_mem` and `exists_mem` in the few `Set` lemma names that mention them. Also deprecate `ball_image_of_ball`, `mem_image_elim`, `mem_image_elim_on` since those lemmas are duplicates of the renamed lemmas (apart from argument order and implicitness, which I am also fixing by making the binder in the RHS of `forall_mem_image` semi-implicit), have obscure names and are completely unused.
Configuration menu - View commit details
-
Copy full SHA for eaa556a - Browse repository at this point
Copy the full SHA eaa556aView commit details -
chore: classify
todo
porting notes (#11216)Classifies by adding issue number #11215 to porting notes claiming "TODO".
Configuration menu - View commit details
-
Copy full SHA for b686eb0 - Browse repository at this point
Copy the full SHA b686eb0View commit details -
chore: classify
new lemma
porting notes (#11217)Classifies by adding issue number #10756 to porting notes claiming anything semantically equivalent to: - "new lemma" - "added lemma"
Configuration menu - View commit details
-
Copy full SHA for e5efcc8 - Browse repository at this point
Copy the full SHA e5efcc8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 179c229 - Browse repository at this point
Copy the full SHA 179c229View commit details -
feat: continuity of the parametric set integral (#11108)
From the sphere eversion project. In passing, we rename variables in one more lemma and use fun_prop in a tiny way.
Configuration menu - View commit details
-
Copy full SHA for 57972ce - Browse repository at this point
Copy the full SHA 57972ceView commit details -
feat(LinearAlgebra/PiTensorProduct): some more functoriality properti…
…es of `PiTensorProduct` (#11152) * Prove some properties of `PiTensorProduct.map`, for example the compatibility with composition and reindeixing, and the fact that it sends the identity to the identity. * Construct `PiTensorProduct.map` as a `MultilinearMap` on the family of linear maps. * Upgrade `PiTensorProduct.map f` to a linear equivalence called `PiTensorProduct.congr f` when `f` is a family of linear equivalences. * For `ι` a `Fintype`, define the canonical linear equivalence (given by multiplication) `constantBaseRingEquiv` from `⨂ i : ι, R` and `R`. Co-authored-by: smorel394 <67864981+smorel394@users.noreply.github.com> Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 5a46416 - Browse repository at this point
Copy the full SHA 5a46416View commit details -
feat(Topology): Define
PerfectSpace
(#10246)Introduces a new class, `PerfectSpace`, which requires that `Set.univ` is a perfect set. This is equivalent to say that no points are isolated (`perfectSpace_iff_forall_not_isolated`).
Configuration menu - View commit details
-
Copy full SHA for 1e3f96b - Browse repository at this point
Copy the full SHA 1e3f96bView commit details -
feat(UniformConvergenceTopology): add
isClosed_setOf_continuous
(#1…Configuration menu - View commit details
-
Copy full SHA for 162c712 - Browse repository at this point
Copy the full SHA 162c712View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f80af5 - Browse repository at this point
Copy the full SHA 7f80af5View commit details -
feat(CategoryTheory/EssentialImage): show that surjective functors ar…
…e essentially surjective (#11239) Show that if `F.obj` is surjective, `F` is essentially surjective.
Configuration menu - View commit details
-
Copy full SHA for 0d7a09b - Browse repository at this point
Copy the full SHA 0d7a09bView commit details -
feat(SuccPred): {succ,pred}_{min,max} (#9367)
Co-authored-by: Yaël Dillies <yael.dillies@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 61fe71d - Browse repository at this point
Copy the full SHA 61fe71dView commit details -
chore: squeeze some non-terminal simps (#11247)
This PR accompanies #11246, squeezing some non-terminal `simp`s highlighted by the linter until I decided to stop!
Configuration menu - View commit details
-
Copy full SHA for d3993c4 - Browse repository at this point
Copy the full SHA d3993c4View commit details -
Configuration menu - View commit details
-
Copy full SHA for d59c61f - Browse repository at this point
Copy the full SHA d59c61fView commit details -
chore: classify
rw to erw
porting notes (#11225)Classifies by adding issue number #11224 to porting notes claiming: > change `rw` to `erw`
Configuration menu - View commit details
-
Copy full SHA for 333bb0b - Browse repository at this point
Copy the full SHA 333bb0bView commit details -
chore: classify
added dsimp
porting notes (#11228)Classifies by adding issue number #11227 to porting notes claiming anything equivalent to: - "added `dsimp`" - "`dsimp` added" - "`dsimp` now needed"
Configuration menu - View commit details
-
Copy full SHA for 060e790 - Browse repository at this point
Copy the full SHA 060e790View commit details -
chore: classify
deprecated
porting notes (#11230)Classifies by adding issue number #11229 to porting notes claiming: > deprecated
Configuration menu - View commit details
-
Copy full SHA for d10219a - Browse repository at this point
Copy the full SHA d10219aView commit details -
feat:
tendsto_of_integral_tendsto_of_monotone
(#11167)Add `tendsto_of_integral_tendsto_of_monotone`, as well as `...of_antitone` and the corresponding results for `lintegral`. Also: - move some results about measurability of limits of (E)NNReal valued functions from BorelSpace.Metrizable to BorelSpace.Basic to make them available in Integral.Lebesgue. - add `lintegral_iInf'`, a version of `lintegral_iInf` for a.e.-measurable functions. We already have the corresponding `lintegral_iSup'`. Co-authored-by: sgouezel <sebastien.gouezel@univ-rennes1.fr>
Configuration menu - View commit details
-
Copy full SHA for f04c756 - Browse repository at this point
Copy the full SHA f04c756View commit details -
refactor: do not allow
nsmul
andzsmul
to default automatically (#……6262) This PR removes the default values for `nsmul` and `zsmul`, forcing the user to populate them manually. The previous behavior can be obtained by writing `nsmul := nsmulRec` and `zsmul := zsmulRec`, which is now in the docstring for these fields. The motivation here is to make it more obvious when module diamonds are being introduced, or at least where they might be hiding; you can now simply search for `nsmulRec` in the source code. Arguably we should do the same thing for `intCast`, `natCast`, `pow`, and `zpow` too, but diamonds are less common in those fields, so I'll leave them to a subsequent PR. Co-authored-by: Matthew Ballard <matt@mrb.email>
Configuration menu - View commit details
-
Copy full SHA for 0cf5c2f - Browse repository at this point
Copy the full SHA 0cf5c2fView commit details -
chore: resolve
(coe : ℤ → α) to ((↑) : ℤ → α)
porting notes (#11250)Resolves porting notes claiming "change `(coe : ℤ → α)` to `((↑) : ℤ → α)`" by substituting `Int.cast` with `(↑)`.
Configuration menu - View commit details
-
Copy full SHA for d5ed5c5 - Browse repository at this point
Copy the full SHA d5ed5c5View commit details -
feat: instantiate the continuous functional calculus (#10779)
This adds instances of the continuous functional calculus for unital C⋆-algebras for normal, selfadjoint, and positive elements.
Configuration menu - View commit details
-
Copy full SHA for 15e866c - Browse repository at this point
Copy the full SHA 15e866cView commit details -
Configuration menu - View commit details
-
Copy full SHA for d927b1d - Browse repository at this point
Copy the full SHA d927b1dView commit details -
chore: remove unnecessary
pp_dot
s (#11166)Release 4.7.0-rc1 makes it unnecessary to add `pp_dot` to structure fields. It used to be that function fields wouldn't pretty print using dot notation when the function was applied unless `pp_dot` was added.
Configuration menu - View commit details
-
Copy full SHA for 096480a - Browse repository at this point
Copy the full SHA 096480aView commit details -
chore(Order): add missing
inst
prefix to instance names (#11238)This is not exhaustive; it largely does not rename instances that relate to algebra, and only focuses on the "core" order files.
Configuration menu - View commit details
-
Copy full SHA for e44f574 - Browse repository at this point
Copy the full SHA e44f574View commit details -
refactor: do not allow
qsmul
to default automatically (#11262)Follows on from #6262. Again, this does not attempt to fix any diamonds; it only identifies where they may be.
Configuration menu - View commit details
-
Copy full SHA for db3e72c - Browse repository at this point
Copy the full SHA db3e72cView commit details -
chore: remove deprecated
aux
alias with typoed name (#11141)The code in question was barely three days old by the time it was deprecated anyway.
Configuration menu - View commit details
-
Copy full SHA for 28431ec - Browse repository at this point
Copy the full SHA 28431ecView commit details -
feat: Small sets of games/surreals are bounded (#10458)
Finish forwarding porting leanprover-community/mathlib3#15260 after #10566 ported just the changes in `PGame.lean`. We don't port `upper_bound_numeric` (or `lower_bound_numeric`) because `upper_bound` was deleted following review feedback on the previous forward-porting PR #10566. Co-authored-by: Yury G. Kudryashov <urkud@urkud.name> Co-authored-by: timotree3 <timorcb@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 2129ca0 - Browse repository at this point
Copy the full SHA 2129ca0View commit details -
feat: computable products and coproducts of functors to
Type u
(#10616) This PR defines an explicit binary product and binary coproduct for functors `F : C ⥤ Type u` for an arbitrary category `C`. This is a generalization of #9704. Co-authored-by: Joël Riou <joel.riou@universite-paris-saclay.fr>
Configuration menu - View commit details
-
Copy full SHA for 6816ccf - Browse repository at this point
Copy the full SHA 6816ccfView commit details -
Configuration menu - View commit details
-
Copy full SHA for e8782e4 - Browse repository at this point
Copy the full SHA e8782e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for d3da45c - Browse repository at this point
Copy the full SHA d3da45cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b7f562 - Browse repository at this point
Copy the full SHA 9b7f562View commit details -
feat(Probability/Kernel): add
compProd_add_left/right
(#11272)Interaction of the composition-product of kernels with addition.
Configuration menu - View commit details
-
Copy full SHA for f97d551 - Browse repository at this point
Copy the full SHA f97d551View commit details -
fix(LinearAlgebra/Projectivization/Independence): use DivisionRing in…
…stead of Field (#11232) I need $K$ to be a skew field instead of a field to prove that projectivization of a vector space is a projective geometry stated in proposition 2.1.6 in the book "Modern Projective Geometry" by Claude-Alain Faure and Alfred Frölicher, see p. 27-28. In p.27, just before the proposition, it is noted that "... $K$ is allowed to be a skew field (often called *division ring*)."
Configuration menu - View commit details
-
Copy full SHA for 9456d78 - Browse repository at this point
Copy the full SHA 9456d78View commit details -
fix(Equiv/TransferInstance): move
to_additive
attribute (#11277)Removes `to_additive` from a `MulZeroClass` instance and instead puts it on the corresponding `MulOneClass` instance (more explanation here: https://leanprover.zulipchat.com/#narrow/stream/287929-mathlib4/topic/to_additive.20on.20MulZeroClass).
Configuration menu - View commit details
-
Copy full SHA for 366a5f2 - Browse repository at this point
Copy the full SHA 366a5f2View commit details -
feat: Add a few continuity lemmas for products (#10820)
1. `ContinuousAt.comp₂`, `ContinuousAt.comp₂_continuousWithinAt`, and `_of_eq` versions. 2. `ContinuousAt.along_{fst,snd}`: Continuous functions are continuous in their first and second arguments.
Configuration menu - View commit details
-
Copy full SHA for 3be11f7 - Browse repository at this point
Copy the full SHA 3be11f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5061068 - Browse repository at this point
Copy the full SHA 5061068View commit details -
chore: more
squeeze_simp
s arising from linter (#11259)The squeezing continues! All found by the linter at #11246.
Configuration menu - View commit details
-
Copy full SHA for 870e5fe - Browse repository at this point
Copy the full SHA 870e5feView commit details -
feat(ConstMulAction): add
closure_smul₀'
, generalize (#10860)- Add `closure_smul₀'`, a version of `closure_smul₀` assuming `c ≠ 0` and no `T1Space`. - Generalize some lemmas from TVS to a continuous `MulActionWithZero`.
Configuration menu - View commit details
-
Copy full SHA for 6225716 - Browse repository at this point
Copy the full SHA 6225716View commit details -
refactor(UniformSpace): drop
separationRel
(#10644)We had duplicated API between topological spaces and uniform spaces. In this PR I mostly deduplicate it with some exceptions: - `SeparationQuotient.lift'` and `SeparationQuotient.map` are leftovers from the old version that are designed to work with uniform spaces; - probably, some theorems/instances still assume `UniformSpace` when `TopologicalSpace` would work. Outside of `UniformSpace/Separation`, I mostly changed `SeparatedSpace` to `T0Space` and `separationRel` to `Inseparable`. I also rewrote a few proofs that were broken by the API change. Fixes #2031
Configuration menu - View commit details
-
Copy full SHA for 2ba31e1 - Browse repository at this point
Copy the full SHA 2ba31e1View commit details -
feat: orthogonality of Lie algebra root spaces (#10879)
Co-authored-by: Johan Commelin <johan@commelin.net>
Configuration menu - View commit details
-
Copy full SHA for 5f10d01 - Browse repository at this point
Copy the full SHA 5f10d01View commit details -
feat(NumberTheory/LSeries): introduce notations (#11253)
This just introduces `L` as a short notation for `LSeries` and `↗f` as notation for `fun n : ℕ ↦ (f n : ℂ)`, both scoped to `LSeries.notation`. The latter makes it convenient to use arithmetic functions or Dirichlet characters (or anything that coerces to a function `N → R`, where `ℕ` coerces to `N` and `R` coerces to `ℂ`) as arguments to `LSeries` etc. The first is for convenience (and agreement with informal math, where we write "L(f, s)"), and the second one considerably simplifies statements involving Dirichlet characters or arithmetic functions like the von Mangoldt function and their L-series. See [here](https://leanprover.zulipchat.com/#narrow/stream/144837-PR-reviews/topic/L-series/near/424858837) on Zulip.
Configuration menu - View commit details
-
Copy full SHA for 4ded7a4 - Browse repository at this point
Copy the full SHA 4ded7a4View commit details -
Acl/reorg tensor product (#11282)
Move: * `Mathlib/Algebra/Module/DirectLimitAndTensorProduct.lean` to `LinearAlgebra/TensorProduct/DirectLimit.lean` * `Mathlib/LinearAlgebra/TensorProduct` to `Mathlib/LinearAlgebra.TensorProduct.Basic.lean` * `Mathlib/RingTheory/TensorProduct` to `Mathlib/RingTheory/TensorProduct/Basic.lean`. This follows suggestions 1, 2, 3 of https://leanprover.zulipchat.com/#narrow/stream/287929-mathlib4/topic/Tensor.20Products.20of.20modules.20and.20rings/near/424605543 Co-authored-by: Antoine Chambert-Loir <antoine.chambert-loir@math.univ-paris-diderot.fr>
Configuration menu - View commit details
-
Copy full SHA for 33458eb - Browse repository at this point
Copy the full SHA 33458ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 52d3fe7 - Browse repository at this point
Copy the full SHA 52d3fe7View commit details -
feat: avoid junk values in statement of Riemann hypothesis (#11267)
Mathematicians will be unnerved by us evaluating the zeta function at 1 and getting a complex number. Pointed out by Jordan Ellenberg on Twitter.
Configuration menu - View commit details
-
Copy full SHA for d9aa608 - Browse repository at this point
Copy the full SHA d9aa608View commit details -
feat(GroupTheory/GroupAction/Basic): additivize two lemmas (#11285)
I see no reason for the omission of `@[to_additive]` on these two `pretransitive_iff_...` lemmas, so add it here. From AperiodicMonotilesLean.
Configuration menu - View commit details
-
Copy full SHA for b65ceab - Browse repository at this point
Copy the full SHA b65ceabView commit details -
chore(Algebra/DirectLimit): drop some
DecidableEq
assumptions (#11288)... by moving `variable [DecidableEq ι]` to `section`s.
Configuration menu - View commit details
-
Copy full SHA for 1c8625e - Browse repository at this point
Copy the full SHA 1c8625eView commit details -
fix: restore
ext1?
/ext?
(deleted upstream) as syntax stubs (#11234)Fixing mathport breakage. Co-authored-by: Mario Carneiro <di.gama@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 9742e53 - Browse repository at this point
Copy the full SHA 9742e53View commit details -
feat(RingTheory/UniqueFactorizationDomain): add lemma UniqueFactoriza…
…tionMonoid.IsPrime.exists_mem_Prime_of_neq_bot (#11218) We add `UniqueFactorizationMonoid.IsPrime.exists_mem_Prime_of_neq_bot`: if an integral domain is a `UniqueFactorizationMonoid`, then every nonzero prime ideal contains a prime element. We plan to add the other implication (known as Kaplansky's criterion) in a future PR. Co-authored-by: EmilieUthaiwat <102412311+EmilieUthaiwat@users.noreply.github.com> Co-authored-by: faenuccio <filippo.nuccio@univ-st-etienne.fr>
Configuration menu - View commit details
-
Copy full SHA for 2f1528e - Browse repository at this point
Copy the full SHA 2f1528eView commit details -
feat(LinearAlgebra/BilinearMap): restrict scalars (#6133)
Generalizes the previous definition and moves it into `LinearAlgebra/BilinearMap`. Co-authored-by: Eric Wieser <wieser.eric@gmail.com> Co-authored-by: Anne Baanen <Vierkantor@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 6881bb2 - Browse repository at this point
Copy the full SHA 6881bb2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 729a383 - Browse repository at this point
Copy the full SHA 729a383View commit details -
Configuration menu - View commit details
-
Copy full SHA for a354866 - Browse repository at this point
Copy the full SHA a354866View commit details -
Add Commute.orderOf_mul_pow_eq_lcm (#11235)
We add `Commute.orderOf_mul_pow_eq_lcm`: if two commuting elements `x` and `y` of a monoid have order `n` and `m`, there is an element of order `lcm n m`. The result actually gives an explicit (computable) element, written as the product of a power of `x` and a power of `y`. Co-authored-by: Junyan Xu <[junyanxu.math@gmail.com](mailto:junyanxu.math@gmail.com)>
Configuration menu - View commit details
-
Copy full SHA for c901723 - Browse repository at this point
Copy the full SHA c901723View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4a65fd0 - Browse repository at this point
Copy the full SHA 4a65fd0View commit details -
perf(InnerProduct.Adjoint): speed up elaboration in two proofs (#11300)
For as yet un-completely diagnosed reasons, `unitary.star_mul_self_of_mem hu` for `(hu : u ∈ unitary (H →L[𝕜] H))` elaborates slowly thanks to `[1.068378s] ✅ ContinuousLinearMap.comp (ContinuousLinearMap.adjoint u) u =?= star ?a * ?b`. This PR pulls out the statements into `have`'s which speeds up the proofs significantly. #11299 documents the issue for future investigation.
Configuration menu - View commit details
-
Copy full SHA for 131bfdb - Browse repository at this point
Copy the full SHA 131bfdbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f179ac - Browse repository at this point
Copy the full SHA 6f179acView commit details -
feat:
@[simp]
Icc a b ∈ 𝓝 x
(#11178)Currently doesn't simplify since `interior_Icc` goes the other way. We were using it in PrimeNumberTheoremAnd for things like "point does not lie on boundary of rectangle". Co-authored-by: L Lllvvuu <git@llllvvuu.dev>
Configuration menu - View commit details
-
Copy full SHA for f1bcbcd - Browse repository at this point
Copy the full SHA f1bcbcdView commit details -
perf(CategoryTheory.Subterminal): avoid autoParams (#11305)
With `aesop_cat` as `autoParam` this was taking 20-25s to build one declaration. This explicitly provides fills the argument and significantly speeds up the build. A comment is left about the issue. Co-authored-by: Matthew Robert Ballard <100034030+mattrobball@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 6c8f49e - Browse repository at this point
Copy the full SHA 6c8f49eView commit details -
feat(Data/Setoid/Basic): equivalence for quotients by two setoids (#1…
…1295) Given two equivalence relations with `r ≤ s`, define an equivalence between a sigma type for the sum of the quotients by `r` on each equivalence class by `s`, and the quotient by `r`. The motivating example is bijecting between orbits of an action by a subgroup: the orbits considered within each orbit of the action by the full group are equivalent to the orbits when the subgroup acts directly on the whole space. This is a generic version for an arbitrary pair of setoids with `r ≤ s`, to be used in defining the version for orbits. Feel free to golf or suggest a better name for the equivalence. From AperiodicMonotilesLean.
Configuration menu - View commit details
-
Copy full SHA for cc6c455 - Browse repository at this point
Copy the full SHA cc6c455View commit details -
Configuration menu - View commit details
-
Copy full SHA for 35e0128 - Browse repository at this point
Copy the full SHA 35e0128View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6e3e0eb - Browse repository at this point
Copy the full SHA 6e3e0ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for cbbffb6 - Browse repository at this point
Copy the full SHA cbbffb6View commit details -
Configuration menu - View commit details
-
Copy full SHA for ae2fa4a - Browse repository at this point
Copy the full SHA ae2fa4aView commit details -
chore: golf some MvPolynomial degree results (#11258)
Co-authored-by: Junyan Xu <junyanxumath@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 75d7402 - Browse repository at this point
Copy the full SHA 75d7402View commit details -
chore(Set/Image): restore
forall_range_iff
(#11287)... as a `@[deprecated] alias` Also add dates to some theorems deprecated in #10816, deprecate `Set.exists_range_iff'`, and use `simp`-normal form in the definition of `ParacompactSpace`.
Configuration menu - View commit details
-
Copy full SHA for 18924b3 - Browse repository at this point
Copy the full SHA 18924b3View commit details -
perf(LinearAlgebra.PiTensorProduct): don't unfold
piTensorHomMap₂
(#……11307) The currently definition of `piTensorHomMap₂` results in a large term causing `dsimp` and `simp` to work too hard. This PR breaks up the definition into a function defnition and two lemmas. The result is a 17% speed up.
Configuration menu - View commit details
-
Copy full SHA for d8eed90 - Browse repository at this point
Copy the full SHA d8eed90View commit details -
feat:
cons
lemmas forFinset.noncommProd
(#11194)These are more general than the `insert` versions as they do not assume `DecidableEq`. This also lets some later proofs be golfed.
Configuration menu - View commit details
-
Copy full SHA for 922a5a1 - Browse repository at this point
Copy the full SHA 922a5a1View commit details -
feat(FieldTheory/IsPerfectClosure): predicate
IsPerfectClosure
(#8696)Main definitions - `pNilradical`: the `p`-nilradical of a ring is an ideal consists of elements `x` such that `x ^ p ^ n = 0` for some `n` (`mem_pNilradical`). It is equal to the nilradical if `p > 1` (`pNilradical_eq_nilradical`), otherwise it is equal to zero (`pNilradical_eq_bot`). - `IsPRadical`: a ring homomorphism `i : K →+* L` of characteristic `p` rings is called `p`-radical, if or any element `x` of `L` there is `n : ℕ` such that `x ^ (p ^ n)` is contained in `K`, and the kernel of `i` is contained in the `p`-nilradical of `K`. A generalization of purely inseparable extension for fields. - `IsPerfectClosure`: a ring homomorphism `i : K →+* L` of characteristic `p` rings makes `L` a perfect closure of `K`, if `L` is perfect, and `i` is `p`-radical. - `PerfectRing.lift`: if a `p`-radical ring homomorphism `K →+* L` is given, `M` is a perfect ring, then any ring homomorphism `K →+* M` can be lifted to `L →+* M`. This is similar to `IsAlgClosed.lift` and `IsSepClosed.lift`. - `PerfectRing.liftEquiv`: `K →+* M` is one-to-one correspondence to `L →+* M`, given by `PerfectRing.lift`. This is a generalization to `PerfectClosure.lift`. - `IsPerfectClosure.equiv`: perfect closures of a ring are isomorphic. Main results - `IsPRadical.trans`: composition of `p`-radical ring homomorphisms is also `p`-radical. - `PerfectClosure.isPerfectClosure`: the absolute perfect closure `PerfectClosure` is a perfect closure. - `IsPRadical.isPurelyInseparable`, `IsPurelyInseparable.isPRadical`: `p`-radical and purely inseparable are equivalent for fields. - `perfectClosure.isPerfectClosure`: the (relative) perfect closure `perfectClosure` is a perfect closure.
Configuration menu - View commit details
-
Copy full SHA for e62e68e - Browse repository at this point
Copy the full SHA e62e68eView commit details -
feat(LightProfinite): being light is a property of a profinite space (#…
Configuration menu - View commit details
-
Copy full SHA for 431fe8a - Browse repository at this point
Copy the full SHA 431fe8aView commit details -
feat(NumberTheory/LSeries/Linearity): move/add statements on linearit…
…y of L-series (#11214) This adds a file `NumberTheory.LSeries.Linearity`, which contains statements on * addition (moved from `NumberTheory.LSeries.Basic`) * negation and * scalar multiplication of L-series, and corresponding statements for `LSeries.term`, `LSeriesHasSum` and `LSeriesSummable`. See [this thread](https://leanprover.zulipchat.com/#narrow/stream/144837-PR-reviews/topic/L-series/near/424858837) on Zulip.
Configuration menu - View commit details
-
Copy full SHA for 78524a1 - Browse repository at this point
Copy the full SHA 78524a1View commit details -
chore(Algebra/Group/AddChar): move results (#11312)
Currently the definition of additive characters (from an additive to a multiplicative monoid) is hidden away in `NumberTheory/LegendreSymbol`. These constructions seem to be getting used more widely, e.g. in Yaël's LeanAPAP project; so this PR carves off the parts of `NumberTheory/LegendreSymbol/AddCharacter` which don't depend on cyclotomic field arithmetic and moves them to `Algebra/Group`.
Configuration menu - View commit details
-
Copy full SHA for b921e69 - Browse repository at this point
Copy the full SHA b921e69View commit details -
Configuration menu - View commit details
-
Copy full SHA for 40f5852 - Browse repository at this point
Copy the full SHA 40f5852View commit details -
chore: golf using omega (#11318)
Backported from #11314.
Configuration menu - View commit details
-
Copy full SHA for cc600f2 - Browse repository at this point
Copy the full SHA cc600f2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c6f79c - Browse repository at this point
Copy the full SHA 9c6f79cView commit details -
feat(Mathlib/LinearMap/TensorProduct/RightExtactness) : generalize an…
…d add 2 thms (#11303) * Generalize one assumption from `AddCommGroup` to `AddCommMonoid` at one place (no modification of a proof is needed) * Add two lemmas that compute the range of `LinearMap.rTensor` and `LinearMap.lTensor` * Adjust the names of a few lemmas : `rTensor.surjective` becomes `LinearMap.rTensor_surjective`, etc. Co-authored-by: Antoine Chambert-Loir <antoine.chambert-loir@math.univ-paris-diderot.fr>
Configuration menu - View commit details
-
Copy full SHA for bc3f148 - Browse repository at this point
Copy the full SHA bc3f148View commit details -
Configuration menu - View commit details
-
Copy full SHA for 553e770 - Browse repository at this point
Copy the full SHA 553e770View commit details -
feat: uniqueness of the continuous functional calculus (#11256)
This establishes uniqueness of the continuous functional calculus for unital algebras. When the scalar ring is `ℝ` or `ℂ`, this follows immediately from Stone-Weierstrass, but for `ℝ≥0`, we need to reuse the result for `ℝ`. This is tricky, as we need to upgrade an `ℝ≥0`-algebra homomorphism (with domain `C((s : Set ℝ≥0), ℝ≥0)`) to a `ℝ`-algebra homomorphism (with domain `C(((↑) '' s : Set ℝ), ℝ)`). This is the reason the `UniqueContinuousFunctionalCalculus` class exists in the first place, as opposed to simply appealing directly to Stone-Weierstrass to prove `StarAlgHom.ext_continuousMap`.
Configuration menu - View commit details
-
Copy full SHA for c4d957f - Browse repository at this point
Copy the full SHA c4d957fView commit details -
feat: define
quasispectrum
for non-unital algebras (#11219)This defines the `quasispectrum` of an element `a : A` where `A` is a non-unital `R`-algebra. When `A` is unital and `R` is a semifield, then `quasispectrum R a = spectrum R a ∪ {0}`. The definition proceeds via *quasiregular* elements, which are also defined herein. The quasispectrum will serve as the domain of the continuous functions appearing in the continuous functional calculus for non-unital algebras.
Configuration menu - View commit details
-
Copy full SHA for 3c39418 - Browse repository at this point
Copy the full SHA 3c39418View commit details -
refactor: generalize universes for colimits in Type (#11148)
This is a smaller version of #7020. Before this PR, for limits, we gave instances for small indexing categories, but for colimits, we gave instances for `TypeMax`. This PR changes so that we give instances for small indexing categories in both cases. This is more general and also more uniform. Co-authored-by: Joël Riou <rioujoel@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for c9812c3 - Browse repository at this point
Copy the full SHA c9812c3View commit details -
chore (Multiset.Fintype): remove
Multiset.coe_eq
(#11340)This is now a `rfl` and in the latest nightly becomes a `synTaut`. We remove it.
Configuration menu - View commit details
-
Copy full SHA for d1f2d73 - Browse repository at this point
Copy the full SHA d1f2d73View commit details -
feat(Algebra/Homology): the action of a bifunctor on homological comp…
…lexes (#10764) Co-authored-by: Joël Riou <37772949+joelriou@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 2831ecc - Browse repository at this point
Copy the full SHA 2831eccView commit details -
feat(Algebra/Homology): the symmetry of the total complex (#10770)
Co-authored-by: Joël Riou <37772949+joelriou@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 87918eb - Browse repository at this point
Copy the full SHA 87918ebView commit details -
feat: strengthen
tendsto_tsum_of_dominated_convergence
a little (#1……1236) Replace the uniform bound by an eventual uniform bound along the filter.
Configuration menu - View commit details
-
Copy full SHA for 266eae0 - Browse repository at this point
Copy the full SHA 266eae0View commit details -
doc(NumberTheory/Padics/PadicVal): typo (#11320)
Fix a typo.
Configuration menu - View commit details
-
Copy full SHA for d5bdfba - Browse repository at this point
Copy the full SHA d5bdfbaView commit details -
fix: patch for std4#579 (#11347)
This if @fgdorais's patch for leanprover-community/batteries#579. Co-authored-by: F. G. Dorais <fgdorais@gmail.com> Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 90e1538 - Browse repository at this point
Copy the full SHA 90e1538View commit details -
feat(Algebra/Ring/Equiv): add lemma isUnit_iff (#11237)
Add one lemma stating that an element is a unit if and only if its image through a ring equivalence is a unit.
Configuration menu - View commit details
-
Copy full SHA for 699cc5f - Browse repository at this point
Copy the full SHA 699cc5fView commit details -
feat(FieldTheory/SeparableDegree): some results on separable degree o…
…ne polynomials (#10404) - `perfectField_iff_splits_of_natSepDegree_eq_one`: A field is perfect if and only if every separable degree one polynomial splits. - add some criteria of a monic polynomial being separable degree one - add some convenient results of separable degree of a polynomial
Configuration menu - View commit details
-
Copy full SHA for 902b613 - Browse repository at this point
Copy the full SHA 902b613View commit details -
chore: remove useless tactics (#11333)
The removal of some pointless tactics flagged by #11308.
Configuration menu - View commit details
-
Copy full SHA for 420ca5a - Browse repository at this point
Copy the full SHA 420ca5aView commit details -
perf(Abelian.InjectiveResolution): refactor
CochainComplex.mkAux
(#……11349) Similar to the changes for `ChainComplex.mkAux` we remove the ad-hoc `MkStruct` and replace with it `ShortComplex`.
Configuration menu - View commit details
-
Copy full SHA for 2df7f14 - Browse repository at this point
Copy the full SHA 2df7f14View commit details -
Composing non_zero function with injective fun is non_zero (#11244)
Some basic missing lemmas about injective function composition. See this Zulip [thread](https://leanprover.zulipchat.com/#narrow/stream/217875-Is-there-code-for-X.3F/topic/injective.20function.20composed.20with.20non.20zero.20function.20ne.20zero) Co-authored-by: Chris Birkbeck <c.birkbeck@uea.ac.uk> Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 6e0c998 - Browse repository at this point
Copy the full SHA 6e0c998View commit details -
feat(Probability/Kernel): add
ae_compProd_iff
(#11276)Let `κ : kernel α β` and `η : kernel (α × β) γ` be two s-finite kernels and `p` a predicate on `β × γ`. If the set `{ x | p x}` is measurable, then `(∀ᵐ bc ∂(κ ⊗ₖ η) a, p bc) ↔ ∀ᵐ b ∂κ a, ∀ᵐ c ∂η (a, b), p (b, c)`.
Configuration menu - View commit details
-
Copy full SHA for cea83e6 - Browse repository at this point
Copy the full SHA cea83e6View commit details -
feat: countable filtration in a countably generated measurable space (#…
…10945) In a countably generated measurable space `α`, we can build a sequence of finer and finer finite measurable partitions of the space such that the measurable space is generated by the union of all partitions. This sequence of partitions (`countablePartition α n`) is defined in `MeasureTheory.MeasurableSpace.CountablyGenerated`. This is a new file in which we put the definition of `CountablyGenerated` (which was previously in MeasurableSpace.Basic). In `Probability.Process.CountablyGenerated`, we build the filtration generated by `countablePartition α n` for all `n : ℕ`, which we call `countableFiltration α`. Co-authored-by: Rémy Degenne <remydegenne@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 7b93c40 - Browse repository at this point
Copy the full SHA 7b93c40View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1078b38 - Browse repository at this point
Copy the full SHA 1078b38View commit details -
Configuration menu - View commit details
-
Copy full SHA for ec53883 - Browse repository at this point
Copy the full SHA ec53883View commit details -
feat(MetricSpace): add
tendsto_closedBall_smallSets
(#11068)Use it to golf `Vitali.exists_disjoint_covering_ae`
Configuration menu - View commit details
-
Copy full SHA for f1fe86c - Browse repository at this point
Copy the full SHA f1fe86cView commit details -
feat: add an
eval%
elaborator for interpolating the output of `#eva……l` (#10742) This is taken from [my zulip message here](https://leanprover.zulipchat.com/#narrow/stream/217875-Is-there-code-for-X.3F/topic/How.20to.20simplify.20this.20proof.20without.20using.20a.20have.20statement.3F/near/422294189). As an example: ```lean example : 2^10 = eval% 2^10 := by -- goal is `2^10 = 1024` sorry ```
Configuration menu - View commit details
-
Copy full SHA for 4d11426 - Browse repository at this point
Copy the full SHA 4d11426View commit details -
perf(Algebra.Homology.Bifunctor): minor rearrangement to proofs (#11359)
Often cleaning up with `dsimp` before using other tactics can speed up unification checks in a proof. This is one such example speeding up this file by 30% on my machine. Co-authored-by: Matthew Robert Ballard <100034030+mattrobball@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 791d009 - Browse repository at this point
Copy the full SHA 791d009View commit details -
feat: relationship between Mellin transform/inverse and Fourier trans…
…form/inverse (#10944) Co-authored-by: L Lllvvuu <git@llllvvuu.dev> Co-authored-by: L <git@llllvvuu.dev>
Configuration menu - View commit details
-
Copy full SHA for 9c20cfa - Browse repository at this point
Copy the full SHA 9c20cfaView commit details -
chore: remove more autoImplicit (#11336)
... or reduce its scope (the full removal is not as obvious).
Configuration menu - View commit details
-
Copy full SHA for 219554c - Browse repository at this point
Copy the full SHA 219554cView commit details -
chore: remove unused tactics (#11351)
I removed some of the tactics that were not used and are hopefully uncontroversial arising from the linter at #11308. As the commit messages should convey, the removed tactics are, essentially, ``` push_cast norm_cast congr norm_num dsimp funext intro infer_instance ```
Configuration menu - View commit details
-
Copy full SHA for 813b4ad - Browse repository at this point
Copy the full SHA 813b4adView commit details -
fix: add MVar context in MoveAdd (#11352)
This PR fixes a test that failed in the upgrade to v4.8.0. [Zulip](https://leanprover.zulipchat.com/#narrow/stream/428973-nightly-testing/topic/MoveAdd)
Configuration menu - View commit details
-
Copy full SHA for b38498c - Browse repository at this point
Copy the full SHA b38498cView commit details -
feat: add lemma
Finsupp.erase_apply
(#11242)Adds a lemma
Configuration menu - View commit details
-
Copy full SHA for 0ba2ea7 - Browse repository at this point
Copy the full SHA 0ba2ea7View commit details -
chore(Topology/Instances/Discrete): merge 2 instances (#11296)
Prove `DiscreteTopology.secondCountableTopology_of_countable` directly, deprecate `DiscreteTopology.secondCountableTopology_of_encodable`.
Configuration menu - View commit details
-
Copy full SHA for 4316ef3 - Browse repository at this point
Copy the full SHA 4316ef3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f07339 - Browse repository at this point
Copy the full SHA 8f07339View commit details -
chore: ci: do no add full-ci to lean PRs (#11369)
it triggers rebuilds and can be annoying.
Configuration menu - View commit details
-
Copy full SHA for 35b0d27 - Browse repository at this point
Copy the full SHA 35b0d27View commit details -
chore: replace
λ
byfun
(#11301)Per the style guidelines, `λ` is disallowed in mathlib. This is close to exhaustive; I left some tactic code alone when it seemed to me that tactic could be upstreamed soon. Notes - In lines I was modifying anyway, I also converted `=>` to `↦`. - Also contains some mild in-passing indentation fixes in `Mathlib/Order/SupClosed`. - Some doc comments still contained Lean 3 syntax `λ x, `, which I also replaced. <!-- The text above the `
Configuration menu - View commit details
-
Copy full SHA for 309e3e1 - Browse repository at this point
Copy the full SHA 309e3e1View commit details -
feat: the
n
th symmetric power is equivalent to maps of total mass `……n`. (#11360) Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 5959949 - Browse repository at this point
Copy the full SHA 5959949View commit details -
refactor(Data.Finset.Card): termination_by change (#11370)
this will break once leanprover/lean4#3658 lands, so let's fix this now. Also avoids binding unused variables in `termination_by`.
Configuration menu - View commit details
-
Copy full SHA for 2bb4647 - Browse repository at this point
Copy the full SHA 2bb4647View commit details -
chore: resolve some porting notes which are fixed now (#11317)
It started with the one in `Convex/Combination` and spiralled into revisiting all notes with `needs` in them. The `ToLin` changes overlap with #11171.
Configuration menu - View commit details
-
Copy full SHA for e00395d - Browse repository at this point
Copy the full SHA e00395dView commit details -
chore: remove tactics (#11365)
More tactics that are not used, found using the linter at #11308. The PR consists of tactic removals, whitespace changes and replacing a porting note by an explanation.
Configuration menu - View commit details
-
Copy full SHA for f1fabc3 - Browse repository at this point
Copy the full SHA f1fabc3View commit details -
feat: use polyrith/linear_combination in Algebra/Star/CHSH (#11211)
Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for cab1248 - Browse repository at this point
Copy the full SHA cab1248View commit details -
feat(RingTheory/Localization): add facts about localization at minima…
…l prime ideals (#11201) Show that localization at minimal primes results in rings with only a single prime ideal, implying that every non-unit element is nilpotent. Co-authored-by: Junyan Xu <junyanxumath@gmail.com> Co-authored-by: Junyan Xu <junyanxu.math@gmail.com> Co-authored-by: uniwuni <95649083+uniwuni@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 63ac9f5 - Browse repository at this point
Copy the full SHA 63ac9f5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4585ab2 - Browse repository at this point
Copy the full SHA 4585ab2View commit details -
feat: chosen finite products in a category (#11248)
This PR introduces a class for categories with explicit choices of binary products and terminal objects, and introduces the associated (Cartesian) symmetric monoidal instance. The primary use of this class is to be able to define internal algebraic objects in categories with chosen finite products, while retaining good definitional properties of the products in question, primarily as a convenience. We introduce an instance of this new class for the category of types where the binary product is the usual type-theoretic product and the terminal object is `PUnit`. Future work will introduce an instance for other categories, especially the category of affine schemes which should make objects like group schemes more convenient. NOTE: In some sense this reverses the refactor done in leanprover-community/mathlib3#3995 but only in the particular case of binary products and terminal objects. Working with (nonexplicit) (co)limits is still the preferred way to work with (co)limits in abstract categories, and instances of `ChosenFiniteProducts` (and other similar classes which may be introduced in the future) should be carefully considered before they are introduced.
Configuration menu - View commit details
-
Copy full SHA for 18485c9 - Browse repository at this point
Copy the full SHA 18485c9View commit details -
feat: add lemmas
Matrix.cons_val_three
,Matrix.cons_val_four
(#11382Configuration menu - View commit details
-
Copy full SHA for 4c003b9 - Browse repository at this point
Copy the full SHA 4c003b9View commit details -
chore: fix nightly-testing bot logic (#11389)
Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for e001506 - Browse repository at this point
Copy the full SHA e001506View commit details -
chore: the nightly-testing bot can remind us when to create PRs (#11391)
Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for e3070f6 - Browse repository at this point
Copy the full SHA e3070f6View commit details -
chore: nightly-testing bot posts in the public stream (#11390)
Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 59b62bb - Browse repository at this point
Copy the full SHA 59b62bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e9fee1 - Browse repository at this point
Copy the full SHA 2e9fee1View commit details -
chore: remove unused tactics in Archive and Counterexamples (#11379)
More unused tactics flagged by the linter (#11308): these are all the changes in `Archive/Counterexamples` that the linter found.
Configuration menu - View commit details
-
Copy full SHA for ffde947 - Browse repository at this point
Copy the full SHA ffde947View commit details -
chore: remove unneeded decreasing_by and termination_by (#11386)
The termination checker has been getting more capable, and many of the `termination_by` or `decreasing_by` clauses in Mathlib are no longer needed. (Note that `termination_by?` will show the automatically derived termination expression, so no information is being lost by removing these.) Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 7601ae1 - Browse repository at this point
Copy the full SHA 7601ae1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5bc207a - Browse repository at this point
Copy the full SHA 5bc207aView commit details -
refactor: flip
LinearMap.convexHull_image
and rename to `LinearMap.……image_convexHull` (#11298) - flip `LinearMap.convexHull_image` and rename to `image_convexHull` - while at it, also flip the direction of `convexHull_smul` and `convexHull_neg` to match this - fix argument order of `AffineMap.convexHull_image`: have the `AffineMap` argument come first; there's no good reason not to and this enables dot notation - inline variable `(s : Set E)` to achieve this; this is slightly clearer anyway [zulip discussion](https://leanprover.zulipchat.com/#narrow/stream/287929-mathlib4/topic/image_convexHull.20vs.20convexHull_image)
Configuration menu - View commit details
-
Copy full SHA for 54fdd0c - Browse repository at this point
Copy the full SHA 54fdd0cView commit details -
feat: add lemmas
Polynomial.natDegree_sum_le_of_forall_le
(#11381)Also add two missing `simp` attributes
Configuration menu - View commit details
-
Copy full SHA for a4d5a46 - Browse repository at this point
Copy the full SHA a4d5a46View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d73326 - Browse repository at this point
Copy the full SHA 4d73326View commit details -
feat: counting elements in an interval with given residue (#9348)
Co-authored-by: Yury G. Kudryashov <urkud@urkud.name>
Configuration menu - View commit details
-
Copy full SHA for 4506a06 - Browse repository at this point
Copy the full SHA 4506a06View commit details -
fix: remove DecidableEq assumption from
factors
(#11158)It doesn't make a lot of sense for `factors` to require a `DecidableEq` assumption since it's not used in the statement, and the definition is already noncomputable. This PR removes that assumption and updates some lemmas later in the file accordingly.
Configuration menu - View commit details
-
Copy full SHA for 16508c6 - Browse repository at this point
Copy the full SHA 16508c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 36c8cbd - Browse repository at this point
Copy the full SHA 36c8cbdView commit details -
feat: Semicontinuity of
f ∘ g
forf
semicontinuous,g
continuous (#10822) Only the other direction exists currently, it seems.
Configuration menu - View commit details
-
Copy full SHA for 25337c7 - Browse repository at this point
Copy the full SHA 25337c7View commit details -
chore: add decidability assumptions where needed for the statement (#…
…11157) The general policy in mathlib is to include decidability assumptions on a theorem if and only if they are used in its statement. @fpvandoorn has been working on a linter to detect cases which violate the backwards direction of that policy. (i.e. cases where `Classical.propDecidable` appears in a theorem's statement.) I've started going through [the output of that linter](https://gist.github.com/fpvandoorn/05cca028139e98bded9874169a1332d5) and this PR contains fixes for the two files I've finished so far. [Zulip thread about the linter](https://leanprover.zulipchat.com/#narrow/stream/287929-mathlib4/topic/prop.20decidable.20linter/near/424101789)
Configuration menu - View commit details
-
Copy full SHA for fb86d30 - Browse repository at this point
Copy the full SHA fb86d30View commit details -
feat(RingTheory/HahnSeries/Basic): Make a Hahn series from a function…
… with support bounded below (#9574) Given a locally finite linearly ordered set `Γ` and a function `f` on `Γ` whose support is bounded below, we produce a Hahn series whose coefficients are given by `f`. We introduce a theorem (borrowing from mathlib3 #18604) for translating the vanishing condition to the partially well-ordered support condition that is used in the definition of Hahn Series.
Configuration menu - View commit details
-
Copy full SHA for 88fa2b1 - Browse repository at this point
Copy the full SHA 88fa2b1View commit details -
perf(test/observe): set low maxHeartbeats for test (#10498)
Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for d27bc7b - Browse repository at this point
Copy the full SHA d27bc7bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 96f7e0f - Browse repository at this point
Copy the full SHA 96f7e0fView commit details -
chore: fix
extract_lets
withoutat
(#11400)Make `extract_lets` (without any specified `at`) work on just the goal. This supplements the already valid syntax `extract_lets at h ⊢` and `extract_lets at *`
Configuration menu - View commit details
-
Copy full SHA for 0dc6658 - Browse repository at this point
Copy the full SHA 0dc6658View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1702d16 - Browse repository at this point
Copy the full SHA 1702d16View commit details -
docs(FunLike/Fintype): fix typo in doc comments (#11402)
The non-dependent version of `DFunLike.{fintype,finite}` is called `FunLike.{fintype,finite}`; the names in the docstring do not exist.
Configuration menu - View commit details
-
Copy full SHA for ffa8cd3 - Browse repository at this point
Copy the full SHA ffa8cd3View commit details -
perf: small speedup in InjSurj (#11413)
This new order matches the order in the `extends` clause, and so results in less eta expansion. Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 89b26c3 - Browse repository at this point
Copy the full SHA 89b26c3View commit details -
fix(Polynomial/Laurent): replace Lean 3 syntax in comments (#11407)
Co-authored-by: damiano <adomani@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for a517897 - Browse repository at this point
Copy the full SHA a517897View commit details -
feat: better
polishSpace_of_complete_second_countable
(#10890)* Make it work for a `UniformSpace` with extra properties. * Use it to golf some instances. Co-authored-by: @ADedecker
Configuration menu - View commit details
-
Copy full SHA for 7ed58d1 - Browse repository at this point
Copy the full SHA 7ed58d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for e554ab5 - Browse repository at this point
Copy the full SHA e554ab5View commit details -
feat(InfiniteSum/NatInt): lemmas on sums over ℤ (#11069)
This PR combines several results involving topological sums over `ℤ`. These results are used in #10011 (Hurwitz zeta functions) where sums over `ℤ` feature heavily. * Fill in `tsum` and `Summable` variants for lemmas proved for `HasSum` * Rename some lemmas (with deprecated aliases) to impose a consistent naming scheme * Generalise several lemmas to allow the target space to be a topological monoid rather than a group. * Speed up some slow proofs (the old `summable_int_of_summable_nat` took about 10s to compile on my machine, its replacement `Summable.of_nat_of_neg` is 1000 times faster)
Configuration menu - View commit details
-
Copy full SHA for 45b8d75 - Browse repository at this point
Copy the full SHA 45b8d75View commit details -
chore: prevent API leakage on SimplexCategory (#11395)
This PR removes the `simps` attribute in the definition of the category structure on `SimplexCategory` so as to prevent API leakage. Better suited `simp` lemmas are added. The definition of `SimplexCategory.const` is also generalized in order to describe any constant map in `SimplexCategory`.
Configuration menu - View commit details
-
Copy full SHA for 35ad134 - Browse repository at this point
Copy the full SHA 35ad134View commit details -
style(tests/Tauto): remove Lean 3 syntax in comments and touch up sty…
…le (#11403) - Remove Lean 3 syntax in comments: there's no reason it should be there. - Indent the 'by' blocks according to the style guide. - Add some blank lines at beginnings of sections; that's good practice.
Configuration menu - View commit details
-
Copy full SHA for ca395b8 - Browse repository at this point
Copy the full SHA ca395b8View commit details -
chore: label one porting note and fix another (#11411)
Two comments with Lean 3 code looked like they should have been labelled "porting note". Do so; one of them can be fixed now.
Configuration menu - View commit details
-
Copy full SHA for 1c75acb - Browse repository at this point
Copy the full SHA 1c75acbView commit details -
feat: review and expand API on behavior of topological bases under so…
…me constructions (#10732) The main addition is `IsTopologicalBasis.inf` (see https://leanprover.zulipchat.com/#narrow/stream/217875-Is-there-code-for-X.3F/topic/Inf.20of.20a.20pair.20of.20topologies/near/419989448), and I also reordered things to be in the more typical order (deducing the `Pi` version from the `iInf` version rather than the converse). Also a few extra golfs and variations. Co-authored-by: Yury G. Kudryashov <urkud@urkud.name> Co-authored-by: Christopher Hoskin <christopher.hoskin@gmail.com> Co-authored-by: Christopher Hoskin <christopher.hoskin@overleaf.com>
Configuration menu - View commit details
-
Copy full SHA for 1c1de2d - Browse repository at this point
Copy the full SHA 1c1de2dView commit details -
feat: add Basis.flag_le_ker_dual (#11265)
From sphere-eversion; I adapted the proof to mathlib's definition and golfed it a bit. This adds a new import; as this file is not imported anywhere, this seems fine.
Configuration menu - View commit details
-
Copy full SHA for 07327c4 - Browse repository at this point
Copy the full SHA 07327c4View commit details -
chore: classify
broken dot notation
porting notes (#11429)Classifies by adding issue number #11036 to porting notes claiming: > dot notation no longer works
Configuration menu - View commit details
-
Copy full SHA for ccb7925 - Browse repository at this point
Copy the full SHA ccb7925View commit details -
chore(Preadditive/Biproducts): fix
Decidable
/Fintype
(#11422)* Assume `[Finite J]` instead of `[Fintype J]` whenever we don't need data to formulate the theorem. * Drop `[DecidableEq]` assumptions in `biproduct.reindex`.
Configuration menu - View commit details
-
Copy full SHA for 5bc0f3e - Browse repository at this point
Copy the full SHA 5bc0f3eView commit details -
Configuration menu - View commit details
-
Copy full SHA for e7d6d06 - Browse repository at this point
Copy the full SHA e7d6d06View commit details -
chore: make sure that Archive and Counterexamples are quiet (#11377)
This PR proposes two changes to CI. ### Quiet `Archive` and `Counterexamples` CI checks that building `Mathlib` and `test` produces no messages. However, `Archive` and `Counterexamples` could be noisy and CI would not detect it. This PR makes sure that also `Archive and `Counterexamples` are quiet. I noticed that `Archive` and `Counterexamples` were not required to be quiet, since they contained unused tactics flagged by the linter. EDIT: this second item is already available -- see Floris' comment below. ### Upload the cache even when `Mathlib` is noisy This PR moves the check of quietness of `Mathlib` until after the uploading cache step, so that you can have the cache available to fix the noisiness! As a check, PR #11378 made `Mathlib` noisy, CI failed, but only after uploading the cache and building `Archive`, `Counterexamples`. See in particular [this CI run](https://github.com/leanprover-community/mathlib4/actions/runs/8285030855/job/22671860704).
Configuration menu - View commit details
-
Copy full SHA for 52f0ef4 - Browse repository at this point
Copy the full SHA 52f0ef4View commit details -
refactor(Algebra/Group/AddChar): reimplement using structures (#11375)
Following discussion at #11313 this is an attempt to refactor `Algebra/Group/AddChar.lean` such that `AddChar A M` is a structure in its own right rather than a type synonym for `Multiplicative A →* M`. We also relax typeclass assumptions considerably (only assuming commutativity, etc, where it is really needed) and add some new functionality, e.g. composition with monoid morphisms on either side (`MonoidHom.compAddChar` and `AddChar.compAddMonoidHom`).
Configuration menu - View commit details
-
Copy full SHA for 63c5b37 - Browse repository at this point
Copy the full SHA 63c5b37View commit details -
fix(Equiv/TransferInstance):
Module
instance diamond (#11419)Currently `Equiv.algebra` is defined in terms of `RingHom.toAlgebra'` which causes the induced `Module R` instance to not be defeq to the one from `Equiv.module`. This commit fixes this by defining `Equiv.algebra` in terms of `Algebra.ofModule`.
Configuration menu - View commit details
-
Copy full SHA for 32e4787 - Browse repository at this point
Copy the full SHA 32e4787View commit details -
chore: replace remaining lambda syntax (#11405)
Includes some doc comments and real code: this is exhaustive, with two exceptions: - some files are handled in #11409 instead - I left FunProp/{ToStd,RefinedDiscTree}.lean, Tactic/NormNum and Tactic/Simps alone, as these seem likely enough to end up in std. Follow-up to #11301, much shorter this time.
Configuration menu - View commit details
-
Copy full SHA for 9a4d0e3 - Browse repository at this point
Copy the full SHA 9a4d0e3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ca1fbc - Browse repository at this point
Copy the full SHA 3ca1fbcView commit details -
doc: replace
variables
,universes
' syntax in doc comments (#11404)It's deprecated in favour of `variable`; likely a leftover from the port. Also replace `universes`, which is invalid now.
Configuration menu - View commit details
-
Copy full SHA for 6b2f091 - Browse repository at this point
Copy the full SHA 6b2f091View commit details -
fix(Order/Zorn): update usage example to Lean 4 syntax (#11425)
Double-checking the syntax is welcome.
Configuration menu - View commit details
-
Copy full SHA for ca48ce6 - Browse repository at this point
Copy the full SHA ca48ce6View commit details -
doc: fix Lean 3 syntax in more tests and docstrings (#11426)
Best reviewed commit by commit.
Configuration menu - View commit details
-
Copy full SHA for 107d736 - Browse repository at this point
Copy the full SHA 107d736View commit details -
feat: Levy-Prokhorov topology is finer than convergence in distributi…
…on (#10406) This PR establishes an easy topology comparison: the topology given by the Lévy-Prokhorov distance is finer than the topology of convergence in distribution. Co-authored-by: kkytola <39528102+kkytola@users.noreply.github.com> Co-authored-by: kkytola <“kalle.kytola@aalto.fi”> Co-authored-by: Yury G. Kudryashov <urkud@urkud.name>
Configuration menu - View commit details
-
Copy full SHA for eb75dd4 - Browse repository at this point
Copy the full SHA eb75dd4View commit details -
chore: resolve "
apply
→induction
" porting notes (#11444)Resolves porting notes claiming "`apply` → `induction`" since the new `induction` is more idiomatic than `apply`.
Configuration menu - View commit details
-
Copy full SHA for 8fb1cc4 - Browse repository at this point
Copy the full SHA 8fb1cc4View commit details -
feat(Probability/Kernel): build a kernel from a kernel CDF (#11209)
Let `κ : kernel α (β × ℝ)` and `ν : kernel α β` be two finite kernels. A function `f : α × β → StieltjesFunction` is called a conditional kernel CDF of `κ` with respect to `ν` if it is measurable, tends to to 0 at -∞ and to 1 at +∞ for all `p : α × β`, if `fun b ↦ f (a, b) x` is `(ν a)`-integrable for all `a : α` and `x : ℝ` and for all measurable sets `s : Set β`, `∫ b in s, f (a, b) x ∂(ν a) = (κ a (s ×ˢ Iic x)).toReal`. From such a function with property `hf : IsCondKernelCDF f κ ν`, we build a `kernel (α × β) ℝ` denoted by `hf.toKernel f` such that `κ = ν ⊗ₖ hf.toKernel f`. The new file has substantial overlap with the contents of `Probability.Kernel.Disintegration` and `Probability.Kernel.CondCdf`: these two files will later be refactored to use the code in this PR. Co-authored-by: Rémy Degenne <remydegenne@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 6bfe250 - Browse repository at this point
Copy the full SHA 6bfe250View commit details -
chore(Algebra): improve argument names to induction principles (#11439)
These are the case names used by the `induction` tactic after the `with`. This replaces `H0`, `H1`, `Hmul` etc with `zero`, `one`, `mul`. This PR does not touch `Submonoid` or `Subgroup`, as `to_additive` does not know how to rename the argument names. There are ways to work around this, but I'd prefer to leave them to a later PR. This also leaves the `closure_induction₂` variants alone, as renaming the arguments is more work for less gain.
Configuration menu - View commit details
-
Copy full SHA for 3ae3d91 - Browse repository at this point
Copy the full SHA 3ae3d91View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0ef4e5d - Browse repository at this point
Copy the full SHA 0ef4e5dView commit details -
chore(UniqueFactorizationDomain): golf (#11424)
Move `factors_zero` up, use it to golf `ne_zero_of_mem_factors`
Configuration menu - View commit details
-
Copy full SHA for a5c0b6b - Browse repository at this point
Copy the full SHA a5c0b6bView commit details -
chore(Squarefree): drop a
DecidableEq
assumption (#11427)Use `classical` instead
Configuration menu - View commit details
-
Copy full SHA for cb4bb7f - Browse repository at this point
Copy the full SHA cb4bb7fView commit details -
chore: classify
new theorem / theorem
porting notes (#11432)Classifies by adding issue number #10756 to porting notes claiming anything equivalent to: - "added theorem" - "added theorems" - "new theorem" - "new theorems" - "added lemma" - "new lemma" - "new lemmas"
Configuration menu - View commit details
-
Copy full SHA for 52687c1 - Browse repository at this point
Copy the full SHA 52687c1View commit details -
chore: classify
new instance
porting notes (#11433)Classifies by adding issue number #10754 to porting notes claiming "new instance".
Configuration menu - View commit details
-
Copy full SHA for 44f4706 - Browse repository at this point
Copy the full SHA 44f4706View commit details -
chore: classify
rfl required
porting notes (#11442)Classifies by adding issue number #11441 to porting notes claiming: > `rfl` required.
Configuration menu - View commit details
-
Copy full SHA for e250d39 - Browse repository at this point
Copy the full SHA e250d39View commit details -
chore: classify
new definition
porting notes (#11446)Classifies by adding issue number #11445 to porting notes claiming anything equivalent to: - "new definition" - "added definition"
Configuration menu - View commit details
-
Copy full SHA for 78cbd7b - Browse repository at this point
Copy the full SHA 78cbd7bView commit details -
chore: classify "removed
@[pp_nodot]
" porting notes (#11447)Classifies by adding issue number #11180 to porting notes claiming: > removed `@[pp_nodot]`
Configuration menu - View commit details
-
Copy full SHA for aec03d9 - Browse repository at this point
Copy the full SHA aec03d9View commit details -
CI: lint, also after unsuccessful shake (#11454)
This PR changes the behaviour of CI: after an unsuccessful `shake`, CI will continue to lint mathlib. You can take a look at #11452 for an example of the CI proposed in this PR acting in a situation where an unused import is present. `shake` fails, but CI still linted mathlib. [Zulip discussion](https://leanprover.zulipchat.com/#narrow/stream/287929-mathlib4/topic/CI.3A.20continue.20on.20failure.3F/near/426905828)
Configuration menu - View commit details
-
Copy full SHA for 44fd0a3 - Browse repository at this point
Copy the full SHA 44fd0a3View commit details -
chore: fix quotes in nightly-testing bot (#11469)
Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 38f7fc4 - Browse repository at this point
Copy the full SHA 38f7fc4View commit details -
feat: add mod n cyclotomic character (#6342)
We define the group homomorphism Aut(L)->(Z/dZ)^* coming from the action on the n'th roots of unity in L. Here d is the number of n'th roots of unity in L (which might not be n in this generality). We also make API for the standard special case when there are n n'th roots of unity in L, calling it `ModularCyclotomicCharacter`. Joint work with Hanneke Wiersema, coming from the Leiden conference on machine checked mathematics.
Configuration menu - View commit details
-
Copy full SHA for b122fe3 - Browse repository at this point
Copy the full SHA b122fe3View commit details -
chore: classify "
@[simp]
can prove" porting notes (#11474)Classifies by adding issue number #10618 to porting notes claiming > `@[simp]` can prove
Configuration menu - View commit details
-
Copy full SHA for c8a13e6 - Browse repository at this point
Copy the full SHA c8a13e6View commit details -
fix: rename
LocallyFiniteOrderTop.ofIic
toLocallyFiniteOrderBot
(#……11371) It's about `LocallyFiniteOrderBot`, so the current name is simply wrong. Also fix documentation mistakes. These errors were already present in Mathlib 3, before the port. Co-authored-by: Richard Copley <rcopley@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 65bf661 - Browse repository at this point
Copy the full SHA 65bf661View commit details -
chore(*): Fintype -> Finite, drop Decidable (#11423)
Also, in some cases drop unneeded `Fintype` arguments.
Configuration menu - View commit details
-
Copy full SHA for ebccc47 - Browse repository at this point
Copy the full SHA ebccc47View commit details -
Configuration menu - View commit details
-
Copy full SHA for 673c09a - Browse repository at this point
Copy the full SHA 673c09aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ba1a74 - Browse repository at this point
Copy the full SHA 6ba1a74View commit details -
Configuration menu - View commit details
-
Copy full SHA for 02acc11 - Browse repository at this point
Copy the full SHA 02acc11View commit details -
chore(*): remove empty lines between variable statements (#11418)
Empty lines were removed by executing the following Python script twice ```python import os import re # Loop through each file in the repository for dir_path, dirs, files in os.walk('.'): for filename in files: if filename.endswith('.lean'): file_path = os.path.join(dir_path, filename) # Open the file and read its contents with open(file_path, 'r') as file: content = file.read() # Use a regular expression to replace sequences of "variable" lines separated by empty lines # with sequences without empty lines modified_content = re.sub(r'(variable.*\n)\n(variable(?! .* in))', r'\1\2', content) # Write the modified content back to the file with open(file_path, 'w') as file: file.write(modified_content) ```
Configuration menu - View commit details
-
Copy full SHA for a5d621a - Browse repository at this point
Copy the full SHA a5d621aView commit details -
chore(Order/Birkhoff): remove unnecessary assumption (#10924)
Remove the assumption that the type be a distributive lattice when partial order suffices in Birkhoff's representation theorem. Co-authored by : Sam van Gool @samvang Co-authored-by: Yaël Dillies <yael.dillies@gmail.com> Co-authored-by: Sam <59202064+samvang@users.noreply.github.com> Co-authored-by: samvang <59202064+samvang@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for dbb9a3a - Browse repository at this point
Copy the full SHA dbb9a3aView commit details -
feat(CategoryTheory/GradedObject): the associator for the composition…
… of bifunctors (#10747) When bifunctors `F₁₂`, `G`, `F` and `G₂₃` are equipped with a natural isomorphism `G(F₁₂(X₁, X₂), X₃) ≅ F(X₁, G₂₃(X₂, X₃))` in three variables, then under reasonable assumptions and conditions on indices, there is an associator isomorphism for the action of these bifunctors on graded objects `mapBifunctorMapObj G ρ₁₂.q (mapBifunctorMapObj F₁₂ ρ₁₂.p X₁ X₂) X₃ ≅mapBifunctorMapObj F ρ₂₃.q X₁ (mapBifunctorMapObj G₂₃ ρ₂₃.p X₂ X₃)`. This shall be used in order to construct the associator isomorphism for the monoidal category structure on graded objects. Co-authored-by: Joël Riou <37772949+joelriou@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for d9932ff - Browse repository at this point
Copy the full SHA d9932ffView commit details -
feat(CategoryTheory): construction of a functor for the small object …
…argument (#11056) Given a family of morphisms `f i : A i ⟶ B i` in a category `C` and an object `S : C`, we define a functor `SmallObject.functor f S : Over S ⥤ Over S` which shall play an important role in the formalization of the "small object argument". Co-authored-by: Joël Riou <37772949+joelriou@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 98a11ac - Browse repository at this point
Copy the full SHA 98a11acView commit details -
Configuration menu - View commit details
-
Copy full SHA for f67f73c - Browse repository at this point
Copy the full SHA f67f73cView commit details -
refactor(LinearAlgebra/BilinearForm/Basic): descope
BilinForm
to mo……dules over commutative semirings (#11280) Require the module in the definition of the `BilinForm` structure to be over a commutative semiring. This PR is a per-requisite for #11278. It supersedes #10422. It's been pointed out elsewhere that the current definition over a non-commutative semiring doesn't make mathematical sense: #10553 (comment) Eventually the non-commutative situation may be considered in a mathematically meaningful way in the context of sesquilinear maps (e.g. something like #9334 (review)). Co-authored-by: @Vierkantor Co-authored-by: Christopher Hoskin <christopher.hoskin@gmail.com> Co-authored-by: Christopher Hoskin <christopher.hoskin@overleaf.com> Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 5300ea8 - Browse repository at this point
Copy the full SHA 5300ea8View commit details -
feat(GroupTheory/GroupAction/SubMulAction): two more orbit lemmas (#1…
…1463) Add two more lemmas about orbits in a `SubMulAction`, both closely related to the existing `val_image_orbit`. From AperiodicMonotilesLean. Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 5e1ed43 - Browse repository at this point
Copy the full SHA 5e1ed43View commit details -
fix(Cache): do not read lake-manifest.json at import-time (#11492)
Previously this file was read four times at runtime, and once for each file at compile time. Now it is read only once, when `lake exe cache` is run. `initialize` is not a substitute for correctly passing global state through a program; my impression is that it is intended for *language-* rather than program-level initialization. The performance impact is negligible, but the new code is more predictable. Tested on mathlib, and on a package created using `lake new foo math`, pointed at this mathlib branch. `lake exe cache get` works correctly (leaves `lake build` with nothing to do) in both cases.
Configuration menu - View commit details
-
Copy full SHA for bb2e237 - Browse repository at this point
Copy the full SHA bb2e237View commit details -
chore: add actionlint (#11471)
Co-authored-by: adomani <adomani@gmail.com> Co-authored-by: Scott Morrison <scott.morrison@gmail.com> Co-authored-by: Ruben Van de Velde <65514131+Ruben-VandeVelde@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 24aa74f - Browse repository at this point
Copy the full SHA 24aa74fView commit details -
feat: further relax assumptions for (co)limits in Type (#11487)
After #11148, all results about concrete limits and colimits hold whenever the relevant (co)limits exist, which is optimal. Thanks to Joël Riou for making this possible!
Configuration menu - View commit details
-
Copy full SHA for 267a1f8 - Browse repository at this point
Copy the full SHA 267a1f8View commit details -
feat(Algebra/Homology): the category of short complexes is linear (#1…
…0923) Co-authored-by: Joël Riou <37772949+joelriou@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for b061832 - Browse repository at this point
Copy the full SHA b061832View commit details -
chore(Mathlib/Data/List/Basic): minimize imports (#11497)
Use `Nat` specialized theorems, and `omega`, where necessary to avoid needing to import the abstract ordered algebra hierarchy for basic results about `List`. Import graph between `Mathlib.Order.Basic` and `Mathlib.Data.List.Basic`: * [before.pdf](https://github.com/leanprover-community/mathlib4/files/14646805/before.pdf) * [after.pdf](https://github.com/leanprover-community/mathlib4/files/14646804/after.pdf) Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 82f3262 - Browse repository at this point
Copy the full SHA 82f3262View commit details -
feat(Algebra/Homology): behaviour of the total complex with respect t…
…o the shifts (#10854) Co-authored-by: Joël Riou <37772949+joelriou@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for cf35c12 - Browse repository at this point
Copy the full SHA cf35c12View commit details -
chore: update github actions (#11467)
Hopefully has no effect except to remove some warnings in the build logs. Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 7f361a5 - Browse repository at this point
Copy the full SHA 7f361a5View commit details -
chore(CategoryTheory): split the file `CategoryTheory/Sites/Effective…
Configuration menu - View commit details
-
Copy full SHA for 7507b68 - Browse repository at this point
Copy the full SHA 7507b68View commit details -
feat: Add
Zlattice.basis
(#11323)For a `ℤ`-lattice `L` of `E`, defined as a discrete subgroup that spans the whole space `E` over `K`, proves that any `ℤ`-basis of `L` is also a `K`-basis of `E`. This provides the link between the two points of view on lattices in this file.
Configuration menu - View commit details
-
Copy full SHA for 27dbc11 - Browse repository at this point
Copy the full SHA 27dbc11View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b26cdb - Browse repository at this point
Copy the full SHA 6b26cdbView commit details -
chore: Move
GroupWithZero
lemmas earlier (#10919)Move from `Algebra.GroupWithZero.Units.Lemmas` to `Algebra.GroupWithZero.Units.Basic` the lemmas that can be moved.
Configuration menu - View commit details
-
Copy full SHA for c50aaa8 - Browse repository at this point
Copy the full SHA c50aaa8View commit details -
chore: Protect
Nat.xor_comm
(#11506)as it conflicts with `xor_comm` in the root namespace. Also protect `Nat.xor_assoc` in case someone adds `xor_assoc`.
Configuration menu - View commit details
-
Copy full SHA for bb0df75 - Browse repository at this point
Copy the full SHA bb0df75View commit details -
feat: lemmas about
List.reverseRecOn
(#11257)This renames the arguments to the eliminators to be more ergonomic when using the `induction` tactic. I also changed the definition in an attempt to make the proof easier.
Configuration menu - View commit details
-
Copy full SHA for 04a2752 - Browse repository at this point
Copy the full SHA 04a2752View commit details -
feat(Data/Matrix/Basic): add missing theorem mulVec_sub (#11392)
Adds the following missing theorem ``` theorem mulVec_sub [Fintype n] (A : Matrix m n α) (x y : n → α) : A *ᵥ (x - y) = A *ᵥ x - A *ᵥ y ``` Currently there only is ```mulVec_sub```. I asked about it here on [zulip](https://leanprover.zulipchat.com/#narrow/stream/113489-new-members/topic/No.20theorem.20Matrix.2EmulVec_sub).
Configuration menu - View commit details
-
Copy full SHA for f0af898 - Browse repository at this point
Copy the full SHA f0af898View commit details -
chore: rename open_range to isOpen_range, closed_range to isClosed_ra…
…nge (#11438) All these lemmas refer to the range of some function being open/range (i.e. `isOpen` or `isClosed`).
Configuration menu - View commit details
-
Copy full SHA for 4bc8196 - Browse repository at this point
Copy the full SHA 4bc8196View commit details -
perf(LinearAlgebra.TensorProduct.Basic): add
TensorProduct.addMonoid
(#11505) We define `TensorProduct.addCommMonoid` in terms of `TensorProduct.addMonoid` to reduce unfolding.
Configuration menu - View commit details
-
Copy full SHA for 8a0b662 - Browse repository at this point
Copy the full SHA 8a0b662View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b96e68 - Browse repository at this point
Copy the full SHA 0b96e68View commit details -
chore: classify
new definition
porting notes (#11512)Classifies by adding issue number #11446 to porting notes claiming "added definition".
Configuration menu - View commit details
-
Copy full SHA for 2ff0d82 - Browse repository at this point
Copy the full SHA 2ff0d82View commit details -
chore: classify "added
theorem
" porting notes (#11513)Classifies by adding issue number #11432 to porting notes claiming "added theorem" or "added lemma".
Configuration menu - View commit details
-
Copy full SHA for 9e84a05 - Browse repository at this point
Copy the full SHA 9e84a05View commit details -
chore: Move
pow_lt_pow_succ
toAlgebra.Order.WithZero
(#11507)These lemmas can be defined earlier, ridding us of an import in `Algebra.GroupPower.Order`
Configuration menu - View commit details
-
Copy full SHA for cf22980 - Browse repository at this point
Copy the full SHA cf22980View commit details -
refactor: single-edge graph (#9736)
From #9267 (comment): > I would prefer we use lattice operations for adding edges. The idea is to make constructor `SimpleGraph.edge (v w : V) : SimpleGraph V` that creates a graph with a single edge between `v` and `w` if they're not equal (and no edge if they are), and then `G.addEdge v w` would instead be `G ⊔ edge v w`. This is more versatile, though perhaps lemmas such as `addEdge_of_adj` are a bit more brittle to apply.
Configuration menu - View commit details
-
Copy full SHA for 22a15c6 - Browse repository at this point
Copy the full SHA 22a15c6View commit details -
feat(Separation): define R0 spaces (#10621)
Generalize `coclosedCompact_eq_cocompact` and `relativelyCompact`.
Configuration menu - View commit details
-
Copy full SHA for 8a1dd30 - Browse repository at this point
Copy the full SHA 8a1dd30View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0202d9b - Browse repository at this point
Copy the full SHA 0202d9bView commit details -
chore: Move basic ordered field lemmas (#11503)
These lemmas are needed to define the semifield structure on `NNRat`, hence I am repurposing `Algebra.Order.Field.Defs` from avoiding a timeout (which I believe was solved long ago) to avoiding to import random stuff in the definition of the semifield structure on `NNRat` (although this PR doesn't actually reduce imports there, it will be in a later PR). Reduce the diff of #11203
Configuration menu - View commit details
-
Copy full SHA for dfa6e4a - Browse repository at this point
Copy the full SHA dfa6e4aView commit details -
chore(Topology/ContinuousFunction/Bounded): Rename instances (#10780)
All the unnamed instances here were very long, and Moritz recently linked one of these to a newcomer. Also slightly clean up the `Lattice` instance
Configuration menu - View commit details
-
Copy full SHA for ac4dab2 - Browse repository at this point
Copy the full SHA ac4dab2View commit details -
Configuration menu - View commit details
-
Copy full SHA for c8dd956 - Browse repository at this point
Copy the full SHA c8dd956View commit details -
chore: golf using
filter_upwards
(#11208)This is presumably not exhaustive, but covers about a hundred instances. Style opinions (e.g., why a particular change is great/not a good idea) are very welcome; I'm still forming my own.
Configuration menu - View commit details
-
Copy full SHA for 679a394 - Browse repository at this point
Copy the full SHA 679a394View commit details -
chore(Data/Funlike): update examples and replace Lean 3 syntax (#11409)
Fully update the module docstrings (in particular, the examples given therein) after #8386. This includes switching to where syntax, but also replacing Lean 3 syntax, replacing => by "\mapsto" while at it and indenting code per the style guide. As such, it's also a follow-up to #11301. Co-authored-by: @Vierkantor Co-authored-by: Vierkantor <vierkantor@vierkantor.com>
Configuration menu - View commit details
-
Copy full SHA for 9d50595 - Browse repository at this point
Copy the full SHA 9d50595View commit details -
chore: Rename
zpow_coe_nat
tozpow_natCast
(#11528)... and add a deprecated alias for the old name. This is mostly just me discovering the power of `F2`
Configuration menu - View commit details
-
Copy full SHA for ba520cf - Browse repository at this point
Copy the full SHA ba520cfView commit details -
refactor(UniformSpace): change the definition (#10901)
- replace `isOpen_uniformity` with `nhds_eq_comap_uniformity` as I suggested in #2028 - don't extend `UniformSpace.Core` so that we can drop `refl`, as it follows from `nhds_eq_comap_uniformity`; - drop `UniformSpace.mk'` - can't be a `match_pattern` anymore; - deprecate `UniformSpace.ofNhdsEqComap`.
Configuration menu - View commit details
-
Copy full SHA for 2ec0017 - Browse repository at this point
Copy the full SHA 2ec0017View commit details -
golf: replace some
apply foo.mpr
byrw [foo]
(#11515)Sometimes, that line can be golfed into the next line. Inspired by a [comment](#11208 (comment)) of @loefflerd; any decisions are my own.
Configuration menu - View commit details
-
Copy full SHA for 0861c66 - Browse repository at this point
Copy the full SHA 0861c66View commit details -
chore(GroupTheory/Nilpotent): slight golfs and clean-up (#11516)
- replace apply foo.mpr by rw [foo], golfing into the next line - replace a few `@foo _ _ _` by named arguments
Configuration menu - View commit details
-
Copy full SHA for c69a0ad - Browse repository at this point
Copy the full SHA c69a0adView commit details -
fix: add imports now needed in Imo1998Q2 and Imo1988Q6 (#11535)
Fixes breakage from #11507.
Configuration menu - View commit details
-
Copy full SHA for 2e49be5 - Browse repository at this point
Copy the full SHA 2e49be5View commit details -
feat: density of a finite kernel wrt another kernel (#10948)
Let `κ : kernel α (γ × β)` and `ν : kernel α γ` be two finite kernels with `kernel.fst κ ≤ ν`, where `γ` has a countably generated σ-algebra (true in particular for standard Borel spaces). We build a function `f : α → γ → Set β → ℝ` jointly measurable in the first two arguments such that for all `a : α` and all measurable sets `s : Set β` and `A : Set γ`, `∫ x in A, f a x s ∂(ν a) = (κ a (A ×ˢ s)).toReal`. Co-authored-by: Rémy Degenne <remydegenne@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for a230953 - Browse repository at this point
Copy the full SHA a230953View commit details -
feat(NumberTheory/LSeries): abstract functional equations (#11176)
A general framework for proving analytic continuation & functional equations via Mellin transforms.
Configuration menu - View commit details
-
Copy full SHA for 30dbd65 - Browse repository at this point
Copy the full SHA 30dbd65View commit details -
feat(NumberTheory/LSeries/Deriv): derivatives of L-series (#11245)
This adds a file `Mathlib.NumberTheory.LSeries.Deriv` that contains results on differentiability and derivatives of L-series, including the fact that the L-series is holomorphic on its right half-plane of absolute convergence. See [this thread](https://leanprover.zulipchat.com/#narrow/stream/144837-PR-reviews/topic/L-series/near/424858837) on Zulip. Co-authored-by: David Loeffler <d.loeffler.01@cantab.net>
Configuration menu - View commit details
-
Copy full SHA for eed09e2 - Browse repository at this point
Copy the full SHA eed09e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4df687b - Browse repository at this point
Copy the full SHA 4df687bView commit details -
Configuration menu - View commit details
-
Copy full SHA for dabb156 - Browse repository at this point
Copy the full SHA dabb156View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e11150 - Browse repository at this point
Copy the full SHA 0e11150View commit details -
chore: golf two_lt_card_iff (#11541)
Makes the proof of this lemma shorter and perhaps cleaner by adding a new lemma and moving it forward to take advantage of the preexisting `card_eq_three` Co-authored-by: Ruben Van de Velde <65514131+Ruben-VandeVelde@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for a4345a6 - Browse repository at this point
Copy the full SHA a4345a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for c8e5972 - Browse repository at this point
Copy the full SHA c8e5972View commit details -
chore: simplify some proofs for the 2024-03-16 nightly (#11547)
Some small changes to adapt to the 2024-03-16 nightly that can land in advance.
Configuration menu - View commit details
-
Copy full SHA for 21567b2 - Browse repository at this point
Copy the full SHA 21567b2View commit details -
feat: the generators of a presented group generate the presented group (
#11493) - Add `FreeGroup.closure_range_of`: the subgroup closure of the range of `FreeGroup.of : α → FreeGroup α` is `⊤`. (That is, the generators of a free group generate the free group.) - Add `PresentedGroup.closure_range_of`: the subgroup closure of the range of `PresentedGroup.of : α → PresentedGroup rels` is `⊤`. (That is, the generators of a presented group generate the presented group.)
Configuration menu - View commit details
-
Copy full SHA for 30d2b87 - Browse repository at this point
Copy the full SHA 30d2b87View commit details -
chore: split insertNth lemmas from List.Basic (#11542)
Removes the `insertNth` section of this long file to its own new file. This section seems to be completely independent of the rest of the file, so this is a fairly easy split to make.
Configuration menu - View commit details
-
Copy full SHA for 9c873b1 - Browse repository at this point
Copy the full SHA 9c873b1View commit details -
chore: classify "
simp
can prove" porting notes (#11550)Classifies by adding issue number #10618 to porting notes claiming "`simp` can prove it".
Configuration menu - View commit details
-
Copy full SHA for bc6afca - Browse repository at this point
Copy the full SHA bc6afcaView commit details -
chore: rename away from 'def' (#11548)
This will become an error in 2024-03-16 nightly, possibly not permanently. Co-authored-by: Scott Morrison <scott@tqft.net>
Configuration menu - View commit details
-
Copy full SHA for e8d78f6 - Browse repository at this point
Copy the full SHA e8d78f6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6070c79 - Browse repository at this point
Copy the full SHA 6070c79View commit details -
Configuration menu - View commit details
-
Copy full SHA for ff17f76 - Browse repository at this point
Copy the full SHA ff17f76View commit details -
Configuration menu - View commit details
-
Copy full SHA for 183a53e - Browse repository at this point
Copy the full SHA 183a53eView commit details -
chore(MeasureTheory.Decomposition.Lebesgue): cleaning and a few new b…
…asic lemmas (#11561) Move lemmas to put similar ones together, replace `refine'` by `refine` and `=>` by `↦`. Lemmas added: * `singularPart_add_rnDeriv` and `rnDeriv_add_singularPart`: almost aliases of `haveLebesgueDecomposition_add` * `haveLebesgueDecomposition_smul'`, `haveLebesgueDecomposition_rnDeriv` * `singularPart_eq_zero_of_ac`, `singularPart_eq_zero`, `singularPart_self`, `singularPart_eq_self` Co-authored-by: Rémy Degenne <remydegenne@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 47e88c3 - Browse repository at this point
Copy the full SHA 47e88c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for a87319b - Browse repository at this point
Copy the full SHA a87319bView commit details -
Configuration menu - View commit details
-
Copy full SHA for c78e7d6 - Browse repository at this point
Copy the full SHA c78e7d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for c496b28 - Browse repository at this point
Copy the full SHA c496b28View commit details -
feat(Analysis/PSeries): some summability results (#11150)
Summability of `n ↦ 1 / |n + a| ^ s` and `n ↦ n ^ k exp (-r * n)`
Configuration menu - View commit details
-
Copy full SHA for 534556a - Browse repository at this point
Copy the full SHA 534556aView commit details -
Configuration menu - View commit details
-
Copy full SHA for d4aa74b - Browse repository at this point
Copy the full SHA d4aa74bView commit details -
chore(LinearAlgebra): fix Fintype/Finite assumptions (#11565)
.. in `equivOfPiLEquivPi`, `coePiBasisFun.toMatrix_eq_transpose`, `vecMul_surjective_iff_exists_left_inverse`, and `mulVec_surjective_iff_exists_right_inverse`
Configuration menu - View commit details
-
Copy full SHA for 0a4c3b3 - Browse repository at this point
Copy the full SHA 0a4c3b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for ffa4419 - Browse repository at this point
Copy the full SHA ffa4419View commit details -
chore(LpSpace): cleanup
Fintype
/Finite
(#11428)Also rename `*lpBcf` to `*lpBCF` and drop 2 duplicate instances.
Configuration menu - View commit details
-
Copy full SHA for d0bb198 - Browse repository at this point
Copy the full SHA d0bb198View commit details -
feat: let
congr!
discharge equalities ofBEq
instances (#11179)Adds a congruence lemma for `BEq` instances that makes use of `LawfulBEq` instances, and gives `congr!` the ability to use this congruence lemma. This is meant to help with diamonds that arise from interactions between Decidable and BEq instances. This feature can be turned off using the `beqEq` configuration setting, like `congr! (config := { beqEq := false })`.
Configuration menu - View commit details
-
Copy full SHA for 207463a - Browse repository at this point
Copy the full SHA 207463aView commit details -
chore: import ProofWidgets, so tests work (#11350)
Currently you need to run ``` lake build ProofWidgets make tests ``` to reliably get tests to work. --- <!-- The text above the `---` will become the commit message when your PR is merged. Please leave a blank newline before the `---`, otherwise GitHub will format the text above it as a title. To indicate co-authors, include lines at the bottom of the commit message (that is, before the `---`) using the following format: Co-authored-by: Author Name <author@email.com> Any other comments you want to keep out of the PR commit should go below the `---`, and placed outside this HTML comment, or else they will be invisible to reviewers. If this PR depends on other PRs, please list them below this comment, using the following format: - [ ] depends on: #abc [optional extra text] - [ ] depends on: #xyz [optional extra text] --> [![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/from-referrer/)
Configuration menu - View commit details
-
Copy full SHA for a78b8fa - Browse repository at this point
Copy the full SHA a78b8faView commit details -
chore: don't use String->Name coercion, which may be removed (#11556)
Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 673d03e - Browse repository at this point
Copy the full SHA 673d03eView commit details -
Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 90df05c - Browse repository at this point
Copy the full SHA 90df05cView commit details -
Configuration menu - View commit details
-
Copy full SHA for a1116c1 - Browse repository at this point
Copy the full SHA a1116c1View commit details -
Configuration menu - View commit details
-
Copy full SHA for eae00ff - Browse repository at this point
Copy the full SHA eae00ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for 11c8999 - Browse repository at this point
Copy the full SHA 11c8999View commit details