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.Dimension.OrzechProperty

10 declarations. Mathlib docs · Source

Bases of modules and the Orzech property

It is shown in this file that any spanning set of a module over a ring satisfying the Orzech property of cardinality not exceeding the rank of the module must be linearly independent, and therefore is a basis.

theorem linearIndependent_of_top_le_span_of_card_le_finrank E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [OrzechProperty R] [inst_2 : AddCommMonoid M] [inst_3 : Module R M]
  {ι : Type u_3} [inst_4 : Fintype ι] {b : ι → M},
  ⊤ ≤ Submodule.span R (Set.range b) → Fintype.card ι ≤ Module.finrank R M → LinearIndependent R b

theorem linearIndependent_of_top_le_span_of_card_eq_finrank E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [OrzechProperty R] [inst_2 : AddCommMonoid M] [inst_3 : Module R M]
  {ι : Type u_3} [inst_4 : Fintype ι] {b : ι → M},
  ⊤ ≤ Submodule.span R (Set.range b) → Fintype.card ι = Module.finrank R M → LinearIndependent R b

theorem linearIndependent_iff_card_eq_finrank_span E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [OrzechProperty R] [inst_2 : AddCommMonoid M] [inst_3 : Module R M]
  [Nontrivial R] {ι : Type u_3} [inst_5 : Fintype ι] {b : ι → M},
  LinearIndependent R b ↔ Fintype.card ι = Set.finrank R (Set.range b)

A finite family of vectors is linearly independent if and only if its cardinality equals the dimension of its span.

theorem linearIndependent_iff_card_le_finrank_span E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [OrzechProperty R] [inst_2 : AddCommMonoid M] [inst_3 : Module R M]
  [Nontrivial R] {ι : Type u_3} [inst_5 : Fintype ι] {b : ι → M},
  LinearIndependent R b ↔ Fintype.card ι ≤ Set.finrank R (Set.range b)

def basisOfTopLeSpanOfCardEqFinrank E1 #

{R : Type u_1} →
  {M : Type u_2} →
    [inst : Semiring R] →
      [OrzechProperty R] →
        [inst_2 : AddCommMonoid M] →
          [inst_3 : Module R M] →
            {ι : Type u_3} →
              [inst_4 : Fintype ι] →
                (b : ι → M) →
                  ⊤ ≤ Submodule.span R (Set.range b) → Fintype.card ι = Module.finrank R M → Module.Basis ι R M

A family of finrank R M vectors forms a basis if they span the whole space, provided R satisfies the Orzech property.

theorem coe_basisOfTopLeSpanOfCardEqFinrank E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : OrzechProperty R] [inst_2 : AddCommMonoid M]
  [inst_3 : Module R M] {ι : Type u_3} [inst_4 : Fintype ι] (b : ι → M) (le_span : ⊤ ≤ Submodule.span R (Set.range b))
  (card_eq : Fintype.card ι = Module.finrank R M), ⇑(basisOfTopLeSpanOfCardEqFinrank b le_span card_eq) = b

def finsetBasisOfTopLeSpanOfCardEqFinrank E1 #

{R : Type u_1} →
  {M : Type u_2} →
    [inst : Semiring R] →
      [OrzechProperty R] →
        [inst_2 : AddCommMonoid M] →
          [inst_3 : Module R M] →
            {s : Finset M} → ⊤ ≤ Submodule.span R ↑s → s.card = Module.finrank R M → Module.Basis (↥s) R M

A finset of finrank R M vectors forms a basis if they span the whole space, provided R satisfies the Orzech property.

theorem finsetBasisOfTopLeSpanOfCardEqFinrank_repr_apply E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : OrzechProperty R] [inst_2 : AddCommMonoid M]
  [inst_3 : Module R M] {s : Finset M} (le_span : ⊤ ≤ Submodule.span R ↑s) (card_eq : s.card = Module.finrank R M)
  (x : M),
  (finsetBasisOfTopLeSpanOfCardEqFinrank le_span card_eq).repr x =
    ⋯.repr ((LinearMap.codRestrict (Submodule.span R (Set.range Subtype.val)) LinearMap.id ⋯) x)

def setBasisOfTopLeSpanOfCardEqFinrank E1 #

{R : Type u_1} →
  {M : Type u_2} →
    [inst : Semiring R] →
      [OrzechProperty R] →
        [inst_2 : AddCommMonoid M] →
          [inst_3 : Module R M] →
            {s : Set M} →
              [inst_4 : Fintype ↑s] →
                ⊤ ≤ Submodule.span R s → s.toFinset.card = Module.finrank R M → Module.Basis (↑s) R M

A set of finrank R M vectors forms a basis if they span the whole space, provided R satisfies the Orzech property.

theorem setBasisOfTopLeSpanOfCardEqFinrank_repr_apply E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : OrzechProperty R] [inst_2 : AddCommMonoid M]
  [inst_3 : Module R M] {s : Set M} [inst_4 : Fintype ↑s] (le_span : ⊤ ≤ Submodule.span R s)
  (card_eq : s.toFinset.card = Module.finrank R M) (x : M),
  (setBasisOfTopLeSpanOfCardEqFinrank le_span card_eq).repr x =
    ⋯.repr ((LinearMap.codRestrict (Submodule.span R (Set.range Subtype.val)) LinearMap.id ⋯) x)