Skip to content
This repository was archived by the owner on Jul 24, 2024. It is now read-only.

[Merged by Bors] - chore(linear_algebra/affine_space/affine_map,topology/algebra/continuous_affine_map): generalized scalar instances#11978

Closed
eric-wieser wants to merge 6 commits intomasterfrom
eric-wieser/affine-map-scalar
Closed

[Merged by Bors] - chore(linear_algebra/affine_space/affine_map,topology/algebra/continuous_affine_map): generalized scalar instances#11978
eric-wieser wants to merge 6 commits intomasterfrom
eric-wieser/affine-map-scalar

Conversation

@eric-wieser
Copy link
Copy Markdown
Member

@eric-wieser eric-wieser commented Feb 11, 2022

The main result here is that distrib_mul_actions are available on affine maps to a module, inherited from their codomain.

This fixes a diamond in the int-action that was already present for int-affine maps, and prevents the new nat-action introducing a diamond.

This also removes the requirement for R to be a topological_space in the scalar action for continuous_affine_map by using has_continuous_const_smul instead of has_continuous_smul.


Open in Gitpod

@eric-wieser eric-wieser added the awaiting-review The author would like community review of the PR label Feb 11, 2022
Copy link
Copy Markdown
Collaborator

@ocfnash ocfnash 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 d+

section distrib_mul_action
variables [monoid R] [distrib_mul_action R V2] [smul_comm_class k R V2]

/-- Affine maps to a module inherit `R`-actions from that module. -/
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Suggested change
/-- Affine maps to a module inherit `R`-actions from that module. -/
/-- The space of affine maps to a module inherits an `R`-action from the action on its codomain. -/

@bors
Copy link
Copy Markdown

bors bot commented Feb 16, 2022

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

@leanprover-community-bot-assistant leanprover-community-bot-assistant 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 Feb 16, 2022
@eric-wieser eric-wieser changed the title chore(linear_algebra/affine_space/affine_map): generalized scalar instances chore(linear_algebra/affine_space/affine_map,topology/algebra/continuous_affine_map): generalized scalar instances Feb 16, 2022
@eric-wieser
Copy link
Copy Markdown
Member 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 Feb 16, 2022
bors bot pushed a commit that referenced this pull request Feb 16, 2022
…ous_affine_map): generalized scalar instances (#11978)

The main result here is that `distrib_mul_action`s are available on affine maps to a module, inherited from their codomain.

This fixes a diamond in the `int`-action that was already present for `int`-affine maps, and prevents the new `nat`-action introducing a diamond.

This also removes the requirement for `R` to be a `topological_space` in the scalar action for `continuous_affine_map` by using `has_continuous_const_smul` instead of `has_continuous_smul`.
@bors
Copy link
Copy Markdown

bors bot commented Feb 16, 2022

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title chore(linear_algebra/affine_space/affine_map,topology/algebra/continuous_affine_map): generalized scalar instances [Merged by Bors] - chore(linear_algebra/affine_space/affine_map,topology/algebra/continuous_affine_map): generalized scalar instances Feb 16, 2022
@bors bors bot closed this Feb 16, 2022
@bors bors bot deleted the eric-wieser/affine-map-scalar branch February 16, 2022 14:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants