The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V07. Linear algebra

Mathlib.LinearAlgebra.Span.Basic

138 declarations and 1 deprecated aliases. Mathlib docs · Source

The span of a set of vectors, as a submodule

  • Submodule.span s is defined to be the smallest submodule containing the set s.

Notation

  • We introduce the notation R ∙ v for the span of a singleton, Submodule.span R {v}. This is \span, not the same as the scalar multiplication •/\bub.

theorem LinearEquiv.toSpanNonzeroSingleton.congr_simp E1 #

∀ (R : Type u_1) (M : Type u_4) [inst : Ring R] [inst_1 : IsDomain R] [inst_2 : AddCommGroup M] [inst_3 : Module R M]
  [inst_4 : Module.IsTorsionFree R M] (x : M) (h : x ≠ 0),
  LinearEquiv.toSpanNonzeroSingleton R M x h = LinearEquiv.toSpanNonzeroSingleton R M x h

theorem AddSubmonoid.toNatSubmodule_closure E1 #

∀ {M : Type u_4} [inst : AddCommMonoid M] (s : Set M),
  AddSubmonoid.toNatSubmodule (AddSubmonoid.closure s) = Submodule.span ℕ s

theorem Submodule.span_coe_eq_restrictScalars E0 #

∀ {R : Type u_1} {M : Type u_4} {S : Type u_7} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  (p : Submodule R M) [inst_3 : Semiring S] [inst_4 : SMul S R] [inst_5 : Module S M] [inst_6 : IsScalarTower S R M],
  Submodule.span S ↑p = Submodule.restrictScalars S p

A version of Submodule.span_eq for when the span is by a smaller ring.

theorem Submodule.image_span_subset E1 #

∀ {R : Type u_1} {R₂ : Type u_2} {M : Type u_4} {M₂ : Type u_5} [inst : Semiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : Module R M] [inst_3 : Semiring R₂] {σ₁₂ : R →+* R₂} [inst_4 : AddCommMonoid M₂] [inst_5 : Module R₂ M₂]
  (f : M →ₛₗ[σ₁₂] M₂) (s : Set M) (N : Submodule R₂ M₂), ⇑f '' ↑(Submodule.span R s) ⊆ ↑N ↔ ∀ m ∈ s, f m ∈ N

A version of Submodule.map_span_le that does not require the RingHomSurjective assumption.

theorem Submodule.image_span_subset_span E1 #

∀ {R : Type u_1} {R₂ : Type u_2} {M : Type u_4} {M₂ : Type u_5} [inst : Semiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : Module R M] [inst_3 : Semiring R₂] {σ₁₂ : R →+* R₂} [inst_4 : AddCommMonoid M₂] [inst_5 : Module R₂ M₂]
  (f : M →ₛₗ[σ₁₂] M₂) (s : Set M), ⇑f '' ↑(Submodule.span R s) ⊆ ↑(Submodule.span R₂ (⇑f '' s))

theorem Submodule.map_span E0 #

∀ {R : Type u_1} {R₂ : Type u_2} {M : Type u_4} {M₂ : Type u_5} [inst : Semiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : Module R M] [inst_3 : Semiring R₂] {σ₁₂ : R →+* R₂} [inst_4 : AddCommMonoid M₂] [inst_5 : Module R₂ M₂]
  [inst_6 : RingHomSurjective σ₁₂] (f : M →ₛₗ[σ₁₂] M₂) (s : Set M),
  Submodule.map f (Submodule.span R s) = Submodule.span R₂ (⇑f '' s)

theorem LinearMap.map_span E0 #

∀ {R : Type u_1} {R₂ : Type u_2} {M : Type u_4} {M₂ : Type u_5} [inst : Semiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : Module R M] [inst_3 : Semiring R₂] {σ₁₂ : R →+* R₂} [inst_4 : AddCommMonoid M₂] [inst_5 : Module R₂ M₂]
  [inst_6 : RingHomSurjective σ₁₂] (f : M →ₛₗ[σ₁₂] M₂) (s : Set M),
  Submodule.map f (Submodule.span R s) = Submodule.span R₂ (⇑f '' s)

Alias of Submodule.map_span.

theorem Submodule.map_span_le E0 #

∀ {R : Type u_1} {R₂ : Type u_2} {M : Type u_4} {M₂ : Type u_5} [inst : Semiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : Module R M] [inst_3 : Semiring R₂] {σ₁₂ : R →+* R₂} [inst_4 : AddCommMonoid M₂] [inst_5 : Module R₂ M₂]
  [inst_6 : RingHomSurjective σ₁₂] (f : M →ₛₗ[σ₁₂] M₂) (s : Set M) (N : Submodule R₂ M₂),
  Submodule.map f (Submodule.span R s) ≤ N ↔ ∀ m ∈ s, f m ∈ N

theorem LinearMap.map_span_le E0 #

∀ {R : Type u_1} {R₂ : Type u_2} {M : Type u_4} {M₂ : Type u_5} [inst : Semiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : Module R M] [inst_3 : Semiring R₂] {σ₁₂ : R →+* R₂} [inst_4 : AddCommMonoid M₂] [inst_5 : Module R₂ M₂]
  [inst_6 : RingHomSurjective σ₁₂] (f : M →ₛₗ[σ₁₂] M₂) (s : Set M) (N : Submodule R₂ M₂),
  Submodule.map f (Submodule.span R s) ≤ N ↔ ∀ m ∈ s, f m ∈ N

Alias of Submodule.map_span_le.

theorem Submodule.span_preimage_le E1 #

