A Constructive Inference Demo — From Survival to Structure
"The system doesn't search for the key.
It survives in a space where only keys can exist."
The Key Emerges — Headless Proof Kernel v1
The headless proof kernel is complete: 10 modules, ~2000 lines, seven verified outputs, no proxies, no synthetic unlocks, same kernel reused across levels, world enforced throughout.
| # | Output | Status |
|---|---|---|
| 1 | Promoted structure from arm 1 | ✓ |
| 2 | Promoted structure from arm 2 | ✓ |
| 3 | Failed composition (world-enforced) | ✓ |
| 4 | Contrast branch failure (no survival pressure) | ✓ |
| 5 | Successful composition (actual evolved object) | ✓ |
| 6 | World state transition (locked → unlocked) | ✓ |
| 7 | Perturbation robustness (GIE held, accidental failed) | ✓ |
best_candidate_object returned directly from kernel — no re-evaluation hacks| File | Role |
|---|---|
KEY_index.md | This file |
core_types.py | All shared data structures |
signal_model.py | Latent curves C1, C2 and noisy exposure generation |
world_constraint.py | Three-constraint lock — equations, not recognition |
transform_families.py | Parameterized lens families, GA mutation/crossover |
invariance_metrics.py | Fitness functions — dual pressure, arc-length remap, sinusoidal LSQ |
survival_kernel.py | Reusable GA survival engine |
promotion.py | Lifts survived candidates into independent structure objects |
composition.py | Composition search — same kernel, new substrate |
contrast_branch.py | Overfit failure + perturbation robustness test |
main.py | Top-level orchestration — seven outputs |
Coming next:
| File | Role |
|---|---|
KEY_renderer_spec.md | Renderer architecture — passive state projection |
KEY_visual_grammar.md | Visual language for each stage |
KEY_stage_text.md | On-screen text contract — sparse, truthful, sequenced |
E_A = |mean(r) - R_lock| ≤ ε_A
One-Line Proof
The accidental candidate passes the original world. It fails the perturbed world.
The GIE candidate passes both.
The difference is survival history, not luck.
Last updated: Headless Proof Kernel v1 complete.