O.1.1 Direct-encoder ranks and entanglement entropy
See §O.1 for the page-rank caps and the direct-encoder contract (directContract).
For all integers , , and block lengths , both logical page dimensions are strictly positive (). Writing () and defining as above:
- Rank upper bounds and spectral necessity: Every pair satisfying
directContractobeys , , and the page- spectral factorization necessity (totalRowSpectralNecessity); - Exact attainable rank rectangle: For any natural numbers , there exist jointly chosen satisfying
directContractwith if and only if and ; in particular, a legal direct encoder exists if and only if and ; - Page-pure Schmidt-rank identity: Under
directContract, every normalized pure logical state supported entirely in page has encoded bipartite Schmidt rank across equal to ; - Sharp von Neumann entropy bounds and simultaneous attainment: Every satisfying
directContractobeys and (in natural-logarithm units); whenever and , a single joint construction simultaneously attains , , , and .
Necessity follows from the spectral obstruction theorem actual_encoder_spectral_obstruction: for any given encoder obeying directContract, factoring through an isometry on the nonzero eigenspace of and enforcing confines the image of the subspace spanned by weighted left rows with to the -element compatible right neighborhood; mutual orthogonality across the logical basis states forces , so for all , while page similarly gives . Sufficiency and simultaneous extremal attainment construct jointly by pairing disjoint right-hand word blocks across run strata with uniform nonzero eigenvalues (and at the corner); since a density state of rank has von Neumann entropy at most , the entropy bounds are sharp (note that these cross-cut rank bounds address a physical constraint distinct from the pointer history-capacity bound in Chapter 36, Theorem 36.15). The full proof is checked by the Lean kernel.
Theorem O.17 underscores a crucial point that slogans easily obscure: the Schmidt rank of a direct encoder is not universally equal to ! Rank is conditionally attainable—as one point inside the feasible rectangle —only if the block parameters satisfy . As an independently enumerated concrete example (NUM), take : on , the nonprime page has and the prime page has ; counting 111-free words gives , , , and , so
Every integer rank pair with and is realizable: is one valid choice among thirty, whereas the maximal attainable ranks are with maximal page entropies .
This is a paper calculation for a specified finite state, not a new Lean-verified theorem. Set (that is, ), cutting a two-bit word across . For , the admissible words are exactly ; choose the positive equal-amplitude coherent state
Ordering the words on each side as , the coefficient matrix and partial trace are
Explicitly, : and share the right word , leaving off-diagonal entries . Hence
Each eigenvalue has multiplicity ; both are positive and sum to . The reduced rank is , and the Schmidt coefficients are . Using natural logarithms, the entanglement entropy is
Neither counting three words nor taking gives this entropy; replacing the ket by a uniform diagonal classical mixture of the three words removes those coherence terms.
Across the same cut, every admits all four words . The chosen positive equal-amplitude state is then
Its eigenvalues each have multiplicity . The reduced rank is , the sole nonzero Schmidt coefficient is , and (with ). Here we specify a state over all admissible words, without fixing first-bit pages or imposing the logical directContract; the preceding theorem instead characterizes attainable ranks and entropy extrema while jointly choosing the encoder and page states under that contract. This example determines no physical ground state or general entropy limit at fixed ; the subsequent open problems remain open.
Keep and the cut from the preceding example, and fix any ; the admissible words are exactly . Compare with : only the phase of the amplitude changes, to . Both states have squared norm , and each word has computational-basis probability . Ordering each side as , the latter state gives
In the partial trace, the right words contribute to each off-diagonal entry, so they cancel. The reduced spectrum, listed with multiplicity, is (the eigenvalue has multiplicity ), and the Schmidt coefficients are . With natural logarithms, the entanglement entropy is , whereas the preceding example gives for .
This phase change is the joint controlled-sign operation , not a product of single-qubit local phase operations: local unitaries preserve Schmidt coefficients and cannot turn the sole nonzero Schmidt coefficient of into the two coefficients above.
Thus identical admissible-word support, counts, and even computational-basis probabilities do not determine entanglement; the chosen positive-phase equal-amplitude family remains a meaningful additional specification of the state. This is a paper calculation for finite states, with no conclusion about ground states, physical realization, or fractal entanglement scaling.
The preceding calculations extend to a finite matrix calculation for the same specified state family. This is a paper derivation, not a new Lean-verified result. Fix and any . Let contain all length- binary words avoiding , write , and choose
The all-zero word ensures . No first-bit page is fixed. Partition into classes by the length of the terminal run of ones, and into classes by the length of the initial run of ones; both lengths are for the empty word. Legality gives . Let and be the actual finite counts, allowing zero. For and , concatenation is legal exactly when , so
In the full computational-basis spaces of dimensions and , assign each nonempty class its normalized indicator vector or . Assign the zero vector to an empty class, without inverting the square root of zero. Form matrices from these columns and define the matrix
The actual state’s coefficient matrix is . Expand entry by entry: each legal belongs to exactly one nonempty class, and the normalization factors cancel; an illegal word or concatenation gives zero. Thus . Distinct nonempty classes are disjoint, hence
The last identity handles short words and empty classes: with zero columns are not isometric embeddings of the entire -dimensional space. Taking the partial trace of the actual pure state now gives
The sum counts right words compatible with both left boundary runs. The matrix vanishes on empty left classes, while the restriction of to the coordinate space of nonempty classes is an isometric embedding. Consequently, and have the same positive eigenvalues with the same multiplicities. The right reduction has that positive spectrum too, since and have the same positive spectrum. If , the physical zero-eigenvalue multiplicities are and ; the auxiliary matrix instead has zero multiplicity . These counts must be distinguished.
Since , list its positive eigenvalues with multiplicity as . The finite-cut entanglement entropy, using natural logarithms, is
The entropy bound is the usual Shannon bound for positive numbers summing to . If or , then and the entropy is zero; at , the nonzero part recovers the matrices in Example O.18. This calculation uses actual class counts without requiring their closed forms or substituting stationary probabilities. At fixed , it bounds the cut entropy uniformly for this positive equal-amplitude family. Further control in is given in Example O.22; the finite-kernel calculation alone proves no entropy limit and identifies no physical ground state or relation to Rauzy-boundary dimension. These counts carry no phase information. Whether changed phases preserve this spectrum requires a separate check; the joint sign change in the preceding example changes it.
Continue the paper derivation for the positive equal-amplitude state in Example O.20, and set and . The class of left words with exactly trailing ones is nonempty precisely for : use when , and the all-ones word when ; the empty word has . On the right, similarly realizes every . Removing the zero rows and columns therefore leaves the coefficient kernel
where both and are invertible. Its rank is the rank of this zero–one matrix.
Write for row of , with column coordinates . The zeroth row is all ones, and for the successive differences are
Since , the nonzero differences occupy distinct nonzero column coordinates. There are of them. Taking differences and telescoping back shows that the row space is exactly the span of and these coordinate vectors. Column zero first forces the coefficient of to vanish in any linear relation; the remaining coordinates then force every other coefficient to vanish. Thus the original pure state has Schmidt rank
This gives exact finite-length boundaries: precisely when , and precisely when , , or . For two nonempty sides, this specified state becomes entangled exactly when the forbidden-word constraint can cross the cut, namely . Its positive spectrum has entries: rank one gives zero entropy, whereas at higher rank every entry is strictly below one and the entropy is strictly positive. Full rank alone does not make those entries equal; whether the entropy reaches still depends on the preceding spectrum. This derivation adds no Lean verification and establishes no entropy limit or physical ground-state conclusion.
Increasing the automaton’s number of states need not increase the entanglement of this specified state. For the positive equal-amplitude family in Example O.20, a classical correlation inequality gives a bound uniform over all finite cuts. This remains a paper derivation and adds no Lean verification.
Under the uniform law on binary words of length , let mean that each half is legal, and let mean that an all-ones window of length crosses the cut. Represent a word by its set of one-positions. Then is closed under deleting positions, whereas is closed under adding them. The Harris–Kleitman inequality makes such a decreasing event and increasing event negatively correlated; this is a classical literature result (Kleitman, Families of Non-disjoint Subsets, 10.1016/S0021-9800(66)80012-1, lemma on p.154). Consequently,
Here . Each length- window crossing the cut uses distinct positions and is all ones with uniform probability . There are at most such windows, so the final step is a union bound. Short or empty sides only reduce their number; with no such window, is empty.
Let and be the normalized equal-amplitude superpositions of legal words on the two sides, and put . Counting their common nonzero coefficients gives
If is the largest eigenvalue of the actual reduced state, the singular-value decomposition of its coefficient matrix gives : overlap with any unit product vector is at most the largest Schmidt coefficient. Thus satisfies . The last bound follows from for every .
The preceding calculation bounds the rank by , leaving at most other eigenvalues with total mass . For , divide these entries by and apply the usual finite-probability entropy bound; at , use the continuous value. With and its continuous endpoint values,
The second step uses the increase of on and . The third uses and substitutes . The right-hand side tends to zero independently of . Hence for every there is a , independent of the cut lengths, such that for every and every . This concerns the specified state family: its rank can reach while the spectral mass outside its largest eigenvalue vanishes uniformly. It establishes no fixed- long-region entropy limit, specifies no physical ground state and does not resolve the relation between Rauzy-boundary dimension and entanglement scaling.
Fix and let both sides of the cut grow. The question shifts from how many Schmidt coefficients are nonzero to how their mass settles. Continue with the actual positive equal-amplitude state of Example O.20: all binary words avoiding participate, without a fixed first bit or occupation number. This is a paper derivation; the complete application has not been compiled in Lean and specifies no physical ground state.
Let be the legal words of length , and , including . Set , , and
The root equation gives and , hence , , and . Define real matrices
We will show that is positive definite with trace one. For its eigenvalues , listed with multiplicity, the actual state’s entropy satisfies
Both lengths must diverge, but their relative growth rates are unrestricted.
First recover the actual free-boundary counts. Use the signed Parry chain of the next section, on states . Reading at flips the sign and resets to with weight ; reading preserves the sign and advances to with weight , allowed only when . From , every legal word gives exactly one allowed path, and adjacent states uniquely recover each bit. The terminal sign is unrestricted: there is no extra factor of two or closing condition.
The weight of a length- path ending at run telescopes to . If counts paths ending at , expansion of matrix multiplication gives
The terminal factor is essential: free-boundary counts are not obtained by simply taking a stationary marginal. The existing chain mixing bound and stationary law are
Total variation is half the finite distance. Since , summing with the terminal reweighting yields
The last identity for uses the root equation. This connects chain mixing to the actual word count with free boundaries.
Then return from endpoint counts to the quantum state. Once , a left word with terminal run exactly has the unique form , with ; a right word with initial run exactly has the unique form , with . The inserted zero prevents a forbidden run across the join, so these are actual bijections: and . There is no all-ones exception in this eventual range.
The finite-kernel derivation uses normalized indicators of nonempty classes to factor the actual coefficient matrix as , where
Thus the positive eigenvalues of the actual reduced state, with multiplicities, are exactly those of . Additional physical zero eigenvalues contribute no entropy. For , substitution of the count asymptotic gives
All shifted indices are at least , so the same vanishing bound controls every error in these finitely many expressions. The denominator tends to . Taking nonnegative square roots gives the joint tail limit , and hence . Direct multiplication gives the displayed formula for , with . For comparison, a standalone half-word’s endpoint frequency tends to , whereas the stationary run mass is . The latter appears on the limiting Gram matrix’s diagonal, but its off-diagonal entries must also be retained.
Finally control spectrum and entropy. Fixed dimension turns entrywise convergence into operator-norm convergence, for example through . Apply the ordered-eigenvalue perturbation bound to the two Hermitian Gram matrices:
Ordering retains every multiplicity and needs no simple-spectrum assumption. The function has the continuous endpoint value , so the fixed sum of terms converges. The actual-spectrum correspondence above makes this the physical reduced state’s entropy limit.
Reversing the columns of gives a triangular matrix with constant diagonal , so . Its eigenvalues are strictly positive and sum to one, making the entropy strictly positive. Strict convexity bounds entropy by , with equality only when every eigenvalue is ; the Hermitian spectral theorem would then force . But , ruling out equality.
The reused root, chain-mixing and spectral-perturbation tools are in this book’s currently pinned source, in DBonacci/PerronRoot, ParryTwistedComparison.parry_mixing_and_complete_prefix and HermitianEigenvaluePerturbation.abs_eigenvalue_sub_eigenvalue_le_norm; entropy continuity and Hermitian diagonalization use standard results of pinned Mathlib. The path counting, terminal reweighting and actual-state limit bridge are written out above, but the complete application has no Lean verification. is entanglement across one cut, distinct from the per-step shift entropy ; the uniform bound in Example O.22 also passes to . Fixed-side limits, changed phases, physical ground states and Rauzy-boundary entropy laws each need their own argument.