grh-compacta Lean artifact read back into mathematics

Structured proof · Unit 152

lemma exists_three_term_free

What it saysBehrend's construction. For commutative groups G and H, a group homomorphism \varphi : G \to H, elements c, g \in G, natural numbers n, M, L with hL : 0 < L and h : (L\cdot M)^n \le orderOf(\varphi (g)): there is a finite set T \subseteq G such that (1) every \sigma \in T equals c\cdot g^e for some natural number e; (2) M^n/(n\cdot M^{2}) \le \#T (a real quotient with Lean's division, x/0 = 0: for n\cdot M = 0 the bound is 0 \le \#T); and (3) for all natural numbers i, j with 0 < i < j \le L and all \sigma , \tau , \rho \in T, \varphi (\tau /\sigma )^j = \varphi (\rho /\sigma )^i implies \varphi (\tau /\sigma ) = 1.
The argument in briefBehrend: T is the image of a sphere {x \in [0, M)^n : \sum x_l^{2} = k} under x \mapsto c\cdot g^{\langle x\rangle }, \langle x\rangle the number with base-LM digits x. A relation \varphi (\tau /\sigma )^j = \varphi (\rho /\sigma )^i becomes the vector identity j\cdot v = i\cdot w + (j - i)\cdot u among points of the sphere, which strict convexity forces to be trivial.

11 steps, 8 of them leaves · New/Data/DataExist.lean, lines 20–36 · in the notes: Proposition 6.1, p. 10 of Admissible data: scales, ranks and sizes, and their existence

↑ ↓ or j k: step · ← →: fold · Enter: show its lines
  1. 1setup7 steps insidelines 23–36

    By Behrend's count (exists_large_sphere) there is k such that the sphere S = \{x \in \{0, \ldots , M-1\}^n : \sum _l x_l^{2} = k\} has at least M^n/(n\cdot M^{2}) points; fix such k.

    UsesBehrend.exists_large_sphere

    1. 1.1factline 24

      The map x \mapsto \varphi (g)^{\langle x\rangle }, where \langle x\rangle = \sum _l x_l\cdot (LM)^l (Behrend.map (L·M)), is injective on the vectors with all coordinates < LM: x \mapsto \langle x\rangle is injective there (Behrend.map_injOn) with values < (LM)^n \le orderOf(\varphi (g)) (h, via finFunctionFinEquiv), and a \mapsto \varphi (g)^a is injective on [0, orderOf(\varphi (g))).

      Usespow_injOn_Iio_orderOf, Behrend.map_injOn, finFunctionFinEquiv

    2. 1.2witnessline 25

      Take T = \{c\cdot g^{\langle x\rangle } : x \in S\}, the image of S under x \mapsto c\cdot g^{\langle x\rangle }.

    3. 1.3reduction2 steps insidelines 26–28

      Properties (1) and (2) hold and (3) is reduced to points of S: every element of T is c\cdot g^e; \#T = \#S \ge M^n/(n\cdot M^{2}) because x \mapsto c\cdot g^{\langle x\rangle } is injective on S (equal values give \varphi (g)^{\langle x\rangle } = \varphi (g)^{\langle y\rangle }, hence x = y by 1.1, provided the coordinates of points of S are < LM).

      Usesstep 1.1, Finset.card_image_iff

      1. 1.3.1factline 26

        For a point v of S the coordinate bound is to be shown coordinate by coordinate: for every index i, v_i < L\cdot M (left open here).

        Lean states∀ i, _

      2. 1.3.2computationlines 26–28

        Rewriting \#T = \#S (card_image_iff) and simplifying with the definitions of the sphere and the box turns (1)–(3) into statements about points of S; the coordinate bounds v_i < L\cdot M follow from v_i < M and L \ge 1 (nlinarith).

        UsesFinset.card_image_iff

    4. 1.4setupline 29

      Let 0 < i < j \le L, and \sigma = c\cdot g^{\langle u\rangle }, \tau = c\cdot g^{\langle v\rangle }, \rho = c\cdot g^{\langle w\rangle } with u, v, w \in S, and H : \varphi (\tau /\sigma )^j = \varphi (\rho /\sigma )^i; it is to be shown that \varphi (\tau /\sigma ) = 1.

    5. 1.5setupline 30

      Write j = i + a with a > 0.

      Useslt_iff_exists_add

    6. 1.6deductionlines 31–33

      e: (i + a)\cdot v = i\cdot w + a\cdot u as vectors. Both sides have coordinates < L\cdot M ((i + a)\cdot v_l \le L\cdot (M - 1) and i\cdot w_l + a\cdot u_l \le (i + a)(M - 1)), and their images under x \mapsto \varphi (g)^{\langle x\rangle } agree: \langle \cdot \rangle is additive, \varphi (\tau /\sigma ) = \varphi (g)^{\langle v\rangle - \langle u\rangle } and \varphi (\rho /\sigma ) = \varphi (g)^{\langle w\rangle - \langle u\rangle }, so H says \varphi (g)^{(i+a)\langle v\rangle } = \varphi (g)^{i\langle w\rangle + a\langle u\rangle }; injectivity (1.1) gives the identity.

      Usesstep 1.1, step 1.4, step 1.5

    7. 1.7deduction1 step insidelines 34–36

      Hence u = v, so \tau = \sigma and \varphi (\tau /\sigma ) = 1: by the identity of 1.7.1 and \sum u_l^{2} = \sum v_l^{2} = \sum w_l^{2} = k, (i + a)\cdot a\cdot \sum _l (u_l - v_l)^{2} = 0, and i + a > 0, a > 0.

      Usesstep 1.4, step 1.5

      1. 1.7.1identitylines 34–36

        \sum _l (i + a)\cdot (a\cdot (u_l - v_l)^{2} + i\cdot v_l^{2}) = \sum _l i\cdot (i\cdot w_l^{2} + a\cdot u_l^{2}), termwise: from (i + a)v_l = i\cdot w_l + a\cdot u_l (e), i^{2}w_l^{2} = ((i + a)v_l - a\cdot u_l)^{2}, so i(i\cdot w_l^{2} + a\cdot u_l^{2}) = (i + a)((i + a)v_l^{2} - 2a\cdot u_l\cdot v_l + a\cdot u_l^{2}) = (i + a)(a(u_l - v_l)^{2} + i\cdot v_l^{2}) (integers, grind).

        Usesstep 1.6