The areas / V07. Linear algebra
Mathlib.LinearAlgebra.Span.Defs
111 declarations and 1 deprecated aliases. Mathlib docs · Source
def Submodule.span E3 #
(R : Type u_1) →
{M : Type u_2} → [inst : Semiring R] → [inst_1 : AddCommMonoid M] → [inst_2 : Module R M] → Set M → Submodule R M
The span of a set s ⊆ M is the smallest submodule of M that contains s.
class Submodule.IsPrincipal E3 #
{R : Type u_1} →
{M : Type u_2} → [inst : Semiring R] → [inst_1 : AddCommMonoid M] → [inst_2 : Module R M] → Submodule R M → Prop
An R-submodule of M is principal if it is generated by one element.
theorem Submodule.isPrincipal_iff E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
(S : Submodule R M), S.IsPrincipal ↔ ∃ a, S = R ∙ a
ctor Submodule.IsPrincipal.mk E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
{S : Submodule R M}, (∃ a, S = R ∙ a) → S.IsPrincipal
theorem Submodule.IsPrincipal.principal E1 #
∀ {R : Type u_1} {M : Type u_2} {inst : Semiring R} {inst_1 : AddCommMonoid M} {inst_2 : Module R M} (S : Submodule R M)
[self : S.IsPrincipal], ∃ a, S = R ∙ a
instance Submodule.instIsPrincipalSpanSingletonSet E0 #
∀ {R : Type u_1} [inst : Semiring R] (x : R), (R ∙ x).IsPrincipal
def Submodule.IsPrincipal.generator E1 #
{R : Type u_1} →
{M : Type u_2} →
[inst : Semiring R] → [inst_1 : AddCommMonoid M] → [inst_2 : Module R M] → (S : Submodule R M) → [S.IsPrincipal] → M
generator I, if I is a principal submodule, is an x ∈ M such that span R {x} = I
theorem Submodule.IsPrincipal.span_singleton_generator E1 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (S : Submodule R M)
[inst_3 : S.IsPrincipal], R ∙ Submodule.IsPrincipal.generator S = S
theorem Submodule.mem_span E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {x : M}
{s : Set M}, x ∈ Submodule.span R s ↔ ∀ (p : Submodule R M), s ⊆ ↑p → x ∈ p
theorem Submodule.subset_span E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {s : Set M},
s ⊆ ↑(Submodule.span R s)
theorem Submodule.mem_span_of_mem E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {s : Set M}
{x : M}, x ∈ s → x ∈ Submodule.span R s
theorem Submodule.span_le E1 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {s : Set M}
{p : Submodule R M}, Submodule.span R s ≤ p ↔ s ⊆ ↑p
theorem Submodule.span_mono E1 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {s t : Set M},
s ⊆ t → Submodule.span R s ≤ Submodule.span R t
theorem Submodule.span_monotone E1 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M],
Monotone (Submodule.span R)
theorem Submodule.span_eq_of_le E1 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (p : Submodule R M)
{s : Set M}, s ⊆ ↑p → p ≤ Submodule.span R s → Submodule.span R s = p
theorem Submodule.span_eq E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
(p : Submodule R M), Submodule.span R ↑p = p
theorem Submodule.span_eq_span E1 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {s t : Set M},
s ⊆ ↑(Submodule.span R t) → t ⊆ ↑(Submodule.span R s) → Submodule.span R s = Submodule.span R t
theorem Submodule.coe_span_eq_self E0 #
∀ {R : Type u_1} {M : Type u_2} {S : Type u_5} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
[inst_3 : SetLike S M] [AddSubmonoidClass S M] [SMulMemClass S R M] (s : S), ↑(Submodule.span R ↑s) = ↑s
A version of Submodule.span_eq for subobjects closed under addition and scalar multiplication
and containing zero. In general, this should not be used directly, but can be used to quickly
generate proofs for specific types of subobjects.
theorem Submodule.span_insert_zero E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {s : Set M},
Submodule.span R (insert 0 s) = Submodule.span R s
theorem Submodule.span_sdiff_singleton_zero E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {s : Set M},
Submodule.span R (s \ {0}) = Submodule.span R s
theorem Submodule.closure_subset_span E1 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {s : Set M},
↑(AddSubmonoid.closure s) ⊆ ↑(Submodule.span R s)
theorem Submodule.closure_le_toAddSubmonoid_span E1 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {s : Set M},
AddSubmonoid.closure s ≤ (Submodule.span R s).toAddSubmonoid
theorem Submodule.span_closure E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {s : Set M},
Submodule.span R ↑(AddSubmonoid.closure s) = Submodule.span R s
theorem Submodule.span_induction E1 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {s : Set M}
{p : (x : M) → x ∈ Submodule.span R s → Prop},
(∀ (x : M) (h : x ∈ s), p x ⋯) →
p 0 ⋯ →
(∀ (x y : M) (hx : x ∈ Submodule.span R s) (hy : y ∈ Submodule.span R s), p x hx → p y hy → p (x + y) ⋯) →
(∀ (a : R) (x : M) (hx : x ∈ Submodule.span R s), p x hx → p (a • x) ⋯) →
∀ {x : M} (hx : x ∈ Submodule.span R s), p x hx
An induction principle for span membership. If p holds for 0 and all elements of s, and is
preserved under addition and scalar multiplication, then p holds for all elements of the span of
s.
theorem Submodule.span_induction₂ E1 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {s : Set M}
{N : Type u_6} [inst_3 : AddCommMonoid N] [inst_4 : Module R N] {t : Set N}
{p : (x : M) → (y : N) → x ∈ Submodule.span R s → y ∈ Submodule.span R t → Prop},
(∀ (x : M) (y : N) (hx : x ∈ s) (hy : y ∈ t), p x y ⋯ ⋯) →
(∀ (y : N) (hy : y ∈ Submodule.span R t), p 0 y ⋯ hy) →
(∀ (x : M) (hx : x ∈ Submodule.span R s), p x 0 hx ⋯) →
(∀ (x y : M) (z : N) (hx : x ∈ Submodule.span R s) (hy : y ∈ Submodule.span R s) (hz : z ∈ Submodule.span R t),
p x z hx hz → p y z hy hz → p (x + y) z ⋯ hz) →
(∀ (x : M) (y z : N) (hx : x ∈ Submodule.span R s) (hy : y ∈ Submodule.span R t)
(hz : z ∈ Submodule.span R t), p x y hx hy → p x z hx hz → p x (y + z) hx ⋯) →
(∀ (r : R) (x : M) (y : N) (hx : x ∈ Submodule.span R s) (hy : y ∈ Submodule.span R t),
p x y hx hy → p (r • x) y ⋯ hy) →
(∀ (r : R) (x : M) (y : N) (hx : x ∈ Submodule.span R s) (hy : y ∈ Submodule.span R t),
p x y hx hy → p x (r • y) hx ⋯) →
∀ {a : M} {b : N} (ha : a ∈ Submodule.span R s) (hb : b ∈ Submodule.span R t), p a b ha hb
An induction principle for span membership. This is a version of Submodule.span_induction
for binary predicates.
theorem Submodule.span_eq_closure E1 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {s : Set M},
(Submodule.span R s).toAddSubmonoid = AddSubmonoid.closure (Set.univ • s)
theorem Submodule.closure_induction E1 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {s : Set M}
{p : (x : M) → x ∈ Submodule.span R s → Prop},
p 0 ⋯ →
(∀ (x y : M) (hx : x ∈ Submodule.span R s) (hy : y ∈ Submodule.span R s), p x hx → p y hy → p (x + y) ⋯) →
(∀ (r : R) (x : M) (h : x ∈ s), p (r • x) ⋯) → ∀ {x : M} (hx : x ∈ Submodule.span R s), p x hx
A variant of span_induction that combines ∀ x ∈ s, p x and ∀ r x, p x → p (r • x)
into a single condition ∀ r, ∀ x ∈ s, p (r • x), which can be easier to verify.
theorem Submodule.span_span_coe_preimage E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {s : Set M},
Submodule.span R (Subtype.val ⁻¹' s) = ⊤
theorem Submodule.span_setOfPred_mem_eq_top E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {s : Set M},
Submodule.span R {x | ↑x ∈ s} = ⊤
theorem Submodule.span_nat_eq_addSubmonoidClosure E1 #
∀ {M : Type u_2} [inst : AddCommMonoid M] (s : Set M), (Submodule.span ℕ s).toAddSubmonoid = AddSubmonoid.closure s
theorem Submodule.span_nat_eq E0 #
∀ {M : Type u_2} [inst : AddCommMonoid M] (s : AddSubmonoid M), (Submodule.span ℕ ↑s).toAddSubmonoid = s
theorem Submodule.span_int_eq_addSubgroupClosure E1 #
∀ {M : Type u_6} [inst : AddCommGroup M] (s : Set M), (Submodule.span ℤ s).toAddSubgroup = AddSubgroup.closure s
theorem Submodule.span_int_eq E0 #
∀ {M : Type u_6} [inst : AddCommGroup M] (s : AddSubgroup M), (Submodule.span ℤ ↑s).toAddSubgroup = s
theorem Disjoint.of_span E1 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {s t : Set M},
Disjoint (Submodule.span R s) (Submodule.span R t) → Disjoint (s \ {0}) t
theorem Disjoint.of_span₀ E1 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {s t : Set M},
Disjoint (Submodule.span R s) (Submodule.span R t) → 0 ∉ s → Disjoint s t
def Submodule.gi E1 #
(R : Type u_1) →
(M : Type u_2) →
[inst : Semiring R] →
[inst_1 : AddCommMonoid M] → [inst_2 : Module R M] → GaloisInsertion (Submodule.span R) SetLike.coe
span forms a Galois insertion with the coercion from submodule to set.
theorem Submodule.span_empty E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M],
Submodule.span R ∅ = ⊥
theorem Submodule.span_univ E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M],
Submodule.span R Set.univ = ⊤
theorem Submodule.span_inter E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
(S S' : Submodule R M), Submodule.span R (↑S ∩ ↑S') = S ⊓ S'
theorem Submodule.span_sInf_le E1 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (s : Set (Set M)),
Submodule.span R (⋂₀ s) ≤ sInf (Submodule.span R '' s)
theorem Submodule.span_sInf E1 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
(s : Set (Submodule R M)), Submodule.span R ↑(sInf s) = sInf s
theorem Submodule.span_biInter E1 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
(s : Set (Submodule R M)), Submodule.span R (⋂ S ∈ s, ↑S) = sInf s
theorem Submodule.span_union E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (s t : Set M),
Submodule.span R (s ∪ t) = Submodule.span R s ⊔ Submodule.span R t
theorem Submodule.span_sSup E1 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (s : Set (Set M)),
Submodule.span R (⋃₀ s) = sSup (Submodule.span R '' s)
theorem Submodule.span_sSup' E1 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
(s : Set (Submodule R M)), Submodule.span R ↑(sSup s) = sSup s
theorem Submodule.span_iUnion E1 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {ι : Sort u_6}
(s : ι → Set M), Submodule.span R (⋃ i, s i) = ⨆ i, Submodule.span R (s i)
theorem Submodule.span_iUnion₂ E1 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {ι : Sort u_7}
{κ : ι → Sort u_6} (s : (i : ι) → κ i → Set M),
Submodule.span R (⋃ i, ⋃ j, s i j) = ⨆ i, ⨆ j, Submodule.span R (s i j)
theorem Submodule.span_biUnion E1 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
(s : Set (Submodule R M)), Submodule.span R (⋃ S ∈ s, ↑S) = sSup s
theorem Submodule.span_attach_biUnion E1 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
[inst_3 : DecidableEq M] {α : Type u_6} (s : Finset α) (f : ↥s → Finset M),
Submodule.span R ↑(s.attach.biUnion f) = ⨆ x, Submodule.span R ↑(f x)
theorem Submodule.sup_span E1 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (p : Submodule R M)
{s : Set M}, p ⊔ Submodule.span R s = Submodule.span R (↑p ∪ s)
theorem Submodule.span_sup E1 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (p : Submodule R M)
{s : Set M}, Submodule.span R s ⊔ p = Submodule.span R (s ∪ ↑p)
def Submodule.«term_∙_» E1 #
Lean.TrailingParserDescr
def Submodule.span.unexpander E1 #
Lean.PrettyPrinter.Unexpander
Unexpander for R ∙ x notation. This needs to be defined separately because the {_}
notation is ambiguous, so we have to specify that it is the «term{_}» notation.
theorem Submodule.span_eq_iSup_of_singleton_spans E1 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (s : Set M),
Submodule.span R s = ⨆ x ∈ s, R ∙ x
theorem Submodule.span_range_eq_iSup E1 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {ι : Sort u_6}
{v : ι → M}, Submodule.span R (Set.range v) = ⨆ i, R ∙ v i
theorem Submodule.span_smul_le E1 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (s : Set M)
(r : R), Submodule.span R (r • s) ≤ Submodule.span R s
theorem Submodule.subset_span_trans E1 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {U V W : Set M},
U ⊆ ↑(Submodule.span R V) → V ⊆ ↑(Submodule.span R W) → U ⊆ ↑(Submodule.span R W)
theorem Submodule.coe_iSup_of_directed E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {ι : Sort u_6}
[Nonempty ι] (S : ι → Submodule R M), Directed (fun x1 x2 ↦ x1 ≤ x2) S → ↑(iSup S) = ⋃ i, ↑(S i)
theorem Submodule.mem_iSup_of_directed E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {ι : Sort u_6}
[Nonempty ι] (S : ι → Submodule R M), Directed (fun x1 x2 ↦ x1 ≤ x2) S → ∀ {x : M}, x ∈ iSup S ↔ ∃ i, x ∈ S i
theorem Submodule.mem_sSup_of_directed E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
{s : Set (Submodule R M)} {z : M}, s.Nonempty → DirectedOn (fun x1 x2 ↦ x1 ≤ x2) s → (z ∈ sSup s ↔ ∃ y ∈ s, z ∈ y)
theorem Submodule.coe_iSup_of_chain E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
(a : ℕ →o Submodule R M), ↑(⨆ k, a k) = ⋃ k, ↑(a k)
theorem Submodule.mem_iSup_of_chain E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
(a : ℕ →o Submodule R M) (m : M), m ∈ ⨆ k, a k ↔ ∃ k, m ∈ a k
theorem Submodule.mem_sup E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {x : M}
{p p' : Submodule R M}, x ∈ p ⊔ p' ↔ ∃ y ∈ p, ∃ z ∈ p', y + z = x
theorem Submodule.mem_sup' E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {x : M}
{p p' : Submodule R M}, x ∈ p ⊔ p' ↔ ∃ y z, ↑y + ↑z = x
theorem Submodule.codisjoint_iff_exists_add_eq E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
{p p' : Submodule R M}, Codisjoint p p' ↔ ∀ (z : M), ∃ x y, x ∈ p ∧ y ∈ p' ∧ x + y = z
theorem Submodule.coe_sup E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
(p p' : Submodule R M), ↑(p ⊔ p') = ↑p + ↑p'
theorem Submodule.sup_toAddSubmonoid E1 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
(p p' : Submodule R M), (p ⊔ p').toAddSubmonoid = p.toAddSubmonoid ⊔ p'.toAddSubmonoid
theorem Submodule.sup_eq_top_iff E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
(p p' : Submodule R M), p ⊔ p' = ⊤ ↔ ∀ (m : M), ∃ u ∈ p, ∃ v ∈ p', m = u + v
theorem Submodule.forall_mem_sup E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
(p p' : Submodule R M) {P : M → Prop}, (∀ x ∈ p ⊔ p', P x) ↔ ∀ x₁ ∈ p, ∀ x₂ ∈ p', P (x₁ + x₂)
theorem Submodule.exists_mem_sup E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
(p p' : Submodule R M) {P : M → Prop}, (∃ x ∈ p ⊔ p', P x) ↔ ∃ x₁ ∈ p, ∃ x₂ ∈ p', P (x₁ + x₂)
theorem Submodule.mem_span_singleton_self E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (x : M), x ∈ R ∙ x
theorem Submodule.nontrivial_span_singleton E1 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {x : M},
x ≠ 0 → Nontrivial ↥(R ∙ x)
theorem Submodule.mem_span_singleton E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {x y : M},
x ∈ R ∙ y ↔ ∃ a, a • y = x
theorem Submodule.le_span_singleton_iff E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {s : Submodule R M}
{v₀ : M}, s ≤ R ∙ v₀ ↔ ∀ v ∈ s, ∃ r, r • v₀ = v
theorem Submodule.span_singleton_eq_top_iff E0 #
∀ (R : Type u_1) {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (x : M),
R ∙ x = ⊤ ↔ ∀ (v : M), ∃ r, r • x = v
theorem Submodule.span_zero_singleton E0 #
∀ (R : Type u_1) {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M], R ∙ 0 = ⊥
theorem Submodule.span_singleton_eq_range E1 #
∀ (R : Type u_1) {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (y : M),
↑(R ∙ y) = Set.range fun x ↦ x • y
theorem Submodule.span_singleton_smul_le E1 #
∀ (R : Type u_1) {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {S : Type u_6}
[inst_3 : SMul S R] [inst_4 : SMul S M] [IsScalarTower S R M] (r : S) (x : M), R ∙ r • x ≤ R ∙ x
theorem Submodule.span_singleton_group_smul_eq E0 #
∀ (R : Type u_1) {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {G : Type u_6}
[inst_3 : Group G] [inst_4 : SMul G R] [inst_5 : MulAction G M] [IsScalarTower G R M] (g : G) (x : M),
R ∙ g • x = R ∙ x
theorem Submodule.span_singleton_smul_eq E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {r : R},
IsUnit r → ∀ (x : M), R ∙ r • x = R ∙ x
theorem Submodule.mem_span_singleton_trans E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {x y z : M},
x ∈ R ∙ y → y ∈ R ∙ z → x ∈ R ∙ z
theorem Submodule.span_insert E1 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (x : M)
(s : Set M), Submodule.span R (insert x s) = R ∙ x ⊔ Submodule.span R s
theorem Submodule.span_insert_eq_span E1 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {x : M}
{s : Set M}, x ∈ Submodule.span R s → Submodule.span R (insert x s) = Submodule.span R s
theorem Submodule.span_span E1 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {s : Set M},
Submodule.span R ↑(Submodule.span R s) = Submodule.span R s
theorem Submodule.mem_span_insert E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {x : M} {s : Set M}
{y : M}, x ∈ Submodule.span R (insert y s) ↔ ∃ a, ∃ z ∈ Submodule.span R s, x = a • y + z
theorem Submodule.mem_span_pair E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {x y z : M},
z ∈ Submodule.span R {x, y} ↔ ∃ a b, a • x + b • y = z
theorem Submodule.mem_span_triple E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {w x y z : M},
w ∈ Submodule.span R {x, y, z} ↔ ∃ a b c, a • x + b • y + c • z = w
theorem Submodule.span_eq_bot E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {s : Set M},
Submodule.span R s = ⊥ ↔ ∀ x ∈ s, x = 0
theorem Submodule.span_singleton_eq_bot E1 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {x : M},
R ∙ x = ⊥ ↔ x = 0
theorem Submodule.span_zero E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M],
Submodule.span R 0 = ⊥
theorem Submodule.span_singleton_le_iff_mem E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (m : M)
(p : Submodule R M), R ∙ m ≤ p ↔ m ∈ p
theorem Submodule.iSup_span E1 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {ι : Sort u_6}
(p : ι → Set M), ⨆ i, Submodule.span R (p i) = Submodule.span R (⋃ i, p i)
theorem Submodule.iSup_eq_span E1 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {ι : Sort u_6}
(p : ι → Submodule R M), ⨆ i, p i = Submodule.span R (⋃ i, ↑(p i))
theorem Submodule.iSup_eq_span' E1 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {ι : Sort u_6}
(p : ι → Submodule R M) (h : ι → Prop), ⨆ i, ⨆ (_ : h i), p i = Submodule.span R (⋃ i, ⋃ (_ : h i), ↑(p i))
theorem Submodule.submodule_eq_sSup_le_nonzero_spans E1 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
(p : Submodule R M), p = sSup {T | ∃ m ∈ p, m ≠ 0 ∧ T = R ∙ m}
A submodule is equal to the supremum of the spans of the submodule's nonzero elements.
theorem Submodule.lt_sup_iff_notMem E1 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {I : Submodule R M}
{a : M}, I < I ⊔ R ∙ a ↔ a ∉ I
theorem Submodule.mem_iSup E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {ι : Sort u_6}
(p : ι → Submodule R M) {m : M}, m ∈ ⨆ i, p i ↔ ∀ (N : Submodule R M), (∀ (i : ι), p i ≤ N) → m ∈ N
theorem Submodule.mem_sSup E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
{s : Set (Submodule R M)} {m : M}, m ∈ sSup s ↔ ∀ (N : Submodule R M), (∀ p ∈ s, p ≤ N) → m ∈ N
theorem Submodule.mem_span_finite_of_mem_span E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {S : Set M}
{x : M}, x ∈ Submodule.span R S → ∃ T, ↑T ⊆ S ∧ x ∈ Submodule.span R ↑T
For every element in the span of a set, there exists a finite subset of the set such that the element is contained in the span of the subset.
theorem Submodule.subset_span_finite_of_subset_span E1 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {s : Set M}
{t : Finset M}, ↑t ⊆ ↑(Submodule.span R s) → ∃ T, ↑T ⊆ s ∧ ↑t ⊆ ↑(Submodule.span R ↑T)
theorem Submodule.sup_toAddSubgroup E1 #
∀ {R : Type u_1} {M : Type u_2} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] (p p' : Submodule R M),
(p ⊔ p').toAddSubgroup = p.toAddSubgroup ⊔ p'.toAddSubgroup
theorem Submodule.mem_span_insert' E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] {x y : M} {s : Set M},
x ∈ Submodule.span R (insert y s) ↔ ∃ a, x + a • y ∈ Submodule.span R s
theorem Submodule.span_range_update_add_smul E1 #
∀ {R : Type u_1} {M : Type u_2} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] {ι : Type u_6}
[inst_3 : DecidableEq ι] {i j : ι},
i ≠ j →
∀ (v : ι → M) (r : R),
Submodule.span R (Set.range (Function.update v j (v j + r • v i))) = Submodule.span R (Set.range v)
theorem Submodule.span_range_update_sub_smul E1 #
∀ {R : Type u_1} {M : Type u_2} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] {ι : Type u_6}
[inst_3 : DecidableEq ι] {i j : ι},
i ≠ j →
∀ (v : ι → M) (r : R),
Submodule.span R (Set.range (Function.update v j (v j - r • v i))) = Submodule.span R (Set.range v)
abbrev Module.IsPrincipal E1 #
(R : Type u_1) → (M : Type u_2) → [inst : Semiring R] → [inst_1 : AddCommMonoid M] → [Module R M] → Prop
A module is principal if it is generated by a single element.
theorem Module.isPrincipal_def E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M],
Module.IsPrincipal R M ↔ ⊤.IsPrincipal
theorem Module.isPrincipal_submodule_iff E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
{p : Submodule R M}, Module.IsPrincipal R ↥p ↔ p.IsPrincipal
theorem Module.IsPrincipal.of_surjective E1 #
∀ {R : Type u_1} {M : Type u_2} {M₂ : Type u_3} [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₂),
Function.Surjective ⇑f → ∀ [Module.IsPrincipal R M], Module.IsPrincipal R M₂
theorem LinearEquiv.isPrincipal_iff E0 #
∀ {R : Type u_1} {M : Type u_2} {M₂ : Type u_3} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
[inst_3 : AddCommMonoid M₂] [inst_4 : Module R M₂] (e : M ≃ₗ[R] M₂), Module.IsPrincipal R M ↔ Module.IsPrincipal R M₂
theorem Commute.span_left E1 #
∀ {R : Type u_6} {A : Type u_7} [inst : Semiring R] [inst_1 : NonUnitalNonAssocSemiring A] [inst_2 : Module R A]
[IsScalarTower R A A] [SMulCommClass R A A] {s : Set A} {x : A},
(∀ y ∈ s, Commute y x) → ∀ y ∈ Submodule.span R s, Commute y x
In a non-unital algebra, if every element of a set s commutes with x, then every element of
Submodule.span R s commutes with x.
theorem Commute.span_right E1 #
∀ {R : Type u_6} {A : Type u_7} [inst : Semiring R] [inst_1 : NonUnitalNonAssocSemiring A] [inst_2 : Module R A]
[IsScalarTower R A A] [SMulCommClass R A A] {s : Set A} {x : A},
(∀ y ∈ s, Commute x y) → ∀ y ∈ Submodule.span R s, Commute x y
In a non-unital algebra, if x commutes with every element of a set s, then x commutes
with every element of Submodule.span R s.
Deprecated aliases
| Name | New name | Since |
|---|---|---|
Submodule.span_setOf_mem_eq_top | Submodule.span_setOfPred_mem_eq_top | 2026-07-09 |