Playground
pmap₂ — pointwise Π-map
…
broadcast — pullback π : J → I
…
softmax — Π-map normalization
…
attention — NAND-extracted spec
…
Usage Guide
How to use the language
- Spec (Lean 4) — define arrays as dependent functions
Fin n → α; prove broadcast_is_pullback and softmax_is_pmap with lake build (zero sorry).
- Kernel (C++20) —
#include "sovereign_array.h"; build with CMake; run sovarr_test (11/11 checks).
- Front-end (this page) — open
index.html; the playground runs the same denotational semantics in the browser.
- Compose — chain
pmap₂ / broadcast / softmax / nand_attention; fusion is Π-map fusion — no loop in the denotation.