The areas / V07. Linear algebra
Mathlib.LinearAlgebra.Basis.Submodule
13 declarations. Mathlib docs · Source
theorem Module.Basis.addSubgroupOfClosure.congr_simp E1 #
∀ {M : Type u_4} {R : Type u_5} [inst : Ring R] [inst_1 : Nontrivial R] [inst_2 : HasUniqueDiv R]
[inst_3 : AddCommGroup M] [inst_4 : Module R M] (A : AddSubgroup M) {ι : Type u_6} (b b_1 : Module.Basis ι R M)
(e_b : b = b_1) (h : A = AddSubgroup.closure (Set.range ⇑b)),
Module.Basis.addSubgroupOfClosure A b h = Module.Basis.addSubgroupOfClosure A b_1 ⋯
theorem Module.Basis.restrictScalars.congr_simp E1 #
∀ {ι : Type u_1} (R : Type u_2) {M : Type u_3} {S : Type u_4} [inst : CommRing R] [inst_1 : IsDomain R]
[inst_2 : Ring S] [inst_3 : Nontrivial S] [inst_4 : AddCommGroup M] [inst_5 : Algebra R S] [inst_6 : Module S M]
[inst_7 : Module R M] [inst_8 : IsScalarTower R S M] [inst_9 : Module.IsTorsionFree R S] (b : Module.Basis ι S M),
Module.Basis.restrictScalars R b = Module.Basis.restrictScalars R b
theorem Module.Basis.mem_submodule_iff E0 #
∀ {ι : Type u_1} {R : Type u_2} {M : Type u_3} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
{P : Submodule R M} (b : Module.Basis ι R ↥P) {x : M}, x ∈ P ↔ ∃ c, x = c.sum fun i x ↦ x • ↑(b i)
If the submodule P has a basis, x ∈ P iff it is a linear combination of basis vectors.
theorem Module.Basis.mem_submodule_iff' E0 #
∀ {ι : Type u_1} {R : Type u_2} {M : Type u_3} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
[inst_3 : Fintype ι] {P : Submodule R M} (b : Module.Basis ι R ↥P) {x : M}, x ∈ P ↔ ∃ c, x = ∑ i, c i • ↑(b i)
If the submodule P has a finite basis,
x ∈ P iff it is a linear combination of basis vectors.
def Submodule.inductionOnRankAux E0 #
{ι : Type u_1} →
{R : Type u_2} →
{M : Type u_3} →
[inst : Ring R] →
[IsDomain R] →
[inst_2 : AddCommGroup M] →
[inst_3 : Module R M] →
Module.Basis ι R M →
(P : Submodule R M → Sort u_4) →
((N : Submodule R M) →
((N' : Submodule R M) →
N' ≤ N → (x : M) → x ∈ N → (∀ (c : R), ∀ y ∈ N', c • x + y = 0 → c = 0) → P N') →
P N) →
(n : ℕ) →
(N : Submodule R M) →
(∀ {m : ℕ} (v : Fin m → ↥N), LinearIndependent R (Subtype.val ∘ v) → m ≤ n) → P N
If N is a submodule with finite rank, do induction on adjoining a linear independent
element to a submodule.
theorem Module.Basis.mem_center_iff E0 #
∀ {ι : Type u_1} {R : Type u_2} {A : Type u_4} [inst : Semiring R] [inst_1 : NonUnitalNonAssocSemiring A]
[inst_2 : Module R A] [SMulCommClass R A A] [SMulCommClass R R A] [IsScalarTower R A A] (b : Module.Basis ι R A)
{z : A},
z ∈ Set.center A ↔
(∀ (i : ι), Commute (b i) z) ∧ ∀ (i j : ι), z * (b i * b j) = z * b i * b j ∧ b i * b j * z = b i * (b j * z)
An element of a non-unital-non-associative algebra is in the center exactly when it commutes with the basis elements.
def Module.Basis.restrictScalars E1 #
{ι : Type u_1} →
(R : Type u_2) →
{M : Type u_3} →
{S : Type u_4} →
[inst : CommRing R] →
[IsDomain R] →
[inst_2 : Ring S] →
[Nontrivial S] →
[inst_4 : AddCommGroup M] →
[inst_5 : Algebra R S] →
[inst_6 : Module S M] →
[inst_7 : Module R M] →
[IsScalarTower R S M] →
[Module.IsTorsionFree R S] →
(b : Module.Basis ι S M) → Module.Basis ι R ↥(Submodule.span R (Set.range ⇑b))
Let b be an S-basis of M. Let R be a CommRing such that Algebra R S has no zero smul
divisors, then the submodule of M spanned by b over R admits b as an R-basis.
theorem Module.Basis.restrictScalars_apply E0 #
∀ {ι : Type u_1} (R : Type u_2) {M : Type u_3} {S : Type u_4} [inst : CommRing R] [inst_1 : IsDomain R]
[inst_2 : Ring S] [inst_3 : Nontrivial S] [inst_4 : AddCommGroup M] [inst_5 : Algebra R S] [inst_6 : Module S M]
[inst_7 : Module R M] [inst_8 : IsScalarTower R S M] [inst_9 : Module.IsTorsionFree R S] (b : Module.Basis ι S M)
(i : ι), ↑((Module.Basis.restrictScalars R b) i) = b i
theorem Module.Basis.restrictScalars_repr_apply E0 #
∀ {ι : Type u_1} (R : Type u_2) {M : Type u_3} {S : Type u_4} [inst : CommRing R] [inst_1 : IsDomain R]
[inst_2 : Ring S] [inst_3 : Nontrivial S] [inst_4 : AddCommGroup M] [inst_5 : Algebra R S] [inst_6 : Module S M]
[inst_7 : Module R M] [inst_8 : IsScalarTower R S M] [inst_9 : Module.IsTorsionFree R S] (b : Module.Basis ι S M)
(m : ↥(Submodule.span R (Set.range ⇑b))) (i : ι),
(algebraMap R S) (((Module.Basis.restrictScalars R b).repr m) i) = (b.repr ↑m) i
theorem Module.Basis.mem_span_iff_repr_mem E0 #
∀ {ι : Type u_1} (R : Type u_2) {M : Type u_3} {S : Type u_4} [inst : CommRing R] [IsDomain R] [inst_2 : Ring S]
[Nontrivial S] [inst_4 : AddCommGroup M] [inst_5 : Algebra R S] [inst_6 : Module S M] [inst_7 : Module R M]
[IsScalarTower R S M] [Module.IsTorsionFree R S] (b : Module.Basis ι S M) (m : M),
m ∈ Submodule.span R (Set.range ⇑b) ↔ ∀ (i : ι), (b.repr m) i ∈ Set.range ⇑(algebraMap R S)
Let b be an S-basis of M. Then m : M lies in the R-module spanned by b iff all the
coordinates of m on the basis b are in R (see Basis.mem_span for the case R = S).
def Module.Basis.addSubgroupOfClosure E1 #
{M : Type u_4} →
{R : Type u_5} →
[inst : Ring R] →
[Nontrivial R] →
[HasUniqueDiv R] →
[inst_3 : AddCommGroup M] →
[inst_4 : Module R M] →
(A : AddSubgroup M) →
{ι : Type u_6} →
(b : Module.Basis ι R M) →
A = AddSubgroup.closure (Set.range ⇑b) → Module.Basis ι ℤ ↥(AddSubgroup.toIntSubmodule A)
Let A be a subgroup of an additive commutative group M that is also an R-module.
Construct a basis of A as a ℤ-basis from an R-basis of E that generates A.
theorem Module.Basis.addSubgroupOfClosure_apply E0 #
∀ {M : Type u_4} {R : Type u_5} [inst : Ring R] [inst_1 : Nontrivial R] [inst_2 : HasUniqueDiv R]
[inst_3 : AddCommGroup M] [inst_4 : Module R M] (A : AddSubgroup M) {ι : Type u_6} (b : Module.Basis ι R M)
(h : A = AddSubgroup.closure (Set.range ⇑b)) (i : ι), ↑((Module.Basis.addSubgroupOfClosure A b h) i) = b i
theorem Module.Basis.addSubgroupOfClosure_repr_apply E0 #
∀ {M : Type u_4} {R : Type u_5} [inst : Ring R] [inst_1 : Nontrivial R] [inst_2 : HasUniqueDiv R]
[inst_3 : AddCommGroup M] [inst_4 : Module R M] (A : AddSubgroup M) {ι : Type u_6} (b : Module.Basis ι R M)
(h : A = AddSubgroup.closure (Set.range ⇑b)) (x : ↥A) (i : ι),
↑(((Module.Basis.addSubgroupOfClosure A b h).repr x) i) = (b.repr ↑x) i