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.StrongRankCondition

68 declarations. Mathlib docs · Source

Lemmas about rank and finrank in rings satisfying strong rank condition.

Main statements

For modules over rings satisfying the rank condition

  • Basis.le_span: the cardinality of a basis is bounded by the cardinality of any spanning set

For modules over rings satisfying the strong rank condition

  • linearIndependent_le_span: For any linearly independent family v : ι → M and any finite spanning set w : Set M, the cardinality of ι is bounded by the cardinality of w.
  • linearIndependent_le_basis: If b is a basis for a module M, and s is a linearly independent set, then the cardinality of s is bounded by the cardinality of b.

For modules over rings with invariant basis number (including all commutative rings and all Noetherian rings)

  • mk_eq_mk_of_basis: the dimension theorem, any two bases of the same vector space have the same cardinality.

Additional definition

  • Algebra.IsQuadraticExtension: An extension of rings R ⊆ S is quadratic if S is a free R-algebra of rank 2.

theorem mk_eq_mk_of_basis E3 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {ι : Type w}
  {ι' : Type w'} [InvariantBasisNumber R] (v : Module.Basis ι R M) (v' : Module.Basis ι' R M),
  Cardinal.lift.{w', w} (Cardinal.mk ι) = Cardinal.lift.{w, w'} (Cardinal.mk ι')

The dimension theorem: if v and v' are two bases, their index types have the same cardinalities.

def Module.Basis.indexEquiv E1 #

{R : Type u} →
  {M : Type v} →
    [inst : Semiring R] →
      [inst_1 : AddCommMonoid M] →
        [inst_2 : Module R M] →
          {ι : Type w} → {ι' : Type w'} → [InvariantBasisNumber R] → Module.Basis ι R M → Module.Basis ι' R M → ι ≃ ι'

Given two bases indexed by ι and ι' of an R-module, where R satisfies the invariant basis number property, an equiv ι ≃ ι'.

theorem mk_eq_mk_of_basis' E1 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {ι : Type w}
  [InvariantBasisNumber R] {ι' : Type w} (v : Module.Basis ι R M) (v' : Module.Basis ι' R M),
  Cardinal.mk ι = Cardinal.mk ι'

theorem Basis.le_span'' E1 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] [RankCondition R]
  {ι : Type u_2} [inst_4 : Fintype ι] (b : Module.Basis ι R M) {w : Set M} [inst_5 : Fintype ↑w],
  Submodule.span R w = ⊤ → Fintype.card ι ≤ Fintype.card ↑w

An auxiliary lemma for Basis.le_span.

If R satisfies the rank condition, then for any finite basis b : Basis ι R M, and any finite spanning set w : Set M, the cardinality of ι is bounded by the cardinality of w.

theorem basis_le_span' E1 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] [RankCondition R]
  {ι : Type u_2} (b : Module.Basis ι R M) {w : Set M} [inst_4 : Fintype ↑w],
  Submodule.span R w = ⊤ → Cardinal.mk ι ≤ ↑(Fintype.card ↑w)

Another auxiliary lemma for Basis.le_span, which does not require assuming the basis is finite, but still assumes we have a finite spanning set.

theorem Module.Basis.le_span E3 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {ι : Type w}
  [RankCondition R] {J : Set M} (v : Module.Basis ι R M),
  Submodule.span R J = ⊤ → Cardinal.mk ↑(Set.range ⇑v) ≤ Cardinal.mk ↑J

If R satisfies the rank condition, then the cardinality of any basis is bounded by the cardinality of any spanning set.

theorem linearIndependent_le_span_aux' E1 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] [StrongRankCondition R]
  {ι : Type u_2} [inst_4 : Fintype ι] (v : ι → M),
  LinearIndependent R v →
    ∀ (w : Set M) [inst_5 : Fintype ↑w], Set.range v ⊆ ↑(Submodule.span R w) → Fintype.card ι ≤ Fintype.card ↑w

theorem LinearIndependent.finite_of_le_span_finite E1 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] [StrongRankCondition R]
  {ι : Type u_2} (v : ι → M),
  LinearIndependent R v → ∀ (w : Set M) [Finite ↑w], Set.range v ⊆ ↑(Submodule.span R w) → Finite ι

If R satisfies the strong rank condition, then any linearly independent family v : ι → M contained in the span of some finite w : Set M, is itself finite.

