Skip to content

[Merged by Bors] - feat: the free locus of a (finitely presented) module#18691

Closed
erdOne wants to merge 18 commits intomasterfrom
erd1/freeLocus
Closed

[Merged by Bors] - feat: the free locus of a (finitely presented) module#18691
erdOne wants to merge 18 commits intomasterfrom
erd1/freeLocus

Conversation

@erdOne
Copy link
Copy Markdown
Member

@erdOne erdOne commented Nov 6, 2024


Open in Gitpod

@erdOne erdOne added the WIP Work in progress label Nov 6, 2024
@github-actions github-actions bot added t-algebra Algebra (groups, rings, fields, etc) large-import Automatically added label for PRs with a significant increase in transitive imports labels Nov 6, 2024
@github-actions
Copy link
Copy Markdown

github-actions bot commented Nov 6, 2024

PR summary f8e167d0b9

Import changes exceeding 2%

% File
+4.63% Mathlib.RingTheory.LocalProperties.Projective

Import changes for modified files

Dependency changes

File Base Count Head Count Change
Mathlib.RingTheory.LocalProperties.Projective 1209 1265 +56 (+4.63%)
Mathlib.Algebra.Module.FinitePresentation 1086 1103 +17 (+1.57%)
Import changes for all files
Files Import difference
3 files Mathlib.RingTheory.Localization.Free Mathlib.RingTheory.Flat.EquationalCriterion Mathlib.RingTheory.LocalRing.Module
2
Mathlib.Algebra.Module.Presentation.Finite 16
Mathlib.Algebra.Module.FinitePresentation 17
Mathlib.RingTheory.LocalProperties.Projective 56
Mathlib.Algebra.Module.FreeLocus (new file) 1783

Declarations diff

+ FG.of_restrictScalars
+ FinitePresentation.of_isBaseChange
+ IsLocalizedModule.of_exists_mul_mem
+ IsLocalizedModule.of_linearEquiv_right
+ IsLocalizedModule.of_restrictScalars
+ Module.finrank_of_isLocalizedModule_of_free
+ Module.free_of_isLocalizedModule
+ Module.lift_rank_of_isLocalizedModule_of_free
+ basicOpen_subset_freeLocus_iff
+ comap_freeLocus_le
+ freeLocus
+ freeLocus_congr
+ freeLocus_eq_univ
+ freeLocus_eq_univ_iff
+ freeLocus_localization
+ iff_of_ringEquiv
+ instance (S : Submonoid R) [Module.FinitePresentation R M] :
+ instance {A} [CommRing A] [Algebra R A] [Module.FinitePresentation R M] :
+ isLocallyConstant_rankAtStalk
+ isLocallyConstant_rankAtStalk_freeLocus
+ isOpen_freeLocus
+ mem_freeLocus
+ mem_freeLocus_iff_tensor
+ mem_freeLocus_of_isLocalization
+ of_ringEquiv
+ rankAtStalk

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

@erdOne
Copy link
Copy Markdown
Member Author

erdOne commented Nov 6, 2024

Regarding the large-import: Mathlib.RingTheory.LocalProperties.Projective is a leaf file that was only added on my last PR.

@erdOne erdOne removed the WIP Work in progress label Nov 7, 2024
@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 Nov 11, 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 Nov 12, 2024
@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 Nov 13, 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 Nov 14, 2024
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Andrew Yang
-/
import Mathlib.AlgebraicGeometry.PrimeSpectrum.Basic
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Should this new file also be in the AG directory?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I'm not sure. Does AlgebraicGeometry/CommutativeAlgebra/FreeLocus make sense?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Yeah, I'm also not sure. Let's leave it as is, but make a mental note.

@jcommelin jcommelin added the awaiting-author A reviewer has asked the author a question or requested changes. label Nov 20, 2024
@jcommelin
Copy link
Copy Markdown
Member

Very nice!

Co-authored-by: Johan Commelin <johan@commelin.net>
@erdOne erdOne removed the awaiting-author A reviewer has asked the author a question or requested changes. label Nov 23, 2024
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

Released under Apache 2.0 license as described in the file LICENSE.
Authors: Andrew Yang
-/
import Mathlib.AlgebraicGeometry.PrimeSpectrum.Basic
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Yeah, I'm also not sure. Let's leave it as is, but make a mental note.

@ghost ghost added the ready-to-merge This PR has been sent to bors. label Nov 25, 2024
mathlib-bors bot pushed a commit that referenced this pull request Nov 25, 2024
Co-authored-by: Andrew Yang <36414270+erdOne@users.noreply.github.com>
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Nov 25, 2024

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title feat: the free locus of a (finitely presented) module [Merged by Bors] - feat: the free locus of a (finitely presented) module Nov 25, 2024
@mathlib-bors mathlib-bors bot closed this Nov 25, 2024
@mathlib-bors mathlib-bors bot deleted the erd1/freeLocus branch November 25, 2024 09:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

large-import Automatically added label for PRs with a significant increase in transitive imports 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