feat: D4-invariant kernel input recovers the knight rule from partial support

InvariantCPPN canonicalises the displacement to (min|dx|, max|dy|), collapsing
the square's eight symmetries to one orbit, plus a knight_sym teacher whose
eight L-squares carry one value and are therefore a genuine D4 orbit.

Trained on six of the eight, it recovers the other two at 0.4% of the floor on
6/6 seeds where the raw-displacement kernel sits above the floor.

Two controls, both predicted beforehand: on a teacher whose eight squares share
a support but not a value the invariance is worse than nothing, and on a smooth
teacher with no D4 symmetry it costs 31x.

The arm dispatch now raises on unknown names -- an edit had silently failed to
land and rp_inv ran as plain rp, which looked like a null.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HCydQraDSoZ9WoTm2v23Eb
This commit is contained in:
chrnxandClaude Opus 5 committed 2026-09-07 19:12:03 -05:00
1 parent 3feba1baac
commit ff8ccbc819
4 files changed
+186 -13

No files matched your search

+21 -9
View File
@@ -151,18 +151,30 @@ signal or sit at a boundary. On top of that sits the cost argument, which is una
table scales as B^(continuous axes) × cells × channels and the CPPN is constant, 80-320× at two
continuous axes.
**And one thing nothing here can do.** Shown six of a knight's eight L-squares, neither the CPPN
nor any control infers the other two — both sit at or above the floor (`sharp.md`). The symmetry
group is not learned. That bounds how `chess_reach.md` may be read: the type-conditioned kernel
can **represent** a knight's L, which is what its 0.000 → 0.758 measures. It did not acquire the
rule. It memorised a shape it was shown in full.
**And the null that looked like a verdict was an input.** `sharp.md` found that shown six of a
knight's eight L-squares nothing infers the other two. `invariance.md` gives the CPPN D4
invariants of the displacement instead of the raw vector — the eight squares become one input —
and the same architecture recovers them exactly: 0.02395 → 0.00009, 0.4% of the floor, 6/6 seeds,
and 48× better on the training cells too. Two controls make it mean something: where the eight
squares share a support but not a rule the invariance is *worse* than nothing, and on a domain
without that symmetry it costs 31×. **An invariance is a commitment, not a free lunch.**
That is the fifth time in this project that a null turned out to be what was expressible in the
input rather than what the mechanism could do. It also bounds `chess_reach.md` differently than
`sharp.md` did: the type-conditioned kernel represents a knight's L, and a D4-conditioned one
would generalise it — a prediction for the parked chess arc, not a result.
**What is still not shown: the model is GIVEN the group, it does not find it.** Every result in
this project is a model applying structure it was handed. Discovering which invariance a domain
has is untouched, and it is what the word "understanding" in this project's framing means.
## What is open, in order
1. **Rule inference on a sparse support.** The knight null is one symmetry group, one sparse
family, one architecture. It says the group was not inferred here, not that none can be. This
is the sharpest open question the project has and it is the one chess kept implying it had
answered.
1. **Discovering an invariance rather than being handed one.** `invariance.md` settled that a
given group converts unseen orbit members into seen ones. Finding the group is untouched, has
no obvious cheap oracle, and is the only remaining question whose answer would justify the
word "understanding". Candidates: learning the canonicalisation, or scoring a model across a
family of domains with different groups so that discovery is the only way to win.
2. **Kernel capacity and interference.** How many distinct kernels fit before they collide, and
which pairs collide first. The pawn/colour result is one measured point of this curve; the
sweep makes similarity an independent variable instead of an accident of chess. Deliberately