Skip to content

Commit 0c00cfd

Browse files
committed
feat: variations of Submodule.disjoint_map with weaker hypotheses (#41511)
1 parent e039464 commit 0c00cfd

2 files changed

Lines changed: 11 additions & 2 deletions

File tree

Mathlib/Algebra/Module/Submodule/Map.lean

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -452,8 +452,7 @@ end OrderIso
452452
--TODO(Mario): is there a way to prove this from order properties?
453453
theorem map_inf_eq_map_inf_comap [RingHomSurjective σ₁₂] {f : M →ₛₗ[σ₁₂] M₂} {p : Submodule R M}
454454
{p' : Submodule R₂ M₂} : map f p ⊓ p' = map f (p ⊓ comap f p') :=
455-
le_antisymm (by rintro _ ⟨⟨x, h₁, rfl⟩, h₂⟩; exact ⟨_, ⟨h₁, h₂⟩, rfl⟩)
456-
(le_inf (map_mono inf_le_left) (map_le_iff_le_comap.2 inf_le_right))
455+
.symm <| SetLike.coe_injective <| image_inter_preimage _ _ _
457456

458457
@[simp]
459458
theorem map_comap_subtype : map p.subtype (comap p.subtype p') = p ⊓ p' :=

Mathlib/LinearAlgebra/Span/Basic.lean

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -561,6 +561,16 @@ theorem comap_map_sup_of_comap_le {f : M →ₛₗ[τ₁₂] M₂} {p : Submodul
561561
rw [add_comm, ← eq_sub_iff_add_eq, ← map_sub] at eq; subst eq
562562
simpa using p.add_mem (le hz) hy
563563

564+
lemma disjoint_map_of_ker_le_right {f : M →ₛₗ[τ₁₂] M₂} {p q : Submodule R M}
565+
(hpq : Disjoint p q) (hker : f.ker ≤ q) : Disjoint (p.map f) (q.map f) := by
566+
rw [disjoint_iff, map_inf_eq_map_inf_comap, comap_map_eq, eq_bot_iff, map_le_iff_le_comap,
567+
comap_bot, sup_eq_left.mpr hker, hpq.eq_bot]
568+
exact bot_le
569+
570+
lemma disjoint_map_of_ker_le_left {f : M →ₛₗ[τ₁₂] M₂} {p q : Submodule R M}
571+
(hpq : Disjoint p q) (hker : f.ker ≤ p) : Disjoint (p.map f) (q.map f) :=
572+
disjoint_map_of_ker_le_right hpq.symm hker |>.symm
573+
564574
theorem isCoatom_comap_or_eq_top (f : M →ₛₗ[τ₁₂] M₂) {p : Submodule R₂ M₂} (hp : IsCoatom p) :
565575
IsCoatom (comap f p) ∨ comap f p = ⊤ :=
566576
or_iff_not_imp_right.mpr fun h ↦ ⟨h, fun q lt ↦ by

0 commit comments

Comments
 (0)