Skip to content

Commit

Permalink
feat: port LinearAlgebra.Prod (#2415)
Browse files Browse the repository at this point in the history
  • Loading branch information
jcommelin committed Feb 21, 2023
1 parent 628f140 commit 05d37dd
Show file tree
Hide file tree
Showing 5 changed files with 1,020 additions and 4 deletions.
1 change: 1 addition & 0 deletions Mathlib.lean
Expand Up @@ -830,6 +830,7 @@ import Mathlib.LinearAlgebra.Basic
import Mathlib.LinearAlgebra.Finsupp
import Mathlib.LinearAlgebra.GeneralLinearGroup
import Mathlib.LinearAlgebra.Pi
import Mathlib.LinearAlgebra.Prod
import Mathlib.LinearAlgebra.Quotient
import Mathlib.LinearAlgebra.Span
import Mathlib.Logic.Basic
Expand Down
4 changes: 2 additions & 2 deletions Mathlib/Algebra/Algebra/Hom.lean
Expand Up @@ -40,10 +40,10 @@ structure AlgHom (R : Type u) (A : Type v) (B : Type w) [CommSemiring R] [Semiri
/-- Reinterpret an `AlgHom` as a `RingHom` -/
add_decl_doc AlgHom.toRingHom

-- mathport name: «expr →ₐ »
@[inherit_doc AlgHom]
infixr:25 " →ₐ " => AlgHom _

-- mathport name: «expr →ₐ[ ] »
@[inherit_doc]
notation:25 A " →ₐ[" R "] " B => AlgHom R A B

/-- `AlgHomClass F R A B` asserts `F` is a type of bundled algebra homomorphisms
Expand Down
2 changes: 2 additions & 0 deletions Mathlib/Algebra/Module/Equiv.lean
Expand Up @@ -55,6 +55,8 @@ structure LinearEquiv {R : Type _} {S : Type _} [Semiring R] [Semiring S] (σ :
[AddCommMonoid M] [AddCommMonoid M₂] [Module R M] [Module S M₂] extends LinearMap σ M M₂, M ≃+ M₂
#align linear_equiv LinearEquiv

attribute [coe] LinearEquiv.toLinearMap

/-- The linear map underlying a linear equivalence. -/
add_decl_doc LinearEquiv.toLinearMap
#align linear_equiv.to_linear_map LinearEquiv.toLinearMap
Expand Down
2 changes: 0 additions & 2 deletions Mathlib/Algebra/Module/LinearMap.lean
Expand Up @@ -557,8 +557,6 @@ infixr:80 " ∘ₗ " =>
@LinearMap.comp _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ (RingHom.id _) (RingHom.id _) (RingHom.id _)
RingHomCompTriple.ids

include σ₁₃

theorem comp_apply (x : M₁) : f.comp g x = f (g x) :=
rfl
#align linear_map.comp_apply LinearMap.comp_apply
Expand Down

0 comments on commit 05d37dd

Please sign in to comment.