Skip to content

Commit 11b6487

Browse files
committed
feat(Algebra/Module): simp lemma for composing domRestrict and codRestrict
1 parent 6299e88 commit 11b6487

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

Mathlib/Algebra/Module/Submodule/LinearMap.lean

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,12 @@ theorem subtype_comp_codRestrict (p : Submodule R₂ M₂) (h : ∀ b, f b ∈ p
174174
p.subtype.comp (codRestrict p f h) = f :=
175175
ext fun _ => rfl
176176

177+
@[simp]
178+
theorem domRestrict_comp_codRestrict (f : M →ₛₗ[σ₁₂] M₂) (g : M₂ →ₛₗ[σ₂₃] M₃) (p : Submodule R₂ M₂)
179+
(h : ∀ c, f c ∈ p) :
180+
g.domRestrict p ∘ₛₗ f.codRestrict p h = g ∘ₛₗ f :=
181+
rfl
182+
177183
section
178184

179185
variable {M₂' : Type*} [AddCommMonoid M₂'] [Module R₂ M₂']

0 commit comments

Comments
 (0)