The wall

The number you built in Module 1 was your model’s. This module asks what the true surprise is — and discovers it hides behind a wall no mind can walk through. You’ll build the sum by hand, watch Module 1’s golden numbers fall out of it, then feel it explode past any hope of finishing.

Same five doors as Module 1 — the plain line runs straight through; take whichever extras fit: ▶ Picture it, ✎ Try it (commit before the reveal), ✓ Check it yourself, ▸ Go deeper, ⬡ See it in UNI. Runs locally in your browser — no account, no network — and adapts to light and dark.

The one fence that never moves. “Surprise,” “evidence,” “belief” are functional quantities — numbers a model computes about its own predictions. For you we use felt words, because you’re a person reading a sky; for UNI we use functional words — it reads a hint through a model and its dynamics move a number. Neither is awareness, feeling, or sentience.

0 · From memory

First, with no peeking

No scrolling back to Module 1. A sailor comes up on deck at dawn. The swell is longer than yesterday, the air has gone heavy, the gulls have quit the water. Something leans. Rebuild the idea cold — in a world you’ve never used for it before.

Cold retrieval — the sailor’s surprise

From memory, in a brand-new domain (no rain, coins or dice): name the sailor’s numberless lean, commit a probability you build yourself, then the squall hits and you read the surprise. No re-reading — reconstruct it.

Step 1 · From memory (commit, then reveal)

In one sentence, with no peeking: the sailor wasn’t handed a number — so where does a number even come from?

Step 2 · Name the lean (no digits)
Step 3 · Commit the sailor’s probability of a squall within the hour

If that came back cold, you’re ready. Now the crack in that number.

1 · Whose surprise is the real one?

The number was only ever a model’s

Back to your own doorway — grey-green morning, damp air, your lean of 0.60 toward rain. In Module 1 you scored your surprise against your 0.60. But your neighbour, with a different life of skies, stood in the same doorway and leaned 0.40. Same morning, same rain, two different surprises. So neither is “the” surprise — each is a model’s surprise.

That pushes a harder question: what is the surprise of the morning in itself — the surprise of the sky you saw, not filtered through one person’s lean? And the moment you ask it, a thing you’ve been ignoring steps forward: the sky didn’t appear from nowhere. Something caused it — a real weather system you never get to see. You only ever get the sky, the hint. Call that hidden thing the cause.

▶ Picture it — the smudge and the card kid
Pull a card from a shuffled deck and lay it face-down; now you see only its reflection in a dim window — a smudge of red. The smudge is the sky; the actual card is the cause. How surprising is a red smudge? You can’t say without thinking about every card that could cast that smudge. The surprise of what you sense depends on the causes you can’t see.
2 · The evidence

Adding up the causes

Shrink the world to two causes, and borrow Module 1’s exact numbers so you can see the seam:

Hidden cause ηPrior p(η) — how likely the causep(sky | η) — this wet-grey sky, given the cause
front ON (a real front)0.70.9
front OFF (no front)0.30.2

How probable is today’s sky itself — not assuming any one cause, but all told? There’s one honest way. The sky can arrive by either road: the front is on and it produced the sky, or the front is off and it produced the sky anyway. Add the two roads — but commit your arithmetic first.

Sum the two roads — and watch Module 1 fall out

Compute the two products by hand and commit them; the tool adds them to the evidence, and Module 1’s surprisal and posterior drop out of that one sum. It was this sum all along.

So the true surprise of an observation is −ln of the evidence, and the evidence is a sum over the hidden causes. The one earned symbol of this rung:

p(y) = Ση p(y | η) p(η)

the probability of the observation y is the sum, over every hidden cause η, of (chance that cause produces y) × (chance of that cause).

Numerically in our world the evidence is 0.69, so the true surprise of the sky is −ln(0.69) = 0.3710636814 nats — Module 1’s sealed surprisal, now revealed to have been this very sum all along.

▸ Go deeper — the joint derivation
Each product p(y|η)p(η) is the joint p(y, η) — the chance of “this sky and that cause, together.” The evidence is the joint summed over causes: p(y) = Ση p(y,η). The joint is the thing you actually have a formula for (your likelihood × your prior); the evidence is what you get by summing it over everything hidden.
3 · No back door

You can’t dodge it with Bayes

Maybe you’re thinking: forget the true surprise — I’ll just update my belief about the front and move on. That’s Bayes, the honest update. But look what it needs:

p(front on | sky) = p(sky | on) p(on) / p(y) = 0.63 / 0.69 = 0.913

That 0.913 is — again — Module 1’s posterior, exactly. And notice the denominator: it’s p(y) = 0.69, the very evidence sum from §2 (the tool above already showed it falling out). Even to update your belief, you must divide by that same sum over all causes. There is no back door.

⬡ See it in UNI functional
The organism faces this with no shortcut: to know how surprised it “should” be, or to update what it believes about its world’s hidden state, the honest quantity needs a sum over every cause that could have produced its sensors’ reading. A quantity its dynamics work with — never a feeling. What’s proven today is the arithmetic (Gate F0, sealed); the organism’s full behaviour is the build underway — we hold that open rather than claim it.
4 · The wall

Two causes were kind. The world isn’t.

Our sum had 2 terms. Suppose the morning’s cause isn’t just front / no-front, but one of many distinguishable weather situations — each needing its own term. Turn the dial and watch what happens to the sum you’d have to finish. (This isn’t a graph of a formula — it’s the count of terms, and its cost.)

Watch the cost explode

The evidence sum has exactly ONE term per hidden cause. Add causes and the term count — and the work to finish the sum — grows with it. Find where “finishable” ends.

Hidden causes:
terms in the sum
multiply + add steps
at a billion steps/second

That is the wall. The number a mind most wants — how surprised it truly is, and how it should truly update — is defined by a sum with one term per hidden cause. For any world rich enough to be worth living in, the causes are astronomically many, so the sum cannot be finished, in principle, by the very mind that needs it. Not “hard” — unreachable.
▸ Go deeper — the intractable evidence derivation
This is the intractable-evidence (partition-function) problem. p(y) = Ση p(y,η) — or ∫ p(y,η) dη in the continuous case — is a sum/integral over the entire hidden-state space; its cost grows explosively with the number of causes and their combinations. Everything downstream (the surprisal −ln p(y), the posterior p(η|y) = p(y,η)/p(y)) inherits that intractability. The wall is a theorem about cost, not a lack of effort.
5 · Where this goes next

The shape of the trap

You now know three things precisely:

  1. The true surprise of what you sense is −ln p(y), and p(y) is a sum over every hidden cause.
  2. Bayes needs the same sum — you can’t dodge it by “just updating.”
  3. For any real world that sum cannot be finished. The wall.

So a mind cannot compute the thing it most needs. And yet minds — you, an animal — plainly do make sense of the world, in real time, blind to the cause. (The organism is being built to do the same — that’s the project, not yet a finished claim.) Not by finishing the sum. By a trick: instead of the true belief it can’t reach, a mind carries a belief it can move — a guess it’s allowed to slide around — and a score it can actually compute that tells it which way to slide. Build that movable belief and the score, and you’ve built your way around the wall. That movable belief is Module 3; the score, two modules on, is the one this book is named for.

⬡ Notice what you just did self-reference
You didn’t take anyone’s word for the wall. You started from your own Module 1 number, asked whose surprise was real, were forced to the hidden causes, summed them by hand into 0.69, watched Module 1’s surprisal and posterior fall out of that one sum, and then felt the sum explode past any hope of finishing. You derived the wall. That’s the honest footing the rest of the book stands on.