Skip to content

[Merged by Bors] - chore(RingTheory/Flat): remove Algebra.Flat and move RingHom.Flat#19786

Closed
chrisflav wants to merge 3 commits intomasterfrom
chrisflav-flat-ringhom-refac
Closed

[Merged by Bors] - chore(RingTheory/Flat): remove Algebra.Flat and move RingHom.Flat#19786
chrisflav wants to merge 3 commits intomasterfrom
chrisflav-flat-ringhom-refac

Conversation

@chrisflav
Copy link
Copy Markdown
Member

We remove Algebra.Flat as it is a special case of Module.Flat and make RingHom.Flat a regular definition to align with e.g. RingHom.Finite. Also adds some meta properties of flat ring homomorphisms.


Open in Gitpod

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

github-actions bot commented Dec 7, 2024

PR summary 7d7497726d

Import changes for modified files

Dependency changes

File Base Count Head Count Change
Mathlib.RingTheory.Flat.Algebra 1531 0 -1531 (-100.00%)
Mathlib.RingTheory.AdicCompletion.AsTensorProduct 1776 1766 -10 (-0.56%)
Mathlib.Algebra.Category.Ring.Under.Limits 1611 1620 +9 (+0.56%)
Import changes for all files
Files Import difference
Mathlib.RingTheory.Flat.Algebra -1531
Mathlib.RingTheory.AdicCompletion.AsTensorProduct -10
Mathlib.Algebra.Category.Ring.Under.Limits 9
Mathlib.RingTheory.RingHom.Flat (new file) 1598

Declarations diff

+ containsIdentities
+ holdsForLocalizationAway
+ id
+ isStableUnderBaseChange
+ of_bijective
+ respectsIso
+ stableUnderComposition
- Algebra.Flat
- baseChange
- identity
- isBaseChange
- self
- trans
--+ comp

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.


No changes to technical debt.

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

Copy link
Copy Markdown
Contributor

@alreadydone alreadydone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!
I'll let the maintainer decide whether to add deprecated aliases for Algebra.Flat(.self/.trans/.baseChange/.isBaseChange).
maintainer delegate

@github-actions
Copy link
Copy Markdown

github-actions bot commented Dec 7, 2024

🚀 Pull request has been placed on the maintainer queue by alreadydone.

@github-actions github-actions bot added the maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. label Dec 7, 2024
chrisflav and others added 2 commits December 7, 2024 20:37
Co-authored-by: Junyan Xu <junyanxu.math@gmail.com>
Co-authored-by: Junyan Xu <junyanxu.math@gmail.com>
Copy link
Copy Markdown
Member

@jcommelin jcommelin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks 🎉

bors merge

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

We remove `Algebra.Flat` as it is a special case of `Module.Flat` and make `RingHom.Flat` a regular definition to align with e.g. `RingHom.Finite`. Also adds some meta properties of flat ring homomorphisms.



Co-authored-by: Christian Merten <136261474+chrisflav@users.noreply.github.com>
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Dec 9, 2024

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title chore(RingTheory/Flat): remove Algebra.Flat and move RingHom.Flat [Merged by Bors] - chore(RingTheory/Flat): remove Algebra.Flat and move RingHom.Flat Dec 9, 2024
@mathlib-bors mathlib-bors bot closed this Dec 9, 2024
@mathlib-bors mathlib-bors bot deleted the chrisflav-flat-ringhom-refac branch December 9, 2024 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. 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.

3 participants