Module

FiniteCyclicCarryInflation.lean

Nyll.GaloisCohomology.ProP.FiniteCyclicCarryInflation
8 declarations indexed from sourceView source ↗

Inflation of cyclic carry classes

For generator-preserving cyclic quotient maps, inflation of the carry class scales its fixed coefficient by the index. The difference of the two carry cocycles is the boundary of the explicit quotient-coordinate cochain.

Imports6
Imported by4

Declarations

ClassFieldTower.Cohomology.zmodCarry_balance
Source context 6 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
open CategoryTheory
noncomputable section
namespace ClassFieldTower.Cohomology
universe u
section CoordinateBalance
theorem zmodCarry_balance {n : ℕ} [NeZero n] (x y : ZMod n) :
    n * zmodCarry x y + (x + y).val = x.val + y.val
ClassFieldTower.Cohomology.generatorCoordinate_map_val
Source context 11 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
open CategoryTheory
noncomputable section
namespace ClassFieldTower.Cohomology
universe u
section CoordinateBalance
variable {G H : Type u} [Group G] [Group H] [Fintype G] [Fintype H]
variable (g : G) (hg : ∀ x : G, x ∈ Subgroup.zpowers g)
variable (h : H) (hh : ∀ x : H, x ∈ Subgroup.zpowers h)
variable (f : H →* G) (hf : f h = g)
include hf in
theorem generatorCoordinate_map_val (x : H) :
    (finiteCyclicGeneratorCoordinate g hg (f x)).val =
      (finiteCyclicGeneratorCoordinate h hh x).val % Nat.card G
ClassFieldTower.Cohomology.finiteCyclicCarry_balance

The integer carry is the difference between the sum of the two standard representatives and the representative of their group product.

Source context 10 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
open CategoryTheory
noncomputable section
namespace ClassFieldTower.Cohomology
universe u
section CoordinateBalance
variable {G H : Type u} [Group G] [Group H] [Fintype G] [Fintype H]
variable (g : G) (hg : ∀ x : G, x ∈ Subgroup.zpowers g)
variable (h : H) (hh : ∀ x : H, x ∈ Subgroup.zpowers h)
variable (f : H →* G) (hf : f h = g)
theorem finiteCyclicCarry_balance (x y : G) :
    Nat.card G * finiteCyclicCarry g hg x y +
        (finiteCyclicGeneratorCoordinate g hg (x * y)).val =
      (finiteCyclicGeneratorCoordinate g hg x).val +
        (finiteCyclicGeneratorCoordinate g hg y).val
ClassFieldTower.Cohomology.finiteCyclicCarry_quotient_balance
Source context 11 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
open CategoryTheory
noncomputable section
namespace ClassFieldTower.Cohomology
universe u
section CoordinateBalance
variable {G H : Type u} [Group G] [Group H] [Fintype G] [Fintype H]
variable (g : G) (hg : ∀ x : G, x ∈ Subgroup.zpowers g)
variable (h : H) (hh : ∀ x : H, x ∈ Subgroup.zpowers h)
variable (f : H →* G) (hf : f h = g)
include hf in
theorem finiteCyclicCarry_quotient_balance (d : ℕ)
    (hcard : Nat.card H = d * Nat.card G) (x y : H) :
    let q : H → ℤ := fun z => ((finiteCyclicGeneratorCoordinate h hh z).val / Nat.card G : ℕ)
    (finiteCyclicCarry g hg (f x) (f y) : ℤ) + q x + q y =
      (finiteCyclicCarry h hh x y : ℤ) * d + q (x * y) := by
  intro q
  let n := Nat.card G
  let c (z : H) := (finiteCyclicGeneratorCoordinate h hh z).val
  let c' (z : H) := (finiteCyclicGeneratorCoordinate g hg (f z)).val
  have hdiv (z : H) : (c' z : ℤ) + (n : ℤ) * q z = (c z : ℤ) := by
    change (c' z : ℤ) + (n : ℤ) * ((c z / n : ℕ) : ℤ) = (c z : ℤ)
    exact_mod_cast ((congrArg (fun k : ℕ => k + n * (c z / n))
      (generatorCoordinate_map_val g hg h hh f hf z)).trans (Nat.mod_add_div (c z) n))
  have hg' : (n : ℤ) * (finiteCyclicCarry g hg (f x) (f y) : ℤ) + c' (x * y) =
      c' x + c' y := by
    have hg₀ := finiteCyclicCarry_balance g hg (f x) (f y)
    rw [← map_mul] at hg₀
    exact_mod_cast hg₀
  have hh' : ((d * n : ℕ) : ℤ) * (finiteCyclicCarry h hh x y : ℤ) + c (x * y) = c x + c y := by
    rw [show d * n = Nat.card H from hcard.symm]
    exact_mod_cast finiteCyclicCarry_balance h hh x y
  rw [Nat.cast_mul] at hh'
  have hn : (n : ℤ) ≠ 0 := Nat.cast_ne_zero.mpr Nat.card_pos.ne'
  apply mul_left_cancel₀ hn
  linear_combination hg' + hdiv x + hdiv y - hdiv (x * y) - hh'
ClassFieldTower.Cohomology.finiteCyclicGeneratorCoordinate_change
Source context 7 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
open CategoryTheory
noncomputable section
namespace ClassFieldTower.Cohomology
universe u
section GeneratorChange
variable {G : Type u} [Group G] [Fintype G]
  (g : G) (hg : ∀ x : G, x ∈ Subgroup.zpowers g)
  (h : G) (hh : ∀ x : G, x ∈ Subgroup.zpowers h)
theorem finiteCyclicGeneratorCoordinate_change (x : G) :
    finiteCyclicGeneratorCoordinate g hg x =
      finiteCyclicGeneratorCoordinate g hg h * finiteCyclicGeneratorCoordinate h hh x
ClassFieldTower.Cohomology.finiteCyclicCarry_change_balance
Source context 7 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
open CategoryTheory
noncomputable section
namespace ClassFieldTower.Cohomology
universe u
section GeneratorChange
variable {G : Type u} [Group G] [Fintype G]
  (g : G) (hg : ∀ x : G, x ∈ Subgroup.zpowers g)
  (h : G) (hh : ∀ x : G, x ∈ Subgroup.zpowers h)
theorem finiteCyclicCarry_change_balance (x y : G) :
    let c := (finiteCyclicGeneratorCoordinate g hg h).val
    let q : G → ℤ := fun z => ((c * (finiteCyclicGeneratorCoordinate h hh z).val) / Nat.card G : ℕ)
    (finiteCyclicCarry g hg x y : ℤ) + q x + q y =
      (c : ℤ) * (finiteCyclicCarry h hh x y : ℤ) + q (x * y) := by
  intro c q
  let n := Nat.card G
  let a (z : G) := (finiteCyclicGeneratorCoordinate g hg z).val
  let b (z : G) := (finiteCyclicGeneratorCoordinate h hh z).val
  have hmod (z : G) : a z = (c * b z) % n := by
    change (finiteCyclicGeneratorCoordinate g hg z).val = _
    rw [finiteCyclicGeneratorCoordinate_change g hg h hh z]
    rw [← ZMod.natCast_zmod_val (n := n) (finiteCyclicGeneratorCoordinate g hg h),
      ← ZMod.natCast_zmod_val (n := n) (finiteCyclicGeneratorCoordinate h hh z),
      ← Nat.cast_mul, ZMod.val_natCast]
  have hdiv (z : G) : (a z : ℤ) + (n : ℤ) * q z = (c : ℤ) * (b z : ℤ) := by
    change (a z : ℤ) + (n : ℤ) * (((c * b z) / n : ℕ) : ℤ) = _
    exact_mod_cast ((congrArg (fun m : ℕ => m + n * ((c * b z) / n)) (hmod z)).trans
      (Nat.mod_add_div (c * b z) n))
  have ha : (n : ℤ) * (finiteCyclicCarry g hg x y : ℤ) + (a (x * y) : ℤ) =
      (a x : ℤ) + (a y : ℤ) := by
    exact_mod_cast finiteCyclicCarry_balance g hg x y
  have hb : (n : ℤ) * (finiteCyclicCarry h hh x y : ℤ) + (b (x * y) : ℤ) =
      (b x : ℤ) + (b y : ℤ) := by
    exact_mod_cast finiteCyclicCarry_balance h hh x y
  apply mul_left_cancel₀ (Nat.cast_ne_zero.mpr (Nat.card_pos (α := G)).ne')
  linear_combination ha + hdiv x + hdiv y - hdiv (x * y) - (c : ℤ) * hb
ClassFieldTower.Cohomology.finiteCyclicCarry_changeGenerator_eq_nsmul

Changing the generator changes the carry class by the actual coordinate of the new generator in the old character.

Source context 7 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
open CategoryTheory
noncomputable section
namespace ClassFieldTower.Cohomology
universe u
section GeneratorChangeClass
variable {R G : Type u} [CommRing R] [CommGroup G] [Fintype G]
  (A : Rep R G)
  (g : G) (hg : ∀ x : G, x ∈ Subgroup.zpowers g)
  (h : G) (hh : ∀ x : G, x ∈ Subgroup.zpowers h)
theorem finiteCyclicCarry_changeGenerator_eq_nsmul
    (a : LinearMap.ker (Rep.applyAsHom A g - 𝟙 A).hom.toLinearMap)
    (b : LinearMap.ker (Rep.applyAsHom A h - 𝟙 A).hom.toLinearMap)
    (hab : a.1 = b.1) :
    groupCohomology.H2π A (finiteCyclicCarryTwoCocycle A g hg a) =
      (finiteCyclicGeneratorCoordinate g hg h).val •
        groupCohomology.H2π A (finiteCyclicCarryTwoCocycle A h hh b)
ClassFieldTower.Cohomology.finiteCyclicCarry_inflation_eq_class

Under a cyclic quotient sending the specified generator to the specified generator, inflation of the original carry class multiplies its coefficient by the ratio of the group orders.

Source context 10 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
open CategoryTheory
noncomputable section
namespace ClassFieldTower.Cohomology
universe u
variable {R G H : Type u} [CommRing R] [CommGroup G] [CommGroup H] [Fintype G] [Fintype H]
variable (g : G) (hg : ∀ x : G, x ∈ Subgroup.zpowers g)
variable (h : H) (hh : ∀ x : H, x ∈ Subgroup.zpowers h)
variable (f : H →* G) (hf : f h = g)
include hf in
theorem finiteCyclicCarry_inflation_eq_class
    (A : Rep R G) (B : Rep R H) (φ : Rep.res f A ⟶ B)
    (d : ℕ) (hcard : Nat.card H = d * Nat.card G)
    (a : LinearMap.ker (Rep.applyAsHom A g - 𝟙 A).hom.toLinearMap)
    (b : LinearMap.ker (Rep.applyAsHom B h - 𝟙 B).hom.toLinearMap)
    (hb : b.1 = d • φ.hom a.1) :
    groupCohomology.map f φ 2
        (groupCohomology.H2π A (finiteCyclicCarryTwoCocycle A g hg a)) =
      groupCohomology.H2π B (finiteCyclicCarryTwoCocycle B h hh b)