theorem linearIndependent_le_span' E1 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] [StrongRankCondition R]
  {ι : Type u_2} (v : ι → M),
  LinearIndependent R v →
    ∀ (w : Set M) [inst_4 : Fintype ↑w], Set.range v ⊆ ↑(Submodule.span R w) → Cardinal.mk ι ≤ ↑(Fintype.card ↑w)

If R satisfies the strong rank condition, then for any linearly independent family v : ι → M contained in the span of some finite w : Set M, the cardinality of ι is bounded by the cardinality of w.

theorem linearIndependent_le_span E3 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] [StrongRankCondition R]
  {ι : Type u_2} (v : ι → M),
  LinearIndependent R v →
    ∀ (w : Set M) [inst_4 : Fintype ↑w], Submodule.span R w = ⊤ → Cardinal.mk ι ≤ ↑(Fintype.card ↑w)

If R satisfies the strong rank condition, then for any linearly independent family v : ι → M and any finite spanning set w : Set M, the cardinality of ι is bounded by the cardinality of w.

theorem linearIndependent_le_span_finset E1 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] [StrongRankCondition R]
  {ι : Type u_2} (v : ι → M),
  LinearIndependent R v → ∀ (w : Finset M), Submodule.span R ↑w = ⊤ → Cardinal.mk ι ≤ ↑w.card

A version of linearIndependent_le_span for Finset.

theorem linearIndependent_le_infinite_basis E1 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] [StrongRankCondition R]
  {ι : Type w} (b : Module.Basis ι R M) [Infinite ι] {κ : Type w} (v : κ → M),
  LinearIndependent R v → Cardinal.mk κ ≤ Cardinal.mk ι

An auxiliary lemma for linearIndependent_le_basis: we handle the case where the basis b is infinite.

theorem linearIndependent_le_basis E3 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] [StrongRankCondition R]
  {ι : Type w} (b : Module.Basis ι R M) {κ : Type w} (v : κ → M), LinearIndependent R v → Cardinal.mk κ ≤ Cardinal.mk ι

Over any ring R satisfying the strong rank condition, if b is a basis for a module M, and s is a linearly independent set, then the cardinality of s is bounded by the cardinality of b.

theorem card_le_of_injective'' E1 #

∀ {R : Type u} [inst : Semiring R] [StrongRankCondition R] {α β : Type v} (f : (α →₀ R) →ₗ[R] β →₀ R),
  Function.Injective ⇑f → Cardinal.mk α ≤ Cardinal.mk β

StrongRankCondition implies that if there is an injective linear map (α →₀ R) →ₗ[R] β →₀ R, then the cardinal of α is smaller than or equal to the cardinal of β.

theorem linearIndependent_le_span'' E1 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] [StrongRankCondition R]
  {ι : Type v} {v : ι → M},
  LinearIndependent R v → ∀ (w : Set M), Submodule.span R w = ⊤ → Cardinal.mk ι ≤ Cardinal.mk ↑w

If R satisfies the strong rank condition, then for any linearly independent family v : ι → M and spanning set w : Set M, the cardinality of ι is bounded by the cardinality of w.

theorem Basis.card_le_card_of_linearIndependent_aux E0 #

∀ {R : Type u_2} [inst : Semiring R] [StrongRankCondition R] (n : ℕ) {m : ℕ} (v : Fin m → Fin n → R),
  LinearIndependent R v → m ≤ n

Let R satisfy the strong rank condition. If m elements of a free rank n R-module are linearly independent, then m ≤ n.

theorem maximal_linearIndependent_eq_infinite_basis E1 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] [StrongRankCondition R]
  {ι : Type w} (b : Module.Basis ι R M) [Infinite ι] {κ : Type w} (v : κ → M) (i : LinearIndependent R v),
  i.Maximal → Cardinal.mk κ = Cardinal.mk ι

Over any ring R satisfying the strong rank condition, if b is an infinite basis for a module M, then every maximal linearly independent set has the same cardinality as b.

This proof (along with some of the lemmas above) comes from [Les familles libres maximales d'un module ont-elles le meme cardinal?][lazarus1973]

theorem Module.Basis.mk_eq_rank'' E1 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] [StrongRankCondition R]
  {ι : Type v} (v : Module.Basis ι R M), Cardinal.mk ι = Module.rank R M

