Skip to content

[Merged by Bors] - feat: add the coercion from types satisfying StarAlgEquivClass to StarAlgEquiv - #10368

Closed
j-loreaux wants to merge 3 commits into
masterfrom
j-loreaux/CoeTC-StarAlgEquiv
Closed

j-loreaux wants to merge 3 commits into
masterfrom
j-loreaux/CoeTC-StarAlgEquiv

Conversation

@j-loreaux

Copy link
Copy Markdown
Contributor

Open in Gitpod

Comment thread Mathlib/Algebra/Star/StarAlgHom.lean Resolved
j-loreaux and others added 2 commits February 13, 2024 17:29

@Vierkantor Vierkantor left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM!

bors merge

@ghost ghost added ready-to-merge This PR has been sent to bors. and removed awaiting-review labels Feb 14, 2024
mathlib-bors Bot pushed a commit that referenced this pull request Feb 14, 2024
@mathlib-bors

mathlib-bors Bot commented Feb 14, 2024

Copy link
Copy Markdown
Contributor

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors Bot changed the title feat: add the coercion from types satisfying StarAlgEquivClass to StarAlgEquiv [Merged by Bors] - feat: add the coercion from types satisfying StarAlgEquivClass to StarAlgEquiv Feb 14, 2024
@mathlib-bors mathlib-bors Bot closed this Feb 14, 2024
@mathlib-bors
mathlib-bors Bot deleted the j-loreaux/CoeTC-StarAlgEquiv branch February 14, 2024 13:08
dagurtomas pushed a commit that referenced this pull request Mar 22, 2024
mathlib-bors Bot pushed a commit that referenced this pull request Apr 3, 2024
…ilinearMap (#10758)

This PR adds a coercion from any instance of `SemilinearMapClass` to `SemilinearMap`. This is the standard practice for other parts of the library, such as ring homs (see also the recent change #10368). I also expect this change will help with some rough edges in #6057. Previously, a coercion from `f : AlgHom` to `LinearMap` would look like `f.toNonUnitalAlgHom.toDistribMulActionHom.toLinearMap`, now it should look like `SemilinearMapClass.semilinearMap f`.

The new coercion instances are `CoeHead` since the left hand side is a free variable `F`. I redefined the existing `DistribMulActionHom → LinearMap` coercion in terms of the `SemilinearMapClass` coercion to ensure we don't get any diamonds.
xgenereux pushed a commit that referenced this pull request Apr 15, 2024
…ilinearMap (#10758)

This PR adds a coercion from any instance of `SemilinearMapClass` to `SemilinearMap`. This is the standard practice for other parts of the library, such as ring homs (see also the recent change #10368). I also expect this change will help with some rough edges in #6057. Previously, a coercion from `f : AlgHom` to `LinearMap` would look like `f.toNonUnitalAlgHom.toDistribMulActionHom.toLinearMap`, now it should look like `SemilinearMapClass.semilinearMap f`.

The new coercion instances are `CoeHead` since the left hand side is a free variable `F`. I redefined the existing `DistribMulActionHom → LinearMap` coercion in terms of the `SemilinearMapClass` coercion to ensure we don't get any diamonds.
atarnoam pushed a commit that referenced this pull request Apr 16, 2024
…ilinearMap (#10758)

This PR adds a coercion from any instance of `SemilinearMapClass` to `SemilinearMap`. This is the standard practice for other parts of the library, such as ring homs (see also the recent change #10368). I also expect this change will help with some rough edges in #6057. Previously, a coercion from `f : AlgHom` to `LinearMap` would look like `f.toNonUnitalAlgHom.toDistribMulActionHom.toLinearMap`, now it should look like `SemilinearMapClass.semilinearMap f`.

The new coercion instances are `CoeHead` since the left hand side is a free variable `F`. I redefined the existing `DistribMulActionHom → LinearMap` coercion in terms of the `SemilinearMapClass` coercion to ensure we don't get any diamonds.
uniwuni pushed a commit that referenced this pull request Apr 19, 2024
…ilinearMap (#10758)

This PR adds a coercion from any instance of `SemilinearMapClass` to `SemilinearMap`. This is the standard practice for other parts of the library, such as ring homs (see also the recent change #10368). I also expect this change will help with some rough edges in #6057. Previously, a coercion from `f : AlgHom` to `LinearMap` would look like `f.toNonUnitalAlgHom.toDistribMulActionHom.toLinearMap`, now it should look like `SemilinearMapClass.semilinearMap f`.

The new coercion instances are `CoeHead` since the left hand side is a free variable `F`. I redefined the existing `DistribMulActionHom → LinearMap` coercion in terms of the `SemilinearMapClass` coercion to ensure we don't get any diamonds.
callesonne pushed a commit that referenced this pull request Apr 22, 2024
…ilinearMap (#10758)

This PR adds a coercion from any instance of `SemilinearMapClass` to `SemilinearMap`. This is the standard practice for other parts of the library, such as ring homs (see also the recent change #10368). I also expect this change will help with some rough edges in #6057. Previously, a coercion from `f : AlgHom` to `LinearMap` would look like `f.toNonUnitalAlgHom.toDistribMulActionHom.toLinearMap`, now it should look like `SemilinearMapClass.semilinearMap f`.

The new coercion instances are `CoeHead` since the left hand side is a free variable `F`. I redefined the existing `DistribMulActionHom → LinearMap` coercion in terms of the `SemilinearMapClass` coercion to ensure we don't get any diamonds.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

2 participants