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

22 declarations. Mathlib docs · Source

Rank of localization

Main statements

  • IsLocalizedModule.lift_rank_eq: rank_Rₚ Mₚ = rank R M.
  • rank_quotient_add_rank_of_isDomain: The rank-nullity theorem for commutative domains.

theorem IsLocalizedModule.lift_rank_eq E3 #

∀ {R : Type uR} {M : Type uM} {N : Type uN} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : AddCommGroup N]
  [inst_3 : Module R M] [inst_4 : Module R N] (p : Submonoid R) (f : M →ₗ[R] N) [IsLocalizedModule p f],
  p ≤ nonZeroDivisors R → Cardinal.lift.{uM, uN} (Module.rank R N) = Cardinal.lift.{uN, uM} (Module.rank R M)

theorem IsLocalizedModule.finrank_eq E0 #

∀ {R : Type uR} {M : Type uM} {N : Type uN} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : AddCommGroup N]
  [inst_3 : Module R M] [inst_4 : Module R N] (p : Submonoid R) (f : M →ₗ[R] N) [IsLocalizedModule p f],
  p ≤ nonZeroDivisors R → Module.finrank R N = Module.finrank R M

theorem IsLocalizedModule.rank_eq E0 #

∀ {R : Type uR} {M : Type uM} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M],
  ∀ p ≤ nonZeroDivisors R,
    ∀ {N : Type uM} [inst_3 : AddCommGroup N] [inst_4 : Module R N] (f : M →ₗ[R] N) [IsLocalizedModule p f],
      Module.rank R N = Module.rank R M

theorem IsLocalization.rank_eq E0 #

∀ {R : Type uR} (S : Type uS) {N : Type uN} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : AddCommGroup N]
  [inst_3 : Module R N] [inst_4 : Algebra R S] [inst_5 : Module S N] [IsScalarTower R S N] (p : Submonoid R)
  [IsLocalization p S], p ≤ nonZeroDivisors R → Module.rank S N = Module.rank R N

theorem IsLocalization.finrank_eq E0 #

∀ {R : Type uR} (S : Type uS) {N : Type uN} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : AddCommGroup N]
  [inst_3 : Module R N] [inst_4 : Algebra R S] [inst_5 : Module S N] [IsScalarTower R S N] (p : Submonoid R)
  [IsLocalization p S], p ≤ nonZeroDivisors R → Module.finrank S N = Module.finrank R N

theorem IsLocalization.linearIndepOn_finsetIntegerMultiple E1 #

∀ {R : Type uR} {S : Type uS} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S] {A : Type u_1}
  [inst_3 : CommRing A] [inst_4 : Algebra S A] [inst_5 : Algebra R A] [IsScalarTower R S A] (M : Submonoid S)
  [inst_7 : IsLocalization M A] [FaithfulSMul S A] {s : Finset A},
  LinearIndepOn R id ↑s → ∀ [inst_9 : DecidableEq S], LinearIndepOn R id ↑(IsLocalization.finsetIntegerMultiple M s)

theorem IsFractionRing.rank_right_eq E0 #

∀ (R : Type uR) (S : Type uS) (N : Type uN) [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : AddCommGroup N]
  [inst_3 : Module R N] [inst_4 : Algebra R S] [inst_5 : Module S N] [IsScalarTower R S N] [IsFractionRing R S],
  Module.rank S N = Module.rank R N

Given IsScalarTower R S N, if S is the fraction ring of R, then the rank rank S N of the right part of the tower equals the rank rank R N of the whole tower.

See IsFractionRing.finrank_right_eq for the finrank version.

theorem IsFractionRing.finrank_right_eq E0 #

∀ (R : Type uR) (S : Type uS) (N : Type uN) [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : AddCommGroup N]
  [inst_3 : Module R N] [inst_4 : Algebra R S] [inst_5 : Module S N] [IsScalarTower R S N] [IsFractionRing R S],
  Module.finrank S N = Module.finrank R N

Given IsScalarTower R S N, if S is the fraction ring of R, then the finrank finrank S N of the right part of the tower equals the finrank finrank R N of the whole tower.

See IsFractionRing.rank_right_eq for the rank version. See IsFractionRing.finrank_left_eq for the left version. See IsFractionRing.finrank_eq for the simultaneous version.

theorem IsFractionRing.finrank_left_eq E0 #

∀ (R : Type uR) (S : Type uS) [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S] (A : Type u_1)
  [inst_3 : CommRing A] [inst_4 : Algebra S A] [inst_5 : Algebra R A] [IsScalarTower R S A] [IsFractionRing S A],
  Module.finrank R S = Module.finrank R A

