Λ
Ξ
Ω
Φ
Ψ
MetaFieldLabs Powerball
ボッキー
tap to enter

Before You Play

The Five-Ring Ledger

The house's real odds, read aloud by one engine wearing five faces.

🎫 Upfront: the odds below are the real, published, unchangeable odds of this game. No amount of belief-updating moves them by a single decimal. What this engine actually does is look for structure in the noise — which is a very different thing from beating it.

One Engine, Five Faces

Ψ Λ Ξ Φ Ω

Not five separate systems — one active-inference cycle, wearing five names. Three of these glyphs are, honestly, just what the real variables are already called in the code below.

Ψ

Psi · The Belief

In the code: mu

What the engine currently believes matters, across 9 real features of the draw history. Starts perfectly flat — no opinions — and only earns its shape one activation at a time.

Λ

Lambda · The Update

In the code: the precision-weighted gradient step

How hard mu actually moves once it's been wrong — scaled by precision, so a feature that's been reliably wrong earns a confident nudge, and a noisy one earns a cautious one.

Ξ

Xi · The Error

In the code: predError

The spark that starts every update — how far last round's guess landed from what the draw actually was. No error, no learning; this is where all of it begins.

Φ

Phi · The Lens

In the code: phi, literally

9 different ways of looking at the same raw numbers — raw count, recency, parity, distance from center, and more — the actual shape the engine is allowed to perceive.

Ω

Omega · The Verdict

In the code: freeEnergy

The one number the whole cycle is quietly trying to shrink — complexity plus error, all in one score. When it's low, the engine writes a number down.

The House Ledger

Same Odds. New Ringmaster.

The odds column is the real, official one — identical to what's printed on the back of any ticket. The last column is just flavour: which part of the cycle above would be sweating hardest at that tier.

RingWhat It TakesReal OddsAccording To The Engine
7 winning numbers + Powerball1 in 134,490,400Ω holds its breath
7 winning numbers1 in 7,078,442Ω still isn't blinking
6 winning numbers + Powerball1 in 686,176Φ swears it's seen this shape before
6 winning numbers1 in 36,115Φ's 9 lenses start to agree
5 winning numbers + Powerball1 in 16,943Λ nudges μ a little harder
4 winning numbers + Powerball1 in 1,173Λ mid-update, nothing's settled yet
5 winning numbers1 in 892Ξ shrugs — probably just noise
3 winning numbers + Powerball1 in 188Ξ: "statistically, a Tuesday"
2 winning numbers + Powerball1 in 65Ψ barely stirs
Any prize at all1 in 44🎪 Every glyph takes a bow anyway

Odds of winning are approximate, rounded, and based on one standard game — same figures as printed on any ticket.

The Man Behind The Math

Karl J. Friston

Professor Karl J. Friston

Wellcome Centre for Human Neuroimaging · University College London

In the early 1990s, Friston co-invented Statistical Parametric Mapping (SPM) — the analysis framework still used, in some form, by the overwhelming majority of brain-imaging studies published anywhere in the world. It's one of the most consequential pieces of scientific software ever written, and it's a large part of why citation indexes have, for years running, named him the most-cited neuroscientist alive.

From the mid-2000s on, he turned to a bigger question: why does any living thing — a cell, a brain, you — hold together at all, instead of dissolving into the same disorder as everything else? His answer, the Free Energy Principle, is that every self-organizing system behaves as if it's minimizing "surprise" about the sensory states it expects to encounter. True surprise usually can't be computed directly, so the system minimizes a computable stand-in instead — variational free energy — built from exactly two ingredients:

F = Complexity + Inaccuracy
Complexity — how far current beliefs have drifted from where they started
Inaccuracy — how wrong the last prediction turned out to be

Push the idea one step further and you get Active Inference: an organism doesn't just update its beliefs to match the world (perception) — it also nudges the world to match its beliefs (action). Two ends of the same lever, both quietly minimizing the same free energy. It's now one of the more influential unifying frameworks in neuroscience and computational psychiatry, and a genuine working ingredient in modern machine learning.

This engine borrows that exact machinery — a belief vector, a precision-weighted update, a free-energy score recomputed every round — and points it, gently, at something Professor Friston never had in mind: several hundred draws of Powerball. It's a small tribute wearing a big top hat: real equations, taken seriously, aimed at something entirely unserious. Nothing here would pass peer review, and nothing here is trying to. It's just his math, doing exactly what it does — hunting for structure in noise — pointed at a noise source that, unlike a living brain's world, was built to have none. That's not a flaw in the math. That's the whole disclaimer, really.

The Integrity System

Proof, Not Promises

Four real checks, run against this engine's actual code — not a marketing claim about it. Every statistical test below was validated against known synthetic data before it was ever pointed at anything real.

Check 1 — Is The Lottery Actually Random?

Chi-square goodness-of-fit, against the real draw history

Before anything else: does the raw draw history itself show any statistical departure from true randomness? This is the correct tool for that specific question — a real chi-square test comparing how often each number has actually come up against how often it should, under pure chance. (Kolmogorov-Smirnov and Anderson-Darling, tried first, gave a 77-97% false-positive rate on data KNOWN to be random in testing — they're built for continuous distributions, and 35/20-category discrete draws aren't one. Caught that before it ever reached this page.)

Running the real replay…

Check 2 — The Free Energy Upper Bound

F = Surprise + KL Divergence

