Known Stuff#
The four roles#
Fixed-boundary correspondence turns a run of a Neary tag system with width β and body B into a word equation. Its alphabet has four roles, the tiles Rx and Dx for each letter x ∈ {b, c}. For a role word w, U(w) and V(w) are the upper and lower concatenations, and M = 10β is the fixed boundary word. Call the source admissible when
For admissible sources, some role word satisfies U(w)M = V(w) exactly when the tag system halts, and deciding this is therefore impossible in general. With the word-pair matrices Xa = Ψ(ua, va), the equation is the scalar test e1TXwΨ(M, ε)e3 = 0. The empty role word gives σ(M) ≠ 0.
Separated coordinates#
Conjugating by the unimodular matrix
puts the two words in separate coordinates:
The second coordinate carries the lower word and the third the upper word; the first accumulates the signed difference of their values. The row e1T is unchanged, and the boundary column becomes
From here on, Rx and Dx also denote the tiles’ matrices Φ(u, v) in these coordinates.
Hankel rank#
A scalar function f on words has a linear representation of dimension n if f(w) = λYwγ for a row λ, a column γ, and n × n matrices Ya for the letters. Its Hankel matrix has entries f(xy) indexed by words x, y. Since f(xy) = (λYx)(Yyγ), the Hankel matrix factors through an n-dimensional space, so any m × m submatrix with nonzero determinant proves n ≥ m.
New Stuff#
Result#
A role is a letter together with a phase, rule or deletion. The paired series moves the phase from the alphabet into the state. The current vector lives in one of two copies of the three-dimensional space, one copy per phase. A data letter x applies Rx or Dx according to the copy it finds the vector in and leaves the result in the deletion copy, and the toggle moves the vector to the other copy. This uses three generators in dimension six. For each letter, Rx and Dx have the same upper word, so they agree on the plane of vectors whose lower-word coordinate is zero, and the two copies may share that plane. Identifying them there leaves dimension 6 − 2 = 4.
Theorem (paired-role compression). Let V be a d-dimensional vector space over a field, let R0, R1, D0, D1 be endomorphisms of V, and suppose Ri and Di agree on an r-dimensional subspace E for i = 0, 1. For every row ℓ and column γ there are three endomorphisms of a (2d−r)-dimensional space, a row, a column, and a surjective decoder τ from control words to role words such that every control word z has coefficient ℓXτ(z)γ.
Theorem (paired scalar series). For every admissible source, the integer 4 × 4 matrices Gb, Gc, T and the column c = (μ, −1, t, 0)T below satisfy, for every word z over {Gb, Gc, T},
Hence some nonempty control word has coefficient zero exactly when the tag system halts. Every exact linear representation of this function of z over ℚ has dimension at least four.
The coefficient e1TGzc is the paired coefficient of z. Toggle-only words decode to the empty role word and have coefficient μ ≠ 0, so they never give a spurious zero.
The agreement plane#
On the plane E = span{e1, e3}, where the lower-word coordinate is zero, the lower word has no effect:
The tiles Rx and Dx have the same upper word, H(x), so
The phase quotient#
On V ⊕ V, the first summand holds a vector in rule phase and the second a vector in deletion phase. Define
Starting from (γ, 0), the vector always lies in one summand, and a data letter applies the tile of the phase it finds. Because Rx and Dx agree on E, both data maps kill the anti-diagonal
and the toggle maps K to itself. All three maps therefore descend to the quotient
The boundary row (ℓ, ℓ) reads the sum of the two summands, so it vanishes on K and descends as well; the column is the class of (γ, 0). Passing to the quotient therefore changes no coefficient. This proves the compression theorem, with the decoder described below.
Explicit matrices#
For the four roles, d = 3 and r = 2. Use the quotient coordinates
the difference and the upper word are shared, and the lower word sits in coordinate two in rule phase and in coordinate four in deletion phase. Let ux = H(x) be the common upper word of the tiles for x, and vxR, vxD their lower words. Write
These are numbers, not further generators. The quotient maps are
with boundary row e1T = (1, 0, 0, 0) and boundary column c = (μ, −1, t, 0)T, the separated boundary column placed in rule phase. All entries are integers. The toggle is a permutation matrix exchanging coordinates two and four. Both data matrices have zero second row, so they are singular. All three matrices have first column e1.
Decoding every control word#
In a product Gzc the rightmost letter of z acts first. The decoder τ therefore reads z from right to left, starting in rule phase:
- a toggle switches the phase;
- a data letter x emits Rx in rule phase and Dx in deletion phase, and then sets the phase to deletion.
τ(z) is the emitted role word in left-to-right order. For example, GbGc decodes to DbRc, and GbGcT to DbDc. Induction on z proves the coefficient identity of the theorem for every control word, including words with leading, trailing, adjacent, or repeated toggles. Conversely, a role word is encoded from right to left: each role becomes its data letter, with a toggle immediately to its right exactly when the current phase differs from the role’s phase. Hence τ is surjective, and the empty role word is τ(T).
The two alphabets are different: a control word and its decoded role word have different letters and lengths. Only the existence of a zero transfers, and it transfers in both directions.
The two phase columns#
For a control word z, put X = U(τ(z))M, Y = V(τ(z)), and h = σ(X) − σ(Y). The whole column, not only its first coordinate, is determined by X, Y, and the final phase:
The paired coefficient reads only h, which vanishes exactly when X = Y. A different boundary row may also read the length coordinates; the two-generator constructions use this freedom.
Exact dimension#
Take the control-word prefixes ε, b, bb, bT and suffixes ε, T, b, bT, where b stands for Gb. The corresponding 4 × 4 section of the Hankel matrix is the product of a matrix of reachable rows and a matrix of observable columns, and both determinants are nonzero for every β ≥ 3 and every body. Every exact linear representation of the paired series over ℚ therefore has dimension at least four, and the quotient attains it. A representation that only needs the same zero set is not bound by this argument.
Dependents#
- M4(4) adds the rank-one separator ce1T to the three matrices; the three matrices alone give Z4(3).
- The six-dimensional scalar compiler spells the four roles in two bits and shares the upper-word coordinates between unfinished codewords.
- M9(2) and M8(2) replace the boundary row by rows that also read the length coordinates, then realize the three controls and a rank-one separator as the returns of two matrices.
Bookkeeping#
Verification and provenance#
Lean checks the separated coordinates, the agreement plane, the explicit matrices, the coefficient identity for every control word, and decoder surjectivity.
Lean checks the Hankel factorization, both determinants, and the lower bound paired_exact_state_lower_bound.
Lean proves that existence of a nonempty control word with zero paired coefficient is equivalent to code halting and is not a computable predicate.
The publication-facing declarations use only propext, Classical.choice, and Quot.sound.
Formal scope#
The explicit matrices, the coefficient identity for every control word, decoder surjectivity, the undecidability of the zero set, and the dimension lower bound are machine-checked. The general (2d−r)-dimensional compression theorem is proved on this page and has no separate Lean declaration; only its instance is formalized.
References#
- GPT-5.6 Sol, elicited by @eternalism_4eva, M₃(5): Mortality of Five 3 × 3 Integer Matrices, 2026. Fixed-boundary correspondence.
- GPT-5.6 Sol, elicited by @eternalism_4eva, M₄(4): Mortality of Four 4 × 4 Integer Matrices, 2026. The first publication of the paired construction.
- Julien Cassaigne, Vesa Halava, Tero Harju, and François Nicolas, Tighter Undecidability Bounds for Matrix Mortality, Zero-in-the-Corner Problems, and More, 2014. Word-pair matrices.