Richard Hoekstra

Architecture proposal

The φ3 algebra

A tensor algebra for bounded neural computation, with a concrete compression result
Richard Hoekstra · 2026

The object

This note proposes a tensor architecture grammar with seven generators and eighteen relations. In circuit complexity NC² specifies polynomial-size, bounded-fan-in circuits of depth O(log² n). Mapping the grammar to that class requires a choice of arithmetic model and an input-size analysis.

The seven generators, informally:

GeneratorOperationDepth cost
Mmatrix multiplication+1
boson / fermioncommutative / anticommutative bilinears0
…(four more)…

The Hilbert series

The algebra's Hilbert series has a closed form:

H(t) = (1 + t)3 / ((1 − t)3 − t(1 + t)3)

with asymptotic growth rate φ3 = 2 + √5 ≈ 4.236, where φ is the golden ratio.

This is the unique point in the one-parameter family

Hn(t) = (1 + t)n / ((1 − t)n − t(1 + t)n)

where the characteristic gap equation factors through u² + u − 1 = 0 (the golden ratio equation).

Symbol composition in the asymptotic regime:

These fractions are derived from the algebra, not fitted.

The compression result

The algebra yields a practical differentiable closure operator:

R ← R + α · σ(β · R2)

The original account reported the following pilot measurements. Corpus partition, baseline flags and the serialized decoder are needed to interpret the coding comparison.

TaskResultReference
enwik8 (Wikipedia 100MB)2.66 bpbgzip: 5.0, bzip2: 4.0
Pointer chasing, n ≤ 32 nodes100% accuracybaseline MLP: <50%

The reported model-description field occupies 72 bits. A complete description-length comparison also specifies the shared decoder, learned weights, exact test bytes and coded stream. The 2.66 figure is retained as a historical report.

The pointer-chasing experiment reported 100% on its tested instances with at most 32 nodes. Finite accuracy does not prove correctness on every graph. Directed reachability is NL-complete and has an NC² upper bound.

What the algebra actually does

Neural architecture design is empirical today: choose an architecture by intuition, validate by benchmark. This program asks whether architecture can be made deductive.

The grammar determines the programs available to search; the proposed Hilbert series counts graded algebra dimensions. Beam search ranks visited candidates using its cost function.

For a specified target, the beam returns a candidate program. Establishing minimality would require a complete search or a matching lower bound.

Why the golden ratio

The honest answer is: we don't know. The Hilbert series is what it is — the characteristic polynomial factors through φ. Golden-ratio growth rates appear in enough combinatorial contexts (Fibonacci, Hamiltonian paths in certain graphs, entropy of some shift spaces) that the appearance here need not be deep. It could just be where the relations happened to land.

What would be deep: if the φ3 growth rate predicted something about achievable compression or depth trade-offs that wasn't already known. The compression numbers above are consistent with but don't prove this. The algebraic structure generates the architecture family; the benchmark results tell us the family is useful. The φ3 is a computed constant, not a load-bearing claim.

The Poisson layer structure

Beyond the Hilbert series, the algebra admits a layer decomposition with renormalization corrections. The NC tower diverges as αk ≈ (2/3)k, which sets a natural cutoff. This is where the theoretical derivation becomes speculative — the compression result does not depend on it.

What the figures support

The stated generating function has its positive pole at t=√5−2, giving reciprocal growth 2+√5. Identifying it as the Hilbert series of the complete presentation requires a normal-form argument. The pilot results motivate testing the search procedure with a reproducible encoder, decoder and matched baselines.

Cite this page

Richard Hoekstra. The φ 3 algebra. https://richardhoekstra.nl/papers/phi-cubed-algebra.html