Documentation

Mathlib.GroupTheory.QuotientGroup.UnitsModPow

Units modulo n-th powers #

For a commutative monoid α and a natural number n, this file defines Units.ModPow α n, the group αˣ ⧸ (αˣ)ⁿ of units of α modulo n-th powers, and provides its basic API.

For a field K, this is the group Kˣ/(Kˣ)ⁿ, which Kummer theory identifies with the Galois cohomology group H¹(K, μₙ) when K contains the n-th roots of unity; it is the ambient group of the Selmer groups K⟮S, n⟯ of Mathlib.RingTheory.DedekindDomain.SelmerGroup.

Main definitions #

Implementation notes #

Units.ModPow α n is an abbreviation for αˣ ⧸ (powMonoidHom n).range, so that the QuotientGroup API applies to it directly. The additive version is AddUnits.ModNSMul α n.

@[reducible, inline]
abbrev Units.ModPow (α : Type u_1) [CommMonoid α] (n : ℕ) :
Type u_1

The group αˣ ⧸ (αˣ)ⁿ of units of a commutative monoid α modulo n-th powers, as the quotient of αˣ by the range of powMonoidHom n.

Equations
Instances For
    @[reducible, inline]
    abbrev AddUnits.ModNSMul (α : Type u_1) [AddCommMonoid α] (n : ℕ) :
    Type u_1

    The group of additive units of an additive commutative monoid α modulo n-th multiples, as the quotient of AddUnits α by the range of nsmulAddMonoidHom n.

    Equations
    Instances For
      theorem Units.ModPow.mk_eq_one_iff {α : Type u_1} [CommMonoid α] {n : ℕ} {u : αˣ} :
      ↑u = 1 ↔ ∃ (w : αˣ), u = w ^ n

      The class of a unit u is trivial in Units.ModPow α n exactly when u is an n-th power in αˣ.

      theorem AddUnits.ModNSMul.mk_eq_zero_iff {α : Type u_1} [AddCommMonoid α] {n : ℕ} {u : AddUnits α} :
      ↑u = 0 ↔ ∃ (w : AddUnits α), u = n • w

      The class of an additive unit u is trivial in AddUnits.ModNSMul α n exactly when u is an n-th multiple in AddUnits α.

      theorem Units.ModPow.mk_eq_one_iff_exists_val_eq_pow {α : Type u_1} [CommMonoid α] {n : ℕ} {u : αˣ} :
      ↑u = 1 ↔ ∃ (x : α), ↑u = x ^ n

      The class of a unit u is trivial in Units.ModPow α n exactly when u is an n-th power in α.

      theorem AddUnits.ModNSMul.mk_eq_zero_iff_exists_val_eq_nsmul {α : Type u_1} [AddCommMonoid α] {n : ℕ} {u : AddUnits α} :
      ↑u = 0 ↔ ∃ (x : α), ↑u = n • x

      The class of an additive unit u is trivial in AddUnits.ModNSMul α n exactly when u is an n-th multiple in α.

      theorem Units.ModPow.mk_eq_mk_iff {α : Type u_1} [CommMonoid α] {n : ℕ} {u v : αˣ} :
      ↑u = ↑v ↔ ∃ (w : αˣ), u = v * w ^ n
      theorem AddUnits.ModNSMul.mk_eq_mk_iff {α : Type u_1} [AddCommMonoid α] {n : ℕ} {u v : AddUnits α} :
      ↑u = ↑v ↔ ∃ (w : AddUnits α), u = v + n • w
      theorem Units.ModPow.mk_eq_mk_iff_exists_eq_mul_pow {α : Type u_1} [CommMonoid α] {n : ℕ} {u v : αˣ} :
      ↑u = ↑v ↔ ∃ (w : α), ↑u = ↑v * w ^ n
      theorem AddUnits.ModNSMul.mk_eq_mk_iff_exists_eq_add_nsmul {α : Type u_1} [AddCommMonoid α] {n : ℕ} {u v : AddUnits α} :
      ↑u = ↑v ↔ ∃ (w : α), ↑u = ↑v + n • w
      theorem Units.ModPow.mk_eq_one_iff_isSquare {α : Type u_1} [CommMonoid α] {u : αˣ} :
      ↑u = 1 ↔ IsSquare ↑u

      The class of a unit u is trivial in Units.ModPow α 2 exactly when u is a square in α.

      theorem AddUnits.ModNSMul.mk_eq_zero_iff_even {α : Type u_1} [AddCommMonoid α] {u : AddUnits α} :
      ↑u = 0 ↔ Even ↑u

      The class of an additive unit u is trivial in AddUnits.ModNSMul α 2 exactly when u is even in α.

      @[simp]
      theorem Units.ModPow.pow_eq_one {α : Type u_1} [CommMonoid α] {n : ℕ} (m : ModPow α n) :
      m ^ n = 1
      @[simp]
      theorem AddUnits.ModNSMul.nsmul_eq_zero {α : Type u_1} [AddCommMonoid α] {n : ℕ} (m : ModNSMul α n) :
      n • m = 0
      theorem Units.ModPow.subsingleton_of_forall_exists_pow {α : Type u_1} [CommMonoid α] {n : ℕ} (h : ∀ (u : αˣ), ∃ (w : αˣ), u = w ^ n) :

      If every unit of α is an n-th power, then Units.ModPow α n is trivial.

      theorem AddUnits.ModNSMul.subsingleton_of_forall_exists_nsmul {α : Type u_1} [AddCommMonoid α] {n : ℕ} (h : ∀ (u : AddUnits α), ∃ (w : AddUnits α), u = n • w) :

      If every additive unit of α is an n-th multiple, then AddUnits.ModNSMul α n is trivial.

      def Units.ModPow.map {α : Type u_1} {β : Type u_2} [CommMonoid α] [CommMonoid β] (φ : α →* β) (n : ℕ) :
      ModPow α n →* ModPow β n

      A monoid homomorphism α →* β induces a homomorphism Units.ModPow α n →* Units.ModPow β n of the groups of units modulo n-th powers.

      Equations
      Instances For
        def AddUnits.ModNSMul.map {α : Type u_1} {β : Type u_2} [AddCommMonoid α] [AddCommMonoid β] (φ : α →+ β) (n : ℕ) :

        An additive monoid homomorphism α →+ β induces a homomorphism AddUnits.ModNSMul α n →+ AddUnits.ModNSMul β n of the groups of additive units modulo n-th multiples.

        Equations
        Instances For
          @[simp]
          theorem Units.ModPow.map_mk {α : Type u_1} {β : Type u_2} [CommMonoid α] [CommMonoid β] (φ : α →* β) (n : ℕ) (u : αˣ) :
          (map φ n) ↑u = ↑((Units.map φ) u)
          @[simp]
          theorem AddUnits.ModNSMul.map_mk {α : Type u_1} {β : Type u_2} [AddCommMonoid α] [AddCommMonoid β] (φ : α →+ β) (n : ℕ) (u : AddUnits α) :
          (map φ n) ↑u = ↑((AddUnits.map φ) u)
          @[simp]
          theorem Units.ModPow.map_id {α : Type u_1} [CommMonoid α] (n : ℕ) :
          theorem Units.ModPow.map_comp {α : Type u_1} {β : Type u_2} [CommMonoid α] [CommMonoid β] {γ : Type u_3} [CommMonoid γ] (ψ : β →* γ) (φ : α →* β) (n : ℕ) :
          map (ψ.comp φ) n = (map ψ n).comp (map φ n)
          theorem AddUnits.ModNSMul.map_comp {α : Type u_1} {β : Type u_2} [AddCommMonoid α] [AddCommMonoid β] {γ : Type u_3} [AddCommMonoid γ] (ψ : β →+ γ) (φ : α →+ β) (n : ℕ) :
          map (ψ.comp φ) n = (map ψ n).comp (map φ n)
          theorem Units.ModPow.map_map {α : Type u_1} {β : Type u_2} [CommMonoid α] [CommMonoid β] {γ : Type u_3} [CommMonoid γ] (ψ : β →* γ) (φ : α →* β) {n : ℕ} (x : ModPow α n) :
          (map ψ n) ((map φ n) x) = (map (ψ.comp φ) n) x
          theorem AddUnits.ModNSMul.map_map {α : Type u_1} {β : Type u_2} [AddCommMonoid α] [AddCommMonoid β] {γ : Type u_3} [AddCommMonoid γ] (ψ : β →+ γ) (φ : α →+ β) {n : ℕ} (x : ModNSMul α n) :
          (map ψ n) ((map φ n) x) = (map (ψ.comp φ) n) x
          theorem Units.ModPow.map_unit {α : Type u_1} {β : Type u_2} [CommMonoid α] [CommMonoid β] (φ : α →* β) (n : ℕ) {a : α} (ha : IsUnit a) :
          (map φ n) ↑ha.unit = ↑⋯.unit
          theorem AddUnits.ModNSMul.map_addUnit {α : Type u_1} {β : Type u_2} [AddCommMonoid α] [AddCommMonoid β] (φ : α →+ β) (n : ℕ) {a : α} (ha : IsAddUnit a) :
          (map φ n) ↑ha.addUnit = ↑⋯.addUnit
          def Units.ModPow.congr {α : Type u_1} {β : Type u_2} [CommMonoid α] [CommMonoid β] (e : α ≃* β) (n : ℕ) :
          ModPow α n ≃* ModPow β n

          An isomorphism α ≃* β induces an isomorphism Units.ModPow α n ≃* Units.ModPow β n of the groups of units modulo n-th powers.

          Equations
          Instances For
            def AddUnits.ModNSMul.congr {α : Type u_1} {β : Type u_2} [AddCommMonoid α] [AddCommMonoid β] (e : α ≃+ β) (n : ℕ) :

            An isomorphism α ≃+ β induces an isomorphism AddUnits.ModNSMul α n ≃+ AddUnits.ModNSMul β n of the groups of additive units modulo n-th multiples.

            Equations
            Instances For
              @[simp]
              theorem AddUnits.ModNSMul.congr_apply {α : Type u_1} {β : Type u_2} [AddCommMonoid α] [AddCommMonoid β] (e : α ≃+ β) (n : ℕ) (a : AddUnits α ⧸ (nsmulAddMonoidHom n).range) :
              @[simp]
              theorem Units.ModPow.congr_apply {α : Type u_1} {β : Type u_2} [CommMonoid α] [CommMonoid β] (e : α ≃* β) (n : ℕ) (a : αˣ ⧸ (powMonoidHom n).range) :
              @[simp]
              theorem Units.ModPow.congr_symm_apply {α : Type u_1} {β : Type u_2} [CommMonoid α] [CommMonoid β] (e : α ≃* β) (n : ℕ) (a : βˣ ⧸ (powMonoidHom n).range) :
              @[simp]
              theorem Units.ModPow.congr_mk {α : Type u_1} {β : Type u_2} [CommMonoid α] [CommMonoid β] (e : α ≃* β) (n : ℕ) (u : αˣ) :
              (congr e n) ↑u = ↑((mapEquiv e) u)
              @[simp]
              theorem AddUnits.ModNSMul.congr_mk {α : Type u_1} {β : Type u_2} [AddCommMonoid α] [AddCommMonoid β] (e : α ≃+ β) (n : ℕ) (u : AddUnits α) :
              (congr e n) ↑u = ↑((mapEquiv e) u)
              theorem Units.ModPow.congr_apply_eq_map {α : Type u_1} {β : Type u_2} [CommMonoid α] [CommMonoid β] (φ : α ≃* β) (n : ℕ) (x : ModPow α n) :
              (congr φ n) x = (map (↑φ) n) x
              theorem AddUnits.ModNSMul.congr_apply_eq_map {α : Type u_1} {β : Type u_2} [AddCommMonoid α] [AddCommMonoid β] (φ : α ≃+ β) (n : ℕ) (x : ModNSMul α n) :
              (congr φ n) x = (map (↑φ) n) x
              theorem Units.ModPow.bijective_map {α : Type u_1} {β : Type u_2} [CommMonoid α] [CommMonoid β] {φ : α →* β} (hφ : Function.Bijective ⇑φ) (n : ℕ) :

              The map on units modulo n-th powers induced by a bijective homomorphism is bijective.

              theorem AddUnits.ModNSMul.bijective_map {α : Type u_1} {β : Type u_2} [AddCommMonoid α] [AddCommMonoid β] {φ : α →+ β} (hφ : Function.Bijective ⇑φ) (n : ℕ) :

              The map on additive units modulo n-th multiples induced by a bijective homomorphism is bijective.

              noncomputable def Units.ModPow.piEquiv {ι : Type u_3} (M : ι → Type u_4) [(i : ι) → CommMonoid (M i)] (n : ℕ) :
              ModPow ((i : ι) → M i) n ≃* ((i : ι) → ModPow (M i) n)

              Taking units modulo n-th powers commutes with products.

              Equations
              Instances For
                noncomputable def AddUnits.ModNSMul.piEquiv {ι : Type u_3} (M : ι → Type u_4) [(i : ι) → AddCommMonoid (M i)] (n : ℕ) :
                ModNSMul ((i : ι) → M i) n ≃+ ((i : ι) → ModNSMul (M i) n)

                Taking additive units modulo n-th multiples commutes with products.

                Equations
                • One or more equations did not get rendered due to their size.
                Instances For
                  @[simp]
                  theorem Units.ModPow.piEquiv_mk {ι : Type u_3} (M : ι → Type u_4) [(i : ι) → CommMonoid (M i)] (n : ℕ) (u : ((i : ι) → M i)ˣ) (i : ι) :
                  (piEquiv M n) (↑u) i = ↑(MulEquiv.piUnits u i)
                  @[simp]
                  theorem AddUnits.ModNSMul.piEquiv_mk {ι : Type u_3} (M : ι → Type u_4) [(i : ι) → AddCommMonoid (M i)] (n : ℕ) (u : AddUnits ((i : ι) → M i)) (i : ι) :
                  (piEquiv M n) (↑u) i = ↑(AddEquiv.piAddUnits u i)