Radix-4 DIF NTTFast correctness #
Correctness proofs for the mixed radix-4 decimation-in-frequency stage loop used by NTTFast.
@[simp]
theorem
CompPoly.CPolynomial.NTTFast.Plan.size_radix4DIFCell
{R : Type u_1}
[Field R]
(wHigh0 wHigh1 wLow : R)
(i0 i1 i2 i3 : ℕ)
(acc : Array R)
:
theorem
CompPoly.CPolynomial.NTTFast.Plan.runStagesDIFRadix4WithTwiddles_correct
{R : Type u_1}
[Field R]
(D : NTT.Domain R)
(a : Array R)
:
The mixed radix-4 DIF stage loop computes the bit-reversed forward NTT output.