grh-compacta Lean artifact read back into mathematics

Structured proof · Unit 137

lemma one_prime_first_order

What it saysLet \Gamma be a finite group, R a ring, m a natural number, \rho \colon \Gamma \to R a homomorphism into the multiplicative monoid of R, H a subgroup of \Gamma, S a ring and \sigma \colon R \to S a ring homomorphism with m = 0 in S (hm). Let a \colon H \to \mathbb{Z}/m be a homomorphism (\mathbb{Z}/m written multiplicatively; a(p) also denotes its additive value), B an additive map from integer-valued functions on \mathbb{Z}/m to R with B(f)\cdot \rho(p) = B(x \mapsto f(x - a(p))) for all f and p \in H (hB), \mathcal{A} a subring of R containing every \rho(g) (hρ) and every B(f) (h\mathcal{A}), A a type and ac : A \to R a function whose values commute with every element of \mathcal{A} (hc). Let \Psi, L \in R, \gamma \in \Gamma and n, k \in \mathbb{N} satisfy: \sum_{p\in H} \rho(p^{-1})\Psi \rho(p) = n (hΨ); \rho(p)\cdot B(1) = B(1) for p \in H, 1 the constant function (hX); L\cdot B(1) = 0 (h); L\cdot \rho(g) = L for all g \in \Gamma (hL); multiplication by |\Gamma | is injective on R (tf); k\cdot \operatorname{Tr}_a(\gamma) = k in \mathbb{Z}/m, \operatorname{Tr}_a \colon \Gamma \to \mathbb{Z}/m the transfer of a (hn). Then there is F \in \mathcal{A} such that (i) for every g \in \Gamma there is Z \in R with \sigma(n\cdot F\cdot(\rho(g) - 1)) = \sigma((\sum_{g'\in \Gamma } \rho(g'))\cdot Z) and L\cdot Z = 0; and (ii) for all t, t' \in A and r \in R: if B(f(\cdot - k) - f)\cdot ac(t) = \operatorname{weightedSum}(\rho |_H, a)(f(\cdot - k) - f)\cdot ac(t') for every f \colon \mathbb{Z}/m \to \mathbb{Z}, and \operatorname{weightedSum}(\rho, \operatorname{Tr}_a)(f)\cdot ac(t') = (\rho(\gamma) - 1)\cdot \operatorname{weightedSum}(\rho, \operatorname{Tr}_a)(f)\cdot r for every f, then (2k)\cdot \sigma(F)\sigma(ac(t)) = (2k)\cdot \sigma(\sum_{g\in \Gamma } \rho(g))\sigma(r).
The argument in briefTake F = T\cdot B(-v)\cdot U with T, U the sums of \rho over coset representatives and their inverses and v the least absolute residue. Conjugating by the representatives turns sums over H into sums over \Gamma (key); with hΨ and hX this gives (\sum \rho)\Psi B(1) = n\cdot T\cdot B(1), whence (i) with Z_g built from the H-components of g\cdot \widehat{\eta}, and L\cdot Z_g = 0 by tf. For (ii), the weight f(x) = -v(x)(v(x)+k) has f(x-k) - f(x) \equiv 2k\cdot v(x); conjugation sums weights over the cosets into the transfer, and k\cdot \operatorname{Tr}_a(\gamma) = k closes the computation modulo m.

18 steps, 15 of them leaves · New/Patching/OnePrime.lean, lines 81–118 · in the notes: Proposition 4.4, p. 11 of A Taylor–Wiles prime at a time: ties of tame inertia to Frobenius and the denominator of the projection

↑ ↓ or j k: step · ← →: fold · Enter: show its lines
  1. 1definitionline 90

    Let T = \sum_{\eta \in \Gamma /H} \rho(\widehat{\eta}), \widehat{\eta} the chosen representative of the coset \eta.

  2. 2definitionline 91

    Let U = \sum_{\eta \in \Gamma /H} \rho(\widehat{\eta}^{-1}).

  3. 3definitionline 92

    Let v \colon \mathbb{Z}/m \to \mathbb{Z} send a residue to its representative of least absolute value.

    UsesZMod.valMinAbs

  4. 4definitionlines 93–94

    For g, x \in \Gamma let w(g, x) = r^{-1}\cdot gx \in H, r the chosen representative of the coset gxH: the component in H of gx with respect to the representatives.

    UsesQuotientGroup.eq

  5. For every f \colon H \to \mathbb{Z} and x \in \Gamma: T\cdot(\sum_{p\in H} f(p)\rho(p))\cdot \rho(x^{-1}) = \sum_{g\in \Gamma } f(w(g, x))\rho(g); expand the product into a double sum over (\eta, p) and substitute the bijection (\eta, p) \mapsto \widehat{\eta} p x^{-1}, whose inverse is g \mapsto (coset of gx, w(g, x)).

    Lean statesT * (∑ p, f p • ρ p) * ρ x⁻¹ = ∑ g, f (w g x) • ρ g

    Usesstep 1, step 4, Finset.sum_nbij'

  6. (\sum_{g\in \Gamma } \rho(g))\cdot(\Psi \cdot B(1)) = n\cdot T\cdot B(1): multiply hΨ by T on the left and B(1) on the right, use hX (\rho(p)B(1) = B(1)), substitute p \mapsto p^{-1} in H, and use step 5 with f = 1, x = 1 (T\cdot \sum_{p\in H} \rho(p) = \sum_{g\in \Gamma } \rho(g)).

    Lean states(∑ g, ρ g) * (Ψ * B 1) = n • T * B 1

    Usesstep 5

  7. 7witness4 steps insidelines 100–103

    Take F = T\cdot B(-v)\cdot U.

    Usesstep 1, step 2, step 3

    1. 7.1factline 100

      F \in \mathcal{A}: the \rho(g) and B(-v) lie in \mathcal{A} (hρ, h\mathcal{A}), which is closed under sums and products.

    2. 7.2witnesslines 100–101

      For g \in \Gamma take Z_g = \Psi \cdot B(1)\cdot \sum_{\eta \in \Gamma /H} v(a(w(g, \widehat{\eta})))\cdot \rho(\widehat{\eta}^{-1}); its first property is step 8.

      Usesstep 4

    3. L\cdot Z_g = 0: multiplying step 6 by L on the left, hL gives L\cdot(\sum \rho) = |\Gamma |\cdot L and L\cdot T = [\Gamma :H]\cdot L, and h gives L\cdot B(1) = 0; so |\Gamma |\cdot(L\cdot \Psi \cdot B(1)) = 0, and L\cdot \Psi \cdot B(1) = 0 because |\Gamma | is regular on R (tf).

      Usesstep 6

    4. 7.4reductionline 103

      For (ii), given the two hypotheses h₁ and h₂ the identity is the chain (2k)\cdot \sigma(F)\sigma(ac(t)) = -\sigma(\operatorname{weightedSum}(\rho, \operatorname{Tr}_a)((2k)v)\cdot ac(t')) (step 9) = -\sigma((\rho(\gamma) - 1)\cdot \operatorname{weightedSum}(\rho, \operatorname{Tr}_a)((2k)v)\cdot r) (h₂ for f = (2k)v) = (2k)\cdot \sigma(\sum \rho)\sigma(r) (step 10).

  8. 8computation2 steps insidelines 104–107

    Property (i): \sigma(n\cdot F\cdot(\rho(g) - 1)) = \sigma((\sum_{g'} \rho(g'))\cdot Z_g).

    1. 8.1computationlines 104–105

      By step 6, (\sum \rho)\cdot Z_g = n\cdot T\cdot B(1)\cdot \sum_\eta v(a(w(g, \widehat{\eta})))\rho(\widehat{\eta}^{-1}); on the other side expand F\cdot \rho(g) = T\cdot B(-v)\cdot \sum_\eta \rho(\widehat{\eta}^{-1}g) and substitute along the permutation of \Gamma /H induced by g, writing \widehat{\eta}^{-1}g as w(g, \widehat{\eta})\cdot(representative)^{-1}.

      Usesstep 4, step 6, MulAction.toPerm

    2. 8.2computationlines 106–107

      Each B(-v)\cdot \rho(w) with w \in H equals B(x \mapsto -v(x - a(w))) (hB), and after \sigma this is \sigma(B(-v)) + v(a(w))\cdot \sigma(B(1)) because v(x - y) \equiv v(x) - v(y) mod m and \sigma kills m (map_eq_of_weights_modEq); the terms \sigma(B(-v)) cancel against -F and the rest is n\cdot T\cdot B(1)\cdot \sum_\eta v(a(w(g, \widehat{\eta})))\rho(\widehat{\eta}^{-1}).

      Usesmap_eq_of_weights_modEq unit 137

  9. 9computation2 steps insidelines 108–116

    First link of (ii): (2k)\cdot \sigma(F)\sigma(ac(t)) = -\sigma(\operatorname{weightedSum}(\rho, \operatorname{Tr}_a)((2k)v)\cdot ac(t')).

    1. \sigma(T\cdot \operatorname{weightedSum}(\rho |_H, a)(v)\cdot U) = \sigma(\operatorname{weightedSum}(\rho, \operatorname{Tr}_a)(v)): by step 5 the left side is \sigma of \sum_{g\in \Gamma } (\sum_\eta v(a(w(g, \widehat{\eta}))))\rho(g), and \sum_\eta a(w(g, \widehat{\eta})) is the transfer \operatorname{Tr}_a(g) (its defining product over the cosets), so the integer weights agree modulo m and \sigma identifies the two (map_eq_of_weights_modEq).

      Lean statesσ (T * weightedSum (ρ.comp H.subtype) a v * U) = σ (weightedSum ρ a.transfer v)

      Usesstep 5, weightedSum unit 137, map_eq_of_weights_modEq unit 137, MonoidHom.transfer_def

    2. 9.2computationlines 113–116

      Apply h₁ to f(x) = -v(x)(v(x) + k): then f(x - k) - f(x) \equiv 2k\cdot v(x) mod m (as v(x - k) \equiv v(x) - k), so after \sigma: B((2k)v)\cdot ac(t) = \operatorname{weightedSum}(\rho |_H, a)((2k)v)\cdot ac(t'). Multiply by T on the left and U on the right, move ac(t) past U (hc, U \in \mathcal{A}) and use 9.1 and F = T\cdot B(-v)\cdot U.

      Usesstep 9.1, map_eq_of_weights_modEq unit 137

  10. 10computationlines 117–118

    Last link of (ii): -\sigma((\rho(\gamma) - 1)\cdot \operatorname{weightedSum}(\rho, \operatorname{Tr}_a)((2k)v)\cdot r) = (2k)\cdot \sigma(\sum \rho)\sigma(r): by mul_weightedSum, \rho(\gamma)\cdot \operatorname{weightedSum}(\rho, \operatorname{Tr}_a)(f) = \operatorname{weightedSum}(\rho, \operatorname{Tr}_a)(f(\cdot - \operatorname{Tr}_a(\gamma))); the weights (2k)(v(x - \operatorname{Tr}_a(\gamma)) - v(x)) are \equiv -2k\cdot \operatorname{Tr}_a(\gamma) \equiv -2k mod m by hn, so the difference is \sigma(-2k\cdot \sum_g \rho(g)).

    Usesmul_weightedSum unit 137, map_eq_of_weights_modEq unit 137, weightedSum unit 137