Friston's proof: Free Energy (F) always sits at or above Surprise (−ln P(y), how unexpected an outcome was) — because the gap between them is a KL divergence, and a KL divergence between two real probability distributions can never be negative. That's not an estimate. It's a theorem.

F = Surprise + DKL[ q(s) ‖ p(s|y) ]
D_KL ≥ 0 always ⟹ F ≥ Surprise always

What can actually break that guarantee isn't the theorem — it's a bug. If this engine's belief (μ, what Friston calls q(s)) ever stopped being a real probability distribution, the guarantee would quietly fail. So rather than assert it, we replayed this engine's own real functions — unmodified — from flat priors across every real historical draw, and checked the promise held every single time.

Free Energy (F) Surprise

The Gap Itself — Complexity (F − Surprise)

F and Surprise track each other closely at this scale, so here's the gap between them on its own axis — the exact quantity the theorem says can never cross below the zero line.

Complexity (KL divergence) Zero line
Running the real replay…

Check 3 — Markov Blanket Separation

p(Internal | Blanket, External) = p(Internal | Blanket)

Friston's Markov blanket says an organism's internal states should only ever hear from the outside world through its own senses — never directly. Translated to this engine: the belief (μ) should only ever update through the sensory layer (φ, the 9 engineered features, and the prediction error they produce) — never by reaching past that layer to touch raw history directly.

This one isn't a statistic — it's an architecture check, verified directly against the live source: Brain.prototype.step() only ever receives phi and predError as inputs to its belief update — both entirely downstream of the sensory layer. No line of that function reaches around φ to read raw draw history directly. The separation the theory requires is structural, not assumed.

Check 4 — Predictive Calibration

Hosmer-Lemeshow test, on this engine's own real probabilities

A real, meaningful gap found in this same audit: this engine's raw probability output forces itself to average ~50% no matter what, when the true base rate is ~20% (main) or ~5% (Powerball) — a genuine miscalibration, not a display bug. Fixed with Platt scaling (a standard 2-parameter recalibration, fit on real historical draws via the same machinery validated above) and re-tested with the Hosmer-Lemeshow test — the correct tool for "do these predicted probabilities match real observed frequencies."

Predicted probability Real observed frequency
Running the real replay…

The honest reading of the fitted slope (A ≈ 0 for both ball types): there is no real signal in this engine's 9 features for predicting an independent random draw — exactly as the randomness check above says there shouldn't be. Once corrected, this engine's real probabilities sit close to the true base rate for every ball, which is what genuinely calibrated honesty looks like here.

The show's about to start. This performance is for patrons — a coffee gets you a real access code to step inside.

🔒 Patron Access Required

Unlock
hanko seal
AML seal
MetaFieldLabs emblem

Ψ Λ Ξ Φ Ω

心智一流形

Shinchi Ryūkei — Mind-Intelligence, One Manifold

MetaFieldLabs · Active Inference Powerball Engine

Calibrating generative model…
Activate — Powerball Engine
Update Powerball Table
Reset to Built-in Draw History

Predicted: 5 — Set of Powerball

Powerball draws are independent random events. This engine surfaces a stylised belief-weighting readout over your draw history — it does not and cannot improve the odds of any future draw.

Past Activations

Clear

This Engine's Favorites

Built from your own real Ticket History — not "what other punters like" (we don't have that data, and won't fake it), just which numbers your engine has actually reached for most often across every activation on this device.

Training Record

Download JSON

This brain doesn't reset every time you open the page — its learned beliefs persist in this browser and only grow from genuinely new draws from here on. Each dot below is a real growth event across this brain's whole lifetime, not one session's training curve. "Download JSON" saves this brain's actual learned state (not just a history log) — keep the file if you ever need to move it to another browser or restore it with "Import Brain State" instead of starting over from 0.

Not yet born — activate the engine once to begin.

This Session's Real Training Curve

Real free-energy values from the training that just ran when this page loaded — a first-time bootstrap shows all 20 real epochs; a returning visit shows the draws that were genuinely new since last time.

Main balls Powerball

Lifetime Growth

Main balls (1-) Powerball (1-) Born / bootstrap Imported from a file Corrected (belief-collapse bug fix)
Start This Brain Over (discard all learning)

Feature-Weight Evolution

Correction for accuracy: this engine does not hold 431 separate "beliefs," one per past draw, or 35 separate beliefs, one per ball. What Free Energy minimization actually updates is μ (mu) — 9 weights over hand-designed features (recency, periodicity, parity, distance-from-center, etc.) shared across every ball — plus π (precision) per weight, which governs how much a prediction error is allowed to move that weight. A ball's predicted probability is then computed on-the-fly from these 9 weights, not stored on its own. Below is the real, unmodified trajectory of those 9 numbers, snapshotted at every growth event from here on — this is the actual "brain cell" Karl Friston's math is shaping.

μ — Main-ball feature weights

π — Main-ball feature precision

μ — Powerball feature weights

π — Powerball feature precision

Belief entropy over time (H = −Σ μᵢ·ln μᵢ)

Main Powerball Dashed line = max entropy (ln 9 ≈ 2.197, fully flat/uninformative belief)

Falling entropy means μ is concentrating onto fewer features (growing more confident/opinionated). It flattening out near zero — rather than settling at some middle value — is what real convergence-to-a- degenerate-belief looks like under this specific update rule; that is a property of the math, not a display artifact.