grh-compacta Lean artifact read back into mathematics

Structured proof · Unit 140

lemma bad_share_le

What it saysLet n and \iota be finite types, k = (k_w), w in \iota, a family of finite fields, q, M, r, f natural numbers with M nonzero, and \varepsilon, L real numbers. Assume |k_w| = q for every w, |n| = r, |\iota | = f, 1 < r, r < q, \varepsilon \le 1, (1 + M + 2r)/q \le \varepsilon and 2r(2r \log q + 1)L \le f. Let e be the sum, over the families c in \operatorname{goodTuples}(M, r), of \operatorname{tupleIdem}(n, c) in the group algebra of \prod_w \mathrm{GL}_n(k_w). Then the real part of the coefficient of 1 - e at the identity is at most f \varepsilon + \exp(-L).
The argument in briefWith m = (1 - r/q)/q^r, every good tuple contributes at least m^f to the real part of the coefficient of e at 1 (labelChar_degree_bounds factorwise). Good tuples include all families in \prod_w A_w that are not in \prod_w B_w, where A_w are the monic polynomials of degree r with no root in {0} or \mu_M and no square factor, and B_w the non-primitive ones. Counting: |A_w| m \ge 1 - \varepsilon (at most (1 + M) q^{r-1} + r q^{r-1} excluded polynomials), and |B_w| m \le 1 - L/f (the minimal polynomials of the \phi(q^r - 1) primitive roots give at least \phi(q^r - 1)/r primitive labels, and n \le \phi(n)(2 \log n + 1)). Then \operatorname{Re} e(1) \ge(1 - \varepsilon)^f - (1 - L/f)^f \ge 1 - f \varepsilon - \exp(-L).

21 steps, 17 of them leaves · New/Trace/BadShare.lean, lines 92–136 · in the notes: Theorem 1, p. 2 of Primitive labels of general linear groups over finite fields: the share of bad types and the cubic twist

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

    Rewrite the hypothesis on L as L \le f / (2r(2r \log q + 1)) (the denominator is positive), and put m = (1 - r/q)/q^r.

  2. 2factline 98

    1 < q, from 1 < r < q.

  3. 3factline 99

    0 \le m (since r \le q) and 1 < q^r.

    Usesstep 2

  4. 4fact8 steps insidelines 100–114

    For every w: (the number of monic polynomials of degree r over k_w that are not primitive labels) times m is at most 1 - L/f.

    Lean states#{c ∈ monicsOfDegree (k w) r | ¬IsPrimitiveLabel r c} • m ≤ 1 - L / f

    Usesstep 1, step 3

    1. 4.1reductionlines 101–102

      Using L/f \le 1/(2r(2r \log q + 1)), m \le 1/q^r and \#(not primitive) = q^r - \#(primitive), it suffices to show that the number of primitive labels of degree r is at least q^r/(2r(2r \log q + 1)).

    2. 4.2reductionline 103

      Clearing denominators (\operatorname{monicsOfDegree}(k_w, r) has q^r elements): it suffices that q^r \le 2r(2r \log q + 1) \#(primitive labels).

      UsesmonicsOfDegree unit 24

    3. 4.3reductionlines 104–106

      Since q^r \le 2(q^r - 1) \le 2 \phi(q^r - 1)(2 \log(q^r - 1) + 1) \le 2 \phi(q^r - 1)(2r \log q + 1), and the algebraic closure of k_w contains exactly \phi(q^r - 1) primitive roots of unity of order q^r - 1, it suffices that their number is at most r times the number of primitive labels.

      Usesle_totient_mul_log unit 10, card_primitiveRoots

    4. 4.4reductionlines 107–108

      Map each such primitive root \xi to its minimal polynomial over k_w: it suffices that this polynomial is a monic polynomial of degree r that is a primitive label, and that each fibre has at most r elements.

      UsesIsPrimitiveLabel unit 140, IsLabel unit 24, Finset.card_le_mul_card_image_of_maps_to

    5. 4.5factline 109

      For such a \xi: |k_w| = q, \xi^{q^r - 1} = 1, and \xi is integral (algebraic) over k_w with an irreducible minimal polynomial.

    6. The degree of the minimal polynomial of \xi is r: \xi^{q^d - 1} = 1 for d its degree gives (q^r - 1) | (q^d - 1), and d | r gives (q^d - 1) | (q^r - 1); so q^d - 1 = q^r - 1.

      Usesstep 4.5, root_pow_card_pow_pred_eq_one unit 24, root_pow_card_pow_eq_self_iff unit 24

    7. 4.7deductionline 113

      Hence d = r (q > 1), and the minimal polynomial is monic, irreducible, of degree r, with the root \xi of order q^r - 1: a primitive label of degree r.

      Usesstep 4.6

    8. 4.8factline 114

      Each fibre consists of roots of one polynomial of degree r, so has at most r elements.

  5. 5reduction1 step insidelines 115–124

    It suffices to prove the theorem from the inequality \prod_w (1 - \varepsilon) \le \prod_w \#(A_w) m, where A_w is the set of monic polynomials of degree r over k_w that are neither (X - x) h with x = 0 or x^M = 1 and h monic of degree r - 1, nor g^2 h with g monic of degree (r - d)/2 and h monic of degree d < r; this inequality follows factor by factor (the factors 1 - \varepsilon being nonnegative) from the bound for each w.

    UsesFinset.prod_le_prod₀

    1. 5.1fact2 steps insidelines 115–124

      For every w: 1 - \varepsilon \le \#(A_w) m.

      Lean states1 -

      1. 5.1.1computationlines 119–123

        Counting: \operatorname{monicsOfDegree}(k_w, r) has q^r elements; the excluded polynomials number at most (1 + M) q^{r-1} (at most 1 + M choices of x, q^{r-1} of h) plus \sum_{d<r} q^{(r-d)/2 + d} \le r q^{r-1}; with (1 + M + 2r)/q \le \varepsilon the bound follows.

        UsesmonicsOfDegree unit 24

      2. 5.1.2computationline 124

        The remaining real and natural-number inequalities.

  6. 6deduction2 steps insidelines 125–130

    Main chain: the families of \prod_w A_w not in \prod_w B_w (B_w the non-primitive monic polynomials) are good tuples, so \#\operatorname{goodTuples}(M, r) \ge \prod_w \#A_w - \prod_w \#B_w; every good tuple c contributes to \operatorname{Re} e(1) the product over w of the coefficients of \operatorname{labelIdem}(n, c_w) at 1, which is at least m^f; with step 4 this gives \operatorname{Re} e(1) \ge \prod_w (\#A_w m) - (1 - L/f)^f.

    Usesstep 4

    1. For a good tuple c and each w: m \le the coefficient of \operatorname{labelIdem}(n, c_w) at 1, as c_w is a label of degree r = |n| over a field with q elements.

      Lean states(m : ℂ) ≤ _

      UseslabelChar_degree_bounds unit 24, labelIdem unit 24

    2. 6.2computationlines 129–130

      The side conditions of the chain (membership in goodTuples, positivity) by unfolding goodTuples.

      UsesgoodTuples unit 140

  7. 7deductionline 131

    Conclude: (1 - \varepsilon)^f \ge 1 - f \varepsilon (Bernoulli) and (1 - L/f)^f \le \exp(-L), so \operatorname{Re}(1 - e)(1) \le f \varepsilon + \exp(-L).

    Usesstep 5, step 6, one_add_mul_sub_le_pow, one_sub_div_pow_le_exp_neg

  8. Remaining goal: a family in \prod_w A_w not in \prod_w B_w is a good tuple: each c_w is monic of degree r with nonzero constant term (0 is not a root), squarefree (an irreducible factor h with h^2 | c_w would make c_w of the form g^2 h'), and has no root x with x^M = 1; and some c_w is primitive.