finite field arithmetic

an encyclopedia of the mathematics behind the Goldilocks field — from first principles to applications. every concept is grounded in the field we implement: p = 2⁶⁴ − 2³² + 1.

foundations

finite-fields — field axioms, existence and uniqueness, GF(p), characteristic, the multiplicative group

modular-arithmetic — congruence, residue classes, Fermat's little theorem, constant-time arithmetic

the Goldilocks field

goldilocks — why this prime, the ε reduction identity, add/sub/mul/inversion algorithms, S-box, batch inversion, comparison with Barrett and Montgomery

sqrt — square root and Legendre symbol (Tonelli-Shanks, sign convention)

batch — batch inversion (Montgomery's trick, amortized 3 muls/element)

fp2 — quadratic extension F_{p²} = F_p[u]/(u²−7) for 128-bit security

algebraic structure

roots-of-unity — primitive roots, generators, quadratic residues, subgroup lattice, twiddle factors

transforms and polynomials

ntt-theory — the NTT as finite-field FFT, butterfly decomposition, Cooley-Tukey, Gentleman-Sande, complexity

polynomial-arithmetic — evaluation, interpolation, convolution, Reed-Solomon codes, Schwartz-Zippel lemma

applications

applications — STARK proofs, Poseidon2 hashing, FHE, polynomial commitments, verifiable computation

Dimensions

explanation
nox/docs/explanation
nox explanations conceptual documentation — why nox works the way it does, the design choices behind it, and the consequences that emerge. these pages illuminate the architecture. for formal definitions, see reference/. for task-oriented instructions, see docs/guides/ (when available). pages | page…
bbg/docs/explanation
explanation
trident/docs/explanation
💡 Trident Explanation [← Documentation Index](/trident-docs-readme) Understanding-oriented. Deep dives into why Trident works the way it does, for readers who want the full picture. 🏗️ Core Architecture | Document | Description | |----------|-------------| |…
rs/docs/explanation
explanation
zheng/docs/explanation
zheng explanations conceptual documentation — why zheng works the way it does, how proof systems compose, and what makes Whirlaway the right architecture for cyber. these pages illuminate the design. for formal definitions, see reference/. for the hash primitive, see hemera. for the VM whose traces…
hemera/docs/explanation
why Hemera works the way it does design decisions behind the Hemera hash primitive. philosophy why-hemera — eight design principles: permanence, the tree, endofunction, self-reference, identity, unity, beauty, the name the-name — etymology: Hemera in the Protogenoi, genealogy of hash names…

Pages in this namespace

Local Graph