Skip to content

[Merged by Bors] - feat(Algebra/Colimit/ModuleRing): generalize to Semiring/AddCommMonoid#20212

Closed
alreadydone wants to merge 3 commits intomasterfrom
generalize_Module_colimit
Closed

[Merged by Bors] - feat(Algebra/Colimit/ModuleRing): generalize to Semiring/AddCommMonoid#20212
alreadydone wants to merge 3 commits intomasterfrom
generalize_Module_colimit

Conversation

@alreadydone
Copy link
Copy Markdown
Contributor

@alreadydone alreadydone commented Dec 24, 2024

and remove all unnecessary IsDirected assumptions.


Open in Gitpod

@alreadydone alreadydone added the t-algebra Algebra (groups, rings, fields, etc) label Dec 24, 2024
@github-actions
Copy link
Copy Markdown

github-actions bot commented Dec 24, 2024

PR summary 9d6df56cd9

Import changes for modified files

Dependency changes

File Base Count Head Count Change
Mathlib.Algebra.Colimit.ModuleRing 1106 1104 -2 (-0.18%)
Mathlib.LinearAlgebra.TensorProduct.DirectLimit 1107 1105 -2 (-0.18%)
Mathlib.Algebra.Category.ModuleCat.Limits 1231 1229 -2 (-0.16%)
Import changes for all files
Files Import difference
4 files Mathlib.Algebra.Category.ModuleCat.Limits Mathlib.Algebra.Category.AlgebraCat.Limits Mathlib.Algebra.Colimit.ModuleRing Mathlib.LinearAlgebra.TensorProduct.DirectLimit
-2

Declarations diff

+ DirectLimit.Eqv
+ addCommMonoid
+ commGroup
+ exists_of₂
+ instance : AddCommMonoid (DirectLimit G f)
+ quotMk_of
+ quotientMk_of
+++--- congr
+++--- congr_apply_of
+++--- congr_symm_apply_of
+++--- lift_unique
+++--- map_comp
+++--- map_id
++- addCommGroup
+-+- DirectLimit
- directedSystem
- instance : AddCommGroup (DirectLimit G f)
-+-+ of.zero_exact

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) = (1.00, 0.00)
Current number Change Type
4840 -1 porting notes

Current commit 9d6df56cd9
Reference commit 9acfd2fce9

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).

@alreadydone alreadydone force-pushed the generalize_Module_colimit branch 2 times, most recently from c4034de to cc6771a Compare December 24, 2024 01:45
@alreadydone alreadydone added the awaiting-CI This PR does not pass CI yet. This label is automatically removed once it does. label Dec 24, 2024
@alreadydone alreadydone force-pushed the generalize_Module_colimit branch from cc6771a to dfcb162 Compare December 24, 2024 02:03
@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 Dec 24, 2024
@alreadydone alreadydone force-pushed the generalize_Module_colimit branch from 80cbf0f to 0b03333 Compare December 24, 2024 15:09
@jcommelin
Copy link
Copy Markdown
Member

Thanks 🎉

bors merge

@ghost ghost added the ready-to-merge This PR has been sent to bors. label Dec 26, 2024
mathlib-bors bot pushed a commit that referenced this pull request Dec 26, 2024
#20212)

and remove all unnecessary IsDirected assumptions.
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Dec 26, 2024

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title feat(Algebra/Colimit/ModuleRing): generalize to Semiring/AddCommMonoid [Merged by Bors] - feat(Algebra/Colimit/ModuleRing): generalize to Semiring/AddCommMonoid Dec 26, 2024
@mathlib-bors mathlib-bors bot closed this Dec 26, 2024
@mathlib-bors mathlib-bors bot deleted the generalize_Module_colimit branch December 26, 2024 07:24
@alreadydone alreadydone restored the generalize_Module_colimit branch December 26, 2024 10:16
@alreadydone alreadydone deleted the generalize_Module_colimit branch December 26, 2024 10:31
@alreadydone alreadydone restored the generalize_Module_colimit branch December 26, 2024 11:12
@alreadydone alreadydone deleted the generalize_Module_colimit branch December 26, 2024 11:13
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-algebra Algebra (groups, rings, fields, etc)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants