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.Algebra.Module.ZMod

16 declarations. Mathlib docs · Source

The ZMod n-module structure on Abelian groups whose elements have order dividing n

abbrev AddCommMonoid.zmodModule E1 #

{n : ℕ} → {M : Type u_1} → [NeZero n] → [inst : AddCommMonoid M] → (∀ (x : M), n • x = 0) → Module (ZMod n) M

The ZMod n-module structure on commutative monoids whose elements have order dividing n ≠ 0. Also implies a group structure via Module.addCommMonoidToAddCommGroup. See note [reducible non-instances].

abbrev AddCommGroup.zmodModule E1 #

{n : ℕ} → {G : Type u_3} → [inst : AddCommGroup G] → (∀ (x : G), n • x = 0) → Module (ZMod n) G

The ZMod n-module structure on Abelian groups whose elements have order dividing n. See note [reducible non-instances].

abbrev QuotientAddGroup.zmodModule E1 #

{n : ℕ} →
  {G : Type u_3} → [inst : AddCommGroup G] → {H : AddSubgroup G} → (∀ (x : G), n • x ∈ H) → Module (ZMod n) (G ⧸ H)

The quotient of an abelian group by a subgroup containing all multiples of n is a n-torsion group.

theorem ZMod.map_smul E0 #

∀ {n : ℕ} {M : Type u_1} {M₁ : Type u_2} {F : Type u_3} [inst : AddCommGroup M] [inst_1 : AddCommGroup M₁]
  [inst_2 : FunLike F M M₁] [AddMonoidHomClass F M M₁] [inst_4 : Module (ZMod n) M] [inst_5 : Module (ZMod n) M₁]
  (f : F) (c : ZMod n) (x : M), f (c • x) = c • f x

theorem ZMod.smul_mem E1 #

∀ {n : ℕ} {M : Type u_1} {S : Type u_4} [inst : AddCommGroup M] [inst_1 : Module (ZMod n) M] [inst_2 : SetLike S M]
  [AddSubgroupClass S M] {x : M} {K : S}, x ∈ K → ∀ (c : ZMod n), c • x ∈ K

def AddMonoidHom.toZModLinearMap E1 #

(n : ℕ) →
  {M : Type u_1} →
    {M₁ : Type u_2} →
      [inst : AddCommGroup M] →
        [inst_1 : AddCommGroup M₁] →
          [inst_2 : Module (ZMod n) M] → [inst_3 : Module (ZMod n) M₁] → (M →+ M₁) → M →ₗ[ZMod n] M₁

Reinterpret an additive homomorphism as a ℤ/nℤ-linear map.

See also: AddMonoidHom.toIntLinearMap, AddMonoidHom.toNatLinearMap, AddMonoidHom.toRatLinearMap

theorem AddMonoidHom.toZModLinearMap_injective E1 #

∀ (n : ℕ) {M : Type u_1} {M₁ : Type u_2} [inst : AddCommGroup M] [inst_1 : AddCommGroup M₁] [inst_2 : Module (ZMod n) M]
  [inst_3 : Module (ZMod n) M₁], Function.Injective (AddMonoidHom.toZModLinearMap n)

theorem AddMonoidHom.coe_toZModLinearMap E0 #

∀ (n : ℕ) {M : Type u_1} {M₁ : Type u_2} [inst : AddCommGroup M] [inst_1 : AddCommGroup M₁] [inst_2 : Module (ZMod n) M]
  [inst_3 : Module (ZMod n) M₁] (f : M →+ M₁), ⇑(AddMonoidHom.toZModLinearMap n f) = ⇑f

def AddMonoidHom.toZModLinearMapEquiv E1 #

(n : ℕ) →
  {M : Type u_1} →
    {M₁ : Type u_2} →
      [inst : AddCommGroup M] →
        [inst_1 : AddCommGroup M₁] →
          [inst_2 : Module (ZMod n) M] → [inst_3 : Module (ZMod n) M₁] → (M →+ M₁) ≃+ (M →ₗ[ZMod n] M₁)

AddMonoidHom.toZModLinearMap as an equivalence.

def AddSubgroup.toZModSubmodule E1 #

(n : ℕ) →
  {M : Type u_1} → [inst : AddCommGroup M] → [inst_1 : Module (ZMod n) M] → AddSubgroup M ≃o Submodule (ZMod n) M

Reinterpret an additive subgroup of a ℤ/nℤ-module as a ℤ/nℤ-submodule.

See also: AddSubgroup.toIntSubmodule, AddSubmonoid.toNatSubmodule.

theorem AddSubgroup.toZModSubmodule_symm E0 #

∀ (n : ℕ) {M : Type u_1} [inst : AddCommGroup M] [inst_1 : Module (ZMod n) M],
  ⇑(AddSubgroup.toZModSubmodule n).symm = Submodule.toAddSubgroup

theorem AddSubgroup.coe_toZModSubmodule E0 #

∀ (n : ℕ) {M : Type u_1} [inst : AddCommGroup M] [inst_1 : Module (ZMod n) M] (S : AddSubgroup M),
  ↑((AddSubgroup.toZModSubmodule n) S) = ↑S

theorem AddSubgroup.mem_toZModSubmodule E0 #

∀ (n : ℕ) {M : Type u_1} [inst : AddCommGroup M] [inst_1 : Module (ZMod n) M] {x : M} {S : AddSubgroup M},
  x ∈ (AddSubgroup.toZModSubmodule n) S ↔ x ∈ S

theorem AddSubgroup.toZModSubmodule_toAddSubgroup E0 #

∀ (n : ℕ) {M : Type u_1} [inst : AddCommGroup M] [inst_1 : Module (ZMod n) M] (S : AddSubgroup M),
  ((AddSubgroup.toZModSubmodule n) S).toAddSubgroup = S

theorem Submodule.toAddSubgroup_toZModSubmodule E0 #

∀ (n : ℕ) {M : Type u_1} [inst : AddCommGroup M] [inst_1 : Module (ZMod n) M] (S : Submodule (ZMod n) M),
  (AddSubgroup.toZModSubmodule n) S.toAddSubgroup = S

theorem ZModModule.exists_submodule_subset_card_le E1 #

∀ {p : ℕ} {G : Type u_5} [inst : AddCommGroup G],
  Nat.Prime p →
    ∀ [inst_1 : Module (ZMod p) G] (H : Submodule (ZMod p) G) {k : ℕ},
      k ≤ Nat.card ↥H → k ≠ 0 → ∃ H', Nat.card ↥H' ≤ k ∧ k < p * Nat.card ↥H' ∧ H' ≤ H

In an elementary abelian p-group, every finite subgroup H contains a further subgroup of cardinality between k and p * k, if k ≤ |H|.