theorem Module.Basis.mk_range_eq_rank E1 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {ι : Type w}
  [StrongRankCondition R] (v : Module.Basis ι R M), Cardinal.mk ↑(Set.range ⇑v) = Module.rank R M

theorem rank_eq_card_basis E1 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] [StrongRankCondition R]
  {ι : Type w} [inst_4 : Fintype ι] (h : Module.Basis ι R M), Module.rank R M = ↑(Fintype.card ι)

If a vector space has a finite basis, then its dimension (seen as a cardinal) is equal to the cardinality of the basis.

theorem Module.Basis.card_le_card_of_linearIndependent E1 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] [StrongRankCondition R]
  {ι : Type u_2} [inst_4 : Fintype ι] (b : Module.Basis ι R M) {ι' : Type u_3} [inst_5 : Fintype ι'] {v : ι' → M},
  LinearIndependent R v → Fintype.card ι' ≤ Fintype.card ι

theorem Module.Basis.card_le_card_of_submodule E1 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {ι : Type w}
  {ι' : Type w'} [StrongRankCondition R] (N : Submodule R M) [inst_4 : Fintype ι] (b : Module.Basis ι R M)
  [inst_5 : Fintype ι'] (b' : Module.Basis ι' R ↥N), Fintype.card ι' ≤ Fintype.card ι

theorem Module.Basis.card_le_card_of_le E1 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {ι : Type w}
  {ι' : Type w'} [StrongRankCondition R] {N O : Submodule R M},
  N ≤ O →
    ∀ [inst_4 : Fintype ι] (b : Module.Basis ι R ↥O) [inst_5 : Fintype ι'] (b' : Module.Basis ι' R ↥N),
      Fintype.card ι' ≤ Fintype.card ι

theorem Module.Basis.mk_eq_rank E1 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {ι : Type w}
  [StrongRankCondition R] (v : Module.Basis ι R M),
  Cardinal.lift.{v, w} (Cardinal.mk ι) = Cardinal.lift.{w, v} (Module.rank R M)

theorem Module.Basis.mk_eq_rank' E1 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {ι : Type w}
  [StrongRankCondition R] (v : Module.Basis ι R M),
  Cardinal.lift.{max v m, w} (Cardinal.mk ι) = Cardinal.lift.{max w m, v} (Module.rank R M)

theorem rank_span E1 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {ι : Type w}
  [StrongRankCondition R] {v : ι → M},
  LinearIndependent R v → Module.rank R ↥(Submodule.span R (Set.range v)) = Cardinal.mk ↑(Set.range v)

theorem rank_span_set E1 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] [StrongRankCondition R]
  {s : Set M}, LinearIndepOn R id s → Module.rank R ↥(Submodule.span R s) = Cardinal.mk ↑s

theorem toENat_rank_span_set E1 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {ι : Type w}
  [StrongRankCondition R] {v : ι → M} {s : Set ι},
  LinearIndepOn R v s → Cardinal.toENat (Module.rank R ↥(Submodule.span R (v '' s))) = s.encard

def Submodule.inductionOnRank E3 #

{ι : Type w} →
  {R : Type u_3} →
    {M : Type u_4} →
      [inst : Ring R] →
        [StrongRankCondition R] →
          [inst_2 : AddCommGroup M] →
            [inst_3 : Module R M] →
              [IsDomain R] →
                [Finite ι] →
                  Module.Basis ι R M →
                    (P : Submodule R M → Sort u_2) →
                      ((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 : Submodule R M) → P N

An induction (and recursion) principle for proving results about all submodules of a fixed finite free module M. A property is true for all submodules of M if it satisfies the following "inductive step": the property is true for a submodule N if it's true for all submodules N' of N with the property that there exists 0 ≠ x ∈ N such that the sum N' + Rx is direct.

theorem Ideal.rank_eq E0 #

∀ {R : Type u_2} {S : Type u_3} [inst : CommRing R] [StrongRankCondition R] [inst_2 : Ring S] [IsDomain S]
  [inst_4 : Algebra R S] {n : Type u_4} {m : Type u_5} [inst_5 : Fintype n] [inst_6 : Fintype m]
  (b : Module.Basis n R S) {I : Ideal S}, I ≠ ⊥ → ∀ (c : Module.Basis m R ↥I), Fintype.card m = Fintype.card n

If S a module-finite free R-algebra, then the R-rank of a nonzero R-free ideal I of S is the same as the rank of S.

theorem Module.rank_pos_of_free E1 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] [Module.Free R M]
  [Nontrivial M], 0 < Module.rank R M

theorem Module.rank_pos_iff_of_free E1 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] [StrongRankCondition R]
  [Module.Free R M], 0 < Module.rank R M ↔ Nontrivial M

theorem Module.rank_zero_iff_of_free E1 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] [StrongRankCondition R]
  [Module.Free R M], Module.rank R M = 0 ↔ Subsingleton M

theorem Module.finrank_eq_nat_card_basis E1 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {ι : Type w}
  [StrongRankCondition R] (h : Module.Basis ι R M), Module.finrank R M = Nat.card ι

theorem Module.finrank_eq_card_basis E1 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] [StrongRankCondition R]
  {ι : Type w} [inst_4 : Fintype ι] (h : Module.Basis ι R M), Module.finrank R M = Fintype.card ι

If a vector space (or module) has a finite basis, then its dimension (or rank) is equal to the cardinality of the basis.

theorem Module.mk_finrank_eq_card_basis E1 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] [StrongRankCondition R]
  [Module.Finite R M] {ι : Type w} (h : Module.Basis ι R M), ↑(Module.finrank R M) = Cardinal.mk ι

If a free module is of finite rank, then the cardinality of any basis is equal to its finrank.

theorem Module.finrank_eq_card_finset_basis E2 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] [StrongRankCondition R]
  {ι : Type w} {b : Finset ι} (h : Module.Basis (↥b) R M), Module.finrank R M = b.card

If a vector space (or module) has a finite basis, then its dimension (or rank) is equal to the cardinality of the basis. This lemma uses a Finset instead of indexed types.

theorem Module.rank_self E0 #

∀ (R : Type u) [inst : Semiring R] [StrongRankCondition R], Module.rank R R = 1

theorem Module.finrank_self E0 #

∀ (R : Type u) [inst : Semiring R] [StrongRankCondition R], Module.finrank R R = 1

A ring satisfying StrongRankCondition (such as a DivisionRing) is one-dimensional as a module over itself.

theorem Module.finrank_of_bijective_toSpanSingleton E1 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] [StrongRankCondition R]
  {x : M}, Function.Bijective ⇑(LinearMap.toSpanSingleton R M x) → Module.finrank R M = 1

theorem Module.rank_of_bijective_toSpanSingleton E1 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] [StrongRankCondition R]
  {x : M}, Function.Bijective ⇑(LinearMap.toSpanSingleton R M x) → Module.rank R M = 1

theorem Module.finrank_of_bijective_algebraMap E1 #

∀ {R : Type u_2} {S : Type u_3} [inst : CommSemiring R] [inst_1 : Semiring S] [inst_2 : Algebra R S]
  [StrongRankCondition R], Function.Bijective ⇑(algebraMap R S) → Module.finrank R S = 1

theorem Module.rank_of_bijective_algebraMap E1 #

∀ {R : Type u_2} {S : Type u_3} [inst : CommSemiring R] [inst_1 : Semiring S] [inst_2 : Algebra R S]
  [StrongRankCondition R], Function.Bijective ⇑(algebraMap R S) → Module.rank R S = 1

def Module.Basis.unique E1 #

(R : Type u) → [inst : Semiring R] → [StrongRankCondition R] → {ι : Type u_2} → Module.Basis ι R R → Unique ι

Given a basis of a ring over itself indexed by a type ι, then ι is Unique.

theorem Module.rank_lt_aleph0 E1 #

∀ (R : Type u) (M : Type v) [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] [StrongRankCondition R]
  [Module.Finite R M], Module.rank R M < Cardinal.aleph0

The rank of a finite module is finite.

instance Module.instFintypeElemExtendOfFiniteSubtypeMemSubmoduleSpan E0 #

{R : Type u_2} →
  {M : Type u_3} →
    [inst : DivisionRing R] →
      [inst_1 : AddCommGroup M] →
        [inst_2 : Module R M] →
          {s t : Set M} →
            [Module.Finite R ↥(Submodule.span R t)] →
              (hs : LinearIndepOn R id s) → (hst : s ⊆ t) → Fintype ↑(hs.extend hst)

theorem Module.finrank_eq_rank E0 #

∀ (R : Type u) (M : Type v) [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] [StrongRankCondition R]
  [Module.Finite R M], ↑(Module.finrank R M) = Module.rank R M

If M is finite, finrank M = rank M.

theorem Module.finrank_eq_zero_iff_of_free E1 #

∀ (R : Type u) (M : Type v) [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] [StrongRankCondition R]
  [Module.Free R M] [Module.Finite R M], Module.finrank R M = 0 ↔ Subsingleton M

theorem Module.finrank_eq_zero_of_subsingleton E1 #

∀ (R : Type u) (M : Type v) [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] [StrongRankCondition R]
  [Subsingleton M], Module.finrank R M = 0

theorem Module.finrank_pos_iff_of_free E1 #

∀ (R : Type u) (M : Type v) [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] [StrongRankCondition R]
  [Module.Free R M] [Module.Finite R M], 0 < Module.finrank R M ↔ Nontrivial M

theorem Submodule.finrank_eq_rank E1 #

∀ (R : Type u) (M : Type v) [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] [StrongRankCondition R]
  [Module.Finite R M] (N : Submodule R M), ↑(Module.finrank R ↥N) = Module.rank R ↥N

If M is finite, then finrank N = rank N for all N : Submodule M. Note that such an N need not be finitely generated.

theorem LinearMap.finrank_le_finrank_of_injective E1 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] [StrongRankCondition R]
  {M' : Type u_2} [inst_4 : AddCommMonoid M'] [inst_5 : Module R M'] [Module.Finite R M'] {f : M →ₗ[R] M'},
  Function.Injective ⇑f → Module.finrank R M ≤ Module.finrank R M'

theorem LinearMap.finrank_le_finrank_of_surjective E1 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] [StrongRankCondition R]
  {M' : Type u_2} [inst_4 : AddCommMonoid M'] [inst_5 : Module R M'] [Module.Finite R M] {f : M →ₗ[R] M'},
  Function.Surjective ⇑f → Module.finrank R M' ≤ Module.finrank R M

theorem LinearMap.finrank_range_le E1 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] [StrongRankCondition R]
  {M' : Type u_2} [inst_4 : AddCommMonoid M'] [inst_5 : Module R M'] [Module.Finite R M] (f : M →ₗ[R] M'),
  Module.finrank R ↥f.range ≤ Module.finrank R M