Given IsScalarTower R S A, if A is the fraction ring of S, then the finrank finrank R S of the left part of the tower equals the finrank finrank R A of the whole tower.

See IsFractionRing.finrank_right_eq for the right version. See IsFractionRing.finrank_eq for the simultaneous version.

theorem IsFractionRing.finrank_eq E0 #

∀ (A : Type u_1) (K : Type u_2) (B : Type u_3) (L : Type u_4) [inst : CommRing A] [inst_1 : CommRing K]
  [inst_2 : CommRing B] [inst_3 : CommRing L] [inst_4 : Algebra A B] [inst_5 : Module K L] [inst_6 : Algebra A K]
  [inst_7 : Algebra B L] [inst_8 : Algebra A L] [IsScalarTower A K L] [IsScalarTower A B L] [IsFractionRing A K]
  [IsFractionRing B L], Module.finrank K L = Module.finrank A B

If K is the fraction ring of A and L is the fraction ring of B, then the finrank finrank K L of the fraction rings equals the finrank finrank A B of the base rings.

See IsFractionRing.finrank_left_eq and IsFractionRing.finrank_right_eq for one-sided versions. See Algebra.IsAlgebraic.rank_of_isFractionRing for a rank version with additional assumptions.

theorem exists_set_linearIndependent_of_isDomain E1 #

∀ (R : Type uR) (M : Type uM) [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] [IsDomain R],
  ∃ s, Cardinal.mk ↑s = Module.rank R M ∧ LinearIndepOn R id s

theorem rank_quotient_add_rank_of_isDomain E3 #

∀ {R : Type uR} {M : Type uM} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] [IsDomain R]
  (M' : Submodule R M), Module.rank R (M ⧸ M') + Module.rank R ↥M' = Module.rank R M

The rank-nullity theorem for commutative domains. Also see rank_quotient_add_rank.

instance IsDomain.hasRankNullity E0 #

∀ {R : Type uR} [inst : CommRing R] [IsDomain R], HasRankNullity.{w, uR} R

theorem IsBaseChange.lift_rank_eq_of_le_nonZeroDivisors E1 #

∀ {R : Type uR} (S : Type uS) {M : Type uM} {N : Type uN} [inst : CommRing R] [inst_1 : CommRing S]
  [inst_2 : AddCommGroup M] [inst_3 : AddCommGroup N] [inst_4 : Module R M] [inst_5 : Module R N] [inst_6 : Algebra R S]
  [inst_7 : Module S N] [IsScalarTower R S N] {p : Submonoid R} [IsLocalization p S] (f : M →ₗ[R] N)
  [IsLocalizedModule p f],
  p ≤ nonZeroDivisors R →
    ∀ [Module.Free S N] [StrongRankCondition S] {T : Type uT} [inst_13 : CommRing T] [inst_14 : Algebra R T],
      Algebra.algebraMapSubmonoid T p ≤ nonZeroDivisors T →
        ∀ [StrongRankCondition (TensorProduct R S T)] {P : Type uP} [inst_16 : AddCommGroup P] [inst_17 : Module R P]
          [inst_18 : Module T P] [inst_19 : IsScalarTower R T P] {g : M →ₗ[R] P},
          IsBaseChange T g → Cardinal.lift.{uM, uP} (Module.rank T P) = Cardinal.lift.{uP, uM} (Module.rank R M)

theorem IsBaseChange.finrank_eq_of_le_nonZeroDivisors E1 #

∀ {R : Type uR} (S : Type uS) {M : Type uM} {N : Type uN} [inst : CommRing R] [inst_1 : CommRing S]
  [inst_2 : AddCommGroup M] [inst_3 : AddCommGroup N] [inst_4 : Module R M] [inst_5 : Module R N] [inst_6 : Algebra R S]
  [inst_7 : Module S N] [IsScalarTower R S N] {p : Submonoid R} [IsLocalization p S] (f : M →ₗ[R] N)
  [IsLocalizedModule p f],
  p ≤ nonZeroDivisors R →
    ∀ [Module.Free S N] [StrongRankCondition S] {T : Type uT} [inst_13 : CommRing T] [inst_14 : Algebra R T],
      Algebra.algebraMapSubmonoid T p ≤ nonZeroDivisors T →
        ∀ [StrongRankCondition (TensorProduct R S T)] {P : Type uP} [inst_16 : AddCommGroup P] [inst_17 : Module R P]
          [inst_18 : Module T P] [inst_19 : IsScalarTower R T P] {g : M →ₗ[R] P},
          IsBaseChange T g → Module.finrank T P = Module.finrank R M

