theorem
FourierFF.norm_dft_cosetIndicator
{p : ℕ}
[Fact (Nat.Prime p)]
{d : ℕ}
(e : AddChar (ZMod p) ℂ)
(he : e ≠ 0)
(V : Submodule (ZMod p) (Fin d → ZMod p))
(a ξ : Fin d → ZMod p)
:
Lemma 2.7 (Fourier transform of the indicator of an affine plane). If P = a + V
is an affine k-plane in 𝔽_p^d, then
$$\bigl|\widehat{\mathbf{1}_P}(\xi)\bigr| = \begin{cases} |V| = q^k & \xi \in V^\perp \\ 0 & \xi \notin V^\perp.\end{cases}$$
The proof shifts to the linear case using the character e(-⟨ξ,a⟩), then evaluates
the sum ∑_{v∈V} e(⟨ξ, v⟩) using the standard orthogonality relations for
characters on the finite abelian group V.