Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Merged by Bors] - feat(ring_theory/localization): localization of a basis, again #18261

Closed
wants to merge 6 commits into from

Conversation

Vierkantor
Copy link
Collaborator

@Vierkantor Vierkantor commented Jan 23, 2023

This PR replaces basis.localization with basis.localization_localization, which maps basis ι R S to basis ι Rm Sm, where Rm and Sm are the localizations of R and S at m. This differs from the existing basis.localization by localizing in two places at once, since localizing only the coefficients is probably not useful.

See also: #18150


Open in Gitpod

This PR adds `basis.localization_localization`, which maps `basis ι R S` to `basis ι Rm Sm`, where `Rm` and `Sm` are the localizations of `R` and `S` at `m`. This differs from the existing `basis.localization` by localizing in two places at once.

See also: #18150
@Vierkantor Vierkantor added awaiting-review The author would like community review of the PR awaiting-CI The author would like to see what CI has to say before doing more work. t-algebra Algebra (groups, rings, fields etc) labels Jan 23, 2023
@riccardobrasca riccardobrasca self-assigned this Jan 23, 2023
Copy link
Member

@riccardobrasca riccardobrasca left a comment

Choose a reason for hiding this comment

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

In my opinion we can delete basis.localization completely, but if you want to keep it (I didn't check if we really use it) can you at least add a comment referring to basis.localization_localization? Thanks!

src/ring_theory/localization/basic.lean Show resolved Hide resolved
src/ring_theory/localization/basic.lean Outdated Show resolved Hide resolved
@Vierkantor
Copy link
Collaborator Author

In my opinion we can delete basis.localization completely, but if you want to keep it (I didn't check if we really use it) can you at least add a comment referring to basis.localization_localization? Thanks!

I can't find it in use but I think it might be useful (at least the linear independent part definitely was useful). Also it turns out you were the one who asked for basis.localization: 239c554 :)

@riccardobrasca
Copy link
Member

In my opinion we can delete basis.localization completely, but if you want to keep it (I didn't check if we really use it) can you at least add a comment referring to basis.localization_localization? Thanks!

I can't find it in use but I think it might be useful (at least the linear independent part definitely was useful). Also it turns out you were the one who asked for basis.localization: 239c554 :)

It's definitely my fault, but in my mind I wanted this one and I didn't check carefully the statement 😅

The point is that it is very rare (impossible unless R = Rₛ? I am not sure, but it should be more or less like that, at least for domains) for a Rₛ-module to be free over R, since Rₛ is "too big". For example for and it only applies if the vector space is zero-dimensional.

@github-actions github-actions bot removed the awaiting-CI The author would like to see what CI has to say before doing more work. label Jan 23, 2023
@Vierkantor
Copy link
Collaborator Author

The point is that it is very rare (impossible unless R = Rₛ? I am not sure, but it should be more or less like that, at least for domains) for a Rₛ-module to be free over R, since Rₛ is "too big". For example for and it only applies if the vector space is zero-dimensional.

Good point, I've decided to delete basis.localization.

@riccardobrasca
Copy link
Member

Thanks!

bors d+

@bors
Copy link

bors bot commented Jan 24, 2023

✌️ Vierkantor can now approve this pull request. To approve and merge a pull request, simply reply with bors r+. More detailed instructions are available here.

@github-actions github-actions bot added delegated The PR author may merge after reviewing final suggestions. and removed awaiting-review The author would like community review of the PR labels Jan 24, 2023
@Vierkantor
Copy link
Collaborator Author

bors merge

@github-actions github-actions bot added the ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.) label Jan 24, 2023
bors bot pushed a commit that referenced this pull request Jan 24, 2023
This PR replaces `basis.localization` with `basis.localization_localization`, which maps `basis ι R S` to `basis ι Rm Sm`, where `Rm` and `Sm` are the localizations of `R` and `S` at `m`. This differs from the existing `basis.localization` by localizing in two places at once, since localizing only the coefficients is probably not useful.

See also: #18150



Co-authored-by: Vierkantor <vierkantor@vierkantor.com>
@bors
Copy link

bors bot commented Jan 24, 2023

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title feat(ring_theory/localization): localization of a basis, again [Merged by Bors] - feat(ring_theory/localization): localization of a basis, again Jan 24, 2023
@bors bors bot closed this Jan 24, 2023
@bors bors bot deleted the localization-basis branch January 24, 2023 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
delegated The PR author may merge after reviewing final suggestions. ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.) t-algebra Algebra (groups, rings, fields etc)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants