Work / Formal basis
Apeiron and Nous
The algebra made executable, and the inference engine that tests it.
Apeiron is the executing basis for the same algebra as the Sanguine corpus: R[x]/(x² − σ), the pair (a, b) with one rule, x² = σ. The sign of σ selects complex rotation, a dual shear or a split-complex squeeze. The multiplication is forced by the rule, not chosen.
The Rust library has three parts:
Cell<R>: the pair(a, b)with multiplication(a₁a₂ + σb₁b₂, a₁b₂ + b₁a₂)and norma² − σb². The elliptic, parabolic and hyperbolic faces share one implementation; σ is passed as a value.- The table: a growable table with a spill region, a fixed number of probes, and a refusal on allocation failure or size overflow that changes nothing. Sets, maps, counters and adjacency lists are choices of merge function over one write.
- The engine: GGUF loading, Q32.32 fixed-point kernels, AVX2 with a portable fallback, and a Vulkan backend loaded at run time.
What is proved
Charon and Aeneas extract the Rust word bodies to Lean 4, and each extracted function is proved to refine a canonical definition in the corpus. The 64-bit cell multiplication and norm are refined (word_mul_denote, word_norm_denote). The growable table and most of the engine are not yet refined.
Nous
Nous is Apeiron's inference face: it runs quantised language models on the same primitive basis, with low-bit dequantisation, matrix-vector kernels, attention, RoPE, mixture-of-experts routing, Hadamard rotation and sampling.
The recorded GPU result is Qwen2.5-0.5B Q4_K_M on an RTX 5080: 113,099 tokens/s reading a 512-token prompt and 973.8 tokens/s generating 128 tokens. Against llama.cpp's CUDA backend, that is 1.79× on prefill and 1.11× on decode. The prefill comparator was a contended shared-machine run, the decode comparator a separate llama-bench run; the ratios are quotients of recorded medians, not paired-round medians. An earlier CPU run on Qwen3.5-0.8B Q8_0 reached 2.45× llama.cpp's prompt processing and 1.76× its generation on an i9-14900KF. The results page carries the workloads, revisions and limits; the CPU and GPU numbers are sourced, the ratios derived.
State
Apeiron is public and a work in progress. The CPU and mobile execution paths are incomplete.
Where it sits
- The corpus holds the canonical definitions. Apeiron refines against them.
- Apeiron is a Rust library. Song is an independent implementation of the same algebra; the correspondence between the two is open.
- Tubu uses Apeiron primitives as a path dependency, not a copy.
- Intent's Apeiron substrate is designed at the
HistoryStoreseam. No Apeiron dependency exists in Intent yet.
Record
- Results and evidence, including the GPU and CPU runs.
- Apeiron on lucasrosewinters.com, the research record.
- The Sanguine corpus, the formal basis.