lume

23 — Horizon: from proving pieces to proving systems that cannot rot

The roadmap — five phases, the inflection (docs/21), interop (docs/20), adoption (docs/22) — takes Lume to something almost nothing in the world has: the AI writes, the compiler proves, it is reproducible, it interoperates, it is adopted. This document is the horizon beyond that: what it takes to go from “an excellent verified AI-first language” to changing what software is.

Be honest about the register: these are research-grade, multi-year directions, not next sprints. But none are magic — each is anchored in something Lume already has, and each is the star a later phase climbs toward. Lume today proves pieces; the horizon is proving the whole system, across time, in a form that outlives Lume itself.

The keystone

If one thing defines the horizon, it is H1 + H3 together: proofs that compose across the whole system and across time, emitted into a tiny, eternal trusted kernel. That combination produces something that does not exist today — software whose correctness is not tested, not hoped for, but demonstrated, and whose demonstration anyone can verify, alone, forever, trusting no one. Add proven self-evolution (lume evolve) and you get the first autonomous software organism: it improves itself, proves each improvement, ships it, and explains it — and every claim is checkable from a thousand-line root.

H1 — Compositional & temporal proof: from proven functions to proven systems

H2 — Software that does not rot

H3 — A portable, minimal trusted kernel: proofs that outlive Lume

H4 — The fusion of the learned and the proven

H5 — Down to the metal, up to the catastrophic

The autonomous software organism

Compose the horizons and the shape appears: a system that synthesises from intent (docs/19), proves each change sound (H1), cannot silently rot (H2), ships a certificate anyone can check forever (H3), safely absorbs learned components (H4), runs on the bare metal of the highest-stakes domains (H5), and evolves itself under a proven, human-approved loop (lume evolve). It improves, proves, ships, and explains — and you audit every claim from a thousand-line kernel. That is not a better language; it is a new kind of artifact.

Non-negotiables (the horizon dies without these)

Soundness is sacred. A single false “proven” — shipped as a certificate, relied on by a downstream proof, trusted by a human who stopped reading — would do more damage than every bug Lume ever prevented. So, forever: proven means sound, never sampling; every proof is independently checkable by the minimal kernel (#183 landed a standalone Fourier–Motzkin checker + FIPS-180-4 SHA-256 that re-derives each proof independently of the compiler); stage 2 == stage 3, zero-c, and byte-equivalence stay green. The GOLDEN RULE scales from the compiler to the ecosystem to the horizon.

Relationship to the plan

This sits above adoption (docs/22) and beyond the five phases. It does not reorder the near work — finish the language, the inflection, interop, and adoption first. It is the direction every one of those climbs toward, and the reason the guarantees must stay pristine on the way: each phase should leave Lume a step closer to proving the whole system, across time, in a form that outlives it. The near plan earns the right to the horizon; the horizon tells the near plan what not to compromise.

Shipped Horizon Foundations (#198, #213, #206, #227)