Skip to content

Commit f466e8c

Browse files
committed
feat(Algebra/Module/Submodule/Ker): restricting a linear map to its kernel (#39658)
We add the lemma saying that restricting a linear map to its kernel yields the zero map. In passing, we generalise a couple of results from linear to semilinear maps. Co-authored-by: faenuccio <filippo.nuccio@univ-st-etienne.fr>
1 parent a0d161d commit f466e8c

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

  • Mathlib/Algebra/Module/Submodule

Mathlib/Algebra/Module/Submodule/Ker.lean

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -115,14 +115,14 @@ theorem le_ker_iff_map [RingHomSurjective τ₁₂] {f : M →ₛₗ[τ₁₂] M
115115
p ≤ ker f ↔ map f p = ⊥ := by rw [ker, eq_bot_iff, map_le_iff_le_comap]
116116

117117
@[simp]
118-
theorem ker_codRestrict {τ₂₁ : R₂ →+* R} (p : Submodule R M) (f : M →ₛₗ[τ₂₁] M) (hf) :
118+
theorem ker_codRestrict (p : Submodule R₂ M₂) (f : M →ₛₗ[τ₁₂] M) (hf) :
119119
ker (codRestrict p f hf) = ker f := by rw [ker, comap_codRestrict, Submodule.map_bot]; rfl
120120

121-
lemma ker_domRestrict [AddCommMonoid M₁] [Module R M₁] (p : Submodule R M) (f : M →ₗ[R] M) :
121+
lemma ker_domRestrict (p : Submodule R M) (f : M →ₛₗ[τ₁₂] M) :
122122
ker (domRestrict f p) = (ker f).comap p.subtype := ker_comp ..
123123

124-
theorem ker_restrict [AddCommMonoid M₁] [Module R M₁] {p : Submodule R M} {q : Submodule R M₁}
125-
{f : M →ₗ[R] M₁} (hf : ∀ x : M, x ∈ p → f x ∈ q) :
124+
theorem ker_restrict {p : Submodule R M} {q : Submodule R₂ M₂} {f : M →ₛₗ[τ₁₂] M₂}
125+
(hf : ∀ x : M, x ∈ p → f x ∈ q) :
126126
ker (f.restrict hf) = (ker f).comap p.subtype := by
127127
rw [restrict_eq_codRestrict_domRestrict, ker_codRestrict, ker_domRestrict]
128128

@@ -134,6 +134,10 @@ theorem ker_zero : ker (0 : M →ₛₗ[τ₁₂] M₂) = ⊤ :=
134134
theorem ker_eq_top {f : M →ₛₗ[τ₁₂] M₂} : ker f = ⊤ ↔ f = 0 :=
135135
fun h => ext fun _ => mem_ker.1 <| h.symm ▸ trivial, fun h => h.symm ▸ ker_zero⟩
136136

137+
@[simp]
138+
lemma domRestrict_ker_self (f : M →ₛₗ[τ₁₂] M₂) : f.domRestrict f.ker = 0 := by
139+
ext; simp
140+
137141
theorem exists_ne_zero_of_sSup_eq_top {f : M →ₛₗ[τ₁₂] M₂} (h : f ≠ 0) (s : Set (Submodule R M))
138142
(hs : sSup s = ⊤) : ∃ m ∈ s, f ∘ₛₗ m.subtype ≠ 0 := by
139143
contrapose! h

0 commit comments

Comments
 (0)