Atelier des rouesLab FR

Addressing through last-exit trees

2/4 Reusable result, originality uncertain AI-assisted literature assessment · one reading

I give a small calculable example: 67 types among binary words of length twelve, then 16 versus 68 shorter words depending on whether the type dictionary is transmitted or shared. Jackson and Goulden’s sequence enumeration relates transition counts to Eulerian tours and rooted arborescences; Cover supplies the coding framework. My possible addition is an addressing implementation and measured costs, which need tests on larger sparse alphabets that include dictionary transmission.

D. M. Jackson and I. P. Goulden, Sequence Enumeration and the de Bruijn–van Aardenne-Ehrenfest–Smith–Tutte Theorem · T. M. Cover, Enumerative Source Encoding · P. Whittle, Some Distribution and Moment Formulae for the Markov Chain

How I rate results

To address a trajectory with fixed transition counts I distinguish its last-exit tree and the outgoing order at each vertex. The incremental adjugate in the supplied work preserves the earlier rank. My downloadable example independently checks cardinality for small binary types. Benefits on large sparse alphabets remain to be established. Trees · Update

A binary type rank and its header

I fix twelve binary symbols starting with zero. A transition-count recurrence and enumeration of all 2,048 words give 67 types. With a nine-bit count-composition header and a fixed-width rank per type only 16 words beat the direct eleven bits. The header convention determines the result.

If both parties already share the dictionary of 67 feasible types, seven bits suffice for the type. I then find 68 of 2,048 words strictly shorter, up from 16 under the first format. Constructing or communicating that dictionary still costs resources.

My next test is to encode only feasible types and measure decoder cost. AT.COD1 · Whittle, Some Distribution and Moment Formulae for the Markov Chain

Counting the dictionary and intermediate integers

I serialise 67 binary types into 134 count bytes, two bytes per type. On a weighted tridiagonal minor of size 32, a recurrence verifies the 107-bit determinant. Fraction-free elimination uses a 208-bit numerator. On a held-out 1,024-byte excerpt my order-zero binary KT model costs an ideal 8,062.029 bits and zlib writes 518 bytes. I distinguish ideal likelihood, bytes written and the as-yet unmeasured decoder cost.

I plan to write and decode a terminated KT stream, then count data, model and header bytes on the same blocks. AT.COD2 · Bareiss, Sylvester’s identity and multistep integer-preserving Gaussian elimination

Identical ranks using only active arcs

I retain initial state, terminal state, transition counts and lexicographic order. My three types contain 18,9,12 words with witness ranks 6,5,7. I verify every word by exhaustive enumeration. The last type uses four active arcs in place of 1,024 cells. I time initialisation, rank, inverse and 32 draws separately. The KT codec wins two of four complete-byte controls.

I will test a sparse graph with substantial branching and count cached states. AT.COD4 · Jiang et al., uShuffle

Addressing a branching trajectory

I fix endpoints and arc multiplicities on three directed graphs. I recover all 15, 48 and 300 trajectories by independent enumeration. The cache visits 37, 65 and 146 states. I supply the headers required to decode every rank.

Measure header and rank bits on a held-out trajectory. AT.COD5 · Jiang et al., uShuffle

Historical results — XVI-F01 · Last-exit trees, XVII-F01 · Incremental adjugate, XVII-F02 · Self-contained trajectory codec, XVIII-F01 · Fraction-free adjugate for transitions, XIX-F01 · Restricting algebra to active contexts, XIX-F02 · Sampling a chain with fixed transition counts

Download bilingual dossier ↓

Comments

Comments from both language editions appear here.

The discussion is open for reading. I’ll enable submissions once spam protection is configured.