Skip to content
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

Closed
wants to merge 1,548 commits into from
Closed
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Mar 22, 2024

  1. feat: Absolute value and positive parts in pi types (#10256)

    and a few more lemmas.
    
    From LeanAPAP
    YaelDillies authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    94d8b87 View commit details
    Browse the repository at this point in the history
  2. feat: results about List.orderedInsert (#11191)

    I suspect I will need some of these for #10660
    eric-wieser authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    33b5c0b View commit details
    Browse the repository at this point in the history
  3. chore: Remove ball and bex 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.
    YaelDillies authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    eaa556a View commit details
    Browse the repository at this point in the history
  4. chore: classify todo porting notes (#11216)

    Classifies by adding issue number #11215 to porting notes claiming "TODO".
    pitmonticone authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    b686eb0 View commit details
    Browse the repository at this point in the history
  5. 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"
    pitmonticone authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    e5efcc8 View commit details
    Browse the repository at this point in the history
  6. refactor(Algebra/Lie/SkewAdjoint): from BilinForm to LinearMap.BilinF…

    …orm (#11078)
    
    Replaces `BilinForm` with `LinearMap.BilinForm` in support of #10553
    mans0954 authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    179c229 View commit details
    Browse the repository at this point in the history
  7. 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.
    grunweg authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    57972ce View commit details
    Browse the repository at this point in the history
  8. 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>
    3 people authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    5a46416 View commit details
    Browse the repository at this point in the history
  9. 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`).
    adri326 authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    1e3f96b View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    162c712 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    7f80af5 View commit details
    Browse the repository at this point in the history
  12. feat(CategoryTheory/EssentialImage): show that surjective functors ar…

    …e essentially surjective (#11239)
    
    Show that if `F.obj` is surjective, `F` is essentially surjective.
    uniwuni authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    0d7a09b View commit details
    Browse the repository at this point in the history
  13. feat(SuccPred): {succ,pred}_{min,max} (#9367)

    Co-authored-by: Yaël Dillies <yael.dillies@gmail.com>
    2 people authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    61fe71d View commit details
    Browse the repository at this point in the history
  14. 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!
    adomani authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    d3993c4 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    d59c61f View commit details
    Browse the repository at this point in the history
  16. chore: classify rw to erw porting notes (#11225)

    Classifies by adding issue number #11224 to porting notes claiming: 
    
    > change `rw` to `erw`
    pitmonticone authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    333bb0b View commit details
    Browse the repository at this point in the history
  17. 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"
    pitmonticone authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    060e790 View commit details
    Browse the repository at this point in the history
  18. chore: classify deprecated porting notes (#11230)

    Classifies by adding issue number #11229 to porting notes claiming: 
    
    > deprecated
    pitmonticone authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    d10219a View commit details
    Browse the repository at this point in the history
  19. 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>
    2 people authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    f04c756 View commit details
    Browse the repository at this point in the history
  20. refactor: do not allow nsmul and zsmul 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>
    2 people authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    0cf5c2f View commit details
    Browse the repository at this point in the history
  21. chore: resolve (coe : ℤ → α) to ((↑) : ℤ → α) porting notes (#11250)

    Resolves porting notes claiming "change `(coe : ℤ → α)` to `((↑) : ℤ → α)`" by substituting `Int.cast` with `(↑)`.
    pitmonticone authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    d5ed5c5 View commit details
    Browse the repository at this point in the history
  22. 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.
    j-loreaux authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    15e866c View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    d927b1d View commit details
    Browse the repository at this point in the history
  24. chore: remove unnecessary pp_dots (#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.
    kmill authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    096480a View commit details
    Browse the repository at this point in the history
  25. 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.
    eric-wieser authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    e44f574 View commit details
    Browse the repository at this point in the history
  26. 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.
    eric-wieser authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    db3e72c View commit details
    Browse the repository at this point in the history
  27. 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.
    Parcly-Taxel authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    28431ec View commit details
    Browse the repository at this point in the history
  28. 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>
    3 people authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    2129ca0 View commit details
    Browse the repository at this point in the history
  29. 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>
    2 people authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    6816ccf View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    e8782e4 View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    d3da45c View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    9b7f562 View commit details
    Browse the repository at this point in the history
  33. feat(Probability/Kernel): add compProd_add_left/right (#11272)

    Interaction of the composition-product of kernels with addition.
    RemyDegenne authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    f97d551 View commit details
    Browse the repository at this point in the history
  34. 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*)."
    oneofvalts authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    9456d78 View commit details
    Browse the repository at this point in the history
  35. 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).
    chrisflav authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    366a5f2 View commit details
    Browse the repository at this point in the history
  36. 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.
    girving authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    3be11f7 View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    5061068 View commit details
    Browse the repository at this point in the history
  38. chore: more squeeze_simps arising from linter (#11259)

    The squeezing continues!  All found by the linter at #11246.
    adomani authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    870e5fe View commit details
    Browse the repository at this point in the history
  39. 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`.
    urkud authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    6225716 View commit details
    Browse the repository at this point in the history
  40. 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
    urkud authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    2ba31e1 View commit details
    Browse the repository at this point in the history
  41. feat: orthogonality of Lie algebra root spaces (#10879)

    Co-authored-by: Johan Commelin <johan@commelin.net>
    2 people authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    5f10d01 View commit details
    Browse the repository at this point in the history
  42. 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.
    MichaelStollBayreuth authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    4ded7a4 View commit details
    Browse the repository at this point in the history
  43. 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>
    2 people authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    33458eb View commit details
    Browse the repository at this point in the history
  44. chore(Multilinear/Basic): golf (#11289)

    urkud authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    52d3fe7 View commit details
    Browse the repository at this point in the history
  45. 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.
    kbuzzard authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    d9aa608 View commit details
    Browse the repository at this point in the history
  46. 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.
    jsm28 authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    b65ceab View commit details
    Browse the repository at this point in the history
  47. chore(Algebra/DirectLimit): drop some DecidableEq assumptions (#11288)

    ... by moving `variable [DecidableEq ι]` to `section`s.
    urkud authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    1c8625e View commit details
    Browse the repository at this point in the history
  48. fix: restore ext1?/ext? (deleted upstream) as syntax stubs (#11234)

    Fixing mathport breakage.
    
    
    
    Co-authored-by: Mario Carneiro <di.gama@gmail.com>
    2 people authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    9742e53 View commit details
    Browse the repository at this point in the history
  49. 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>
    3 people authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    2f1528e View commit details
    Browse the repository at this point in the history
  50. 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>
    3 people authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    6881bb2 View commit details
    Browse the repository at this point in the history
  51. chore: Fix alias (#11293)

    mcdoll authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    729a383 View commit details
    Browse the repository at this point in the history
  52. Configuration menu
    Copy the full SHA
    a354866 View commit details
    Browse the repository at this point in the history
  53. 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)>
    2 people authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    c901723 View commit details
    Browse the repository at this point in the history
  54. Configuration menu
    Copy the full SHA
    4a65fd0 View commit details
    Browse the repository at this point in the history
  55. 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.
    mattrobball authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    131bfdb View commit details
    Browse the repository at this point in the history
  56. Configuration menu
    Copy the full SHA
    6f179ac View commit details
    Browse the repository at this point in the history
  57. 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>
    2 people authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    f1bcbcd View commit details
    Browse the repository at this point in the history
  58. 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>
    2 people authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    6c8f49e View commit details
    Browse the repository at this point in the history
  59. 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.
    jsm28 authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    cc6c455 View commit details
    Browse the repository at this point in the history
  60. Configuration menu
    Copy the full SHA
    35e0128 View commit details
    Browse the repository at this point in the history
  61. Configuration menu
    Copy the full SHA
    6e3e0eb View commit details
    Browse the repository at this point in the history
  62. chore(Computability): Encodable/Fintype -> Countable/Finite (#…

    …10869)
    
    Also golf a proof
    urkud authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    cbbffb6 View commit details
    Browse the repository at this point in the history
  63. Configuration menu
    Copy the full SHA
    ae2fa4a View commit details
    Browse the repository at this point in the history
  64. chore: golf some MvPolynomial degree results (#11258)

    Co-authored-by: Junyan Xu <junyanxumath@gmail.com>
    2 people authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    75d7402 View commit details
    Browse the repository at this point in the history
  65. 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`.
    urkud authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    18924b3 View commit details
    Browse the repository at this point in the history
  66. 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.
    mattrobball authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    d8eed90 View commit details
    Browse the repository at this point in the history
  67. feat: cons lemmas for Finset.noncommProd (#11194)

    These are more general than the `insert` versions as they do not assume `DecidableEq`.
    
    This also lets some later proofs be golfed.
    eric-wieser authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    922a5a1 View commit details
    Browse the repository at this point in the history
  68. 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.
    acmepjz authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    e62e68e View commit details
    Browse the repository at this point in the history
  69. feat(LightProfinite): being light is a property of a profinite space (#…

    …10391)
    
    This PR defines the class `Profinite.IsLight` which is the property of a profinite space to have countably many clopens. We prove that such a profinite space gives rise to a `LightProfinite`, and the underlying profinite space of a `LightProfinite` is light.
    
    - [x] depends on: #10390
    dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    431fe8a View commit details
    Browse the repository at this point in the history
  70. 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.
    MichaelStollBayreuth authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    78524a1 View commit details
    Browse the repository at this point in the history
  71. 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`.
    loefflerd authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    b921e69 View commit details
    Browse the repository at this point in the history
  72. chore: one golf using omega (#11319)

    grunweg authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    40f5852 View commit details
    Browse the repository at this point in the history
  73. chore: golf using omega (#11318)

    Backported from #11314.
    grunweg authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    cc600f2 View commit details
    Browse the repository at this point in the history
  74. fix errors

    dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    9c6f79c View commit details
    Browse the repository at this point in the history
  75. 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>
    2 people authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    bc3f148 View commit details
    Browse the repository at this point in the history
  76. Configuration menu
    Copy the full SHA
    553e770 View commit details
    Browse the repository at this point in the history
  77. 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`.
    j-loreaux authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    c4d957f View commit details
    Browse the repository at this point in the history
  78. 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.
    j-loreaux authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    3c39418 View commit details
    Browse the repository at this point in the history
  79. 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>
    2 people authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    c9812c3 View commit details
    Browse the repository at this point in the history
  80. chore (Multiset.Fintype): remove Multiset.coe_eq (#11340)

    This is now a `rfl` and in the latest nightly becomes a `synTaut`. We remove it.
    mattrobball authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    d1f2d73 View commit details
    Browse the repository at this point in the history
  81. 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>
    2 people authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    2831ecc View commit details
    Browse the repository at this point in the history
  82. feat(Algebra/Homology): the symmetry of the total complex (#10770)

    Co-authored-by: Joël Riou <37772949+joelriou@users.noreply.github.com>
    2 people authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    87918eb View commit details
    Browse the repository at this point in the history
  83. feat: strengthen tendsto_tsum_of_dominated_convergence a little (#1…

    …1236)
    
    Replace the uniform bound by an eventual uniform bound along the filter.
    vbeffara authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    266eae0 View commit details
    Browse the repository at this point in the history
  84. doc(NumberTheory/Padics/PadicVal): typo (#11320)

    Fix a typo.
    gaetanserre authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    d5bdfba View commit details
    Browse the repository at this point in the history
  85. 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>
    3 people authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    90e1538 View commit details
    Browse the repository at this point in the history
  86. 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.
    faenuccio authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    699cc5f View commit details
    Browse the repository at this point in the history
  87. 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
    acmepjz authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    902b613 View commit details
    Browse the repository at this point in the history
  88. chore: remove useless tactics (#11333)

    The removal of some pointless tactics flagged by #11308.
    adomani authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    420ca5a View commit details
    Browse the repository at this point in the history
  89. 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`.
    mattrobball authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    2df7f14 View commit details
    Browse the repository at this point in the history
  90. 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>
    3 people authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    6e0c998 View commit details
    Browse the repository at this point in the history
  91. 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)`.
    RemyDegenne authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    cea83e6 View commit details
    Browse the repository at this point in the history
  92. 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>
    2 people authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    7b93c40 View commit details
    Browse the repository at this point in the history
  93. Configuration menu
    Copy the full SHA
    1078b38 View commit details
    Browse the repository at this point in the history
  94. Configuration menu
    Copy the full SHA
    ec53883 View commit details
    Browse the repository at this point in the history
  95. feat(MetricSpace): add tendsto_closedBall_smallSets (#11068)

    Use it to golf `Vitali.exists_disjoint_covering_ae`
    urkud authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    f1fe86c View commit details
    Browse the repository at this point in the history
  96. 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
    ```
    eric-wieser authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    4d11426 View commit details
    Browse the repository at this point in the history
  97. 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>
    2 people authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    791d009 View commit details
    Browse the repository at this point in the history
  98. 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>
    2 people authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    9c20cfa View commit details
    Browse the repository at this point in the history
  99. chore: remove more autoImplicit (#11336)

    ... or reduce its scope (the full removal is not as obvious).
    grunweg authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    219554c View commit details
    Browse the repository at this point in the history
  100. 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
    ```
    adomani authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    813b4ad View commit details
    Browse the repository at this point in the history
  101. 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)
    adomani authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    b38498c View commit details
    Browse the repository at this point in the history
  102. feat: add lemma Finsupp.erase_apply (#11242)

    Adds a lemma
    BoltonBailey authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    0ba2ea7 View commit details
    Browse the repository at this point in the history
  103. chore(Topology/Instances/Discrete): merge 2 instances (#11296)

    Prove `DiscreteTopology.secondCountableTopology_of_countable` directly,
    deprecate `DiscreteTopology.secondCountableTopology_of_encodable`.
    urkud authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    4316ef3 View commit details
    Browse the repository at this point in the history
  104. Configuration menu
    Copy the full SHA
    8f07339 View commit details
    Browse the repository at this point in the history
  105. chore: ci: do no add full-ci to lean PRs (#11369)

    it triggers rebuilds and can be annoying.
    nomeata authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    35b0d27 View commit details
    Browse the repository at this point in the history
  106. chore: replace λ by fun (#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 `
    grunweg authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    309e3e1 View commit details
    Browse the repository at this point in the history
  107. feat: the nth symmetric power is equivalent to maps of total mass `…

    …n`. (#11360)
    
    Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
    2 people authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    5959949 View commit details
    Browse the repository at this point in the history
  108. 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`.
    nomeata authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    2bb4647 View commit details
    Browse the repository at this point in the history
  109. 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.
    grunweg authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    e00395d View commit details
    Browse the repository at this point in the history
  110. 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.
    adomani authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    f1fabc3 View commit details
    Browse the repository at this point in the history
  111. feat: use polyrith/linear_combination in Algebra/Star/CHSH (#11211)

    Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
    2 people authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    cab1248 View commit details
    Browse the repository at this point in the history
  112. 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>
    3 people authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    63ac9f5 View commit details
    Browse the repository at this point in the history
  113. Configuration menu
    Copy the full SHA
    4585ab2 View commit details
    Browse the repository at this point in the history
  114. 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.
    adamtopaz authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    18485c9 View commit details
    Browse the repository at this point in the history
  115. feat: add lemmas Matrix.cons_val_three, Matrix.cons_val_four (#11382

    )
    
    I just needed the `three` version of these when doing some explicit computations with a cubic polynomial. Obviously there is a limit to how far we should go but I think the proposed values are reasonable.
    ocfnash authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    4c003b9 View commit details
    Browse the repository at this point in the history
  116. chore: fix nightly-testing bot logic (#11389)

    Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
    2 people authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    e001506 View commit details
    Browse the repository at this point in the history
  117. chore: the nightly-testing bot can remind us when to create PRs (#11391)

    Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
    2 people authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    e3070f6 View commit details
    Browse the repository at this point in the history
  118. chore: nightly-testing bot posts in the public stream (#11390)

    Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
    2 people authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    59b62bb View commit details
    Browse the repository at this point in the history
  119. Configuration menu
    Copy the full SHA
    2e9fee1 View commit details
    Browse the repository at this point in the history
  120. 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.
    adomani authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    ffde947 View commit details
    Browse the repository at this point in the history
  121. 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>
    2 people authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    7601ae1 View commit details
    Browse the repository at this point in the history
  122. Configuration menu
    Copy the full SHA
    5bc207a View commit details
    Browse the repository at this point in the history
  123. 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)
    grunweg authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    54fdd0c View commit details
    Browse the repository at this point in the history
  124. feat: add lemmas Polynomial.natDegree_sum_le_of_forall_le (#11381)

    Also add two missing `simp` attributes
    ocfnash authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    a4d5a46 View commit details
    Browse the repository at this point in the history
  125. Configuration menu
    Copy the full SHA
    4d73326 View commit details
    Browse the repository at this point in the history
  126. feat: counting elements in an interval with given residue (#9348)

    Co-authored-by: Yury G. Kudryashov <urkud@urkud.name>
    2 people authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    4506a06 View commit details
    Browse the repository at this point in the history
  127. 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.
    timotree3 authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    16508c6 View commit details
    Browse the repository at this point in the history
  128. Configuration menu
    Copy the full SHA
    36c8cbd View commit details
    Browse the repository at this point in the history
  129. feat: Semicontinuity of f ∘ g for f semicontinuous, g continuous (

    #10822)
    
    Only the other direction exists currently, it seems.
    girving authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    25337c7 View commit details
    Browse the repository at this point in the history
  130. 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)
    timotree3 authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    fb86d30 View commit details
    Browse the repository at this point in the history
  131. 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.
    ScottCarnahan authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    88fa2b1 View commit details
    Browse the repository at this point in the history
  132. perf(test/observe): set low maxHeartbeats for test (#10498)

    Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
    2 people authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    d27bc7b View commit details
    Browse the repository at this point in the history
  133. Configuration menu
    Copy the full SHA
    96f7e0f View commit details
    Browse the repository at this point in the history
  134. chore: fix extract_lets without at (#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 *`
    joneugster authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    0dc6658 View commit details
    Browse the repository at this point in the history
  135. Configuration menu
    Copy the full SHA
    1702d16 View commit details
    Browse the repository at this point in the history
  136. 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.
    grunweg authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    ffa8cd3 View commit details
    Browse the repository at this point in the history
  137. 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>
    2 people authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    89b26c3 View commit details
    Browse the repository at this point in the history
  138. fix(Polynomial/Laurent): replace Lean 3 syntax in comments (#11407)

    Co-authored-by: damiano <adomani@gmail.com>
    2 people authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    a517897 View commit details
    Browse the repository at this point in the history
  139. 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
    urkud authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    7ed58d1 View commit details
    Browse the repository at this point in the history
  140. Configuration menu
    Copy the full SHA
    e554ab5 View commit details
    Browse the repository at this point in the history
  141. 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)
    loefflerd authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    45b8d75 View commit details
    Browse the repository at this point in the history
  142. 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`.
    joelriou authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    35ad134 View commit details
    Browse the repository at this point in the history
  143. 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.
    grunweg authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    ca395b8 View commit details
    Browse the repository at this point in the history
  144. 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.
    grunweg authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    1c75acb View commit details
    Browse the repository at this point in the history
  145. 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>
    4 people authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    1c1de2d View commit details
    Browse the repository at this point in the history
  146. 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.
    grunweg authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    07327c4 View commit details
    Browse the repository at this point in the history
  147. chore: classify broken dot notation porting notes (#11429)

    Classifies by adding issue number #11036 to porting notes claiming: 
    
    > dot notation no longer works
    pitmonticone authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    ccb7925 View commit details
    Browse the repository at this point in the history
  148. 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`.
    urkud authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    5bc0f3e View commit details
    Browse the repository at this point in the history
  149. Configuration menu
    Copy the full SHA
    e7d6d06 View commit details
    Browse the repository at this point in the history
  150. 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).
    adomani authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    52f0ef4 View commit details
    Browse the repository at this point in the history
  151. 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`).
    loefflerd authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    63c5b37 View commit details
    Browse the repository at this point in the history
  152. 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`.
    chrisflav authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    32e4787 View commit details
    Browse the repository at this point in the history
  153. 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.
    grunweg authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    9a4d0e3 View commit details
    Browse the repository at this point in the history
  154. Configuration menu
    Copy the full SHA
    3ca1fbc View commit details
    Browse the repository at this point in the history
  155. 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.
    grunweg authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    6b2f091 View commit details
    Browse the repository at this point in the history
  156. fix(Order/Zorn): update usage example to Lean 4 syntax (#11425)

    Double-checking the syntax is welcome.
    grunweg authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    ca48ce6 View commit details
    Browse the repository at this point in the history
  157. doc: fix Lean 3 syntax in more tests and docstrings (#11426)

    Best reviewed commit by commit.
    grunweg authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    107d736 View commit details
    Browse the repository at this point in the history
  158. 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>
    4 people authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    eb75dd4 View commit details
    Browse the repository at this point in the history
  159. chore: resolve "apply induction" porting notes (#11444)

    Resolves porting notes claiming "`apply` → `induction`" since the new `induction` is more idiomatic than `apply`.
    pitmonticone authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    8fb1cc4 View commit details
    Browse the repository at this point in the history
  160. 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>
    2 people authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    6bfe250 View commit details
    Browse the repository at this point in the history
  161. 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.
    eric-wieser authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    3ae3d91 View commit details
    Browse the repository at this point in the history
  162. Configuration menu
    Copy the full SHA
    0ef4e5d View commit details
    Browse the repository at this point in the history
  163. chore(UniqueFactorizationDomain): golf (#11424)

    Move `factors_zero` up, use it to golf `ne_zero_of_mem_factors`
    urkud authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    a5c0b6b View commit details
    Browse the repository at this point in the history
  164. chore(Squarefree): drop a DecidableEq assumption (#11427)

    Use `classical` instead
    urkud authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    cb4bb7f View commit details
    Browse the repository at this point in the history
  165. 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"
    pitmonticone authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    52687c1 View commit details
    Browse the repository at this point in the history
  166. chore: classify new instance porting notes (#11433)

    Classifies by adding issue number #10754 to porting notes claiming "new instance".
    pitmonticone authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    44f4706 View commit details
    Browse the repository at this point in the history
  167. chore: classify rfl required porting notes (#11442)

    Classifies by adding issue number #11441 to porting notes claiming: 
    
    > `rfl` required.
    pitmonticone authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    e250d39 View commit details
    Browse the repository at this point in the history
  168. chore: classify new definition porting notes (#11446)

    Classifies by adding issue number #11445 to porting notes claiming anything equivalent to: 
    
    - "new definition"
    - "added definition"
    pitmonticone authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    78cbd7b View commit details
    Browse the repository at this point in the history
  169. chore: classify "removed @[pp_nodot]" porting notes (#11447)

    Classifies by adding issue number #11180 to porting notes claiming: 
    
    > removed `@[pp_nodot]`
    pitmonticone authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    aec03d9 View commit details
    Browse the repository at this point in the history
  170. 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)
    adomani authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    44fd0a3 View commit details
    Browse the repository at this point in the history
  171. chore: fix quotes in nightly-testing bot (#11469)

    Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
    2 people authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    38f7fc4 View commit details
    Browse the repository at this point in the history
  172. 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.
    kbuzzard authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    b122fe3 View commit details
    Browse the repository at this point in the history
  173. chore: classify "@[simp] can prove" porting notes (#11474)

    Classifies by adding issue number #10618 to porting notes claiming 
    
    > `@[simp]` can prove
    pitmonticone authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    c8a13e6 View commit details
    Browse the repository at this point in the history
  174. fix: rename LocallyFiniteOrderTop.ofIic to LocallyFiniteOrderBot (#…

    …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>
    2 people authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    65bf661 View commit details
    Browse the repository at this point in the history
  175. chore(*): Fintype -> Finite, drop Decidable (#11423)

    Also, in some cases drop unneeded `Fintype` arguments.
    urkud authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    ebccc47 View commit details
    Browse the repository at this point in the history
  176. Configuration menu
    Copy the full SHA
    673c09a View commit details
    Browse the repository at this point in the history
  177. Configuration menu
    Copy the full SHA
    6ba1a74 View commit details
    Browse the repository at this point in the history
  178. Configuration menu
    Copy the full SHA
    02acc11 View commit details
    Browse the repository at this point in the history
  179. 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)
    ```
    jcommelin authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    a5d621a View commit details
    Browse the repository at this point in the history
  180. 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>
    3 people authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    dbb9a3a View commit details
    Browse the repository at this point in the history
  181. 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>
    2 people authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    d9932ff View commit details
    Browse the repository at this point in the history
  182. 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>
    2 people authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    98a11ac View commit details
    Browse the repository at this point in the history
  183. Configuration menu
    Copy the full SHA
    f67f73c View commit details
    Browse the repository at this point in the history
  184. 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>
    4 people authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    5300ea8 View commit details
    Browse the repository at this point in the history
  185. 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>
    2 people authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    5e1ed43 View commit details
    Browse the repository at this point in the history
  186. 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.
    eric-wieser authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    bb2e237 View commit details
    Browse the repository at this point in the history
  187. 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>
    4 people authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    24aa74f View commit details
    Browse the repository at this point in the history
  188. 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!
    TwoFX authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    267a1f8 View commit details
    Browse the repository at this point in the history
  189. feat(Algebra/Homology): the category of short complexes is linear (#1…

    …0923)
    
    Co-authored-by: Joël Riou <37772949+joelriou@users.noreply.github.com>
    2 people authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    b061832 View commit details
    Browse the repository at this point in the history
  190. 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>
    2 people authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    82f3262 View commit details
    Browse the repository at this point in the history
  191. 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>
    2 people authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    cf35c12 View commit details
    Browse the repository at this point in the history
  192. 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>
    2 people authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    7f361a5 View commit details
    Browse the repository at this point in the history
  193. chore(CategoryTheory): split the file `CategoryTheory/Sites/Effective…

    …Epimorphic/Basic.lean` (#11458)
    
    Adds no new material, just splits the file into smaller chunks and removes a couple of useless lemmas.
    
    - [x] depends on: #11457
    dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    7507b68 View commit details
    Browse the repository at this point in the history
  194. 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.
    xroblot authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    27dbc11 View commit details
    Browse the repository at this point in the history
  195. Configuration menu
    Copy the full SHA
    6b26cdb View commit details
    Browse the repository at this point in the history
  196. chore: Move GroupWithZero lemmas earlier (#10919)

    Move from `Algebra.GroupWithZero.Units.Lemmas` to `Algebra.GroupWithZero.Units.Basic` the lemmas that can be moved.
    YaelDillies authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    c50aaa8 View commit details
    Browse the repository at this point in the history
  197. 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`.
    YaelDillies authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    bb0df75 View commit details
    Browse the repository at this point in the history
  198. 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.
    eric-wieser authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    04a2752 View commit details
    Browse the repository at this point in the history
  199. 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).
    awueth authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    f0af898 View commit details
    Browse the repository at this point in the history
  200. 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`).
    grunweg authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    4bc8196 View commit details
    Browse the repository at this point in the history
  201. perf(LinearAlgebra.TensorProduct.Basic): add TensorProduct.addMonoid (

    #11505)
    
    We define `TensorProduct.addCommMonoid` in terms of `TensorProduct.addMonoid` to reduce unfolding.
    Amelia Livingston authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    8a0b662 View commit details
    Browse the repository at this point in the history
  202. Configuration menu
    Copy the full SHA
    0b96e68 View commit details
    Browse the repository at this point in the history
  203. chore: classify new definition porting notes (#11512)

    Classifies by adding issue number #11446 to porting notes claiming "added definition".
    pitmonticone authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    2ff0d82 View commit details
    Browse the repository at this point in the history
  204. chore: classify "added theorem" porting notes (#11513)

    Classifies by adding issue number #11432 to porting notes claiming "added theorem" or "added lemma".
    pitmonticone authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    9e84a05 View commit details
    Browse the repository at this point in the history
  205. chore: Move pow_lt_pow_succ to Algebra.Order.WithZero (#11507)

    These lemmas can be defined earlier, ridding us of an import in `Algebra.GroupPower.Order`
    YaelDillies authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    cf22980 View commit details
    Browse the repository at this point in the history
  206. 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.
    Parcly-Taxel authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    22a15c6 View commit details
    Browse the repository at this point in the history
  207. feat(Separation): define R0 spaces (#10621)

    Generalize `coclosedCompact_eq_cocompact` and `relativelyCompact`.
    urkud authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    8a1dd30 View commit details
    Browse the repository at this point in the history
  208. feat(Lean/Expr): define Expr.eraseProofs (#10867)

    Co-authored-by: @kmill , @thorimur 
    
    
    
    Co-authored-by: Yury G. Kudryashov <urkud@urkud.name>
    2 people authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    0202d9b View commit details
    Browse the repository at this point in the history
  209. 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
    YaelDillies authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    dfa6e4a View commit details
    Browse the repository at this point in the history
  210. 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
    YaelDillies authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    ac4dab2 View commit details
    Browse the repository at this point in the history
  211. Configuration menu
    Copy the full SHA
    c8dd956 View commit details
    Browse the repository at this point in the history
  212. 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.
    grunweg authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    679a394 View commit details
    Browse the repository at this point in the history
  213. 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>
    2 people authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    9d50595 View commit details
    Browse the repository at this point in the history
  214. chore: Rename zpow_coe_nat to zpow_natCast (#11528)

    ... and add a deprecated alias for the old name. This is mostly just me discovering the power of `F2`
    YaelDillies authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    ba520cf View commit details
    Browse the repository at this point in the history
  215. 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`.
    urkud authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    2ec0017 View commit details
    Browse the repository at this point in the history
  216. golf: replace some apply foo.mpr by rw [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.
    grunweg authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    0861c66 View commit details
    Browse the repository at this point in the history
  217. 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
    grunweg authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    c69a0ad View commit details
    Browse the repository at this point in the history
  218. fix: add imports now needed in Imo1998Q2 and Imo1988Q6 (#11535)

    Fixes breakage from #11507.
    dwrensha authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    2e49be5 View commit details
    Browse the repository at this point in the history
  219. 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>
    2 people authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    a230953 View commit details
    Browse the repository at this point in the history
  220. feat(NumberTheory/LSeries): abstract functional equations (#11176)

    A general framework for proving analytic continuation & functional equations via Mellin transforms.
    loefflerd authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    30dbd65 View commit details
    Browse the repository at this point in the history
  221. 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>
    2 people authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    eed09e2 View commit details
    Browse the repository at this point in the history
  222. Configuration menu
    Copy the full SHA
    4df687b View commit details
    Browse the repository at this point in the history
  223. Configuration menu
    Copy the full SHA
    dabb156 View commit details
    Browse the repository at this point in the history
  224. Configuration menu
    Copy the full SHA
    0e11150 View commit details
    Browse the repository at this point in the history
  225. 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>
    2 people authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    a4345a6 View commit details
    Browse the repository at this point in the history
  226. chore: Rename cat_coe_nat/cast_coe_int to cast_natCast/`cast_in…

    …tCast` (#11552)
    
    Reduce the diff of #11499
    YaelDillies authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    c8e5972 View commit details
    Browse the repository at this point in the history
  227. 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.
    Ruben-VandeVelde authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    21567b2 View commit details
    Browse the repository at this point in the history
  228. 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.)
    trivial1711 authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    30d2b87 View commit details
    Browse the repository at this point in the history
  229. 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.
    BoltonBailey authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    9c873b1 View commit details
    Browse the repository at this point in the history
  230. chore: classify "simp can prove" porting notes (#11550)

    Classifies by adding issue number #10618 to porting notes claiming "`simp` can prove it".
    pitmonticone authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    bc6afca View commit details
    Browse the repository at this point in the history
  231. 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>
    2 people authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    e8d78f6 View commit details
    Browse the repository at this point in the history
  232. Configuration menu
    Copy the full SHA
    6070c79 View commit details
    Browse the repository at this point in the history
  233. Configuration menu
    Copy the full SHA
    ff17f76 View commit details
    Browse the repository at this point in the history
  234. Configuration menu
    Copy the full SHA
    183a53e View commit details
    Browse the repository at this point in the history
  235. 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>
    2 people authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    47e88c3 View commit details
    Browse the repository at this point in the history
  236. Configuration menu
    Copy the full SHA
    a87319b View commit details
    Browse the repository at this point in the history
  237. Configuration menu
    Copy the full SHA
    c78e7d6 View commit details
    Browse the repository at this point in the history
  238. Configuration menu
    Copy the full SHA
    c496b28 View commit details
    Browse the repository at this point in the history
  239. feat(Analysis/PSeries): some summability results (#11150)

    Summability of `n ↦ 1 / |n + a| ^ s` and `n ↦ n ^ k exp (-r * n)`
    loefflerd authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    534556a View commit details
    Browse the repository at this point in the history
  240. Configuration menu
    Copy the full SHA
    d4aa74b View commit details
    Browse the repository at this point in the history
  241. 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`
    urkud authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    0a4c3b3 View commit details
    Browse the repository at this point in the history
  242. Configuration menu
    Copy the full SHA
    ffa4419 View commit details
    Browse the repository at this point in the history
  243. chore(LpSpace): cleanup Fintype/Finite (#11428)

    Also rename `*lpBcf` to `*lpBCF` and drop 2 duplicate instances.
    urkud authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    d0bb198 View commit details
    Browse the repository at this point in the history
  244. feat: let congr! discharge equalities of BEq 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 })`.
    kmill authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    207463a View commit details
    Browse the repository at this point in the history
  245. 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/)
    kim-em authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    a78b8fa View commit details
    Browse the repository at this point in the history
  246. chore: don't use String->Name coercion, which may be removed (#11556)

    Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
    2 people authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    673d03e View commit details
    Browse the repository at this point in the history
  247. chore: bump Std (#11576)

    Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
    2 people authored and dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    90df05c View commit details
    Browse the repository at this point in the history
  248. Configuration menu
    Copy the full SHA
    a1116c1 View commit details
    Browse the repository at this point in the history
  249. remove unnecessary stuff

    dagurtomas committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    eae00ff View commit details
    Browse the repository at this point in the history
  250. Configuration menu
    Copy the full SHA
    11c8999 View commit details
    Browse the repository at this point in the history