The Walsh and average formulas from half-size alone #
The Walsh triple-count formula and the slope-average formula are elementary
consequences of the derivative-image half-size equation 2|Δ| = Q alone, for
an arbitrary finite subset of a characteristic-two field: no Kasami-specific
fact beyond half-size is used.
The arguments are additive-character orthogonality for the Walsh formula, and
direct double-counting — including the diagonal x = y = z contribution — for
the average. Both are proved for an arbitrary Δ : Finset K and then
specialized to derivativeImage k K.
Normalized triple count for an arbitrary finite subset.
Equations
Instances For
Walsh coefficient of a finite subset: ∑_{x ∈ Δ} ψ(a x).
Equations
- KasamiCyclicAdditive.CountAverage.walshCoefficient Delta psi a = ∑ x ∈ Delta, psi (a * x)
Instances For
Auxiliary lemmas #
Orthogonality: the sum of psi (a * t) over all a is |K| if t = 0, else 0.
Sum over the units of K equals the sum over the nonzero elements.
A sum over Δ³ of a product of three one-variable functions factors into
the product of the three sums.
The count as a complex identity: (|Δ|³ + Z(ρ)) / |K|.
Combinatorial lemmas for the average #
slopes K is K with 0 and 1 removed, hence has |K| - 2 elements.
For a fixed triple, the number of admissible slopes solving the equation:
|K| - 2 on the diagonal x = y = z, one for a pairwise-distinct triple, and
none otherwise.
Removing two specified distinct elements of a finite set lowers its cardinality by two.
Δ³ has |Δ| * (|Δ| - 1) * (|Δ| - 2) pairwise-distinct triples.
Double-counting over the admissible slopes: a diagonal triple is counted by
all |K| - 2 slopes, a pairwise-distinct triple by exactly one, and no other
triple contributes.
The two generic targets #
The count formula under half-size: additive-character orthogonality turns
2|Δ| = |K| into |K|²/8 plus the real part of the phase correction, at every
slope ρ.
Under half-size the admissible-slope average of the triple count is exactly
|K|²/8, by double-counting (ρ,x,y,z). The assumption 2 < |K| only makes
the average's denominator nonzero; in the final Kasami theorem |K| = 2^n with
n ≥ 2.
Specialization to derivativeImage k K #
The Walsh triple-count formula follows from the derivative-image half-size
equation alone. AdmissibleSlope is retained here because this theorem is the
downstream slope-interface, although the generic identity holds for every ρ.
The slope-average formula follows from the derivative-image half-size
equation (and |K| > 2) alone.