jali reference
canonical specification for polynomial ring arithmetic R_q = F_p[x]/(x^n+1) over Goldilocks.
what jali is
jali (जाली — lattice/mesh) is the fifth execution algebra for cyber. polynomial ring elements are structured vectors of n Goldilocks field elements with multiplication defined by convolution modulo x^n+1.
one R_q multiply = 3n F_p multiplies (via NTT). the 3072x gap (at n=1024) over scalar nebu arithmetic justifies a dedicated algebra — same criterion that separates kuro (32x gap for binary).
spec pages
| page |
defines |
| ring |
R_q element type, add, sub, mul, automorphisms |
| noise |
noise tracking, bounds, growth estimation |
| ntt |
negacyclic NTT transform, twisting trick, root selection |
| sample |
error distributions, seeded sampling, security parameters |
| encoding |
RingElement to/from bytes, coefficient vs NTT form serialization |
| automorphism |
Galois group of Phi_{2n}, action on coefficient and NTT forms |
| vectors |
test vectors for ring operations (placeholder) |
algebra
R_q = F_p[x] / (x^n + 1)
p = 2^64 - 2^32 + 1 Goldilocks prime (nebu)
n = power of 2 (1024, 2048, 4096)
x^n + 1 = cyclotomic polynomial Φ_{2n}
element: vector of n Goldilocks field elements (coefficients)
addition: coefficient-wise (n parallel nebu adds)
multiplication: NTT → pointwise → INTT (3n nebu muls)
automorphisms: x → x^{5^k} (Galois group of Φ_{2n})
via NTT, R_q ≅ F_p^n (n independent copies of Goldilocks). the ring structure (cyclotomic wrapping) is what makes Ring-LWE hard. the NTT decomposition is what makes computation fast.
consumers
| consumer |
what it uses |
how |
| mudra::seal |
R_q for Module-RLWE key encapsulation |
polynomial matrix x vector + noise |
| mudra::veil |
R_q for TFHE ciphertexts and bootstrapping |
polynomial multiply, automorphisms, noise tracking |
| zheng (PCS₃) |
ring-aware polynomial commitment |
NTT batching, automorphism exploitation |
| nox jets |
gadget_decompose, ntt_batch, key_switch |
accelerated FHE operations |
dependency
nebu (F_p scalar arithmetic + NTT roots of unity)
↓
jali (R_q polynomial ring arithmetic)
↓
mudra (seal, veil — protocols over jali)
zheng (PCS₃ — ring-aware proving)
nox (jets — accelerated execution)
jali depends only on nebu. no hemera dependency (hashing is the consumer's job). pure arithmetic.
see also
- nebu — Goldilocks field arithmetic (the scalar field)
- jali is to R_q what nebu is to F_p
Dimensions
lens/specs
lens reference canonical specification for polynomial commitment — five lenses for five algebras. the trait three operations. commit is O(N). open produces a proof. verify checks the proof. all transparent (no trusted setup), all post-quantum. see trait for the full specification. naming convention…
genies/specs
genies specification canonical reference for isogeny group action arithmetic: F_q field operations, supersingular curves, isogeny computation, and class group action. spec pages | page | defines | |------|---------| | [prime](/genies/specs/prime) | CSIDH prime form, selection criteria, concrete…
zheng/specs
zheng: polynomial proof system one IOP: SuperSpartan + sumcheck (CCS constraints, O(N) prover, O(log N) verifier). one folding: HyperNova (CCS-native, ~30 field ops per fold, one decider at the end). one hash: hemera (~3 calls per proof — binding, Fiat-Shamir seed, domain separation). five…
trop/specs
trop specification canonical reference for tropical semiring arithmetic: the (min, +) semiring, its matrix algebra, and dual certificate verification. spec pages | page | defines | |------|---------| | [semiring](/trop/specs/semiring) | tropical semiring axioms, (min, +) definition, identity…
bbg/specs
specs
nox/specs
nox reference canonical specification of the nox virtual machine. this is the source of truth — when code and reference disagree, fix reference first, then propagate to code. specifications | page | scope | status | |------|-------|--------| | vm.md | overview, field, hash, algebra polymorphism,…
hemera/specs
Hemera: A Permanent Hash Primitive for Planetary-Scale Collective Intelligence | field | value | |----------|--------------------------------| | version | 2.0 | | status | Decision Record | | authors | mastercyb | | date | March 2026 | Abstract Hemera is the cryptographic hash primitive for cyber,…
nebu/specs
nebu specification canonical reference for the Goldilocks prime field, its arithmetic, and its hardware. spec pages | page | defines | |------|---------| | field | prime, elements, arithmetic, properties, why Goldilocks | | ntt | Number Theoretic Transform, roots of unity, butterfly, Cooley-Tukey |…
kuro/specs
kuro specification canonical reference for the F₂ tower field, its arithmetic, packed operations, and hardware targets. spec pages | page | defines | |------|---------| | [field](/kuro/specs/field) | tower levels, all field operations, properties, cost model vs Goldilocks | |…