[Merged by Bors] - fix: generalize CommSemiring to Semiring for bilinear map composition#26458
[Merged by Bors] - fix: generalize CommSemiring to Semiring for bilinear map composition#26458eric-wieser wants to merge 5 commits intomasterfrom
CommSemiring to Semiring for bilinear map composition#26458Conversation
…tion This file could do with further variable cleanup, but that's left for a later PR.
PR summary 9858d11442Import changes for modified filesNo significant changes to the import graph Import changes for all files
Declarations diffNo declarations were harmed in the making of this PR! 🐙 You can run this locally as follows## summary with just the declaration names:
./scripts/declarations_diff.sh <optional_commit>
## more verbose report:
./scripts/declarations_diff.sh long <optional_commit>The doc-module for No changes to technical debt.You can run this locally as
|
|
!bench |
| rfl | ||
|
|
||
| @[simp] | ||
| theorem compl₂_apply (g : Q →ₛₗ[σ₄₂] N) (m : M) (q : Q) : f.compl₂ g m q = f m (g q) := rfl |
There was a problem hiding this comment.
Previously this was less general than the definition
|
Here are the benchmark results for commit 09fe2f6. |
|
|
✌️ eric-wieser can now approve this pull request. To approve and merge a pull request, simply reply with |
Co-authored-by: Bhavik Mehta <[email protected]>
|
bors merge |
…tion (#26458) This file could do with further variable cleanup, but that's left for a later PR. I needed some of these generalizations for some base change results.
|
Pull request successfully merged into master. Build succeeded: |
CommSemiring to Semiring for bilinear map compositionCommSemiring to Semiring for bilinear map composition
…tion (leanprover-community#26458) This file could do with further variable cleanup, but that's left for a later PR. I needed some of these generalizations for some base change results.
| def lcomp (f : M →ₗ[R] Nₗ) : (Nₗ →ₗ[R] Pₗ) →ₗ[A] M →ₗ[R] Pₗ := | ||
| letI := SMulCommClass.symm | ||
| flip <| LinearMap.comp (flip id) f | ||
| def lcomp (f : M →ₗ[R] Nₗ) : (Nₗ →ₗ[R] Pₗ) →ₗ[A] M →ₗ[R] Pₗ := lcompₛₗ _ _ _ f |
There was a problem hiding this comment.
Hmm, R is not generalized to Semiring here. I have to do it again in #24015 ...
…tion (leanprover-community#26458) This file could do with further variable cleanup, but that's left for a later PR. I needed some of these generalizations for some base change results.
…tion (leanprover-community#26458) This file could do with further variable cleanup, but that's left for a later PR. I needed some of these generalizations for some base change results.
This file could do with further variable cleanup, but that's left for a later PR.
I needed some of these generalizations for some base change results.