The areas / V07. Linear algebra
Mathlib.LinearAlgebra.LinearIndependent.Defs
115 declarations and 1 deprecated aliases. Mathlib docs · Source
Linear independence
This file defines linear independence in a module or vector space.
It is inspired by Isabelle/HOL's linear algebra, and hence indirectly by HOL Light.
We define LinearIndependent R v as Function.Injective (Finsupp.linearCombination R v). Here
Finsupp.linearCombination is the linear map sending a function f : ι →₀ R with finite support to
the linear combination of vectors from v with these coefficients.
The goal of this file is to define linear independence and to prove that several other
statements are equivalent to this one, including ker (Finsupp.linearCombination R v) = ⊥ and
some versions with explicitly written linear combinations.
Main definitions
All definitions are given for families of vectors, i.e. v : ι → M where M is the module or
vector space and ι : Type* is an arbitrary indexing type.
-
LinearIndependent R vstates that the elements of the familyvare linearly independent. -
LinearIndepOn R v sstates that the elements of the familyvindexed by the members of the sets : Set ιare linearly independent. -
LinearIndependent.repr hv xreturns the linear combination representingx : span R (range v)on the linearly independent vectorsv, givenhv : LinearIndependent R v(using classical choice).LinearIndependent.repr hvis provided as a linear map. -
LinearIndependent.Maximalstates that there exists no linear independent family that strictly includes the given one.
Main results
Fintype.linearIndependent_iff: ifιis a finite type, then any functionf : ι → Rhas finite support, so we can reformulate the statement using∑ i : ι, f i • v iinstead of a sum over an auxiliarys : Finset ι;
Implementation notes
We use families instead of sets in LinearIndependent because it allows us to say that two
identical vectors are linearly dependent.
If you want to use sets, use LinearIndepOn id s given a set s : Set M. The lemmas
LinearIndependent.linearIndepOn_id and LinearIndependent.of_linearIndepOn_id_range connect those
two worlds.
In this file we prove some variants of results on different kinds of (semi)rings. We distinguish
them by using suffixes in their names, e.g. linearIndependent_iffₛ for semirings,
linearIndependent_iffₒₛ for (canonically) ordered semirings, and linearIndependent_iff (without
suffix) for rings.
TODO
This file contains much more than definitions.
Rework proofs to hold in semirings, by avoiding the path through
ker (Finsupp.linearCombination R v) = ⊥.
Tags
linearly dependent, linear dependence, linearly independent, linear independence
Properties which require LinearOrder R and CanonicallyOrderedAdd R
If the semiring R is linearly and canonically ordered (e.g. R = ℕ), LinearIndependent can be
proved from linear combination over two disjoint sets.
Properties which require Ring R
The following give equivalent versions of LinearIndepOn and its negation.
Properties which require DivisionRing K
These can be considered generalizations of properties of linear independence in vector spaces.
theorem LinearIndependent.linearCombinationEquiv.congr_simp E1 #
∀ {ι : Type u'} {R : Type u_2} {M : Type u_4} {v : ι → M} [inst : Semiring R] [inst_1 : AddCommMonoid M]
[inst_2 : Module R M] (hv : LinearIndependent R v), hv.linearCombinationEquiv = hv.linearCombinationEquiv
theorem Finsupp.addSingleEquiv.congr_simp E1 #
∀ {R : Type u_4} {ι : Type u_6} [inst : Ring R] (i i_1 : ι) (e_i : i = i_1) (c c_1 : ι → R) (e_c : c = c_1)
(h₀ : c i = 0), Finsupp.addSingleEquiv i c h₀ = Finsupp.addSingleEquiv i_1 c_1 ⋯
theorem LinearIndependent.repr.congr_simp E1 #
∀ {ι : Type u'} {R : Type u_2} {M : Type u_4} {v : ι → M} [inst : Semiring R] [inst_1 : AddCommMonoid M]
[inst_2 : Module R M] (hv : LinearIndependent R v), hv.repr = hv.repr
def LinearIndependent E3 #
{ι : Type u'} →
(R : Type u_2) → {M : Type u_4} → (ι → M) → [inst : Semiring R] → [inst_1 : AddCommMonoid M] → [Module R M] → Prop
LinearIndependent R v states the family of vectors v is linearly independent over R.
def delabLinearIndependent E1 #
Lean.PrettyPrinter.Delaborator.Delab
Delaborator for LinearIndependent that suggests pretty printing with type hints
in case the family of vectors is over a Set.
Type hints look like LinearIndependent fun (v : ↑s) => ↑v or LinearIndependent (ι := ↑s) f,
depending on whether the family is a lambda expression or not.
def LinearIndepOn E1 #
{ι : Type u'} →
(R : Type u_2) →
{M : Type u_4} → (ι → M) → [inst : Semiring R] → [inst_1 : AddCommMonoid M] → [Module R M] → Set ι → Prop
LinearIndepOn R v s states that the vectors in the family v that are indexed
by the elements of s are linearly independent over R.
theorem LinearIndepOn.linearIndependent E1 #
∀ {ι : Type u'} {R : Type u_2} {M : Type u_4} {v : ι → M} [inst : Semiring R] [inst_1 : AddCommMonoid M]
[inst_2 : Module R M] {s : Set ι}, LinearIndepOn R v s → LinearIndependent R fun (x : ↑s) ↦ v ↑x
theorem linearIndependent_iff_injective_finsuppLinearCombination E1 #
∀ {ι : Type u'} {R : Type u_2} {M : Type u_4} {v : ι → M} [inst : Semiring R] [inst_1 : AddCommMonoid M]
[inst_2 : Module R M], LinearIndependent R v ↔ Function.Injective ⇑(Finsupp.linearCombination R v)
theorem LinearIndependent.finsuppLinearCombination_injective E1 #
∀ {ι : Type u'} {R : Type u_2} {M : Type u_4} {v : ι → M} [inst : Semiring R] [inst_1 : AddCommMonoid M]
[inst_2 : Module R M], LinearIndependent R v → Function.Injective ⇑(Finsupp.linearCombination R v)
Alias of the forward direction of linearIndependent_iff_injective_finsuppLinearCombination.
theorem linearIndependent_iff_injective_fintypeLinearCombination E1 #
∀ {ι : Type u'} {R : Type u_2} {M : Type u_4} {v : ι → M} [inst : Semiring R] [inst_1 : AddCommMonoid M]
[inst_2 : Module R M] [inst_3 : Fintype ι],
LinearIndependent R v ↔ Function.Injective ⇑(Fintype.linearCombination R v)
theorem LinearIndependent.fintypeLinearCombination_injective E1 #
∀ {ι : Type u'} {R : Type u_2} {M : Type u_4} {v : ι → M} [inst : Semiring R] [inst_1 : AddCommMonoid M]
[inst_2 : Module R M] [inst_3 : Fintype ι],
LinearIndependent R v → Function.Injective ⇑(Fintype.linearCombination R v)
Alias of the forward direction of linearIndependent_iff_injective_fintypeLinearCombination.
theorem LinearIndependent.injective E1 #
∀ {ι : Type u'} {R : Type u_2} {M : Type u_4} {v : ι → M} [inst : Semiring R] [inst_1 : AddCommMonoid M]
[inst_2 : Module R M] [Nontrivial R], LinearIndependent R v → Function.Injective v
theorem LinearIndepOn.injOn E1 #
∀ {ι : Type u'} {R : Type u_2} {s : Set ι} {M : Type u_4} {v : ι → M} [inst : Semiring R] [inst_1 : AddCommMonoid M]
[inst_2 : Module R M] [Nontrivial R], LinearIndepOn R v s → Set.InjOn v s
theorem LinearIndependent.smul_left_injective E1 #
∀ {ι : Type u'} {R : Type u_2} {M : Type u_4} {v : ι → M} [inst : Semiring R] [inst_1 : AddCommMonoid M]
[inst_2 : Module R M], LinearIndependent R v → ∀ (i : ι), Function.Injective fun r ↦ r • v i
theorem LinearIndependent.ne_zero E1 #
∀ {ι : Type u'} {R : Type u_2} {M : Type u_4} {v : ι → M} [inst : Semiring R] [inst_1 : AddCommMonoid M]
[inst_2 : Module R M] [Nontrivial R] (i : ι), LinearIndependent R v → v i ≠ 0
theorem LinearIndepOn.ne_zero E1 #
∀ {ι : Type u'} {R : Type u_2} {s : Set ι} {M : Type u_4} {v : ι → M} [inst : Semiring R] [inst_1 : AddCommMonoid M]
[inst_2 : Module R M] [Nontrivial R] {i : ι}, LinearIndepOn R v s → i ∈ s → v i ≠ 0
theorem LinearIndepOn.zero_notMem_image E1 #
∀ {ι : Type u'} {R : Type u_2} {s : Set ι} {M : Type u_4} {v : ι → M} [inst : Semiring R] [inst_1 : AddCommMonoid M]
[inst_2 : Module R M] [Nontrivial R], LinearIndepOn R v s → 0 ∉ v '' s
theorem linearIndependent_empty_type E3 #
∀ {ι : Type u'} {R : Type u_2} {M : Type u_4} {v : ι → M} [inst : Semiring R] [inst_1 : AddCommMonoid M]
[inst_2 : Module R M] [IsEmpty ι], LinearIndependent R v
theorem linearIndependent_zero_iff E0 #
∀ {ι : Type u'} {R : Type u_2} {M : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
[Nontrivial R], LinearIndependent R 0 ↔ IsEmpty ι
theorem linearIndepOn_zero_iff E0 #
∀ {ι : Type u'} {R : Type u_2} {s : Set ι} {M : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M]
[inst_2 : Module R M] [Nontrivial R], LinearIndepOn R 0 s ↔ s = ∅
theorem linearIndependent_subsingleton_iff E0 #
∀ {ι : Type u'} {R : Type u_2} {M : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
[Nontrivial R] [Subsingleton M] (f : ι → M), LinearIndependent R f ↔ IsEmpty ι
theorem linearIndependent_empty E1 #
∀ (R : Type u_2) (M : Type u_4) [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M],
LinearIndependent R fun (x : ↑∅) ↦ ↑x
theorem linearIndepOn_empty E0 #
∀ {ι : Type u'} (R : Type u_2) {M : Type u_4} (v : ι → M) [inst : Semiring R] [inst_1 : AddCommMonoid M]
[inst_2 : Module R M], LinearIndepOn R v ∅
theorem linearIndependent_set_coe_iff E0 #
∀ {ι : Type u'} {R : Type u_2} {s : Set ι} {M : Type u_4} {v : ι → M} [inst : Semiring R] [inst_1 : AddCommMonoid M]
[inst_2 : Module R M], (LinearIndependent R fun (x : ↑s) ↦ v ↑x) ↔ LinearIndepOn R v s
theorem linearIndependent_subtype_iff E0 #
∀ {R : Type u_2} {M : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {s : Set M},
LinearIndependent R Subtype.val ↔ LinearIndepOn R id s
theorem linearIndependent_comp_subtype_iff E0 #
∀ {ι : Type u'} {R : Type u_2} {s : Set ι} {M : Type u_4} {v : ι → M} [inst : Semiring R] [inst_1 : AddCommMonoid M]
[inst_2 : Module R M], LinearIndependent (ι := ↑s) R (v ∘ Subtype.val) ↔ LinearIndepOn R v s
theorem LinearIndependent.comp E1 #
∀ {ι : Type u'} {ι' : Type u_1} {R : Type u_2} {M : Type u_4} {v : ι → M} [inst : Semiring R] [inst_1 : AddCommMonoid M]
[inst_2 : Module R M], LinearIndependent R v → ∀ (f : ι' → ι), Function.Injective f → LinearIndependent R (v ∘ f)
A subfamily of a linearly independent family (i.e., a composition with an injective map) is a linearly independent family.
theorem LinearIndepOn.mono E1 #
∀ {ι : Type u'} {R : Type u_2} {M : Type u_4} {v : ι → M} [inst : Semiring R] [inst_1 : AddCommMonoid M]
[inst_2 : Module R M] {t s : Set ι}, LinearIndepOn R v s → t ⊆ s → LinearIndepOn R v t
theorem linearIndependent_iffₛ E1 #
∀ {ι : Type u'} {R : Type u_2} {M : Type u_4} {v : ι → M} [inst : Semiring R] [inst_1 : AddCommMonoid M]
[inst_2 : Module R M],
LinearIndependent R v ↔
∀ (l₁ l₂ : ι →₀ R), (Finsupp.linearCombination R v) l₁ = (Finsupp.linearCombination R v) l₂ → l₁ = l₂
theorem linearIndependent_iff'ₛ E1 #
∀ {ι : Type u'} {R : Type u_2} {M : Type u_4} {v : ι → M} [inst : Semiring R] [inst_1 : AddCommMonoid M]
[inst_2 : Module R M],
LinearIndependent R v ↔ ∀ (s : Finset ι) (f g : ι → R), ∑ i ∈ s, f i • v i = ∑ i ∈ s, g i • v i → ∀ i ∈ s, f i = g i
theorem linearIndependent_iff''ₛ E1 #
∀ {ι : Type u'} {R : Type u_2} {M : Type u_4} {v : ι → M} [inst : Semiring R] [inst_1 : AddCommMonoid M]
[inst_2 : Module R M],
LinearIndependent R v ↔
∀ (s : Finset ι) (f g : ι → R),
(∀ i ∉ s, f i = g i) → ∑ i ∈ s, f i • v i = ∑ i ∈ s, g i • v i → ∀ (i : ι), f i = g i
theorem not_linearIndependent_iffₛ E1 #
∀ {ι : Type u'} {R : Type u_2} {M : Type u_4} {v : ι → M} [inst : Semiring R] [inst_1 : AddCommMonoid M]
[inst_2 : Module R M], ¬LinearIndependent R v ↔ ∃ s f g, ∑ i ∈ s, f i • v i = ∑ i ∈ s, g i • v i ∧ ∃ i ∈ s, f i ≠ g i
theorem Fintype.linearIndependent_iffₛ E1 #
∀ {ι : Type u'} {R : Type u_2} {M : Type u_4} {v : ι → M} [inst : Semiring R] [inst_1 : AddCommMonoid M]
[inst_2 : Module R M] [inst_3 : Fintype ι],
LinearIndependent R v ↔ ∀ (f g : ι → R), ∑ i, f i • v i = ∑ i, g i • v i → ∀ (i : ι), f i = g i
theorem Fintype.not_linearIndependent_iffₛ E1 #
∀ {ι : Type u'} {R : Type u_2} {M : Type u_4} {v : ι → M} [inst : Semiring R] [inst_1 : AddCommMonoid M]
[inst_2 : Module R M] [inst_3 : Fintype ι],
¬LinearIndependent R v ↔ ∃ f g, ∑ i, f i • v i = ∑ i, g i • v i ∧ ∃ i, f i ≠ g i
theorem linearIndepOn_finset_iffₛ E1 #
∀ {ι : Type u'} {R : Type u_2} {M : Type u_4} {v : ι → M} [inst : Semiring R] [inst_1 : AddCommMonoid M]
[inst_2 : Module R M] {s : Finset ι},
LinearIndepOn R v ↑s ↔ ∀ (f g : ι → R), ∑ i ∈ s, f i • v i = ∑ i ∈ s, g i • v i → ∀ i ∈ s, f i = g i
theorem not_linearIndepOn_finset_iffₛ E1 #
∀ {ι : Type u'} {R : Type u_2} {M : Type u_4} {v : ι → M} [inst : Semiring R] [inst_1 : AddCommMonoid M]
[inst_2 : Module R M] {s : Finset ι},
¬LinearIndepOn R v ↑s ↔ ∃ f g, ∑ i ∈ s, f i • v i = ∑ i ∈ s, g i • v i ∧ ∃ i ∈ s, f i ≠ g i
theorem linearIndependent_iff_linearIndepOn_finset E1 #
∀ {ι : Type u'} {R : Type u_2} {M : Type u_4} {v : ι → M} [inst : Semiring R] [inst_1 : AddCommMonoid M]
[inst_2 : Module R M], LinearIndependent R v ↔ ∀ (s : Finset ι), LinearIndepOn R v ↑s
A family is linearly independent if and only if all of its finite subfamily is linearly independent.
theorem linearIndepOn_iff_linearIndepOn_finset E1 #
∀ {ι : Type u'} {R : Type u_2} {s : Set ι} {M : Type u_4} {v : ι → M} [inst : Semiring R] [inst_1 : AddCommMonoid M]
[inst_2 : Module R M], LinearIndepOn R v s ↔ ∀ (t : Finset ι), ↑t ⊆ s → LinearIndepOn R v ↑t
theorem LinearIndependent.of_comp E1 #
∀ {ι : Type u'} {R : Type u_2} {M : Type u_4} {M' : Type u_5} {v : ι → M} [inst : Semiring R] [inst_1 : AddCommMonoid M]
[inst_2 : AddCommMonoid M'] [inst_3 : Module R M] [inst_4 : Module R M'] (f : M →ₗ[R] M'),
LinearIndependent R (⇑f ∘ v) → LinearIndependent R v
If the image of a family of vectors under a linear map is linearly independent, then so is the original family.
theorem LinearIndepOn.of_comp E1 #
∀ {ι : Type u'} {R : Type u_2} {s : Set ι} {M : Type u_4} {M' : Type u_5} {v : ι → M} [inst : Semiring R]
[inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M'] [inst_3 : Module R M] [inst_4 : Module R M'] (f : M →ₗ[R] M'),
LinearIndepOn R (⇑f ∘ v) s → LinearIndepOn R v s
theorem LinearIndependent.of_linearIndependent_subset E1 #
∀ {ι : Type u'} {ι' : Type u_1} {R : Type u_2} [inst : Semiring R] (s : Set ι') {v : ι → ι' → R},
(LinearIndependent R fun i j ↦ v i ↑j) → LinearIndependent R v
theorem LinearMap.linearIndependent_iff_of_injOn E1 #
∀ {ι : Type u'} {R : Type u_2} {M : Type u_4} {M' : Type u_5} {v : ι → M} [inst : Semiring R] [inst_1 : AddCommMonoid M]
[inst_2 : AddCommMonoid M'] [inst_3 : Module R M] [inst_4 : Module R M'] (f : M →ₗ[R] M'),
Set.InjOn ⇑f ↑(Submodule.span R (Set.range v)) → (LinearIndependent R (⇑f ∘ v) ↔ LinearIndependent R v)
If f is a linear map injective on the span of the range of v, then the family f ∘ v
is linearly independent if and only if the family v is linearly independent.
See LinearMap.linearIndependent_iff_of_disjoint for the version with Set.InjOn replaced
by Disjoint when working over a ring.
theorem LinearMap.linearIndepOn_iff_of_injOn E1 #
∀ {ι : Type u'} {R : Type u_2} {s : Set ι} {M : Type u_4} {M' : Type u_5} {v : ι → M} [inst : Semiring R]
[inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M'] [inst_3 : Module R M] [inst_4 : Module R M'] (f : M →ₗ[R] M'),
Set.InjOn ⇑f ↑(Submodule.span R (v '' s)) → (LinearIndepOn R (⇑f ∘ v) s ↔ LinearIndepOn R v s)
theorem linearIndependent_of_subsingleton E1 #
∀ {ι : Type u'} {R : Type u_2} {M : Type u_4} {v : ι → M} [inst : Semiring R] [inst_1 : AddCommMonoid M]
[inst_2 : Module R M] [Subsingleton R], LinearIndependent R v
theorem LinearIndepOn.of_subsingleton E1 #
∀ {ι : Type u'} {R : Type u_2} {s : Set ι} {M : Type u_4} {v : ι → M} [inst : Semiring R] [inst_1 : AddCommMonoid M]
[inst_2 : Module R M] [Subsingleton R], LinearIndepOn R v s
theorem linearIndependent_equiv E1 #
∀ {ι : Type u'} {ι' : Type u_1} {R : Type u_2} {M : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M]
[inst_2 : Module R M] (e : ι ≃ ι') {f : ι' → M}, LinearIndependent R (f ∘ ⇑e) ↔ LinearIndependent R f
theorem linearIndependent_equiv' E1 #
∀ {ι : Type u'} {ι' : Type u_1} {R : Type u_2} {M : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M]
[inst_2 : Module R M] (e : ι ≃ ι') {f : ι' → M} {g : ι → M},
f ∘ ⇑e = g → (LinearIndependent R g ↔ LinearIndependent R f)
theorem linearIndepOn_equiv E1 #
∀ {ι : Type u'} {ι' : Type u_1} {R : Type u_2} {M : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M]
[inst_2 : Module R M] (e : ι ≃ ι') {f : ι' → M} {s : Set ι}, LinearIndepOn R (f ∘ ⇑e) s ↔ LinearIndepOn R f (⇑e '' s)
theorem linearIndepOn_univ_iff E0 #
∀ {ι : Type u'} {R : Type u_2} {M : Type u_4} {v : ι → M} [inst : Semiring R] [inst_1 : AddCommMonoid M]
[inst_2 : Module R M], LinearIndepOn R v Set.univ ↔ LinearIndependent R v
theorem LinearIndependent.linearIndepOn_univ E1 #
∀ {ι : Type u'} {R : Type u_2} {M : Type u_4} {v : ι → M} [inst : Semiring R] [inst_1 : AddCommMonoid M]
[inst_2 : Module R M], LinearIndependent R v → LinearIndepOn R v Set.univ
Alias of the reverse direction of linearIndepOn_univ_iff.
theorem LinearIndependent.linearIndepOn E1 #
∀ {ι : Type u'} {R : Type u_2} {M : Type u_4} {v : ι → M} [inst : Semiring R] [inst_1 : AddCommMonoid M]
[inst_2 : Module R M], LinearIndependent R v → ∀ (s : Set ι), LinearIndepOn R v s
theorem linearIndepOn_iff_image E1 #
∀ {R : Type u_2} {M : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {ι : Type u_6}
{s : Set ι} {f : ι → M}, Set.InjOn f s → (LinearIndepOn R f s ↔ LinearIndepOn R id (f '' s))
theorem linearIndepOn_range_iff E0 #
∀ {ι' : Type u_1} {R : Type u_2} {M : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
{ι : Type u_6} {f : ι → ι'},
Function.Injective f → ∀ (g : ι' → M), LinearIndepOn R g (Set.range f) ↔ LinearIndependent R (g ∘ f)
theorem LinearIndependent.of_linearIndepOn_range E1 #
∀ {ι' : Type u_1} {R : Type u_2} {M : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
{ι : Type u_6} {f : ι → ι'},
Function.Injective f → ∀ (g : ι' → M), LinearIndepOn R g (Set.range f) → LinearIndependent R (g ∘ f)
Alias of the forward direction of linearIndepOn_range_iff.
theorem linearIndepOn_id_range_iff E0 #
∀ {R : Type u_2} {M : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {ι : Type u_6}
{f : ι → M}, Function.Injective f → (LinearIndepOn R id (Set.range f) ↔ LinearIndependent R f)
theorem LinearIndependent.of_linearIndepOn_id_range E1 #
∀ {R : Type u_2} {M : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {ι : Type u_6}
{f : ι → M}, Function.Injective f → LinearIndepOn R id (Set.range f) → LinearIndependent R f
Alias of the forward direction of linearIndepOn_id_range_iff.
theorem LinearIndependent.linearIndepOn_id E1 #
∀ {ι : Type u'} {R : Type u_2} {M : Type u_4} {v : ι → M} [inst : Semiring R] [inst_1 : AddCommMonoid M]
[inst_2 : Module R M], LinearIndependent R v → LinearIndepOn R id (Set.range v)
theorem LinearIndependent.linearIndepOn_id' E1 #
∀ {ι : Type u'} {R : Type u_2} {M : Type u_4} {v : ι → M} [inst : Semiring R] [inst_1 : AddCommMonoid M]
[inst_2 : Module R M], LinearIndependent R v → ∀ {t : Set M}, Set.range v = t → LinearIndepOn R id t
A version of LinearIndependent.linearIndepOn_id with the set range equality as a hypothesis.
theorem linearIndepOn_iffₛ E1 #
∀ {ι : Type u'} {R : Type u_2} {s : Set ι} {M : Type u_4} {v : ι → M} [inst : Semiring R] [inst_1 : AddCommMonoid M]
[inst_2 : Module R M],
LinearIndepOn R v s ↔
∀ f ∈ Finsupp.supported R R s,
∀ g ∈ Finsupp.supported R R s, (Finsupp.linearCombination R v) f = (Finsupp.linearCombination R v) g → f = g
theorem linearDepOn_iff'ₛ E1 #
∀ {ι : Type u'} {R : Type u_2} {s : Set ι} {M : Type u_4} {v : ι → M} [inst : Semiring R] [inst_1 : AddCommMonoid M]
[inst_2 : Module R M],
¬LinearIndepOn R v s ↔
∃ f g,
f ∈ Finsupp.supported R R s ∧
g ∈ Finsupp.supported R R s ∧ (Finsupp.linearCombination R v) f = (Finsupp.linearCombination R v) g ∧ f ≠ g
An indexed set of vectors is linearly dependent iff there are two distinct
Finsupp.LinearCombinations of the vectors with the same value.
theorem linearDepOn_iffₛ E1 #
∀ {ι : Type u'} {R : Type u_2} {s : Set ι} {M : Type u_4} {v : ι → M} [inst : Semiring R] [inst_1 : AddCommMonoid M]
[inst_2 : Module R M],
¬LinearIndepOn R v s ↔
∃ f g,
f ∈ Finsupp.supported R R s ∧
g ∈ Finsupp.supported R R s ∧ ∑ i ∈ f.support, f i • v i = ∑ i ∈ g.support, g i • v i ∧ f ≠ g
A version of linearDepOn_iff'ₛ with Finsupp.linearCombination unfolded.
theorem linearIndependent_restrict_iff E0 #
∀ {ι : Type u'} {R : Type u_2} {s : Set ι} {M : Type u_4} {v : ι → M} [inst : Semiring R] [inst_1 : AddCommMonoid M]
[inst_2 : Module R M], LinearIndependent (ι := ↑s) R (s.domRestrict v) ↔ LinearIndepOn R v s
theorem LinearIndepOn.linearIndependent_restrict E1 #
∀ {ι : Type u'} {R : Type u_2} {s : Set ι} {M : Type u_4} {v : ι → M} [inst : Semiring R] [inst_1 : AddCommMonoid M]
[inst_2 : Module R M], LinearIndepOn R v s → LinearIndependent (ι := ↑s) R (s.domRestrict v)
theorem linearIndepOn_iff_linearCombinationOnₛ E1 #
∀ {ι : Type u'} {R : Type u_2} {s : Set ι} {M : Type u_4} {v : ι → M} [inst : Semiring R] [inst_1 : AddCommMonoid M]
[inst_2 : Module R M], LinearIndepOn R v s ↔ Function.Injective ⇑(Finsupp.linearCombinationOn ι M R v s)
def LinearIndependent.linearCombinationEquiv E1 #
{ι : Type u'} →
{R : Type u_2} →
{M : Type u_4} →
{v : ι → M} →
[inst : Semiring R] →
[inst_1 : AddCommMonoid M] →
[inst_2 : Module R M] → LinearIndependent R v → (ι →₀ R) ≃ₗ[R] ↥(Submodule.span R (Set.range v))
Canonical isomorphism between linear combinations and the span of linearly independent vectors.
theorem LinearIndependent.linearCombinationEquiv_apply_coe E0 #
∀ {ι : Type u'} {R : Type u_2} {M : Type u_4} {v : ι → M} [inst : Semiring R] [inst_1 : AddCommMonoid M]
[inst_2 : Module R M] (hv : LinearIndependent R v) (x : ι →₀ R),
↑(hv.linearCombinationEquiv x) = (Finsupp.linearCombination R v) x
theorem LinearIndependent.linearCombinationEquiv_symm_apply E0 #
∀ {ι : Type u'} {R : Type u_2} {M : Type u_4} {v : ι → M} [inst : Semiring R] [inst_1 : AddCommMonoid M]
[inst_2 : Module R M] (hv : LinearIndependent R v) (a : ↥(Submodule.span R (Set.range v))),
hv.linearCombinationEquiv.symm a =
((LinearEquiv.ofInjective (LinearMap.codRestrict (Submodule.span R (Set.range v)) (Finsupp.linearCombination R v) ⋯)
⋯).toEquiv.trans
(LinearEquiv.ofTop
(LinearMap.codRestrict (Submodule.span R (Set.range v)) (Finsupp.linearCombination R v) ⋯).range
⋯).toEquiv).invFun
a
def LinearIndependent.repr E1 #
{ι : Type u'} →
{R : Type u_2} →
{M : Type u_4} →
{v : ι → M} →
[inst : Semiring R] →
[inst_1 : AddCommMonoid M] →
[inst_2 : Module R M] → LinearIndependent R v → ↥(Submodule.span R (Set.range v)) →ₗ[R] ι →₀ R
Linear combination representing a vector in the span of linearly independent vectors.
Given a family of linearly independent vectors, we can represent any vector in their span as
a linear combination of these vectors. These are provided by this linear map.
It is simply one direction of LinearIndependent.linearCombinationEquiv.
theorem LinearIndependent.linearCombination_repr E0 #
∀ {ι : Type u'} {R : Type u_2} {M : Type u_4} {v : ι → M} [inst : Semiring R] [inst_1 : AddCommMonoid M]
[inst_2 : Module R M] (hv : LinearIndependent R v) (x : ↥(Submodule.span R (Set.range v))),
(Finsupp.linearCombination R v) (hv.repr x) = ↑x
theorem LinearIndependent.linearCombination_comp_repr E1 #
∀ {ι : Type u'} {R : Type u_2} {M : Type u_4} {v : ι → M} [inst : Semiring R] [inst_1 : AddCommMonoid M]
[inst_2 : Module R M] (hv : LinearIndependent R v),
Finsupp.linearCombination R v ∘ₗ hv.repr = (Submodule.span R (Set.range v)).subtype
theorem LinearIndependent.repr_ker E1 #
∀ {ι : Type u'} {R : Type u_2} {M : Type u_4} {v : ι → M} [inst : Semiring R] [inst_1 : AddCommMonoid M]
[inst_2 : Module R M] (hv : LinearIndependent R v), hv.repr.ker = ⊥
theorem LinearIndependent.repr_range E1 #
∀ {ι : Type u'} {R : Type u_2} {M : Type u_4} {v : ι → M} [inst : Semiring R] [inst_1 : AddCommMonoid M]
[inst_2 : Module R M] (hv : LinearIndependent R v), hv.repr.range = ⊤
theorem LinearIndependent.repr_eq E0 #
∀ {ι : Type u'} {R : Type u_2} {M : Type u_4} {v : ι → M} [inst : Semiring R] [inst_1 : AddCommMonoid M]
[inst_2 : Module R M] (hv : LinearIndependent R v) {l : ι →₀ R} {x : ↥(Submodule.span R (Set.range v))},
(Finsupp.linearCombination R v) l = ↑x → hv.repr x = l
theorem LinearIndependent.repr_eq_single E1 #
∀ {ι : Type u'} {R : Type u_2} {M : Type u_4} {v : ι → M} [inst : Semiring R] [inst_1 : AddCommMonoid M]
[inst_2 : Module R M] (hv : LinearIndependent R v) (i : ι) (x : ↥(Submodule.span R (Set.range v))),
↑x = v i → hv.repr x = fun₀ | i => 1
theorem LinearIndependent.span_repr_eq E0 #
∀ {ι : Type u'} {R : Type u_2} {M : Type u_4} {v : ι → M} [inst : Semiring R] [inst_1 : AddCommMonoid M]
[inst_2 : Module R M] (hv : LinearIndependent R v) [inst_3 : Nontrivial R] (x : ↥(Submodule.span R (Set.range v))),
Span.repr R (Set.range v) x = Finsupp.equivMapDomain (Equiv.ofInjective v ⋯) (hv.repr x)
theorem LinearIndependent.notMem_span E1 #
∀ {ι : Type u'} {R : Type u_2} {M : Type u_4} {v : ι → M} [inst : Semiring R] [inst_1 : AddCommMonoid M]
[inst_2 : Module R M] [Nontrivial R], LinearIndependent R v → ∀ (i : ι), v i ∉ Submodule.span R (v '' {i}ᶜ)
theorem LinearIndepOn.notMem_span E1 #
∀ {ι : Type u'} {R : Type u_2} {s : Set ι} {M : Type u_4} {v : ι → M} [inst : Semiring R] [inst_1 : AddCommMonoid M]
[inst_2 : Module R M] {i : ι} [Nontrivial R], LinearIndepOn R v s → i ∈ s → v i ∉ Submodule.span R (v '' (s \ {i}))
theorem LinearIndepOn.notMem_span_of_insert E1 #
∀ {ι : Type u'} {R : Type u_2} {s : Set ι} {M : Type u_4} {v : ι → M} [inst : Semiring R] [inst_1 : AddCommMonoid M]
[inst_2 : Module R M] {i : ι} [Nontrivial R], LinearIndepOn R v (insert i s) → i ∉ s → v i ∉ Submodule.span R (v '' s)
def LinearIndependent.Maximal E3 #
{ι : Type w} →
{R : Type u} →
[inst : Semiring R] →
{M : Type v} → [inst_1 : AddCommMonoid M] → [inst_2 : Module R M] → {v : ι → M} → LinearIndependent R v → Prop
A linearly independent family is maximal if there is no strictly larger linearly independent family.
theorem LinearIndependent.maximal_iff E0 #
∀ {ι : Type w} {R : Type u} [inst : Semiring R] [Nontrivial R] {M : Type v} [inst_2 : AddCommMonoid M]
[inst_3 : Module R M] {v : ι → M} (i : LinearIndependent R v),
i.Maximal ↔ ∀ (κ : Type v) (w : κ → M), LinearIndependent R w → ∀ (j : ι → κ), w ∘ j = v → Function.Surjective j
An alternative characterization of a maximal linearly independent family,
quantifying over types (in the same universe as M) into which the indexing family injects.
theorem linearIndependent_iffₒₛ E1 #
∀ {ι : Type u'} {R : Type u_2} {M : Type u_4} {v : ι → M} [inst : Semiring R] [inst_1 : AddCommMonoid M]
[inst_2 : Module R M] [inst_3 : LinearOrder R] [CanonicallyOrderedAdd R] [AddRightReflectLE R] [IsCancelAdd M],
LinearIndependent R v ↔
∀ (s t : Finset ι) (f : ι → R),
Disjoint s t → ∑ i ∈ s, f i • v i = ∑ i ∈ t, f i • v i → (∀ i ∈ s, f i = 0) ∧ ∀ i ∈ t, f i = 0
theorem not_linearIndependent_iffₒₛ E1 #
∀ {ι : Type u'} {R : Type u_2} {M : Type u_4} {v : ι → M} [inst : Semiring R] [inst_1 : AddCommMonoid M]
[inst_2 : Module R M] [inst_3 : LinearOrder R] [CanonicallyOrderedAdd R] [AddRightReflectLE R] [IsCancelAdd M],
¬LinearIndependent R v ↔ ∃ s t f, Disjoint s t ∧ ∑ i ∈ s, f i • v i = ∑ i ∈ t, f i • v i ∧ ∃ i ∈ s, 0 < f i
theorem Fintype.linearIndependent_iffₒₛ E1 #
∀ {ι : Type u'} {R : Type u_2} {M : Type u_4} {v : ι → M} [inst : Semiring R] [inst_1 : AddCommMonoid M]
[inst_2 : Module R M] [inst_3 : LinearOrder R] [CanonicallyOrderedAdd R] [AddRightReflectLE R] [IsCancelAdd M]
[inst_7 : DecidableEq ι] [inst_8 : Fintype ι],
LinearIndependent R v ↔ ∀ (t : Finset ι) (f : ι → R), ∑ i ∈ t, f i • v i = ∑ i ∈ tᶜ, f i • v i → ∀ (i : ι), f i = 0
theorem Fintype.not_linearIndependent_iffₒₛ E1 #
∀ {ι : Type u'} {R : Type u_2} {M : Type u_4} {v : ι → M} [inst : Semiring R] [inst_1 : AddCommMonoid M]
[inst_2 : Module R M] [inst_3 : LinearOrder R] [CanonicallyOrderedAdd R] [AddRightReflectLE R] [IsCancelAdd M]
[inst_7 : DecidableEq ι] [inst_8 : Fintype ι],
¬LinearIndependent R v ↔ ∃ t f, ∑ i ∈ t, f i • v i = ∑ i ∈ tᶜ, f i • v i ∧ ∃ i ∈ t, 0 < f i
theorem linearIndepOn_finset_iffₒₛ E1 #
∀ {ι : Type u'} {R : Type u_2} {M : Type u_4} {v : ι → M} [inst : Semiring R] [inst_1 : AddCommMonoid M]
[inst_2 : Module R M] [inst_3 : LinearOrder R] [CanonicallyOrderedAdd R] [AddRightReflectLE R] [IsCancelAdd M]
[inst_7 : DecidableEq ι] {s : Finset ι},
LinearIndepOn R v ↑s ↔ ∀ t ⊆ s, ∀ (f : ι → R), ∑ i ∈ t, f i • v i = ∑ i ∈ s \ t, f i • v i → ∀ i ∈ s, f i = 0
theorem not_linearIndepOn_finset_iffₒₛ E1 #
∀ {ι : Type u'} {R : Type u_2} {M : Type u_4} {v : ι → M} [inst : Semiring R] [inst_1 : AddCommMonoid M]
[inst_2 : Module R M] [inst_3 : LinearOrder R] [CanonicallyOrderedAdd R] [AddRightReflectLE R] [IsCancelAdd M]
[inst_7 : DecidableEq ι] {s : Finset ι},
¬LinearIndepOn R v ↑s ↔ ∃ t ⊆ s, ∃ f, ∑ i ∈ t, f i • v i = ∑ i ∈ s \ t, f i • v i ∧ ∃ i ∈ t, 0 < f i
theorem LinearIndependent.neg E1 #
∀ {ι : Type u'} {R : Type u_2} {M : Type u_4} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M]
{v : ι → M}, LinearIndependent R v → LinearIndependent R (-v)
theorem linearIndependent_neg_iff E0 #
∀ {ι : Type u'} {R : Type u_2} {M : Type u_4} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M]
{v : ι → M}, LinearIndependent R (-v) ↔ LinearIndependent R v
theorem linearIndependent_iff_ker E1 #
∀ {ι : Type u'} {R : Type u_2} {M : Type u_4} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M]
{v : ι → M}, LinearIndependent R v ↔ (Finsupp.linearCombination R v).ker = ⊥
theorem linearIndependent_iff E0 #
∀ {ι : Type u'} {R : Type u_2} {M : Type u_4} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M]
{v : ι → M}, LinearIndependent R v ↔ ∀ (l : ι →₀ R), (Finsupp.linearCombination R v) l = 0 → l = 0
theorem linearIndependent_iff' E1 #
∀ {ι : Type u'} {R : Type u_2} {M : Type u_4} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M]
{v : ι → M}, LinearIndependent R v ↔ ∀ (s : Finset ι) (g : ι → R), ∑ i ∈ s, g i • v i = 0 → ∀ i ∈ s, g i = 0
A version of linearIndependent_iff where the linear combination is a Finset sum.
theorem linearIndependent_iff'' E1 #
∀ {ι : Type u'} {R : Type u_2} {M : Type u_4} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M]
{v : ι → M},
LinearIndependent R v ↔ ∀ (s : Finset ι) (g : ι → R), (∀ i ∉ s, g i = 0) → ∑ i ∈ s, g i • v i = 0 → ∀ (i : ι), g i = 0
A version of linearIndependent_iff where the linear combination is a Finset sum
of a function with support contained in the Finset.
theorem linearIndependent_add_smul_iff E0 #
∀ {ι : Type u'} {R : Type u_2} {M : Type u_4} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M]
{v : ι → M} {c : ι → R} {i : ι}, c i = 0 → (LinearIndependent R (v + fun x ↦ c x • v i) ↔ LinearIndependent R v)
theorem not_linearIndependent_iff_linearCombination E1 #
∀ {ι : Type u'} {R : Type u_2} {M : Type u_4} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M]
{v : ι → M}, ¬LinearIndependent R v ↔ ∃ l, (Finsupp.linearCombination R v) l = 0 ∧ l ≠ 0
theorem not_linearIndependent_iff_finsupp E1 #
∀ {ι : Type u'} {R : Type u_2} {M : Type u_4} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M]
{v : ι → M}, ¬LinearIndependent R v ↔ ∃ f, (f.sum fun x r ↦ r • v x) = 0 ∧ f ≠ 0
theorem not_linearIndependent_iff E0 #
∀ {ι : Type u'} {R : Type u_2} {M : Type u_4} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M]
{v : ι → M}, ¬LinearIndependent R v ↔ ∃ s g, ∑ i ∈ s, g i • v i = 0 ∧ ∃ i ∈ s, g i ≠ 0
theorem Fintype.linearIndependent_iff E3 #
∀ {ι : Type u'} {R : Type u_2} {M : Type u_4} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M]
{v : ι → M} [inst_3 : Fintype ι], LinearIndependent R v ↔ ∀ (g : ι → R), ∑ i, g i • v i = 0 → ∀ (i : ι), g i = 0
theorem Fintype.not_linearIndependent_iff E0 #
∀ {ι : Type u'} {R : Type u_2} {M : Type u_4} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M]
{v : ι → M} [inst_3 : Fintype ι], ¬LinearIndependent R v ↔ ∃ g, ∑ i, g i • v i = 0 ∧ ∃ i, g i ≠ 0
theorem linearIndepOn_finset_iff E0 #
∀ {ι : Type u'} {R : Type u_2} {M : Type u_4} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M]
{v : ι → M} {s : Finset ι}, LinearIndepOn R v ↑s ↔ ∀ (f : ι → R), ∑ i ∈ s, f i • v i = 0 → ∀ i ∈ s, f i = 0
theorem not_linearIndepOn_finset_iff E0 #
∀ {ι : Type u'} {R : Type u_2} {M : Type u_4} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M]
{v : ι → M} {s : Finset ι}, ¬LinearIndepOn R v ↑s ↔ ∃ f, ∑ i ∈ s, f i • v i = 0 ∧ ∃ i ∈ s, f i ≠ 0
theorem LinearMap.linearIndependent_iff_of_disjoint E1 #
∀ {ι : Type u'} {R : Type u_2} {M : Type u_4} {M' : Type u_5} [inst : Ring R] [inst_1 : AddCommGroup M]
[inst_2 : AddCommGroup M'] [inst_3 : Module R M] [inst_4 : Module R M'] {v : ι → M} (f : M →ₗ[R] M'),
Disjoint (Submodule.span R (Set.range v)) f.ker → (LinearIndependent R (⇑f ∘ v) ↔ LinearIndependent R v)
If the kernel of a linear map is disjoint from the span of a family of vectors, then the family is linearly independent iff it is linearly independent after composing with the linear map.
theorem linearIndepOn_iff E0 #
∀ {ι : Type u'} {R : Type u_2} {s : Set ι} {M : Type u_4} [inst : Ring R] [inst_1 : AddCommGroup M]
[inst_2 : Module R M] {v : ι → M},
LinearIndepOn R v s ↔ ∀ l ∈ Finsupp.supported R R s, (Finsupp.linearCombination R v) l = 0 → l = 0
theorem linearDepOn_iff' E1 #
∀ {ι : Type u'} {R : Type u_2} {s : Set ι} {M : Type u_4} [inst : Ring R] [inst_1 : AddCommGroup M]
[inst_2 : Module R M] {v : ι → M},
¬LinearIndepOn R v s ↔ ∃ f ∈ Finsupp.supported R R s, (Finsupp.linearCombination R v) f = 0 ∧ f ≠ 0
An indexed set of vectors is linearly dependent iff there is a nontrivial
Finsupp.linearCombination of the vectors that is zero.
theorem linearDepOn_iff E0 #
∀ {ι : Type u'} {R : Type u_2} {s : Set ι} {M : Type u_4} [inst : Ring R] [inst_1 : AddCommGroup M]
[inst_2 : Module R M] {v : ι → M},
¬LinearIndepOn R v s ↔ ∃ f ∈ Finsupp.supported R R s, ∑ i ∈ f.support, f i • v i = 0 ∧ f ≠ 0
A version of linearDepOn_iff' with Finsupp.linearCombination unfolded.
theorem linearIndepOn_iff_disjoint E1 #
∀ {ι : Type u'} {R : Type u_2} {s : Set ι} {M : Type u_4} [inst : Ring R] [inst_1 : AddCommGroup M]
[inst_2 : Module R M] {v : ι → M},
LinearIndepOn R v s ↔ Disjoint (Finsupp.supported R R s) (Finsupp.linearCombination R v).ker
theorem linearIndepOn_iff_linearCombinationOn E1 #
∀ {ι : Type u'} {R : Type u_2} {s : Set ι} {M : Type u_4} [inst : Ring R] [inst_1 : AddCommGroup M]
[inst_2 : Module R M] {v : ι → M}, LinearIndepOn R v s ↔ (Finsupp.linearCombinationOn ι M R v s).ker = ⊥
theorem linearIndepOn_iff' E1 #
∀ {ι : Type u'} {R : Type u_2} {s : Set ι} {M : Type u_4} [inst : Ring R] [inst_1 : AddCommGroup M]
[inst_2 : Module R M] {v : ι → M},
LinearIndepOn R v s ↔ ∀ (t : Finset ι) (g : ι → R), ↑t ⊆ s → ∑ i ∈ t, g i • v i = 0 → ∀ i ∈ t, g i = 0
A version of linearIndepOn_iff where the linear combination is a Finset sum.
theorem linearIndepOn_iff'' E1 #
∀ {ι : Type u'} {R : Type u_2} {s : Set ι} {M : Type u_4} [inst : Ring R] [inst_1 : AddCommGroup M]
[inst_2 : Module R M] {v : ι → M},
LinearIndepOn R v s ↔
∀ (t : Finset ι) (g : ι → R), ↑t ⊆ s → (∀ i ∉ t, g i = 0) → ∑ i ∈ t, g i • v i = 0 → ∀ i ∈ t, g i = 0
A version of linearIndepOn_iff where the linear combination is a Finset sum
of a function with support contained in the Finset.
theorem linearIndependent_iff_eq_zero_of_smul_mem_span E1 #
∀ {ι : Type u'} {R : Type u_2} {M : Type u_4} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M]
{v : ι → M}, LinearIndependent R v ↔ ∀ (i : ι) (a : R), a • v i ∈ Submodule.span R (v '' (Set.univ \ {i})) → a = 0
theorem LinearIndependent.of_subsingleton' E1 #
∀ {ι : Type u'} {R : Type u_2} {M : Type u_4} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M]
{v : ι → M} [Subsingleton ι] (i : ι), (∀ (r : R), r • v i = 0 → r = 0) → LinearIndependent R v
Version of LinearIndependent.of_subsingleton that works for the zero ring.
theorem LinearIndepOn.singleton' E0 #
∀ {ι : Type u'} {R : Type u_2} {M : Type u_4} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M]
{v : ι → M} {i : ι}, (∀ (r : R), r • v i = 0 → r = 0) → LinearIndepOn R v {i}
Version of LinearIndepOn.singleton that works for the zero ring.
theorem LinearIndependent.of_subsingleton E1 #
∀ {ι : Type u'} {R : Type u_2} {M : Type u_4} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M]
{v : ι → M} [IsDomain R] [Module.IsTorsionFree R M] [Subsingleton ι] (i : ι), v i ≠ 0 → LinearIndependent R v
theorem LinearIndepOn.singleton E1 #
∀ {ι : Type u'} {R : Type u_2} {M : Type u_4} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M]
{v : ι → M} {i : ι} [IsDomain R] [Module.IsTorsionFree R M], v i ≠ 0 → LinearIndepOn R v {i}
theorem linearIndependent_iff_notMem_span E1 #
∀ {ι : Type u'} {K : Type u_3} {V : Type u} [inst : DivisionRing K] [inst_1 : AddCommGroup V] [inst_2 : Module K V]
{v : ι → V}, LinearIndependent K v ↔ ∀ (i : ι), v i ∉ Submodule.span K (v '' (Set.univ \ {i}))
theorem linearIndepOn_iff_notMem_span E1 #
∀ {ι : Type u'} {K : Type u_3} {V : Type u} [inst : DivisionRing K] [inst_1 : AddCommGroup V] [inst_2 : Module K V]
{v : ι → V} {s : Set ι}, LinearIndepOn K v s ↔ ∀ i ∈ s, v i ∉ Submodule.span K (v '' (s \ {i}))
Deprecated aliases
| Name | New name | Since |
|---|---|---|
linearIndependent_iff_finset_linearIndependent | linearIndependent_iff_linearIndepOn_finset | 2026-11-23 |