theorem IsBaseChange.rank_eq_of_le_nonZeroDivisors E1 #

∀ {R : Type uR} (S : Type uS) {M : Type uM} {N : Type uN} [inst : CommRing R] [inst_1 : CommRing S]
  [inst_2 : AddCommGroup M] [inst_3 : AddCommGroup N] [inst_4 : Module R M] [inst_5 : Module R N] [inst_6 : Algebra R S]
  [inst_7 : Module S N] [IsScalarTower R S N] {p : Submonoid R} [IsLocalization p S] (f : M →ₗ[R] N)
  [IsLocalizedModule p f],
  p ≤ nonZeroDivisors R →
    ∀ [Module.Free S N] [StrongRankCondition S] {T : Type uT} [inst_13 : CommRing T] [inst_14 : Algebra R T],
      Algebra.algebraMapSubmonoid T p ≤ nonZeroDivisors T →
        ∀ [StrongRankCondition (TensorProduct R S T)] {P : Type uM} [inst_16 : AddCommGroup P] [inst_17 : Module R P]
          [inst_18 : Module T P] [inst_19 : IsScalarTower R T P] {g : M →ₗ[R] P},
          IsBaseChange T g → Module.rank T P = Module.rank R M

theorem IsBaseChange.lift_rank_eq E0 #

∀ {R : Type uR} {M : Type uM} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] {T : Type uT}
  [inst_3 : CommRing T] [NoZeroDivisors T] [inst_5 : Algebra R T] [FaithfulSMul R T] {P : Type uP}
  [inst_7 : AddCommGroup P] [inst_8 : Module R P] [inst_9 : Module T P] [inst_10 : IsScalarTower R T P] {g : M →ₗ[R] P},
  IsBaseChange T g → Cardinal.lift.{uM, uP} (Module.rank T P) = Cardinal.lift.{uP, uM} (Module.rank R M)

theorem IsBaseChange.finrank_eq E0 #

∀ {R : Type uR} {M : Type uM} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] {T : Type uT}
  [inst_3 : CommRing T] [NoZeroDivisors T] [inst_5 : Algebra R T] [FaithfulSMul R T] {P : Type uP}
  [inst_7 : AddCommGroup P] [inst_8 : Module R P] [inst_9 : Module T P] [inst_10 : IsScalarTower R T P] {g : M →ₗ[R] P},
  IsBaseChange T g → Module.finrank T P = Module.finrank R M

theorem IsBaseChange.rank_eq E0 #

∀ {R : Type uR} {M : Type uM} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] {T : Type uT}
  [inst_3 : CommRing T] [NoZeroDivisors T] [inst_5 : Algebra R T] [FaithfulSMul R T] {P : Type uM}
  [inst_7 : AddCommGroup P] [inst_8 : Module R P] [inst_9 : Module T P] [inst_10 : IsScalarTower R T P] {g : M →ₗ[R] P},
  IsBaseChange T g → Module.rank T P = Module.rank R M

theorem aleph0_le_rank_of_isEmpty_oreSet E1 #

∀ {R : Type u_1} [inst : Ring R] [IsDomain R],
  IsEmpty (OreLocalization.OreSet (nonZeroDivisors R)) → Cardinal.aleph0 ≤ Module.rank R R

A domain that is not (left) Ore is of infinite rank. See [cohn_1995] Proposition 1.3.6

theorem nonempty_oreSet_of_strongRankCondition E1 #

∀ {R : Type u_1} [inst : Ring R] [IsDomain R] [StrongRankCondition R],
  Nonempty (OreLocalization.OreSet (nonZeroDivisors R))

theorem Submodule.span_range_eq_top_of_injective_of_rank_le E1 #

∀ {R : Type u_1} {K : Type u_2} [inst : CommRing R] [inst_1 : Field K] [inst_2 : Algebra R K] {M N : Type u}
  [IsDomain R] [IsFractionRing R K] [inst_5 : AddCommGroup M] [inst_6 : Module R M] [inst_7 : AddCommGroup N]
  [inst_8 : Module R N] [inst_9 : Module K N] [IsScalarTower R K N] [Module.Finite K N] {f : M →ₗ[R] N},
  Function.Injective ⇑f → Module.rank K N ≤ Module.rank R M → Submodule.span K ↑f.range = ⊤