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(linear_algebra/matrix/adjugate): det_adjugate and adjugate_adjugate #9991

Closed
wants to merge 8 commits into from

Conversation

eric-wieser
Copy link
Member

@eric-wieser eric-wieser commented Oct 27, 2021

This also adds matrix.mv_polynomial_X


Open in Gitpod

@eric-wieser eric-wieser added awaiting-review The author would like community review of the PR not-ready-to-merge labels Oct 27, 2021
src/linear_algebra/matrix/mv_polynomial.lean Outdated Show resolved Hide resolved
src/linear_algebra/matrix/mv_polynomial.lean Outdated Show resolved Hide resolved
[comm_semiring R] [comm_semiring S] [algebra R S] (A : matrix m m S) :
(mv_polynomial.aeval $ λ p : m × m, A p.1 p.2).map_matrix (mv_polynomial_X m m R) = A :=
mv_polynomial_X_map_eval₂ _ A

Copy link
Member

Choose a reason for hiding this comment

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

Could you please add some lemmas saying that the evaluation maps are surjective (and/or have partial inverses)?

Copy link
Member Author

Choose a reason for hiding this comment

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

Can you be precise about what you consider to be the evaluation map, and in which argument you want to state surjectivity?

Copy link
Member

Choose a reason for hiding this comment

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

Sorry, I was confused. mv_polynomial R ℤ has a surjective ring hom to R, by evaluation. I thought this was a variant on that, but it is of course slightly different.

@jcommelin jcommelin added awaiting-author A reviewer has asked the author a question or requested changes and removed awaiting-review The author would like community review of the PR labels Oct 27, 2021
Co-authored-by: Johan Commelin <johan@commelin.net>
@eric-wieser eric-wieser added awaiting-review The author would like community review of the PR and removed awaiting-author A reviewer has asked the author a question or requested changes labels Oct 27, 2021
Copy link
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

[comm_semiring R] [comm_semiring S] [algebra R S] (A : matrix m m S) :
(mv_polynomial.aeval $ λ p : m × m, A p.1 p.2).map_matrix (mv_polynomial_X m m R) = A :=
mv_polynomial_X_map_eval₂ _ A

Copy link
Member

Choose a reason for hiding this comment

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

Sorry, I was confused. mv_polynomial R ℤ has a surjective ring hom to R, by evaluation. I thought this was a variant on that, but it is of course slightly different.

@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 Oct 28, 2021
bors bot pushed a commit that referenced this pull request Oct 28, 2021
@bors
Copy link

bors bot commented Oct 28, 2021

Build failed (retrying...):

bors bot pushed a commit that referenced this pull request Oct 28, 2021
@bors
Copy link

bors bot commented Oct 29, 2021

Build failed (retrying...):

bors bot pushed a commit that referenced this pull request Oct 29, 2021
@bors
Copy link

bors bot commented Oct 29, 2021

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title feat(linear_algebra/matrix/adjugate): det_adjugate and adjugate_adjugate [Merged by Bors] - feat(linear_algebra/matrix/adjugate): det_adjugate and adjugate_adjugate Oct 29, 2021
@bors bors bot closed this Oct 29, 2021
@bors bors bot deleted the eric-wieser/det_adjugate branch October 29, 2021 01:24
ericrbg pushed a commit that referenced this pull request Nov 9, 2021
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

3 participants