lens reference
canonical specification for polynomial commitment — five lenses for five algebras.
the trait
trait Lens<F: Field> {
fn commit(poly: &MultilinearPoly<F>) -> Commitment; // 32 bytes
fn open(poly: &MultilinearPoly<F>, point: &[F]) -> Opening;
fn verify(commitment: &Commitment, point: &[F], value: F, proof: &Opening) -> bool;
}
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
every algebra has five names at different layers:
| layer |
meaning |
example |
| domain (adjective) |
mathematical modifier |
scalar, binary, polynomial, tropical, isogeny |
| algebra (noun) |
mathematical object |
field, tower, ring, semiring, curves |
| impl (repo) |
concrete library |
nebu, kuro, jali, trop, genies |
| construction (scheme) |
commitment construction |
Brakedown, Binius, Ikat, Assayer, Porphyry |
| full name |
domain + algebra |
scalar field, binary tower, polynomial ring, tropical semiring, isogeny curves |
lens files are named domain-algebra.md (full name). construction names are inside files. impl repos are dependencies.
five lenses
| domain |
algebra |
full name |
construction |
impl |
spec |
| scalar |
field |
scalar field |
Brakedown (expander-graph codes over F_p) |
nebu |
scalar-field |
| binary |
tower |
binary tower |
Binius (binary Reed-Solomon over F₂) |
kuro |
binary-tower |
| polynomial |
ring |
polynomial ring |
Ikat (NTT-batched, structure IS the pattern) |
jali |
polynomial-ring |
| tropical |
semiring |
tropical semiring |
Assayer (witness-verify via dual certificate) |
trop |
tropical-semiring |
| isogeny |
curves |
isogeny curves |
Porphyry (expander codes over deep field F_q) |
genies |
isogeny-curves |
three roles
proof commitment — commit nox execution trace for zheng verification
state commitment — commit bbg polynomial state (BBG_poly, A(x), N(x))
noun identity — commit nox noun polynomial for content addressing
one trait. five lenses. three roles.
dependency
hemera (hash — commitment binding, Fiat-Shamir)
↓
lens (polynomial commitment — this repo)
↓
nox (noun identity via Lens.commit)
zheng (proof commitment via Lens.commit)
bbg (state commitment via Lens.commit)
arithmetics (lens depends on — one per algebra)
| impl |
algebra |
provides |
| nebu |
scalar field |
F_p arithmetic + extensions (Fp2, Fp3, Fp4) |
| kuro |
binary tower |
F₂ tower arithmetic (F₂ → F₂¹²⁸) |
| jali |
polynomial ring |
R_q = F_p[x]/(x^n+1) arithmetic |
| trop |
tropical semiring |
(min,+) semiring arithmetic |
| genies |
isogeny curves |
F_q arithmetic + group action |
consumers
| consumer |
what it uses |
how |
| nox |
Lens.commit for noun identity |
identity = hemera(Lens.commit(noun_poly) ‖ tag) |
| zheng |
Lens.commit/open/verify for proof commitment |
SuperSpartan + sumcheck queries lens |
| bbg |
Lens.commit for state root |
BBG_root = hemera(Lens.commit(BBG_poly) ‖ ...) |
Homonyms
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,…
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…
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,…
bbg/specs
specs
honeycrisp/rane/specs
specs
honeycrisp/unimem/specs
unimem: Zero-Copy Memory Driver for Apple Silicon Goal Single pinned buffer visible to CPU, GPU, AMX, and ANE — zero copies between pipeline stages. The memory layer for inference on unified memory. v1 adds NVMe DMA via DEXT — full zero-copy from disk to compute. Why this exists Every inference…
honeycrisp/acpu/specs
acpu — API specification pure Rust driver for Apple Silicon CPU compute. direct access to every useful compute unit in M1–M4: matrix coprocessor, vector engine, numeric extensions, atomics, memory system, performance counters. zero external dependencies — only inline assembly and system calls.…
strata/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 |…
strata/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](/strata/genies/specs/prime) | CSIDH prime form, selection criteria,…
strata/jali/specs
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…
strata/kuro/specs
kuro specification canonical reference for the F₂ tower field, its arithmetic, packed operations, and hardware targets. spec pages | page | defines | |------|---------| | [field](/strata/kuro/specs/field) | tower levels, all field operations, properties, cost model vs Goldilocks | |…
strata/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](/strata/trop/specs/semiring) | tropical semiring axioms, (min, +) definition, identity…
honeycrisp/aruminium/specs
aruminium — API specification pure Rust driver for Apple Metal GPU. direct objc_msgSend FFI, zero external dependencies, only macOS system frameworks. concepts | concept | what it is | |---------|-----------| | device | a Metal GPU — discovered at runtime, owns all GPU resources | | buffer |…