Documentation

GQ2.GaussCount.Wall

Gauss sums, zero counts, and Wall doubling #

The elementary Gauss-sum engine and the structural and counting parts of Wall doubling.

See GQ2.GaussCount for the paper-facing overview, source citations, and deviations.

The sign character ๐”ฝโ‚‚ โ†’ โ„ค #

def GQ2.QuadraticFp2.sign (a : ZMod 2) :
โ„ค

The nontrivial character ๐”ฝโ‚‚ โ†’ โ„คหฃ โŠ‚ โ„ค, 0 โ†ฆ 1, 1 โ†ฆ โˆ’1.

Equations
Instances For
    @[simp]
    theorem GQ2.QuadraticFp2.sign_add (a b : ZMod 2) :
    sign (a + b) = sign a * sign b

    The Gauss sum #

    noncomputable def GQ2.QuadraticFp2.gaussSum {V : Type u_1} (q : V โ†’ ZMod 2) [Fintype V] :
    โ„ค

    The integer Gauss sum g(q) = โˆ‘_v (โˆ’1)^{q(v)} = #qโปยน(0) โˆ’ #qโปยน(1).

    Equations
    Instances For
      def GQ2.QuadraticFp2.polarHom {V : Type u_1} [AddCommGroup V] (q : V โ†’ ZMod 2) (hq : IsQuadraticFp2 q) (u : V) :
      V โ†’+ ZMod 2

      B(ยท, u) as an additive character V โ†’+ ๐”ฝโ‚‚ (additive by polar_add_left).

      Equations
      Instances For
        @[simp]
        theorem GQ2.QuadraticFp2.polarHom_apply {V : Type u_1} [AddCommGroup V] (q : V โ†’ ZMod 2) (hq : IsQuadraticFp2 q) (u v : V) :
        (polarHom q hq u) v = polar q v u
        theorem GQ2.QuadraticFp2.charSum_eq_zero {V : Type u_1} [AddCommGroup V] [Fintype V] (ฯ† : V โ†’+ ZMod 2) (hฯ† : โˆƒ (uโ‚€ : V), ฯ† uโ‚€ = 1) :
        โˆ‘ v : V, sign (ฯ† v) = 0

        Character-sum vanishing: for a nonzero additive character ฯ† : V โ†’+ ๐”ฝโ‚‚ on a finite group, โˆ‘_v (โˆ’1)^{ฯ†(v)} = 0. (Shift by any uโ‚€ with ฯ†(uโ‚€) = 1 negates the sum.)

        theorem GQ2.QuadraticFp2.sum_sign_shift_eq_zero {V : Type u_1} [AddCommGroup V] [Fintype V] (f : V โ†’ ZMod 2) (rโ‚€ : V) (h : โˆ€ (x : V), f (x + rโ‚€) = f x + 1) :
        โˆ‘ x : V, sign (f x) = 0

        Twisted-sum vanishing (Wall step, level 0): if a function f : V โ†’ ๐”ฝโ‚‚ shifts by 1 under some translation rโ‚€ (f(x + rโ‚€) = f(x) + 1), then โˆ‘_x (โˆ’1)^{f(x)} = 0. This is the "character is nonzero on the radical โ‡’ the Gauss sum vanishes" building block for Lemma 6.6's sign relation.

        theorem GQ2.QuadraticFp2.gaussSum_sq {V : Type u_1} [AddCommGroup V] [Fintype V] (q : V โ†’ ZMod 2) (hq : IsQuadraticFp2 q) (hns : Nonsingular q) :
        gaussSum q ^ 2 = โ†‘(Fintype.card V)

        The Gauss sum squares to #V for a nonsingular form: the character-sum identity g(q)ยฒ = โˆ‘_u (โˆ’1)^{q(u)} โˆ‘_x (โˆ’1)^{B(x,u)} = (โˆ’1)^{q(0)}ยท#V.

        From the Gauss sum to the zero count #

        theorem GQ2.QuadraticFp2.gaussSum_eq {V : Type u_1} [Fintype V] (q : V โ†’ ZMod 2) :
        gaussSum q = 2 * โ†‘(zeroCount q) - โ†‘(Fintype.card V)

        Bridge: g(q) = 2ยท#qโปยน(0) โˆ’ #V (the Gauss sum counts zeros minus ones).

        theorem GQ2.QuadraticFp2.arf_eq_zero_iff_gaussSum_pos {V : Type u_1} [Fintype V] (q : V โ†’ ZMod 2) :
        arf q = 0 โ†” 0 < gaussSum q

        The democratic arf is 0 exactly when the Gauss sum is positive (zeros a strict majority).

        theorem GQ2.QuadraticFp2.gaussSum_eq_pow {V : Type u_1} [AddCommGroup V] [Fintype V] (q : V โ†’ ZMod 2) (hq : IsQuadraticFp2 q) (hns : Nonsingular q) {m : โ„•} (hcard : Fintype.card V = 2 ^ (2 * m)) :
        gaussSum q = 2 ^ m โˆจ gaussSum q = -2 ^ m

        For a nonsingular form with #V = 2^{2m}, the Gauss sum is ยฑ2^m.

        theorem GQ2.QuadraticFp2.zeroCount_of_arf_zero {V : Type u_1} [AddCommGroup V] [Fintype V] (q : V โ†’ ZMod 2) (hq : IsQuadraticFp2 q) (hns : Nonsingular q) {m : โ„•} (hm : 1 โ‰ค m) (hcard : Fintype.card V = 2 ^ (2 * m)) (harf : arf q = 0) :
        zeroCount q = 2 ^ (2 * m - 1) + 2 ^ (m - 1)

        Zero count, arf = 0 (positive Gauss sign): #qโปยน(0) = 2^{2mโˆ’1} + 2^{mโˆ’1}.

        theorem GQ2.QuadraticFp2.zeroCount_of_arf_one {V : Type u_1} [AddCommGroup V] [Fintype V] (q : V โ†’ ZMod 2) (hq : IsQuadraticFp2 q) (hns : Nonsingular q) {m : โ„•} (hm : 1 โ‰ค m) (hcard : Fintype.card V = 2 ^ (2 * m)) (harf : arf q = 1) :
        zeroCount q = 2 ^ (2 * m - 1) - 2 ^ (m - 1)

        Zero count, arf = 1 (negative Gauss sign): #qโปยน(0) = 2^{2mโˆ’1} โˆ’ 2^{mโˆ’1}.

        Lemma 6.6 (Wall doubling) โ€” structural reformulations #

        The doubling has the clean shape q_U = q + qโˆ˜(1+U): since U is an isometry, B(x, Ux) = q(x + Ux) (q(Ux) = q(x) cancels the cross terms). This makes the polar form of q_U transparently B_U(x,y) = B(x,y) + B((1+U)x, (1+U)y).

        theorem GQ2.QuadraticFp2.qDouble_eq_add {V : Type u_1} [AddCommGroup V] (q : V โ†’ ZMod 2) (U : V โ‰ƒ+ V) (hUq : โˆ€ (v : V), q (U v) = q v) (x : V) :
        qDouble q (โ‡‘U) x = q x + q (x + U x)

        q_U(x) = q(x) + q((1+U)x).

        theorem GQ2.QuadraticFp2.polar_qDouble {V : Type u_1} [AddCommGroup V] (q : V โ†’ ZMod 2) (U : V โ‰ƒ+ V) (hUq : โˆ€ (v : V), q (U v) = q v) (x y : V) :
        polar (qDouble q โ‡‘U) x y = polar q x y + polar q (x + U x) (y + U y)

        The polar form of the doubling: B_U(x,y) = B(x,y) + B((1+U)x, (1+U)y).

        theorem GQ2.QuadraticFp2.exists_card_eq_two_pow {W : Type u_2} [AddCommGroup W] [Finite W] (h2 : โˆ€ (w : W), w + w = 0) :
        โˆƒ (k : โ„•), Nat.card W = 2 ^ k

        A finite elementary abelian 2-group has 2-power cardinality.

        theorem GQ2.QuadraticFp2.exists_card_range_eq_two_pow {V : Type u_2} [AddCommGroup V] [Finite V] (h2 : โˆ€ (v : V), v + v = 0) (f : V โ†’+ V) :
        โˆƒ (k : โ„•), Nat.card โ†ฅf.range = 2 ^ k

        The range of 1 + U has 2-power cardinality (it is a subgroup of the elem. ab. 2-group V).

        Lemma 6.6 โ€” nonsingularity of the doubling #

        B_U(x,y) = B(x, (1+U+Uโปยน)y), so q_U is nonsingular iff 1+U+Uโปยน (equivalently 1+U+Uยฒ) is injective โ€” true for a 2-power-order U: Uยณy = y โŸน Uy = y (the fixed point has period dividing gcd(3, 2โฟ) = 1), and on fix U the operator 1+U+Uยฒ acts as 3 = 1 โ‰  0.

        theorem GQ2.QuadraticFp2.polar_isometry_both {V : Type u_2} [AddCommGroup V] (q : V โ†’ ZMod 2) (U : V โ‰ƒ+ V) (hUq : โˆ€ (v : V), q (U v) = q v) (x y : V) :
        polar q (U x) (U y) = polar q x y

        Isometry: B(Ux, Uy) = B(x, y).

        theorem GQ2.QuadraticFp2.polar_isometry_left {V : Type u_2} [AddCommGroup V] (q : V โ†’ ZMod 2) (U : V โ‰ƒ+ V) (hUq : โˆ€ (v : V), q (U v) = q v) (x y : V) :
        polar q (U x) y = polar q x (U.symm y)

        Isometry adjoint: B(Ux, y) = B(x, Uโปยนy).

        theorem GQ2.QuadraticFp2.polar_qDouble_eq {V : Type u_2} [AddCommGroup V] (q : V โ†’ ZMod 2) (U : V โ‰ƒ+ V) (hq : IsQuadraticFp2 q) (hUq : โˆ€ (v : V), q (U v) = q v) (x y : V) :
        polar (qDouble q โ‡‘U) x y = polar q x (y + U y + U.symm y)

        B_U(x,y) = B(x, (1 + U + Uโปยน)y).

        theorem GQ2.QuadraticFp2.onePlusUUsq_injective {V : Type u_2} [AddCommGroup V] (U : V โ‰ƒ+ V) (h2 : โˆ€ (v : V), v + v = 0) (hU2 : โˆƒ (n : โ„•), (โ‡‘U)^[2 ^ n] = id) (y : V) (hy : y + U y + U (U y) = 0) :
        y = 0

        (1 + U + Uยฒ) is injective for a 2-power-order isometry U on an exponent-2 group: (1+U+Uยฒ)y = 0 โŸน Uy = y (period divides gcd(3, 2โฟ) = 1), whence y = 3y = 0.

        theorem GQ2.QuadraticFp2.qDouble_nonsingular {V : Type u_2} [AddCommGroup V] (q : V โ†’ ZMod 2) (U : V โ‰ƒ+ V) [Finite V] (hq : IsQuadraticFp2 q) (h2 : โˆ€ (v : V), v + v = 0) (hns : Nonsingular q) (hUq : โˆ€ (v : V), q (U v) = q v) (hU2 : โˆƒ (n : โ„•), (โ‡‘U)^[2 ^ n] = id) :
        Nonsingular (qDouble q โ‡‘U)

        Lemma 6.6, nonsingularity: for a nonsingular q and a 2-power-order isometry U, the doubling q_U is nonsingular (1 + U + Uโปยน is bijective on the finite V).

        theorem GQ2.QuadraticFp2.gaussSum_ne_zero {V : Type u_2} [AddCommGroup V] (q : V โ†’ ZMod 2) [Fintype V] (hq : IsQuadraticFp2 q) (hns : Nonsingular q) :
        gaussSum q โ‰  0

        The Gauss sum of a nonsingular form is nonzero (its square is #V โ‰ฅ 1).

        theorem GQ2.QuadraticFp2.arf_qDouble_of_gaussSum_sign {V : Type u_2} [AddCommGroup V] (q : V โ†’ ZMod 2) (U : V โ‰ƒ+ V) [Fintype V] {k : โ„•} (hgne : gaussSum q โ‰  0) (hsign : gaussSum (qDouble q โ‡‘U) = (-1) ^ k * gaussSum q) :
        arf (qDouble q โ‡‘U) = arf q + โ†‘k

        Arf-additivity from the Gauss-sum sign (the reduction of Lemma 6.6's Arf clause): given the Wall sign relation g(q_U) = (โˆ’1)แต g(q), the democratic Arf invariants satisfy arf(q_U) = arf(q) + k. (Both Gauss sums are nonzero, so the sign of (โˆ’1)แต flips arf by k mod 2.)

        Wall's sign relation โ€” the abstract Wall count #

        Lemma 6.6's remaining piece is Wall's sign g(q_U) = (โˆ’1)^k g(q), 2^k = #im(1+U). Following the paper's proof, everything reduces to the Wall count: the Wall form ฯ‰(Nx, u) = B(x, u) on R = im N (N = 1 + U) satisfies

        โˆ‘_{t,u โˆˆ R} (โˆ’1)^{ฯ‰(t,t) + ฯ‰(u,u) + ฯ‰(t,u)} = (โˆ’2)^{dim R}.

        We prove the count abstractly, for a biadditive ฯ‰ on a finite elementary abelian 2-group W that is right-nondegenerate and admits a 2-power-order monodromy M (ฯ‰ t u = ฯ‰ u (M t); in the application M = Uโปยน|_R). The monodromy hypothesis is essential: the count is false for a general nondegenerate ฯ‰ (ฯ‰ = [[1,1],[0,1]] on ๐”ฝโ‚‚ยฒ has count โˆ’8 โ‰  (โˆ’2)ยฒ). It enters by producing a nonzero M-fixed vector a โ€” whose row and column functionals agree โ€” along which the induction splits: if ฯ‰ a a = 1, splitting off โŸจaโŸฉ factors the count by โˆ’2; if ฯ‰ a a = 0, a shift-pairing kills all terms outside ker (ฯ‰ a)ยฒ and โŸจaโŸฉ acts freely on what remains, giving a factor 4 = (โˆ’2)ยฒ.

        theorem GQ2.QuadraticFp2.exists_fixed_ne_zero {W : Type u_2} [AddCommGroup W] (h2 : โˆ€ (w : W), w + w = 0) (n : โ„•) (M : W โ‰ƒ+ W) :
        (โ‡‘M)^[2 ^ n] = id โ†’ โˆ€ (wโ‚€ : W), wโ‚€ โ‰  0 โ†’ โˆƒ (a : W), a โ‰  0 โˆง M a = a

        A 2-power-order automorphism of an exponent-2 group with a nonzero element has a nonzero fixed vector: a fixed vector a of Mยฒ yields the M-fixed a + Ma, which vanishes only if a itself is already M-fixed.

        theorem GQ2.QuadraticFp2.sum_neg_shift_eq_zero {W : Type u_2} [AddCommGroup W] [Fintype W] (f : W โ†’ โ„ค) (rโ‚€ : W) (h : โˆ€ (x : W), f (x + rโ‚€) = -f x) :
        โˆ‘ x : W, f x = 0

        Reindexing an integer sum along a sign-reversing shift: if f (x + rโ‚€) = โˆ’ f x pointwise then โˆ‘ f = 0.

        theorem GQ2.QuadraticFp2.wall_count {W : Type u} [AddCommGroup W] [Fintype W] (h2 : โˆ€ (w : W), w + w = 0) (ฯ‰ : W โ†’+ W โ†’+ ZMod 2) (M : W โ‰ƒ+ W) (hM : โˆ€ (t u : W), (ฯ‰ t) u = (ฯ‰ u) (M t)) (hM2 : โˆƒ (m : โ„•), (โ‡‘M)^[2 ^ m] = id) (hnd : โˆ€ (u : W), (โˆ€ (t : W), (ฯ‰ t) u = 0) โ†’ u = 0) {k : โ„•} (hk : Nat.card W = 2 ^ k) :
        โˆ‘ t : W, โˆ‘ u : W, sign ((ฯ‰ t) t + (ฯ‰ u) u + (ฯ‰ t) u) = (-2) ^ k

        The abstract Wall count: for a biadditive ฯ‰ on a finite exponent-2 group W, right-nondegenerate and admitting a 2-power-order monodromy M (ฯ‰ t u = ฯ‰ u (M t)),

        โˆ‘_{t,u} (โˆ’1)^{ฯ‰(t,t) + ฯ‰(u,u) + ฯ‰(t,u)} = (โˆ’2)^k, where #W = 2^k.

        In the application to Lemma 6.6 (Wall's sign relation), W = im (1 + U), ฯ‰ is the Wall form ฯ‰(Nx, u) = B(x, u), and the monodromy is Uโปยน (which is where the 2-power-order hypothesis on U enters).