GEN-ZERO Home Cases Demos Papers
[||]

INTERACTIVE PROOF MATRIX · RUNNING LIVE IN YOUR BROWSER

Gen-Zero Interactive Proof Demos

Five live, in-browser benchmarks of deterministic policy control, multi-hop lookahead, and fail-closed safety gates. All five demos compute every move with a JavaScript reference engine in your browser. Sokoban, Snake and 2048 also load the shipped Rust → WebAssembly reference kernel (/wasm/games_wasm_bg.wasm) for independent verification, but no gameplay call is routed through it. The decision loop calls no remote inference API, and every latency figure is measured on your machine.

5
Interactive Demos
0
LLM Generation Tokens
< 150 KB
Bundled Rust Wasm Reference Kernel (not driving play)
5 / 5
Demos Run on JavaScript Reference Engines
Multi-Hop 01 JS Reference Engine • Bundled Wasm Kernel

📦 Sokoban: Deadlock Invariant Proof

Precomputed static dead-square table and recursive freeze-deadlock closure intercept unsolvable pushes before they land. Includes a node-budgeted BFS push-solver and an interactive level editor.

Lookahead Horizon
BFS, 150k-Node Budget
Gameplay Engine
JS Reference
Deadlock Intercept
Pre-Move Veto
Auto Solve
BFS Push-Solver
Dead-Square Cache Freeze Closure Multi-Hop BFS Interactive Editor
Launch Sokoban Demo →
Multi-Hop 02 JS Reference Engine • Bundled Wasm Kernel

🐍 Cyber-Snake: Cavity Avoidance Gate

A greedy agent that checks only the next cell tends to box itself into dead-end cavities. Gen-Zero runs a breadth-first flood-fill reachability gate and projects 20-hop laser trajectories before every move; the page shows the measured gate latency for each tick.

Projected Laser
20 Hops Ahead
Reachability Check
BFS Flood Fill
Greedy Baseline
Next-Cell Check Only
Gated Survival
Live A/B, Not Guaranteed
Reachability Gate Cavity Avoidance 20-Hop Projection Live A/B Compare
Launch Cyber-Snake Demo →
Multi-Hop 03 JS Reference Engine • Bundled Wasm Kernel

🔢 2048: Merge Cascade & Corner Gate

Monotonic corner anchor gate vetoes moves that evict the max tile from its corner, with an on-demand 1~6 ply expectimax lookahead in the JavaScript reference engine.

Search Lookahead
1 ~ 6 Ply Tree
Corner Anchor
Monotonic Gate
Autoplay Throughput
Up to 200 / s (slider cap)
Max Tile Target
2048 / 4096
Expectimax Tree Monotonic Gate Corner Anchor JS Reference Engine
Launch 2048 Demo →

What These In-Browser Demos Show, and What They Do Not

1. Zero-Token Local Engines, Wasm Kernel Shipped Alongside

Every move on these pages is computed by a JavaScript reference engine. The Sokoban, Snake and 2048 rules are also compiled from Rust to one Wasm module under 150 KB, which the pages load and which the repository tests check, but gameplay is not yet routed through it. No remote LLM inference API sits in the decision loop, so latency is bounded by local policy computation, not by a network round trip or token generation.

2. Fail-Closed Policy Invariants

In enterprise decision circuits, safety cannot be an afterthought prompt instruction. Gen-Zero enforces hard pre-commit gates: if an action breaches topological or algebraic invariants, it is vetoed by policy before execution.

3. Multi-Hop Causal Lookahead

Unlike greedy single-step LLM reflexes that get trapped in local cavities, Gen-Zero combines static state reduction with bounded multi-hop tree search, reaching goals a greedy baseline misses on these diagnostics — a search result, not a formal reachability guarantee.