Skip to content

[Merged by Bors] - refactor(Analysis/Normed): ConcreteCategory refactor for SemiNormedGrp#21477

Closed
Vierkantor wants to merge 3 commits intomasterfrom
concreteify-SemiNormedGrp
Closed

[Merged by Bors] - refactor(Analysis/Normed): ConcreteCategory refactor for SemiNormedGrp#21477
Vierkantor wants to merge 3 commits intomasterfrom
concreteify-SemiNormedGrp

Conversation

@Vierkantor
Copy link
Copy Markdown
Contributor

@Vierkantor Vierkantor commented Feb 5, 2025

This PR adds a Hom structure and ConcreteCategory instance for SemiNormedGrp and SemiNormedGrp_1.

Zulip thread: https://leanprover.zulipchat.com/#narrow/channel/287929-mathlib4/topic/Concrete.20category.20class.20redesign


Open in Gitpod

…dGrp`

This PR adds a `Hom` structure and `ConcreteCategory` instance for `SemiNormedGrp` and `SemiNormedGrp_1`.

Zulip thread: https://leanprover.zulipchat.com/#narrow/channel/287929-mathlib4/topic/Concrete.20category.20class.20redesign

. Please enter the commit message for your changes. Lines starting
@Vierkantor Vierkantor added awaiting-CI This PR does not pass CI yet. This label is automatically removed once it does. t-category-theory Category theory t-analysis Analysis (normed *, calculus) labels Feb 5, 2025
@github-actions
Copy link
Copy Markdown

github-actions bot commented Feb 5, 2025

PR summary 20adfa87a1

Import changes for modified files

Dependency changes

File Base Count Head Count Change
Mathlib.Analysis.Normed.Group.SemiNormedGrp 1350 1347 -3 (-0.22%)
Mathlib.Analysis.Normed.Group.SemiNormedGrp.Completion 1375 1372 -3 (-0.22%)
Mathlib.Analysis.Normed.Group.SemiNormedGrp.Kernels 1485 1482 -3 (-0.20%)
Import changes for all files
Files Import difference
3 files Mathlib.Analysis.Normed.Group.SemiNormedGrp.Completion Mathlib.Analysis.Normed.Group.SemiNormedGrp.Kernels Mathlib.Analysis.Normed.Group.SemiNormedGrp
-3

Declarations diff

+ Hom.add
+ Hom.addCommGroup
+ Hom.neg
+ Hom.nsmul
+ Hom.sub
+ Hom.zsmul
+ ext
+ hom_add
+ hom_mkHom
+ hom_neg
+ hom_nsum
+ hom_ofHom
+ hom_sub
+ hom_zero
+ hom_zsum
+ instance (X Y : SemiNormedGrp₁) :
+ instance (X Y : SemiNormedGrp₁) : CoeFun (X ⟶ Y) (fun _ => X → Y)
+ instance : ConcreteCategory SemiNormedGrp (NormedAddGroupHom · ·)
+ instance : ConcreteCategory SemiNormedGrp₁
+ instance : LargeCategory.{u} SemiNormedGrp
+ mkHom_comp
+ mkHom_hom
+ mkHom_id
+ ofHom
+ ofHom_apply
+ ofHom_comp
+ ofHom_hom
+ ofHom_id
++ Hom
++ Hom.Simps.hom
++ Hom.hom
++ comp_apply
++ hom_comp
++ hom_id
++ hom_inv_apply
++ id_apply
++ inv_hom_apply
++- hom_ext
++-- of
- bundledHom
- funLike
- instance (M : SemiNormedGrp) : SeminormedAddCommGroup M
- instance : HasForget SemiNormedGrp := by
- instance : HasForget.{u} SemiNormedGrp₁
- instance {V W : SemiNormedGrp.{u}} : Sub (V ⟶ W)
-- toAddMonoidHomClass

You can run this locally as follows
## summary with just the declaration names:
./scripts/declarations_diff.sh <optional_commit>

## more verbose report:
./scripts/declarations_diff.sh long <optional_commit>

The doc-module for script/declarations_diff.sh contains some details about this script.


Decrease in tech debt: (relative, absolute) = (10.00, 0.01)
Current number Change Type
4130 -22 porting notes
1377 -6 erw

Current commit 20adfa87a1
Reference commit 0ab7780784

You can run this locally as

./scripts/technical-debt-metrics.sh pr_summary
  • The relative value is the weighted sum of the differences with weight given by the inverse of the current value of the statistic.
  • The absolute value is the relative value divided by the total sum of the inverses of the current values (i.e. the weighted average of the differences).

@github-actions github-actions bot removed the awaiting-CI This PR does not pass CI yet. This label is automatically removed once it does. label Feb 5, 2025
@kim-em
Copy link
Copy Markdown
Contributor

kim-em commented Feb 5, 2025

bors merge

@ghost ghost added the ready-to-merge This PR has been sent to bors. label Feb 5, 2025
mathlib-bors bot pushed a commit that referenced this pull request Feb 5, 2025
…dGrp` (#21477)

This PR adds a `Hom` structure and `ConcreteCategory` instance for `SemiNormedGrp` and `SemiNormedGrp_1`.

Zulip thread: https://leanprover.zulipchat.com/#narrow/channel/287929-mathlib4/topic/Concrete.20category.20class.20redesign
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Feb 6, 2025

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title refactor(Analysis/Normed): ConcreteCategory refactor for SemiNormedGrp [Merged by Bors] - refactor(Analysis/Normed): ConcreteCategory refactor for SemiNormedGrp Feb 6, 2025
@mathlib-bors mathlib-bors bot closed this Feb 6, 2025
@mathlib-bors mathlib-bors bot deleted the concreteify-SemiNormedGrp branch February 6, 2025 00:10
Julian added a commit that referenced this pull request Feb 7, 2025
* origin/master:
  chore: update Mathlib dependencies 2025-02-06 (#21523)
  fix(MathlibTest/TransImports): stop inspecting the `Lean` package (#21492)
  style(Mathlib/Computability/Halting): `RePred` to `REPred` (#21216)
  feat(Data/Set/Card): add `ncard_le_encard` (#21467)
  feat(Order): lemmas for `Order.succ` and `Order.pred` in `Fin` (#21437)
  feat(LinearAlgebra/LinearIndependent): linear independence + subsingletons (#21511)
  feat: for continuous linear maps in a normed ring, `flip mul = mul` (#21507)
  chore(GroupTheory/Commutator): don't import `Ring` (#21296)
  chore(Data/Complex/Abs): add `protected` to results that already exists in root namespace (#21454)
  chore(*): `erw`s that can now become `rw`s (#21510)
  chore: allow create-adaptation-pr.sh to continue when bump branch already exists (#21486)
  feat(CategoryTheory): equivalence between `Ind C` and left exact functors from `C` to `Type` (#21430)
  chore: add test to TCSynth.lean (#21499)
  feat: the category of ind-objects satisfies the AB5 axiom (#21350)
  refactor(RepresentationTheory): `ConcreteCategory` instances for `Rep` (#21465)
  chore: split Mathlib.Order.Filter.Basic (#21403)
  chore: update Mathlib dependencies 2025-02-06 (#21487)
  chore(Cache): Add support for $MATHLIB_CACHE_DIR (#21480)
  feat(CategoryTheory): a closed monoidal category is an ordinary enriched category over itself (#21436)
  feat(AlgebraicTopology): notation X ^[n] for cosimplicial objects (#21485)
  chore: upgrade dependencies manually (#21484)
  refactor(Analysis/Normed): `ConcreteCategory` refactor for `SemiNormedGrp` (#21477)
  refactor(LinearAlgebra): `ConcreteCategory` instance for `QuadraticModuleCat` (#21471)
  refactor(MeasureTheory): `ConcreteCategory` instance for `MeasCat` (#21468)
  refactor(Topology/Category): clean up remaining uses of `HasForget` (#21458)
  refactor(CategoryTheory): `ConcreteCategory` instances for pointed types (#21470)
  feat(CategoryTheory/Action): `ConcreteCategory` instances for `Action` (#21462)
  feat(CategoryTheory): `ConcreteCategory` instance for `DifferentialObject` (#21464)
  feat(Analysis/Normed/Group/SeparationQuotient): add normed lifts and `mk` (#18178)
  chore: rename `encard_le_card` to `encard_le_encard` (#21426)
  feat: add theorem about the norm of cross products (#20920)
  feat(Data/Matroid/Circuit): circuit elimination and finitary matroids (#21172)
  feat(LinearAlgebra/ExteriorPower): add iMulti_family definition for product of a family of vectors (#21397)
pfaffelh pushed a commit that referenced this pull request Feb 7, 2025
…dGrp` (#21477)

This PR adds a `Hom` structure and `ConcreteCategory` instance for `SemiNormedGrp` and `SemiNormedGrp_1`.

Zulip thread: https://leanprover.zulipchat.com/#narrow/channel/287929-mathlib4/topic/Concrete.20category.20class.20redesign
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-to-merge This PR has been sent to bors. t-analysis Analysis (normed *, calculus) t-category-theory Category theory

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants