grh-compacta Lean artifact read back into mathematics

Structured proof · Unit 135

lemma card_mul_sum_det_le

What it saysSingular minors are rare (positive-type estimate). Let k be a finite field with q = |k| elements, n and m finite index types, G a finite group, \pi : G \to \mathrm{GL}_n(k) a group homomorphism, A : Bool \to Mat_{n\times m}(k) a pair of n\times m matrices A(true), A(false), \Theta : G \to \mathbb{R} with \Theta(s) \ge 0 for all s (h_{0}) and of positive type through a family u : G \to H in a complex inner product space H, \langle u(a), u(b)\rangle = \Theta(a^{-1}b) for all a, b (hu), and Y \ge 0 real (hY). Assume (h): for b \in \{true, false\} and every nonzero v \in k^{m}, \sum \Theta(s) over the s \in G with g_b(\pi(s))\cdot(A(b)v) = A(b)v is at most Y, where g_{\mathrm{true}}(\gamma) =(\gamma^{\mathsf{T}})^{-1} (invTransposeGL, the contragredient) and g_{\mathrm{false}}(\gamma) = \gamma, and \mathrm{GL}_n(k) acts on k^{n} by matrix–vector multiplication. Then q\cdot \sum_{s \in G : \det(A(\text{true})^{\mathsf{T}}\cdot \pi(s)\cdot A(\text{false})) = 0} \Theta(s) \le 2\cdot \sum_{s\in G} \Theta(s) + q^{|m|}\cdot \sqrt{q^{|n|}}\cdot Y. (The text reading of the signature also lists the section variables b (an orthonormal basis) and v : G \to H; the statement's b and v are bound variables of h and \mathit{hu}, so Lean is expected not to take them.)
The argument in briefFourier analysis on k^{m} \times k^{m}: with a primitive character \psi and M_s = A(true)^{\mathsf{T}}\pi(s)A(false), \sum_{y} E_v \psi(y\cdot M_s\cdot v) counts the y with y\cdot M_s = 0, which are at least q when \det M_s = 0. So the left side is at most \sum_{y} E_v \operatorname{Re} \sum_{s} \psi(\text{yM}_s v)\Theta(s). For y, v \ne 0 this inner sum is an inner product of two tensors whose squared norms are |G| times the \Theta-masses of the stabilisers in h (normalised characters for the contragredient side, the standard basis for the other), so it is \le \sqrt{q^{n}}\cdot Y; the terms with y = 0 or v = 0 contribute at most 2\sum \Theta.

14 steps, 13 of them leaves · New/Heights/OneDeterminant.lean, lines 28–54 · in the notes: Proposition 6.2, p. 13 of Heights and the product formula; few translates nearly span; the height of one Gram determinant

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

    Let r = \sqrt{q^{|n|}} (q = |k|).

  2. 2factline 33

    Choose a primitive additive character \psi : k \to \mathbb{C} (p: \psi is primitive).

    Lean states∃ _, _

    UsesFiniteField.primitiveChar_to_Complex_isPrimitive

  3. 3fact3 steps insidelines 34–38

    Claim N: for an orthonormal family c : k^{n} \to EuclideanSpace \mathbb{C} (k^{n}), an automorphism \sigma of the group \mathrm{GL}_n(k) and a vector x \in k^{n}: \sum_{s \in G : \sigma(\pi(s))\cdot x = x} \Theta(s) = \lVert \sum_{a\in G} c(\sigma(\pi(a))\cdot x) \otimes u(a)\rVert^{2} / |G|.

    Lean states∑ s with x = σ (π s) • x, Θ s = ‖∑ a, c (σ (π a) • x) ⊗ₜ[ℂ] u a‖ ^ 2 / card G

    1. 3.1deductionline 36

      Write the squared norm as \operatorname{Re}\langle w, w\rangle and expand it with inner_sum_sum_eq_card_mul: the inner product of the terms at a and b depends only on a^{-1}b, so \lVert w\rVert^{2} = |G|\cdot \sum_{g} f(g) with f(a^{-1}b) = \langle c(\sigma \pi(a)x), c(\sigma \pi(b)x)\rangle \cdot \Theta(a^{-1}b) (a side condition, that the inner product of the terms has this form, remains).

      Usesinner_sum_sum_eq_card_mul unit 135, norm_sq_eq_re_inner

    2. 3.2deductionline 37

      By orthonormality \langle c(\sigma \pi(a)x), c(\sigma \pi(b)x)\rangle is 1 or 0 according as \sigma \pi(a)x = \sigma \pi(b)x; so |G|\cdot \sum_{g} f(g) is |G| times the sum of \Theta(s) over s with \sigma \pi(s)x = x, which is the claimed equation (a filtered sum).

      UsesFinset.sum_filter

    3. 3.3deductionline 38

      The side condition: \langle c(\sigma \pi(a)x) \otimes u(a), c(\sigma \pi(b)x) \otimes u(b)\rangle = [\sigma \pi(a)x = \sigma \pi(b)x]\cdot \langle u(a), u(b)\rangle = [x = \sigma \pi(a^{-1}b)x]\cdot \Theta(a^{-1}b), by orthonormality of c, \mathit{hu} and the group law of \sigma \circ \pi.

      Usesorthonormal_iff_ite, eq_inv_smul_iff

  4. 4setupline 39

    Let W(y, v, s) = \psi(y\cdot A(true)^{\mathsf{T}}\cdot \pi(s)\cdot A(false)\cdot v)\cdot \Theta(s) for y, v \in k^{m} (y as a row vector).

  5. 5reductionlines 40–41

    Reduce the claim to three inequalities: (i) the left side is at most \sum_{y\in k^{m}} E_{v\in k^{m}} \operatorname{Re} \sum_{s} W(y, v, s) (E the average); (ii) for all y, v: \operatorname{Re} \sum_{s} W(y, v, s) \le [y = 0]\cdot \sum \Theta + [v = 0]\cdot \sum \Theta + r\cdot Y; (iii) \sum_{y} E_v of the right side of (ii) is at most the right side of the claim.

  6. 6computationlines 42–43

    In (i), sum the characters: \sum_{y} E_v \psi(y\cdot M_s\cdot v) (M_s = A(true)^{\mathsf{T}}\pi(s)A(false)) is the number of y with y\cdot M_s = 0, by orthogonality of characters (sum_addChar_dotProduct); so (i) becomes q\cdot \sum_{s : \det M_s = 0} \Theta(s) \le \sum_{s} \Theta(s)\cdot \#\{y : y\cdot M_s = 0\}.

    Usesstep 4, sum_addChar_dotProduct unit 103, Finset.sum_comm, Finset.mul_sum, Finset.sum_filter

  7. 7reductionline 44

    Compare termwise (\Theta \ge 0), and split every if-then-else in the open goals into its two cases (in (i): \det M_s = 0 or not; in (ii): y = 0 or not, v = 0 or not).

  8. 8factline 45

    If \det M_s = 0, there is a nonzero row vector y_{0} with y_{0}\cdot M_s = 0.

    UsesMatrix.exists_vecMul_eq_zero_iff

  9. 9deductionline 46

    Then t \mapsto t\cdot y_{0} is an injective map from k into \{y : y\cdot M_s = 0\}, so q = |k| \le \#\{y : y\cdot M_s = 0\}.

    Usesstep 8, Finset.card_le_card_of_injOn, smul_left_injective

  10. 10deductionlines 47–49

    The case y \ne 0, v \ne 0 of (ii): by h for true at y and for false at v, Y + Y bounds the two \Theta-masses of stabilisers; by N with the orthonormal family of normalised characters x \mapsto(\zeta \mapsto \psi(-x\cdot \zeta)/r) (for the contragredient action on A(true)y) and with the standard basis (for the action on A(false)v), these masses are the squared norms of two tensors divided by |G|; by 2\operatorname{Re}\langle X, Z\rangle \le \lVert X\rVert^{2} + \lVert Z\rVert^{2} (two_mul_le_add_sq, Cauchy–Schwarz) and inner_sum_sum_eq_card_mul with f = W(y, v, \cdot)/r, |G|\cdot \operatorname{Re} \sum_{s} W(y,v,s)/r is at most |G|\cdot Y, i.e. \operatorname{Re} \sum_{s} W(y, v, s) \le rY.

    Usesstep 3, step 4, inner_sum_sum_eq_card_mul unit 135, invTransposeGL unit 112, EuclideanSpace.orthonormal_single, two_mul_le_add_sq, re_inner_le_norm

  11. 11computationlines 50–54

    The remaining goals by computation: the normalised characters are orthonormal (orthogonality of characters, sum_addChar_dotProduct) and the inner products of step 10 are the W(y, v, s)/r; the cases of (ii) with y = 0 or v = 0 (|\psi | = 1 and \Theta \ge 0 bound \operatorname{Re} \sum_{s} W by \sum \Theta); and (iii): \sum_{y} E_v([y=0]\sum \Theta + [v=0]\sum \Theta + rY) = \sum \Theta + \sum \Theta + q^{|m|}\cdot r\cdot Y.

    Usesstep 3, step 4, sum_addChar_dotProduct unit 103, invTransposeGL unit 112, transposeGL unit 29, Finset.expect_add_distrib, Matrix.dotProduct_mulVec, AddChar.map_neg_eq_conj, AddChar.map_add_eq_mul