∀ {R : Type u_1} {R₂ : Type u_2} {M : Type u_4} {M₂ : Type u_5} [inst : Semiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : Module R M] [inst_3 : Semiring R₂] {σ₁₂ : R →+* R₂} [inst_4 : AddCommMonoid M₂] [inst_5 : Module R₂ M₂]
  (f : M →ₛₗ[σ₁₂] M₂) (s : Set M₂), Submodule.span R (⇑f ⁻¹' s) ≤ Submodule.comap f (Submodule.span R₂ s)

See also Submodule.span_preimage_eq.

theorem LinearMap.span_preimage_le E1 #

∀ {R : Type u_1} {R₂ : Type u_2} {M : Type u_4} {M₂ : Type u_5} [inst : Semiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : Module R M] [inst_3 : Semiring R₂] {σ₁₂ : R →+* R₂} [inst_4 : AddCommMonoid M₂] [inst_5 : Module R₂ M₂]
  (f : M →ₛₗ[σ₁₂] M₂) (s : Set M₂), Submodule.span R (⇑f ⁻¹' s) ≤ Submodule.comap f (Submodule.span R₂ s)

Alias of Submodule.span_preimage_le.


See also Submodule.span_preimage_eq.

theorem Submodule.mapsTo_span E1 #

∀ {R : Type u_1} {R₂ : Type u_2} {M : Type u_4} {M₂ : Type u_5} [inst : Semiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : Module R M] [inst_3 : Semiring R₂] {σ₁₂ : R →+* R₂} [inst_4 : AddCommMonoid M₂] [inst_5 : Module R₂ M₂]
  {f : M →ₛₗ[σ₁₂] M₂} {s : Set M} {t : Set M₂},
  Set.MapsTo (⇑f) s t → Set.MapsTo ⇑f ↑(Submodule.span R s) ↑(Submodule.span R₂ t)

theorem Set.MapsTo.submoduleSpan E1 #

∀ {R : Type u_1} {R₂ : Type u_2} {M : Type u_4} {M₂ : Type u_5} [inst : Semiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : Module R M] [inst_3 : Semiring R₂] {σ₁₂ : R →+* R₂} [inst_4 : AddCommMonoid M₂] [inst_5 : Module R₂ M₂]
  {f : M →ₛₗ[σ₁₂] M₂} {s : Set M} {t : Set M₂},
  Set.MapsTo (⇑f) s t → Set.MapsTo ⇑f ↑(Submodule.span R s) ↑(Submodule.span R₂ t)

Alias of Submodule.mapsTo_span.

theorem Submodule.linearMap_eq_iff_of_eq_span E1 #

∀ {R : Type u_1} {M : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {N : Type u_8}
  [inst_3 : AddCommMonoid N] [inst_4 : Module R N] {V : Submodule R M} (f g : ↥V →ₗ[R] N) {S : Set M}
  (hV : V = Submodule.span R S), f = g ↔ ∀ (s : ↑S), f ⟨↑s, ⋯⟩ = g ⟨↑s, ⋯⟩

theorem Submodule.linearMap_eq_iff_of_span_eq_top E1 #

∀ {R : Type u_1} {M : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {N : Type u_8}
  [inst_3 : AddCommMonoid N] [inst_4 : Module R N] (f g : M →ₗ[R] N) {S : Set M},
  Submodule.span R S = ⊤ → (f = g ↔ ∀ (s : ↑S), f ↑s = g ↑s)

theorem Submodule.linearMap_eq_zero_iff_of_span_eq_top E1 #

∀ {R : Type u_1} {M : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {N : Type u_8}
  [inst_3 : AddCommMonoid N] [inst_4 : Module R N] (f : M →ₗ[R] N) {S : Set M},
  Submodule.span R S = ⊤ → (f = 0 ↔ ∀ (s : ↑S), f ↑s = 0)

theorem Submodule.linearMap_eq_zero_iff_of_eq_span E1 #

∀ {R : Type u_1} {M : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {N : Type u_8}
  [inst_3 : AddCommMonoid N] [inst_4 : Module R N] {V : Submodule R M} (f : ↥V →ₗ[R] N) {S : Set M}
  (hV : V = Submodule.span R S), f = 0 ↔ ∀ (s : ↑S), f ⟨↑s, ⋯⟩ = 0

theorem Submodule.span_smul_eq_of_isUnit E1 #

∀ {R : Type u_1} {M : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (s : Set M)
  (r : R), IsUnit r → Submodule.span R (r • s) = Submodule.span R s

See Submodule.span_smul_eq (in RingTheory.Ideal.Operations) for span R (r • s) = r • span R s that holds for arbitrary r in a CommSemiring.

theorem Submodule.coe_scott_continuous E0 #

∀ {R : Type u_1} {M : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M],
  OmegaCompletePartialOrder.ωScottContinuous SetLike.coe

We can regard coe_iSup_of_chain as the statement that (↑) : (Submodule R M) → Set M is Scott continuous for the ω-complete partial order induced by the complete lattice structures.

def Submodule.inclusionSpan E1 #

{R : Type u_1} →
  {M : Type u_4} →
    (S : Type u_7) →
      [inst : Semiring R] →
        [inst_1 : AddCommMonoid M] →
          [inst_2 : Module R M] →
            [inst_3 : Semiring S] →
              [inst_4 : SMul R S] →
                [inst_5 : Module S M] →
                  [inst_6 : IsScalarTower R S M] → (p : Submodule R M) → ↥p →ₗ[R] ↥(Submodule.span S ↑p)

The inclusion of an R-submodule into its S-span, as an R-linear map.

theorem Submodule.inclusionSpan_apply_coe E0 #

∀ {R : Type u_1} {M : Type u_4} (S : Type u_7) [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [inst_3 : Semiring S] [inst_4 : SMul R S] [inst_5 : Module S M] [inst_6 : IsScalarTower R S M] (p : Submodule R M)
  (x : ↥p), ↑((Submodule.inclusionSpan S p) x) = ↑x

theorem Submodule.injective_inclusionSpan E1 #

∀ {R : Type u_1} {M : Type u_4} (S : Type u_7) [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [inst_3 : Semiring S] [inst_4 : SMul R S] [inst_5 : Module S M] [inst_6 : IsScalarTower R S M] (p : Submodule R M),
  Function.Injective ⇑(Submodule.inclusionSpan S p)

theorem Submodule.span_range_inclusionSpan E1 #

∀ {R : Type u_1} {M : Type u_4} (S : Type u_7) [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [inst_3 : Semiring S] [inst_4 : SMul R S] [inst_5 : Module S M] [inst_6 : IsScalarTower R S M] (p : Submodule R M),
  Submodule.span S (Set.range ⇑(Submodule.inclusionSpan S p)) = ⊤

theorem Submodule.span_le_restrictScalars E1 #

∀ (R : Type u_1) {M : Type u_4} (S : Type u_7) [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  (s : Set M) [inst_3 : Semiring S] [inst_4 : SMul R S] [inst_5 : Module S M] [inst_6 : IsScalarTower R S M],
  Submodule.span R s ≤ Submodule.restrictScalars R (Submodule.span S s)

If R is "smaller" ring than S then the span by R is smaller than the span by S.

theorem Submodule.span_subset_span E0 #

∀ (R : Type u_1) {M : Type u_4} (S : Type u_7) [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  (s : Set M) [inst_3 : Semiring S] [inst_4 : SMul R S] [inst_5 : Module S M] [IsScalarTower R S M],
  ↑(Submodule.span R s) ⊆ ↑(Submodule.span S s)

A version of Submodule.span_le_restrictScalars with coercions.

theorem Submodule.span_span_of_tower E0 #

∀ (R : Type u_1) {M : Type u_4} (S : Type u_7) [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  (s : Set M) [inst_3 : Semiring S] [inst_4 : SMul R S] [inst_5 : Module S M] [IsScalarTower R S M],
  Submodule.span S ↑(Submodule.span R s) = Submodule.span S s

Taking the span by a large ring of the span by the small ring is the same as taking the span by just the large ring.

theorem Submodule.span_eq_top_of_span_eq_top E1 #

∀ (R : Type u_1) {M : Type u_4} (S : Type u_7) [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [inst_3 : Semiring S] [inst_4 : SMul R S] [inst_5 : Module S M] [IsScalarTower R S M] (s : Set M),
  Submodule.span R s = ⊤ → Submodule.span S s = ⊤

theorem Submodule.span_range_inclusion_eq_top E1 #

∀ {R : Type u_1} {M : Type u_4} {S : Type u_7} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [inst_3 : Semiring S] [inst_4 : SMul R S] [inst_5 : Module S M] [inst_6 : IsScalarTower R S M] (p : Submodule R M)
  (q : Submodule S M) (h₁ : p ≤ Submodule.restrictScalars R q),
  q ≤ Submodule.span S ↑p → Submodule.span S (Set.range ⇑(Submodule.inclusion h₁)) = ⊤

theorem Submodule.span_range_inclusion_restrictScalars_eq_top E0 #

∀ (R : Type u_1) {M : Type u_4} (S : Type u_7) [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  (s : Set M) [inst_3 : Semiring S] [inst_4 : SMul R S] [inst_5 : Module S M] [inst_6 : IsScalarTower R S M],
  Submodule.span S (Set.range ⇑(Submodule.inclusion ⋯)) = ⊤

theorem Submodule.span_singleton_eq_span_singleton E1 #

∀ {R : Type u_8} {M : Type u_9} [inst : Ring R] [IsDomain R] [inst_2 : AddCommGroup M] [inst_3 : Module R M]
  [Module.IsTorsionFree R M] {x y : M}, R ∙ x = R ∙ y ↔ ∃ z, z • x = y

theorem Submodule.span_image E0 #

∀ {R : Type u_1} {R₂ : Type u_2} {M : Type u_4} {M₂ : Type u_5} [inst : Semiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : Module R M] [inst_3 : Semiring R₂] {σ₁₂ : R →+* R₂} [inst_4 : AddCommMonoid M₂] [inst_5 : Module R₂ M₂]
  {s : Set M} [inst_6 : RingHomSurjective σ₁₂] (f : M →ₛₗ[σ₁₂] M₂),
  Submodule.span R₂ (⇑f '' s) = Submodule.map f (Submodule.span R s)

theorem Submodule.span_image_linearEquiv E0 #

∀ {R : Type u_1} {R₂ : Type u_2} {M : Type u_4} {M₂ : Type u_5} [inst : Semiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : Module R M] [inst_3 : Semiring R₂] {σ₁₂ : R →+* R₂} [inst_4 : AddCommMonoid M₂] [inst_5 : Module R₂ M₂]
  {s : Set M} {σ₂₁ : R₂ →+* R} [inst_6 : RingHomInvPair σ₁₂ σ₂₁] [inst_7 : RingHomInvPair σ₂₁ σ₁₂] (f : M ≃ₛₗ[σ₁₂] M₂),
  Submodule.span R₂ (⇑f '' s) = Submodule.map (↑f) (Submodule.span R s)

theorem Submodule.apply_mem_span_image_of_mem_span E1 #

∀ {R : Type u_1} {R₂ : Type u_2} {M : Type u_4} {M₂ : Type u_5} [inst : Semiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : Module R M] [inst_3 : Semiring R₂] {σ₁₂ : R →+* R₂} [inst_4 : AddCommMonoid M₂] [inst_5 : Module R₂ M₂]
  [RingHomSurjective σ₁₂] (f : M →ₛₗ[σ₁₂] M₂) {x : M} {s : Set M},
  x ∈ Submodule.span R s → f x ∈ Submodule.span R₂ (⇑f '' s)

theorem Submodule.apply_mem_span_image_iff_mem_span E1 #

∀ {R : Type u_1} {R₂ : Type u_2} {M : Type u_4} {M₂ : Type u_5} [inst : Semiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : Module R M] [inst_3 : Semiring R₂] {σ₁₂ : R →+* R₂} [inst_4 : AddCommMonoid M₂] [inst_5 : Module R₂ M₂]
  [RingHomSurjective σ₁₂] {f : M →ₛₗ[σ₁₂] M₂} {x : M} {s : Set M},
  Function.Injective ⇑f → (f x ∈ Submodule.span R₂ (⇑f '' s) ↔ x ∈ Submodule.span R s)

theorem Submodule.map_subtype_span_singleton E0 #

∀ {R : Type u_1} {M : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {p : Submodule R M}
  (x : ↥p), Submodule.map p.subtype (R ∙ x) = R ∙ ↑x

theorem Submodule.notMem_span_of_apply_notMem_span_image E1 #

∀ {R : Type u_1} {R₂ : Type u_2} {M : Type u_4} {M₂ : Type u_5} [inst : Semiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : Module R M] [inst_3 : Semiring R₂] {σ₁₂ : R →+* R₂} [inst_4 : AddCommMonoid M₂] [inst_5 : Module R₂ M₂]
  [RingHomSurjective σ₁₂] (f : M →ₛₗ[σ₁₂] M₂) {x : M} {s : Set M},
  f x ∉ Submodule.span R₂ (⇑f '' s) → x ∉ Submodule.span R s

f is an explicit argument so we can apply this theorem and obtain h as a new goal.

theorem Submodule.smul_span E1 #

∀ {R : Type u_1} {M : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {α : Type u_8}
  [inst_3 : Monoid α] [inst_4 : DistribMulAction α M] [inst_5 : SMulCommClass α R M] (a : α) (s : Set M),
  a • Submodule.span R s = Submodule.span R (a • s)

theorem Submodule.smul_def E0 #

∀ {R : Type u_1} {M : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {α : Type u_8}
  [inst_3 : Monoid α] [inst_4 : DistribMulAction α M] [inst_5 : SMulCommClass α R M] (a : α) (S : Submodule R M),
  a • S = Submodule.span R ↑(a • S)

theorem Submodule.span_smul E1 #

∀ {R : Type u_1} {M : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {α : Type u_8}
  [inst_3 : Monoid α] [inst_4 : DistribMulAction α M] [inst_5 : SMulCommClass α R M] (a : α) (s : Set M),
  Submodule.span R (a • s) = a • Submodule.span R s

theorem Submodule.set_smul_span E1 #

∀ {R : Type u_1} {M : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {α : Type u_8}
  [inst_3 : Monoid α] [inst_4 : DistribMulAction α M] [SMulCommClass α R M] (s : Set α) (t : Set M),
  s • Submodule.span R t = Submodule.span R (s • t)

theorem Submodule.span_set_smul E1 #

∀ {R : Type u_1} {M : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {α : Type u_8}
  [inst_3 : Monoid α] [inst_4 : DistribMulAction α M] [SMulCommClass α R M] (s : Set α) (t : Set M),
  Submodule.span R (s • t) = s • Submodule.span R t

theorem Submodule.iSup_toAddSubmonoid E1 #

∀ {R : Type u_1} {M : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {ι : Sort u_8}
  (p : ι → Submodule R M), (⨆ i, p i).toAddSubmonoid = ⨆ i, (p i).toAddSubmonoid

theorem Submodule.iSup_induction E1 #

∀ {R : Type u_1} {M : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {ι : Sort u_8}
  (p : ι → Submodule R M) {motive : M → Prop} {x : M},
  x ∈ ⨆ i, p i →
    (∀ (i : ι), ∀ x ∈ p i, motive x) → motive 0 → (∀ (x y : M), motive x → motive y → motive (x + y)) → motive x

An induction principle for elements of ⨆ i, p i. If C holds for 0 and all elements of p i for all i, and is preserved under addition, then it holds for all elements of the supremum of p.

theorem Submodule.iSup_induction' E1 #

∀ {R : Type u_1} {M : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {ι : Sort u_8}
  (p : ι → Submodule R M) {motive : (x : M) → x ∈ ⨆ i, p i → Prop},
  (∀ (i : ι) (x : M) (hx : x ∈ p i), motive x ⋯) →
    motive 0 ⋯ →
      (∀ (x y : M) (hx : x ∈ ⨆ i, p i) (hy : y ∈ ⨆ i, p i), motive x hx → motive y hy → motive (x + y) ⋯) →
        ∀ {x : M} (hx : x ∈ ⨆ i, p i), motive x hx

A dependent version of submodule.iSup_induction.

theorem Submodule.coe_iSup_eq_iUnion_finset_coe_biSup E0 #

∀ {R : Type u_1} {M : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {ι : Type u_8}
  (S : ι → Submodule R M), ↑(⨆ i, S i) = ⋃ s, ↑(⨆ i ∈ s, S i)

theorem Submodule.singleton_span_isCompactElement E1 #

∀ {R : Type u_1} {M : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (x : M),
  IsCompactElement (R ∙ x)

theorem Submodule.finset_span_isCompactElement E1 #

∀ {R : Type u_1} {M : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (S : Finset M),
  IsCompactElement (Submodule.span R ↑S)

The span of a finite subset is compact in the lattice of submodules.

theorem Submodule.finite_span_isCompactElement E1 #

∀ {R : Type u_1} {M : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (S : Set M),
  S.Finite → IsCompactElement (Submodule.span R S)

The span of a finite subset is compact in the lattice of submodules.

instance Submodule.instIsCompactlyGenerated E0 #

∀ {R : Type u_1} {M : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M],
  IsCompactlyGenerated (Submodule R M)

def Submodule.prod E1 #

{R : Type u_1} →
  {M : Type u_4} →
    [inst : Semiring R] →
      [inst_1 : AddCommMonoid M] →
        [inst_2 : Module R M] →
          Submodule R M →
            {M' : Type u_8} →
              [inst_3 : AddCommMonoid M'] → [inst_4 : Module R M'] → Submodule R M' → Submodule R (M × M')

The product of two submodules is a submodule.

theorem Submodule.prod_coe E0 #

∀ {R : Type u_1} {M : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (p : Submodule R M)
  {M' : Type u_8} [inst_3 : AddCommMonoid M'] [inst_4 : Module R M'] (q₁ : Submodule R M'), ↑(p.prod q₁) = ↑p ×ˢ ↑q₁

theorem Submodule.mem_prod E0 #

∀ {R : Type u_1} {M : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {M' : Type u_8}
  [inst_3 : AddCommMonoid M'] [inst_4 : Module R M'] {p : Submodule R M} {q : Submodule R M'} {x : M × M'},
  x ∈ p.prod q ↔ x.1 ∈ p ∧ x.2 ∈ q

theorem Submodule.span_prod_le E1 #

∀ {R : Type u_1} {M : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {M' : Type u_8}
  [inst_3 : AddCommMonoid M'] [inst_4 : Module R M'] (s : Set M) (t : Set M'),
  Submodule.span R (s ×ˢ t) ≤ (Submodule.span R s).prod (Submodule.span R t)

theorem Submodule.prod_top E0 #

∀ {R : Type u_1} {M : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {M' : Type u_8}
  [inst_3 : AddCommMonoid M'] [inst_4 : Module R M'], ⊤.prod ⊤ = ⊤

theorem Submodule.prod_bot E0 #

∀ {R : Type u_1} {M : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {M' : Type u_8}
  [inst_3 : AddCommMonoid M'] [inst_4 : Module R M'], ⊥.prod ⊥ = ⊥

theorem Submodule.prod_mono E1 #

∀ {R : Type u_1} {M : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {M' : Type u_8}
  [inst_3 : AddCommMonoid M'] [inst_4 : Module R M'] {p p' : Submodule R M} {q q' : Submodule R M'},
  p ≤ p' → q ≤ q' → p.prod q ≤ p'.prod q'

theorem Submodule.prod_inf_prod E0 #

∀ {R : Type u_1} {M : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  (p p' : Submodule R M) {M' : Type u_8} [inst_3 : AddCommMonoid M'] [inst_4 : Module R M'] (q₁ q₁' : Submodule R M'),
  p.prod q₁ ⊓ p'.prod q₁' = (p ⊓ p').prod (q₁ ⊓ q₁')

theorem Submodule.prod_sup_prod E0 #

∀ {R : Type u_1} {M : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  (p p' : Submodule R M) {M' : Type u_8} [inst_3 : AddCommMonoid M'] [inst_4 : Module R M'] (q₁ q₁' : Submodule R M'),
  p.prod q₁ ⊔ p'.prod q₁' = (p ⊔ p').prod (q₁ ⊔ q₁')

def Submodule.prodEquiv E1 #

{R : Type u_1} →
  {M : Type u_4} →
    [inst : Semiring R] →
      [inst_1 : AddCommMonoid M] →
        [inst_2 : Module R M] →
          {M' : Type u_8} →
            [inst_3 : AddCommMonoid M'] →
              [inst_4 : Module R M'] → (p : Submodule R M) → (q : Submodule R M') → ↥(p.prod q) ≃ₗ[R] ↥p × ↥q

The product submodule p.prod q is linearly equivalent to the product p × q of the submodules.

theorem Submodule.prodEquiv_symm_apply_coe E0 #

∀ {R : Type u_1} {M : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {M' : Type u_8}
  [inst_3 : AddCommMonoid M'] [inst_4 : Module R M'] (p : Submodule R M) (q : Submodule R M') (y : ↥p × ↥q),
  ↑((p.prodEquiv q).symm y) = (↑y.1, ↑y.2)

theorem Submodule.prodEquiv_apply E0 #

∀ {R : Type u_1} {M : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {M' : Type u_8}
  [inst_3 : AddCommMonoid M'] [inst_4 : Module R M'] (p : Submodule R M) (q : Submodule R M') (x : ↥(p.prod q)),
  (p.prodEquiv q) x = (⟨(↑x).1, ⋯⟩, ⟨(↑x).2, ⋯⟩)

theorem LinearMap.BilinMap.apply_apply_mem_of_mem_span E1 #

∀ {R : Type u_9} {M : Type u_10} {N : Type u_11} {P : Type u_12} [inst : CommSemiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : AddCommMonoid N] [inst_3 : AddCommMonoid P] [inst_4 : Module R M] [inst_5 : Module R N]
  [inst_6 : Module R P] (P' : Submodule R P) (s : Set M) (t : Set N) (B : M →ₗ[R] N →ₗ[R] P),
  (∀ x ∈ s, ∀ y ∈ t, (B x) y ∈ P') → ∀ (x : M) (y : N), x ∈ Submodule.span R s → y ∈ Submodule.span R t → (B x) y ∈ P'

If a bilinear map takes values in a submodule along two sets, then the same is true along the span of these sets.

theorem Submodule.biSup_comap_subtype_eq_top E0 #

∀ {R : Type u_1} {M : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {ι : Type u_9}
  (s : Set ι) (p : ι → Submodule R M), ⨆ i ∈ s, Submodule.comap (⨆ i ∈ s, p i).subtype (p i) = ⊤

theorem LinearMap.exists_ne_zero_of_sSup_eq E0 #

∀ {R : Type u_1} {R₂ : Type u_2} {M : Type u_4} {M₂ : Type u_5} [inst : Semiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : Module R M] [inst_3 : Semiring R₂] {σ₁₂ : R →+* R₂} [inst_4 : AddCommMonoid M₂] [inst_5 : Module R₂ M₂]
  {N : Submodule R M} {f : ↥N →ₛₗ[σ₁₂] M₂},
  f ≠ 0 → ∀ (s : Set (Submodule R M)) (hs : sSup s = N), ∃ m, ∃ (h : m ∈ s), f ∘ₛₗ Submodule.inclusion ⋯ ≠ 0

theorem Submodule.span_val_image_eq_iff E0 #

∀ {R : Type u_1} {M : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (p : Submodule R M)
  (s : Set ↥p), Submodule.span R (Subtype.val '' s) = p ↔ Submodule.span R s = ⊤

theorem Submodule.span_range_subtype_eq_top_iff E0 #

∀ {R : Type u_1} {M : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {ι : Type u_9}
  (p : Submodule R M) {s : ι → M} (hs : ∀ (i : ι), s i ∈ p),
  Submodule.span R (Set.range fun i ↦ ⟨s i, ⋯⟩) = ⊤ ↔ Submodule.span R (Set.range s) = p

theorem Submodule.comap_le_comap_iff_of_le_range E1 #

∀ {R : Type u_1} {R₂ : Type u_2} {M : Type u_4} {M₂ : Type u_5} [inst : Semiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : Module R M] [inst_3 : Semiring R₂] {σ₁₂ : R →+* R₂} [inst_4 : AddCommMonoid M₂] [inst_5 : Module R₂ M₂]
  {f : M →ₛₗ[σ₁₂] M₂} [inst_6 : RingHomSurjective σ₁₂] {p q : Submodule R₂ M₂},
  p ≤ f.range → (Submodule.comap f p ≤ Submodule.comap f q ↔ p ≤ q)

theorem Submodule.comap_sup_of_injective E1 #

∀ {R : Type u_1} {R₂ : Type u_2} {M : Type u_4} {M₂ : Type u_5} [inst : Semiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : Module R M] [inst_3 : Semiring R₂] {σ₁₂ : R →+* R₂} [inst_4 : AddCommMonoid M₂] [inst_5 : Module R₂ M₂]
  {f : M →ₛₗ[σ₁₂] M₂} [inst_6 : RingHomSurjective σ₁₂] {p q : Submodule R₂ M₂},
  Function.Injective ⇑f →
    p ≤ f.range → q ≤ f.range → Submodule.comap f (p ⊔ q) = Submodule.comap f p ⊔ Submodule.comap f q

theorem Submodule.sup_inf_assoc_of_le_of_neg_le E1 #

∀ {R : Type u_8} {M : Type u_9} [inst : Semiring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] {s : Submodule R M}
  (t : Submodule R M) {p : Submodule R M}, s ≤ p → -s ≤ p → (s ⊔ t) ⊓ p = s ⊔ t ⊓ p

theorem Submodule.inf_sup_assoc_of_le_of_neg_le E1 #

∀ {R : Type u_8} {M : Type u_9} [inst : Semiring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] {s : Submodule R M}
  (t : Submodule R M) {p : Submodule R M}, p ≤ s → -p ≤ s → s ⊓ t ⊔ p = s ⊓ (t ⊔ p)

theorem Submodule.span_neg_eq_neg E1 #

∀ {R : Type u_8} {M : Type u_9} [inst : Semiring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] (s : Set M),
  Submodule.span R (-s) = -Submodule.span R s

theorem AddSubgroup.toIntSubmodule_closure E1 #

∀ {M : Type u_11} [inst : AddCommGroup M] (s : Set M),
  AddSubgroup.toIntSubmodule (AddSubgroup.closure s) = Submodule.span ℤ s

theorem Submodule.span_neg E0 #

∀ {R : Type u_10} {M : Type u_11} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] (s : Set M),
  Submodule.span R (-s) = Submodule.span R s

instance Submodule.instIsModularLattice E0 #

∀ {R : Type u_10} {M : Type u_11} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M],
  IsModularLattice (Submodule R M)

theorem Submodule.isCompl_comap_subtype_of_isCompl_of_le E1 #

∀ {R : Type u_10} {M : Type u_11} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M]
  {p q r : Submodule R M}, IsCompl q r → q ≤ p → IsCompl (Submodule.comap p.subtype q) (Submodule.comap p.subtype r)

theorem Submodule.comap_map_eq E0 #

∀ {R : Type u_1} {R₂ : Type u_2} {M : Type u_4} {M₂ : Type u_5} [inst : Semiring R] [inst_1 : Semiring R₂]
  [inst_2 : AddCommGroup M] [inst_3 : Module R M] [inst_4 : AddCommGroup M₂] [inst_5 : Module R₂ M₂] {τ₁₂ : R →+* R₂}
  [inst_6 : RingHomSurjective τ₁₂] (f : M →ₛₗ[τ₁₂] M₂) (p : Submodule R M),
  Submodule.comap f (Submodule.map f p) = p ⊔ f.ker

theorem Submodule.map_eq_range_iff E0 #

∀ {R : Type u_1} {R₂ : Type u_2} {M : Type u_4} {M₂ : Type u_5} [inst : Semiring R] [inst_1 : Semiring R₂]
  [inst_2 : AddCommGroup M] [inst_3 : Module R M] [inst_4 : AddCommGroup M₂] [inst_5 : Module R₂ M₂] {τ₁₂ : R →+* R₂}
  [inst_6 : RingHomSurjective τ₁₂] {f : M →ₛₗ[τ₁₂] M₂} {p : Submodule R M},
  Submodule.map f p = f.range ↔ Codisjoint p f.ker

theorem Submodule.map_lt_map_of_le_of_sup_lt_sup E0 #

∀ {R : Type u_1} {R₂ : Type u_2} {M : Type u_4} {M₂ : Type u_5} [inst : Semiring R] [inst_1 : Semiring R₂]
  [inst_2 : AddCommGroup M] [inst_3 : Module R M] [inst_4 : AddCommGroup M₂] [inst_5 : Module R₂ M₂] {τ₁₂ : R →+* R₂}
  [inst_6 : RingHomSurjective τ₁₂] {p p' : Submodule R M} {f : M →ₛₗ[τ₁₂] M₂},
  p ≤ p' → p ⊔ f.ker < p' ⊔ f.ker → Submodule.map f p < Submodule.map f p'

theorem Submodule.comap_map_eq_self E1 #

∀ {R : Type u_1} {R₂ : Type u_2} {M : Type u_4} {M₂ : Type u_5} [inst : Semiring R] [inst_1 : Semiring R₂]
  [inst_2 : AddCommGroup M] [inst_3 : Module R M] [inst_4 : AddCommGroup M₂] [inst_5 : Module R₂ M₂] {τ₁₂ : R →+* R₂}
  [inst_6 : RingHomSurjective τ₁₂] {f : M →ₛₗ[τ₁₂] M₂} {p : Submodule R M},
  f.ker ≤ p → Submodule.comap f (Submodule.map f p) = p

theorem Submodule.comap_map_sup_of_comap_le E1 #

∀ {R : Type u_1} {R₂ : Type u_2} {M : Type u_4} {M₂ : Type u_5} [inst : Semiring R] [inst_1 : Semiring R₂]
  [inst_2 : AddCommGroup M] [inst_3 : Module R M] [inst_4 : AddCommGroup M₂] [inst_5 : Module R₂ M₂] {τ₁₂ : R →+* R₂}
  [inst_6 : RingHomSurjective τ₁₂] {f : M →ₛₗ[τ₁₂] M₂} {p : Submodule R M} {q : Submodule R₂ M₂},
  Submodule.comap f q ≤ p → Submodule.comap f (Submodule.map f p ⊔ q) = p

theorem Submodule.disjoint_map_of_ker_le_right E1 #

∀ {R : Type u_1} {R₂ : Type u_2} {M : Type u_4} {M₂ : Type u_5} [inst : Semiring R] [inst_1 : Semiring R₂]
  [inst_2 : AddCommGroup M] [inst_3 : Module R M] [inst_4 : AddCommGroup M₂] [inst_5 : Module R₂ M₂] {τ₁₂ : R →+* R₂}
  [inst_6 : RingHomSurjective τ₁₂] {f : M →ₛₗ[τ₁₂] M₂} {p q : Submodule R M},
  Disjoint p q → f.ker ≤ q → Disjoint (Submodule.map f p) (Submodule.map f q)

theorem Submodule.disjoint_map_of_ker_le_left E1 #

∀ {R : Type u_1} {R₂ : Type u_2} {M : Type u_4} {M₂ : Type u_5} [inst : Semiring R] [inst_1 : Semiring R₂]
  [inst_2 : AddCommGroup M] [inst_3 : Module R M] [inst_4 : AddCommGroup M₂] [inst_5 : Module R₂ M₂] {τ₁₂ : R →+* R₂}
  [inst_6 : RingHomSurjective τ₁₂] {f : M →ₛₗ[τ₁₂] M₂} {p q : Submodule R M},
  Disjoint p q → f.ker ≤ p → Disjoint (Submodule.map f p) (Submodule.map f q)

theorem Submodule.isCoatom_comap_or_eq_top E1 #

∀ {R : Type u_1} {R₂ : Type u_2} {M : Type u_4} {M₂ : Type u_5} [inst : Semiring R] [inst_1 : Semiring R₂]
  [inst_2 : AddCommGroup M] [inst_3 : Module R M] [inst_4 : AddCommGroup M₂] [inst_5 : Module R₂ M₂] {τ₁₂ : R →+* R₂}
  [RingHomSurjective τ₁₂] (f : M →ₛₗ[τ₁₂] M₂) {p : Submodule R₂ M₂},
  IsCoatom p → IsCoatom (Submodule.comap f p) ∨ Submodule.comap f p = ⊤

theorem Submodule.isCoatom_comap_iff E0 #

∀ {R : Type u_1} {R₂ : Type u_2} {M : Type u_4} {M₂ : Type u_5} [inst : Semiring R] [inst_1 : Semiring R₂]
  [inst_2 : AddCommGroup M] [inst_3 : Module R M] [inst_4 : AddCommGroup M₂] [inst_5 : Module R₂ M₂] {τ₁₂ : R →+* R₂}
  [RingHomSurjective τ₁₂] {f : M →ₛₗ[τ₁₂] M₂},
  Function.Surjective ⇑f → ∀ {p : Submodule R₂ M₂}, IsCoatom (Submodule.comap f p) ↔ IsCoatom p

theorem Submodule.isCoatom_map_of_ker_le E1 #

∀ {R : Type u_1} {R₂ : Type u_2} {M : Type u_4} {M₂ : Type u_5} [inst : Semiring R] [inst_1 : Semiring R₂]
  [inst_2 : AddCommGroup M] [inst_3 : Module R M] [inst_4 : AddCommGroup M₂] [inst_5 : Module R₂ M₂] {τ₁₂ : R →+* R₂}
  [inst_6 : RingHomSurjective τ₁₂] {f : M →ₛₗ[τ₁₂] M₂},
  Function.Surjective ⇑f → ∀ {p : Submodule R M}, f.ker ≤ p → IsCoatom p → IsCoatom (Submodule.map f p)

theorem Submodule.map_iInf_of_ker_le E0 #

∀ {R : Type u_1} {R₂ : Type u_2} {M : Type u_4} {M₂ : Type u_5} [inst : Semiring R] [inst_1 : Semiring R₂]
  [inst_2 : AddCommGroup M] [inst_3 : Module R M] [inst_4 : AddCommGroup M₂] [inst_5 : Module R₂ M₂] {τ₁₂ : R →+* R₂}
  [inst_6 : RingHomSurjective τ₁₂] {f : M →ₛₗ[τ₁₂] M₂},
  Function.Surjective ⇑f →
    ∀ {ι : Sort u_8} {p : ι → Submodule R M}, f.ker ≤ ⨅ i, p i → Submodule.map f (⨅ i, p i) = ⨅ i, Submodule.map f (p i)

theorem Submodule.comap_covBy_of_surjective E1 #

∀ {R : Type u_1} {R₂ : Type u_2} {M : Type u_4} {M₂ : Type u_5} [inst : Semiring R] [inst_1 : Semiring R₂]
  [inst_2 : AddCommGroup M] [inst_3 : Module R M] [inst_4 : AddCommGroup M₂] [inst_5 : Module R₂ M₂] {τ₁₂ : R →+* R₂}
  [RingHomSurjective τ₁₂] {f : M →ₛₗ[τ₁₂] M₂},
  Function.Surjective ⇑f → ∀ {p q : Submodule R₂ M₂}, p ⋖ q → Submodule.comap f p ⋖ Submodule.comap f q

theorem LinearMap.surjective_domRestrict_iff E0 #

∀ {R : Type u_1} {R₂ : Type u_2} {M : Type u_4} {M₂ : Type u_5} [inst : Semiring R] [inst_1 : Semiring R₂]
  [inst_2 : AddCommGroup M] [inst_3 : Module R M] [inst_4 : AddCommGroup M₂] [inst_5 : Module R₂ M₂] {τ₁₂ : R →+* R₂}
  [RingHomSurjective τ₁₂] {f : M →ₛₗ[τ₁₂] M₂} {S : Submodule R M},
  Function.Surjective ⇑f → (Function.Surjective ⇑(f.domRestrict S) ↔ Codisjoint S f.ker)

theorem Submodule.biSup_comap_eq_top_of_surjective E1 #

∀ {R : Type u_1} {R₂ : Type u_2} {M : Type u_4} {M₂ : Type u_5} [inst : Semiring R] [inst_1 : Semiring R₂]
  [inst_2 : AddCommGroup M] [inst_3 : Module R M] [inst_4 : AddCommGroup M₂] [inst_5 : Module R₂ M₂] {τ₁₂ : R →+* R₂}
  [RingHomSurjective τ₁₂] {ι : Type u_8} (s : Set ι),
  s.Nonempty →
    ∀ (p : ι → Submodule R₂ M₂),
      ⨆ i ∈ s, p i = ⊤ → ∀ (f : M →ₛₗ[τ₁₂] M₂), Function.Surjective ⇑f → ⨆ i ∈ s, Submodule.comap f (p i) = ⊤

theorem Submodule.biSup_comap_eq_top_of_range_eq_biSup E1 #

∀ {M : Type u_4} {M₂ : Type u_5} [inst : AddCommGroup M] [inst_1 : AddCommGroup M₂] {R : Type u_8} {R₂ : Type u_9}
  [inst_2 : Semiring R] [inst_3 : Ring R₂] {τ₁₂ : R →+* R₂} [inst_4 : RingHomSurjective τ₁₂] [inst_5 : Module R M]
  [inst_6 : Module R₂ M₂] {ι : Type u_10} (s : Set ι),
  s.Nonempty →
    ∀ (p : ι → Submodule R₂ M₂) (f : M →ₛₗ[τ₁₂] M₂), f.range = ⨆ i ∈ s, p i → ⨆ i ∈ s, Submodule.comap f (p i) = ⊤

theorem Submodule.map_strict_mono_or_ker_sup_lt_ker_sup E0 #

∀ {R : Type u_1} {R₂ : Type u_2} {M : Type u_4} {M₂ : Type u_5} [inst : Ring R] [inst_1 : Semiring R₂]
  [inst_2 : AddCommGroup M] [inst_3 : Module R M] [inst_4 : AddCommGroup M₂] [inst_5 : Module R₂ M₂] {τ₁₂ : R →+* R₂}
  [inst_6 : RingHomSurjective τ₁₂] {p p' : Submodule R M} (f : M →ₛₗ[τ₁₂] M₂),
  p < p' → Submodule.map f p < Submodule.map f p' ∨ f.ker ⊓ p < f.ker ⊓ p'

theorem LinearMap.ker_inf_lt_ker_inf_of_map_eq_of_lt E1 #

∀ {R : Type u_1} {R₂ : Type u_2} {M : Type u_4} {M₂ : Type u_5} [inst : Ring R] [inst_1 : Semiring R₂]
  [inst_2 : AddCommGroup M] [inst_3 : Module R M] [inst_4 : AddCommGroup M₂] [inst_5 : Module R₂ M₂] {τ₁₂ : R →+* R₂}
  [inst_6 : RingHomSurjective τ₁₂] {p p' : Submodule R M} {f : M →ₛₗ[τ₁₂] M₂},
  p < p' → Submodule.map f p = Submodule.map f p' → f.ker ⊓ p < f.ker ⊓ p'

theorem Submodule.map_strict_mono_of_ker_inf_eq E0 #

∀ {R : Type u_1} {R₂ : Type u_2} {M : Type u_4} {M₂ : Type u_5} [inst : Ring R] [inst_1 : Semiring R₂]
  [inst_2 : AddCommGroup M] [inst_3 : Module R M] [inst_4 : AddCommGroup M₂] [inst_5 : Module R₂ M₂] {τ₁₂ : R →+* R₂}
  [inst_6 : RingHomSurjective τ₁₂] {p p' : Submodule R M} {f : M →ₛₗ[τ₁₂] M₂},
  p < p' → f.ker ⊓ p = f.ker ⊓ p' → Submodule.map f p < Submodule.map f p'

theorem Submodule.disjoint_span_singleton'' E1 #

∀ {R : Type u_1} {M : Type u_4} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] {s : Submodule R M}
  {x : M}, Disjoint s (R ∙ x) ↔ ∀ (r : R), r • x ∈ s → r • x = 0

Version of disjoint_span_singleton that works when the scalars are not a field.

theorem Submodule.wcovBy_span_singleton_sup E1 #

∀ {K : Type u_3} {V : Type u_6} [inst : DivisionRing K] [inst_1 : AddCommGroup V] [inst_2 : Module K V] (x : V)
  (s : Submodule K V), s ⩿ K ∙ x ⊔ s

There is no vector subspace between s and K ∙ x ⊔ s, WCovBy version.

theorem Submodule.covBy_span_singleton_sup E1 #

∀ {K : Type u_3} {V : Type u_6} [inst : DivisionRing K] [inst_1 : AddCommGroup V] [inst_2 : Module K V] {x : V}
  {s : Submodule K V}, x ∉ s → s ⋖ K ∙ x ⊔ s

There is no vector subspace between s and K ∙ x ⊔ s, CovBy version.

theorem Submodule.disjoint_span_singleton E1 #

∀ {K : Type u_3} {V : Type u_6} [inst : DivisionRing K] [inst_1 : AddCommGroup V] [inst_2 : Module K V]
  {s : Submodule K V} {x : V}, Disjoint s (K ∙ x) ↔ x ∈ s → x = 0

theorem Submodule.disjoint_span_singleton' E1 #

∀ {K : Type u_3} {V : Type u_6} [inst : DivisionRing K] [inst_1 : AddCommGroup V] [inst_2 : Module K V]
  {s : Submodule K V} {x : V}, x ≠ 0 → (Disjoint s (K ∙ x) ↔ x ∉ s)

theorem Submodule.disjoint_span_singleton_of_notMem E1 #

∀ {K : Type u_3} {V : Type u_6} [inst : DivisionRing K] [inst_1 : AddCommGroup V] [inst_2 : Module K V]
  {s : Submodule K V} {x : V}, x ∉ s → Disjoint s (K ∙ x)

theorem Submodule.isCompl_span_singleton_of_isCoatom_of_notMem E1 #

∀ {K : Type u_3} {V : Type u_6} [inst : DivisionRing K] [inst_1 : AddCommGroup V] [inst_2 : Module K V]
  {s : Submodule K V} {x : V}, IsCoatom s → x ∉ s → IsCompl s (K ∙ x)

theorem Submodule.isCoatom_iff_exists_notMem_isCompl_span_singleton E1 #

∀ {K : Type u_3} {V : Type u_6} [inst : DivisionRing K] [inst_1 : AddCommGroup V] [inst_2 : Module K V]
  {s : Submodule K V}, IsCoatom s ↔ ∃ x ∉ s, IsCompl s (K ∙ x)

theorem LinearMap.map_le_map_iff E0 #

∀ {R : Type u_1} {R₂ : Type u_2} {M : Type u_4} {M₂ : Type u_5} [inst : Semiring R] [inst_1 : Semiring R₂]
  [inst_2 : AddCommGroup M] [inst_3 : AddCommGroup M₂] [inst_4 : Module R M] [inst_5 : Module R₂ M₂] {τ₁₂ : R →+* R₂}
  [inst_6 : RingHomSurjective τ₁₂] (f : M →ₛₗ[τ₁₂] M₂) {p p' : Submodule R M},
  Submodule.map f p ≤ Submodule.map f p' ↔ p ≤ p' ⊔ f.ker

theorem LinearMap.map_le_map_iff' E0 #

∀ {R : Type u_1} {R₂ : Type u_2} {M : Type u_4} {M₂ : Type u_5} [inst : Semiring R] [inst_1 : Semiring R₂]
  [inst_2 : AddCommGroup M] [inst_3 : AddCommGroup M₂] [inst_4 : Module R M] [inst_5 : Module R₂ M₂] {τ₁₂ : R →+* R₂}
  [inst_6 : RingHomSurjective τ₁₂] {f : M →ₛₗ[τ₁₂] M₂},
  f.ker = ⊥ → ∀ {p p' : Submodule R M}, Submodule.map f p ≤ Submodule.map f p' ↔ p ≤ p'

theorem LinearMap.map_injective E0 #

∀ {R : Type u_1} {R₂ : Type u_2} {M : Type u_4} {M₂ : Type u_5} [inst : Semiring R] [inst_1 : Semiring R₂]
  [inst_2 : AddCommGroup M] [inst_3 : AddCommGroup M₂] [inst_4 : Module R M] [inst_5 : Module R₂ M₂] {τ₁₂ : R →+* R₂}
  [inst_6 : RingHomSurjective τ₁₂] {f : M →ₛₗ[τ₁₂] M₂}, f.ker = ⊥ → Function.Injective (Submodule.map f)

theorem LinearMap.map_eq_top_iff E0 #

∀ {R : Type u_1} {R₂ : Type u_2} {M : Type u_4} {M₂ : Type u_5} [inst : Semiring R] [inst_1 : Semiring R₂]
  [inst_2 : AddCommGroup M] [inst_3 : AddCommGroup M₂] [inst_4 : Module R M] [inst_5 : Module R₂ M₂] {τ₁₂ : R →+* R₂}
  [inst_6 : RingHomSurjective τ₁₂] {f : M →ₛₗ[τ₁₂] M₂},
  f.range = ⊤ → ∀ {p : Submodule R M}, Submodule.map f p = ⊤ ↔ p ⊔ f.ker = ⊤

def LinearMap.toSpanSingleton E1 #

(R : Type u_1) →
  (M : Type u_4) → [inst : Semiring R] → [inst_1 : AddCommMonoid M] → [inst_2 : Module R M] → M → R →ₗ[R] M

Given an element x of a module M over R, the natural map from R to scalar multiples of x. See also LinearMap.ringLmapEquivSelf.

theorem LinearMap.toSpanSingleton_apply E0 #

∀ (R : Type u_1) (M : Type u_4) [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (x : M) (b : R),
  (LinearMap.toSpanSingleton R M x) b = b • x

theorem LinearMap.smulRight_id E1 #

∀ (R : Type u_1) (M : Type u_4) [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M],
  LinearMap.id.smulRight = LinearMap.toSpanSingleton R M

theorem LinearMap.toSpanSingleton_apply_one E1 #

∀ (R : Type u_1) (M : Type u_4) [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (x : M),
  (LinearMap.toSpanSingleton R M x) 1 = x

theorem LinearMap.toSpanSingleton_injective E1 #

∀ (R : Type u_1) (M : Type u_4) [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M],
  Function.Injective (LinearMap.toSpanSingleton R M)

theorem LinearMap.toSpanSingleton_zero E0 #

∀ (R : Type u_1) (M : Type u_4) [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M],
  LinearMap.toSpanSingleton R M 0 = 0

theorem LinearMap.toSpanSingleton_eq_zero_iff E0 #

∀ (R : Type u_1) (M : Type u_4) [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {x : M},
  LinearMap.toSpanSingleton R M x = 0 ↔ x = 0

theorem LinearMap.toSpanSingleton_add E1 #

∀ {R : Type u_1} {M : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (x y : M),
  LinearMap.toSpanSingleton R M (x + y) = LinearMap.toSpanSingleton R M x + LinearMap.toSpanSingleton R M y

theorem LinearMap.toSpanSingleton_smul E1 #

∀ {R : Type u_1} {M : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {S : Type u_8}
  [inst_3 : Monoid S] [inst_4 : DistribMulAction S M] [inst_5 : SMulCommClass R S M] (r : S) (x : M),
  LinearMap.toSpanSingleton R M (r • x) = r • LinearMap.toSpanSingleton R M x

theorem LinearMap.toSpanSingleton_isIdempotentElem_iff E0 #

∀ {R : Type u_1} [inst : Semiring R] {e : R}, IsIdempotentElem (LinearMap.toSpanSingleton R R e) ↔ IsIdempotentElem e

theorem LinearMap.isIdempotentElem_map_one_iff E0 #

∀ {R : Type u_1} [inst : Semiring R] {f : Module.End R R}, IsIdempotentElem (f 1) ↔ IsIdempotentElem f

theorem LinearMap.range_toSpanSingleton E1 #

∀ {R : Type u_1} {M : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (x : M),
  (LinearMap.toSpanSingleton R M x).range = R ∙ x

The range of toSpanSingleton x is the span of x.

theorem LinearMap.span_singleton_eq_range E1 #

∀ (R : Type u_1) (M : Type u_4) [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (x : M),
  R ∙ x = (LinearMap.toSpanSingleton R M x).range

theorem LinearMap.comp_toSpanSingleton E1 #

∀ {R : Type u_1} {M : Type u_4} {M₂ : Type u_5} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [inst_3 : AddCommMonoid M₂] [inst_4 : Module R M₂] (f : M →ₗ[R] M₂) (x : M),
  f ∘ₗ LinearMap.toSpanSingleton R M x = LinearMap.toSpanSingleton R M₂ (f x)

theorem LinearMap.toSpanSingleton_comp E1 #

∀ {R : Type u_1} {M : Type u_4} {M₂ : Type u_5} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [inst_3 : AddCommMonoid M₂] [inst_4 : Module R M₂] (x : M) (f : M₂ →ₗ[R] R),
  LinearMap.toSpanSingleton R M x ∘ₗ f = f.smulRight x

theorem LinearMap.toSpanSingleton_comp_toSpanSingleton E1 #

∀ {R : Type u_1} {M : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (x : M) (c : R),
  LinearMap.toSpanSingleton R M x ∘ₗ LinearMap.toSpanSingleton R R c = LinearMap.toSpanSingleton R M (c • x)

theorem LinearMap.submoduleOf_span_singleton_of_mem E1 #

∀ {R : Type u_1} {M : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (N : Submodule R M)
  {x : M} (hx : x ∈ N), (R ∙ x).submoduleOf N = R ∙ ⟨x, hx⟩

theorem LinearMap.ker_toSpanSingleton_eq_bot_iff E0 #

∀ {R : Type u_1} [inst : Semiring R] {x : R}, (LinearMap.toSpanSingleton R R x).ker = ⊥ ↔ x ∈ nonZeroDivisorsRight R

theorem LinearMap.eqOn_span_iff E0 #

∀ {R : Type u_1} {R₂ : Type u_2} {M : Type u_4} {M₂ : Type u_5} [inst : Semiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : Module R M] [inst_3 : Semiring R₂] [inst_4 : AddCommMonoid M₂] [inst_5 : Module R₂ M₂] {σ₁₂ : R →+* R₂}
  {s : Set M} {f g : M →ₛₗ[σ₁₂] M₂}, Set.EqOn ⇑f ⇑g ↑(Submodule.span R s) ↔ Set.EqOn (⇑f) (⇑g) s

Two linear maps are equal on Submodule.span s iff they are equal on s.

theorem LinearMap.eqOn_span' E1 #

∀ {R : Type u_1} {R₂ : Type u_2} {M : Type u_4} {M₂ : Type u_5} [inst : Semiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : Module R M] [inst_3 : Semiring R₂] [inst_4 : AddCommMonoid M₂] [inst_5 : Module R₂ M₂] {σ₁₂ : R →+* R₂}
  {s : Set M} {f g : M →ₛₗ[σ₁₂] M₂}, Set.EqOn (⇑f) (⇑g) s → Set.EqOn ⇑f ⇑g ↑(Submodule.span R s)

If two linear maps are equal on a set s, then they are equal on Submodule.span s.

This version uses Set.EqOn, and the hidden argument will expand to h : x ∈ (span R s : Set M). See LinearMap.eqOn_span for a version that takes h : x ∈ span R s as an argument.

theorem LinearMap.eqOn_span E1 #

∀ {R : Type u_1} {R₂ : Type u_2} {M : Type u_4} {M₂ : Type u_5} [inst : Semiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : Module R M] [inst_3 : Semiring R₂] [inst_4 : AddCommMonoid M₂] [inst_5 : Module R₂ M₂] {σ₁₂ : R →+* R₂}
  {s : Set M} {f g : M →ₛₗ[σ₁₂] M₂}, Set.EqOn (⇑f) (⇑g) s → ∀ ⦃x : M⦄, x ∈ Submodule.span R s → f x = g x

If two linear maps are equal on a set s, then they are equal on Submodule.span s.

See also LinearMap.eqOn_span' for a version using Set.EqOn.

theorem LinearMap.ext_on E1 #

∀ {R : Type u_1} {R₂ : Type u_2} {M : Type u_4} {M₂ : Type u_5} [inst : Semiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : Module R M] [inst_3 : Semiring R₂] [inst_4 : AddCommMonoid M₂] [inst_5 : Module R₂ M₂] {σ₁₂ : R →+* R₂}
  {s : Set M} {f g : M →ₛₗ[σ₁₂] M₂}, Submodule.span R s = ⊤ → Set.EqOn (⇑f) (⇑g) s → f = g

If s generates the whole module and linear maps f, g are equal on s, then they are equal.

theorem LinearMap.ext_on_range E1 #

∀ {R : Type u_1} {R₂ : Type u_2} {M : Type u_4} {M₂ : Type u_5} [inst : Semiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : Module R M] [inst_3 : Semiring R₂] [inst_4 : AddCommMonoid M₂] [inst_5 : Module R₂ M₂] {σ₁₂ : R →+* R₂}
  {ι : Sort u_8} {v : ι → M} {f g : M →ₛₗ[σ₁₂] M₂},
  Submodule.span R (Set.range v) = ⊤ → (∀ (i : ι), f (v i) = g (v i)) → f = g

If the range of v : ι → M generates the whole module and linear maps f, g are equal at each v i, then they are equal.

theorem LinearMap.ker_toSpanSingleton E1 #

∀ (R : Type u_1) {M : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] [IsDomain R]
  [Module.IsTorsionFree R M] {x : M}, x ≠ 0 → (LinearMap.toSpanSingleton R M x).ker = ⊥

theorem LinearMap.span_singleton_sup_ker_eq_top E1 #

∀ {K : Type u_3} {V : Type u_6} [inst : Field K] [inst_1 : AddCommGroup V] [inst_2 : Module K V] (f : V →ₗ[K] K)
  {x : V}, f x ≠ 0 → K ∙ x ⊔ f.ker = ⊤

def LinearEquiv.toSpanNonzeroSingleton E1 #

(R : Type u_1) →
  (M : Type u_4) →
    [inst : Ring R] →
      [IsDomain R] →
        [inst_2 : AddCommGroup M] →
          [inst_3 : Module R M] → [Module.IsTorsionFree R M] → (x : M) → x ≠ 0 → R ≃ₗ[R] ↥(R ∙ x)

Given a nonzero element x of a torsion-free module M over a ring R, the natural isomorphism from R to the span of x given by $r \mapsto r \cdot x$.

theorem LinearEquiv.toSpanNonzeroSingleton_apply E0 #

∀ (R : Type u_1) (M : Type u_4) [inst : Ring R] [inst_1 : IsDomain R] [inst_2 : AddCommGroup M] [inst_3 : Module R M]
  [inst_4 : Module.IsTorsionFree R M] (x : M) (h : x ≠ 0) (t : R),
  (LinearEquiv.toSpanNonzeroSingleton R M x h) t = ⟨t • x, ⋯⟩

theorem LinearEquiv.toSpanNonzeroSingleton_symm_apply_smul E0 #

∀ (R : Type u_1) (M : Type u_4) [inst : Ring R] [inst_1 : IsDomain R] [inst_2 : AddCommGroup M] [inst_3 : Module R M]
  [inst_4 : Module.IsTorsionFree R M] (x : M) (h : x ≠ 0) (m : ↥(R ∙ x)),
  (LinearEquiv.toSpanNonzeroSingleton R M x h).symm m • x = ↑m

theorem LinearEquiv.toSpanNonzeroSingleton_one E1 #

∀ (R : Type u_1) (M : Type u_4) [inst : Ring R] [inst_1 : IsDomain R] [inst_2 : AddCommGroup M] [inst_3 : Module R M]
  [inst_4 : Module.IsTorsionFree R M] (x : M) (h : x ≠ 0), (LinearEquiv.toSpanNonzeroSingleton R M x h) 1 = ⟨x, ⋯⟩

abbrev LinearEquiv.coord E1 #

(R : Type u_1) →
  (M : Type u_4) →
    [inst : Ring R] →
      [IsDomain R] →
        [inst_2 : AddCommGroup M] →
          [inst_3 : Module R M] → [Module.IsTorsionFree R M] → (x : M) → x ≠ 0 → ↥(R ∙ x) ≃ₗ[R] R

Given a nonzero element x of a torsion-free module M over a ring R, the natural isomorphism from the span of x to R given by $r \cdot x \mapsto r$.

theorem LinearEquiv.coord_self E1 #

∀ (R : Type u_1) (M : Type u_4) [inst : Ring R] [inst_1 : IsDomain R] [inst_2 : AddCommGroup M] [inst_3 : Module R M]
  [inst_4 : Module.IsTorsionFree R M] (x : M) (h : x ≠ 0), (LinearEquiv.coord R M x h) ⟨x, ⋯⟩ = 1

theorem LinearEquiv.coord_apply_smul E1 #

∀ (R : Type u_1) (M : Type u_4) [inst : Ring R] [inst_1 : IsDomain R] [inst_2 : AddCommGroup M] [inst_3 : Module R M]
  [inst_4 : Module.IsTorsionFree R M] (x : M) (h : x ≠ 0) (y : ↥(R ∙ x)), (LinearEquiv.coord R M x h) y • x = ↑y

theorem LinearEquiv.coord_mk_smul E0 #

∀ (R : Type u_1) (M : Type u_4) [inst : Ring R] [inst_1 : IsDomain R] [inst_2 : AddCommGroup M] [inst_3 : Module R M]
  [inst_4 : Module.IsTorsionFree R M] (x : M) (h : x ≠ 0) (a : R), (LinearEquiv.coord R M x h) ⟨a • x, ⋯⟩ = a

Deprecated aliases

NameNew nameSince
LinearMap.range_domRestrict_eq_range_iffSubmodule.map_eq_range_iff2026-07-01