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(algebra/algebra/{basic,tower}): add alg_equiv.comap and alg_equiv.restrict_scalars #6548

Closed
wants to merge 4 commits into from

Conversation

eric-wieser
Copy link
Member

@eric-wieser eric-wieser commented Mar 5, 2021

This also renames is_scalar_tower.restrict_base to alg_hom.restrict_scalars, to enable dot notation and match linear_map.restrict_scalars.


inv_fun := λ fg, @is_scalar_tower.restrict_base A _ _ _ _ _ _ _ _ _
fg.1.to_ring_hom.to_algebra _ _ _ _ fg.2,
inv_fun := λ fg,
let alg := fg.1.to_ring_hom.to_algebra in by exactI fg.2.restrict_base A,
Copy link
Member Author

Choose a reason for hiding this comment

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

This one was fine with the underscores, but is much less fragile to argument reordering this way.

@eric-wieser eric-wieser changed the title feat(algebra/algebra/{basic,tower}): add alg_equiv.comap and alg_equiv.restrict_base feat(algebra/algebra/{basic,tower}): add alg_equiv.comap and alg_equiv.restrict_scalars Mar 5, 2021
Copy link
Collaborator

@Vierkantor Vierkantor left a comment

Choose a reason for hiding this comment

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

Looks good to me, thanks!

bors r+

@github-actions github-actions bot added ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.) and removed awaiting-review The author would like community review of the PR labels Mar 8, 2021
bors bot pushed a commit that referenced this pull request Mar 8, 2021
…v.restrict_scalars (#6548)

This also renames `is_scalar_tower.restrict_base` to `alg_hom.restrict_scalars`, to enable dot notation and match `linear_map.restrict_scalars`.
@bors
Copy link

bors bot commented Mar 8, 2021

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title feat(algebra/algebra/{basic,tower}): add alg_equiv.comap and alg_equiv.restrict_scalars [Merged by Bors] - feat(algebra/algebra/{basic,tower}): add alg_equiv.comap and alg_equiv.restrict_scalars Mar 8, 2021
@bors bors bot closed this Mar 8, 2021
@bors bors bot deleted the eric-wieser/alg_equiv.comap branch March 8, 2021 14:38
b-mehta pushed a commit that referenced this pull request Apr 2, 2021
…v.restrict_scalars (#6548)

This also renames `is_scalar_tower.restrict_base` to `alg_hom.restrict_scalars`, to enable dot notation and match `linear_map.restrict_scalars`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants