YARE · THE GEOMETRIC LANGUAGE

Code as geometry. Two truths, one exact machine.

Yare is a small, total, lens-typed language built for the Vortex VM. Every function declares its cost upfront, holds two valid readings of a state without overwriting either, and compiles bit-identically across VM bytecode, TypeScript, and WebAssembly right inside this page.

Initializing 3D T.E.R.A. manifold…
admitted · weight 8/32
Manifold Controlsgeodesic t = 0.25
Input a: tera<technical>(0.62, 0.40, 0.81, 0.30)
Input b: tera<technical>(0.86, 0.72, 0.34, 0.82)
mood.examples · settle()
ADMITTED · 8/32—
d_FR(a, b)
1.7202
coherence
0.0850
RI · κ
0.142 · 0.1007
archetype
Compass (1010)
odù cell · χ
#153 · +1
entropy H
3.759 bits
Dominant Mejimask 1010 · odù 153/255
Compass— navigating clearly
9-Lane TeraReg (θ, v, κ)κ = 0.100704
lane[0] · Tθ = 1.9535 rad · v = 0.6867
lane[1] · Eθ = 1.5337 rad · v = 0.4814
lane[2] · Rθ = 1.9909 rad · v = 0.7039
lane[3] · Aθ = 1.4358 rad · v = 0.4327
Duplex Verdict vs H(a)diverge = 0.077
+1 · Strands agree
Divergence inside θ − δ. Eligible for promotion under explicit policy.
Input a & geodesic arc: live Fisher–Rao θ interpolationInput b & 16-Meji ring: computed via @aamt/vortex-runtimeReal Yare checker + \0asm WebAssembly running in this tab

How Yare works

TypeScript stays the host for UI, IPC, and I/O. Yare is the geometric spine for math and decisions — designed so models can propose code safely and every backend agrees to the bit.

01

Two lenses, one algebra

Thought, Emotion, Reason, Action (wisdom) and Thought, Energy, Resonance, Action (technical) share one geometric register math, yet remain distinct static types.

02

Cost declared upfront

Every function states its weight under a frequency cap. No recursion, no unbounded loops — admission verifies termination and weight / frequency ≤ 1 before execution.

03

Three coordinates per fn

Identity (384-bit bytecode hash), Lattice (Morton integer address), and Manifold (T.E.R.A. meaning). Meaning shapes values and admission — never memory addresses.

04

Proved against one Machine

Yare compiles to Vortex VM bytecode, TypeScript, WebAssembly, WGSL, and Apple Neural Engine MIL. Lowerings are held bit-identical to the reference Machine.

Flat θ metric · constant-speed geodesic
θd = 2 · arcsin √vd ∈ [0, π]  ·  dFR(a, b) = ‖θ(a) − θ(b)‖2
Ma'at Yoke Admission Rule
frequency = capacity · 64  ·  admitted iff weight / frequency ≤ 1
Language Primitives · DESIGN.md §5

The six words are the grammar

These are not metaphor or decoration. Each keyword maps to a concrete invariant in the Vortex VM and the AAMT mathematical corpus. Select any word to inspect its role.

Interactive Labs · Learn by Breaking Things

Four guarantees you can test live in this tab

Every rule Yare enforces exists to prevent a specific failure mode. Try violating each one below and watch the compiler and runtime respond.

LAB 01 · DUALITY & TYPE SAFETY

Two Lenses & The Duplex Register

ADR-007 · WP-36 / WP-37
1. Try mixing two lenses into fn settle(a: tera<technical>)

Both wisdom and technical run on the same 4-axis math, yet their lenses are part of the static type so neither silently overwrites the other.

LensVerified: tera<technical> → tera<technical>
Axes (thought, energy, resonance, action) align. Admitted to Vortex VM.
2. Pull the duplex strands apart
diverge(d) = d_FR / 2π0.174
+1 · Strands agreetrit ∈ {−1, 0, +1}

Divergence inside θ − δ. Eligible for promotion under explicit policy.

LAB 02 · BOUNDED COST ADMISSION

The Ma'at Yoke Scale (weight N under cap)

EVENLY YOKED · 12 / 32 ≤ 1
cap 32wt 12
yoke ratio = 0.38 ≤ 1.00

Yare programs are total: no recursion, no unbounded loops, and every function declares its cost upfront. When an LLM or user submits a module whose declared weight exceeds capacity × 64, the VM blocks admission before a single instruction runs.

frequency cap = capacity(0.50) // allows up to 32
fn step(...) -> tera<technical> weight 12 under cap
LAB 03 · THE ONE RULE

Semantic math shapes values and admission — never memory addresses

1 invariant checks passed
Meaning (T.E.R.A. Manifold)
Apexmask 1111 · F-pure

full luminosity

T
0.95
E
0.92
R
0.90
A
0.94

Notice how scrambling T.E.R.A. shifts the archetype from Apex to Hollow to Forge — while the Morton page index on the right stays byte-identical.

Spatial Fabric (u32 Morton Lattice)page #2,758
30-bit Z-order interleave (X amber · Y cyan · Z violet)parent = page >>> 3 = 344
000000000000000000101011000110
LAB 04 · 0-ULP VERIFICATION

Three execution backends, one IEEE-754 bit pattern

Pressing run compiles a real \0asm WebAssembly binary (— bytes) right in this browser tab and executes fr_theta + coherence_v alongside the Vortex VM interpreter and lowered TypeScript on your current sliders.

Initializing live 3-engine verification on this device…