Skip to content

[Merged by Bors] - feat(RingTheory/Flat): generalize flat_of_isLocalized_span#19788

Closed
chrisflav wants to merge 11 commits intomasterfrom
chrisflav-flat-meta.2
Closed

[Merged by Bors] - feat(RingTheory/Flat): generalize flat_of_isLocalized_span#19788
chrisflav wants to merge 11 commits intomasterfrom
chrisflav-flat-meta.2

Conversation

@chrisflav
Copy link
Copy Markdown
Member

Generalize Module.Flat.flat_of_isLocalized_span to take s : Set S for any R-algebra S.


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 18347b6548

Import changes for modified files

Dependency changes

File Base Count Head Count Change
Mathlib.RingTheory.Localization.BaseChange 988 990 +2 (+0.20%)
Import changes for all files
Files Import difference
Mathlib.Algebra.Module.FinitePresentation Mathlib.Algebra.Module.Presentation.Finite 1
Mathlib.RingTheory.Localization.BaseChange 2

Declarations diff

+ AddEquiv.module
+ IsBaseChange.of_equiv
+ IsLocalizedModule.map_lTensor
+ IsLocalizedModule.rTensor
+ IsTensorProduct.of_equiv
+ LinearEquiv.isScalarTower
+ LocalizedModule.restrictScalars_map_eq
+ coe_rTensor
+ flat_of_isLocalized_maximal
+ isBaseChange_tensorProduct_map
+ rTensor
+ rTensor_comp
+ rTensor_id
+ rTensor_mul
+ rTensor_one
+ rTensor_tmul
+ restrictScalars_rTensor
- flat_of_isLocalized_maixmal

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

@leanprover-community-bot-assistant leanprover-community-bot-assistant added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Dec 10, 2024
@leanprover-community-bot-assistant leanprover-community-bot-assistant removed the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Dec 10, 2024
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.

I've rewritten my aux lemma using your IsLocalizedModule_tensorProduct_map; it's now shorter than before and allows me to golf your span proof and also prove a maximal version: fc2c9d3

@chrisflav
Copy link
Copy Markdown
Member Author

Nice, feel free to push your commit directly to the branch.

@alreadydone
Copy link
Copy Markdown
Contributor

maintainer delegate

@github-actions
Copy link
Copy Markdown

🚀 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 10, 2024
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.

Thanks! Pushed a bit of golfs.

@chrisflav
Copy link
Copy Markdown
Member Author

@alreadydone Could you please give this another maintainer merge push? I think it went through the cracks.

@leanprover-community-bot-assistant leanprover-community-bot-assistant added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Dec 20, 2024
@alreadydone
Copy link
Copy Markdown
Contributor

@alreadydone Could you please give this another maintainer merge push? I think it went through the cracks.

Sorry, missed the message. Pinged in maintainer merge: t-algebra.

@leanprover-community-bot-assistant leanprover-community-bot-assistant removed the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Dec 20, 2024
@kbuzzard
Copy link
Copy Markdown
Member

Thanks a lot!

bors merge

@ghost ghost added the ready-to-merge This PR has been sent to bors. label Dec 20, 2024
mathlib-bors bot pushed a commit that referenced this pull request Dec 20, 2024
Generalize `Module.Flat.flat_of_isLocalized_span` to take `s : Set S` for any `R`-algebra `S`.



Co-authored-by: Junyan Xu <junyanxu.math@gmail.com>
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Dec 20, 2024

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title feat(RingTheory/Flat): generalize flat_of_isLocalized_span [Merged by Bors] - feat(RingTheory/Flat): generalize flat_of_isLocalized_span Dec 20, 2024
@mathlib-bors mathlib-bors bot closed this Dec 20, 2024
@mathlib-bors mathlib-bors bot deleted the chrisflav-flat-meta.2 branch December 20, 2024 22:56
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.

4 participants