theorem LinearMap.finrank_le_of_isSMulRegular E1 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] [StrongRankCondition R]
  {S : Type u_2} [inst_4 : CommSemiring S] [inst_5 : Algebra S R] [inst_6 : Module S M] [IsScalarTower S R M]
  (L L' : Submodule R M) [Module.Finite R ↥L'] {s : S},
  IsSMulRegular M s → (∀ x ∈ L, s • x ∈ L') → Module.finrank R ↥L ≤ Module.finrank R ↥L'

theorem Module.finrank_top_le_finrank_of_isScalarTower E1 #

∀ (R : Type u) (S : Type u_1) (M : Type v) [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [StrongRankCondition R] [Module.Finite R M] [inst_5 : Semiring S] [inst_6 : Module S M] [inst_7 : Module R S]
  [IsScalarTower R S S] [FaithfulSMul R S] [IsScalarTower R S M], Module.finrank S M ≤ Module.finrank R M

Also see Module.finrank_top_le_finrank_of_isScalarTower_of_free for a version with different typeclass constraints.

theorem Module.finrank_bot_le_finrank_of_isScalarTower E1 #

∀ (R : Type u) [inst : Semiring R] [StrongRankCondition R] (S : Type u_2) (T : Type u_3) [inst_2 : Semiring S]
  [inst_3 : Semiring T] [inst_4 : Module R T] [inst_5 : Module S T] [inst_6 : Module R S] [IsScalarTower R S T]
  [IsScalarTower S T T] [FaithfulSMul S T] [Module.Finite R T], Module.finrank R S ≤ Module.finrank R T

Also see Module.finrank_bot_le_finrank_of_isScalarTower_of_free for a version with different typeclass constraints.

theorem strongRankCondition_iff_forall_rank_lt_aleph0 E1 #

∀ {R : Type u} [inst : Semiring R] [Nontrivial R],
  StrongRankCondition R ↔ ∀ (n : ℕ), Module.rank R (Fin n → R) < Cardinal.aleph0

theorem strongRankCondition_iff_forall_zero_lt_finrank E1 #

∀ {R : Type u} [inst : Semiring R] [Nontrivial R], StrongRankCondition R ↔ ∀ n > 0, 0 < Module.finrank R (Fin n → R)

theorem StrongRankCondition.of_isNoetherian E1 #

∀ {R : Type u} [inst : Semiring R] [Nontrivial R] [∀ (n : ℕ), IsNoetherian R (Fin n → R)], StrongRankCondition R

If each Rⁿ is a Noetherian R-module, then R satisfies the strong rank condition. Not an instance for performance reasons.

If R is a ring, the assumption is equivalent to R being a left-Noetherian ring, but this is not necessarily the case for semirings: ℕ is a Noetherian semiring but ℕ² is not a Noetherian ℕ-module. (ℕ does satisfy the strong rank condition.)

theorem Submodule.exists_finset_span_eq_linearIndepOn E1 #

∀ (K : Type u_2) {M : Type u_3} [inst : DivisionRing K] [inst_1 : AddCommGroup M] [inst_2 : Module K M] (s : Set M)
  [Module.Finite K ↥(Submodule.span K s)],
  ∃ t,
    ↑t ⊆ s ∧
      t.card = Module.finrank K ↥(Submodule.span K s) ∧ Submodule.span K ↑t = Submodule.span K s ∧ LinearIndepOn K id ↑t

This is a version of exists_linearIndependent with an upper estimate on the size of the finite set we choose.

theorem Submodule.exists_fun_fin_finrank_span_eq E0 #

∀ (K : Type u_2) {M : Type u_3} [inst : DivisionRing K] [inst_1 : AddCommGroup M] [inst_2 : Module K M] (s : Set M)
  [Module.Finite K ↥(Submodule.span K s)],
  ∃ f,
    (∀ (i : Fin (Module.finrank K ↥(Submodule.span K s))), f i ∈ s) ∧
      Submodule.span K (Set.range f) = Submodule.span K s ∧ LinearIndependent K f

theorem Submodule.mem_span_set_iff_exists_finsupp_le_finrank E0 #

∀ {K : Type u_2} {M : Type u_3} [inst : DivisionRing K] [inst_1 : AddCommGroup M] [inst_2 : Module K M] {s : Set M}
  {x : M} [Module.Finite K ↥(Submodule.span K s)],
  x ∈ Submodule.span K s ↔
    ∃ c, c.support.card ≤ Module.finrank K ↥(Submodule.span K s) ∧ ↑c.support ⊆ s ∧ (c.sum fun mi r ↦ r • mi) = x

This is a version of mem_span_set with an estimate on the number of terms in the sum.

class Algebra.IsQuadraticExtension E1 #

(R : Type u_2) →
  (S : Type u_3) → [inst : CommSemiring R] → [StrongRankCondition R] → [inst_2 : Semiring S] → [Algebra R S] → Prop

An extension of rings R ⊆ S is quadratic if S is a free R-algebra of rank 2.

ctor Algebra.IsQuadraticExtension.mk E0 #

∀ {R : Type u_2} {S : Type u_3} [inst : CommSemiring R] [inst_1 : StrongRankCondition R] [inst_2 : Semiring S]
  [inst_3 : Algebra R S] [toFree : Module.Free R S], Module.finrank R S = 2 → Algebra.IsQuadraticExtension R S

instance Algebra.IsQuadraticExtension.toFree E0 #

∀ {R : Type u_2} {S : Type u_3} {inst : CommSemiring R} {inst_1 : StrongRankCondition R} {inst_2 : Semiring S}
  {inst_3 : Algebra R S} [self : Algebra.IsQuadraticExtension R S], Module.Free R S

theorem Algebra.IsQuadraticExtension.finrank_eq_two' E1 #

∀ {R : Type u_2} {S : Type u_3} {inst : CommSemiring R} {inst_1 : StrongRankCondition R} {inst_2 : Semiring S}
  {inst_3 : Algebra R S} [self : Algebra.IsQuadraticExtension R S], Module.finrank R S = 2

theorem Algebra.IsQuadraticExtension.finrank_eq_two E1 #

∀ (R : Type u_2) (S : Type u_3) [inst : CommSemiring R] [inst_1 : StrongRankCondition R] [inst_2 : Semiring S]
  [inst_3 : Algebra R S] [Algebra.IsQuadraticExtension R S], Module.finrank R S = 2