Atelier des rouesLab FR
Register/AT.EX32.02
Proved proposition · AT.EX32.02

Identifying a hidden width and offset

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

I report adaptive query trees separating eight header states in depth three and 64 width-offset states in depth seven, plus lower-bound arguments tied to the first split. Gill’s state-identification experiments and Lee–Yannakakis’s adaptive distinguishing sequences are the closest literature; the difference is the restricted oracle of byte-cost observations for this codec. Such trees could guide black-box format diagnosis, but the supplied search is bounded by length 2,048 and the 40-state branch claim needs a complete check; changing offsets between probes is also untested.

Arthur Gill, “State-Identification Experiments in Finite Automata” · David Lee and Mihalis Yannakakis, “Testing Finite-State Machines: State Identification and Verification” · R. M. Hierons and U. C. Türker, “Parallel Algorithms for Generating Distinguishing Sequences”

How I rate results

Assumptions

I follow a tree of byte queries. A known header gives eight states. With an unknown offset I distinguish 64 states. At the first query the eight offsets always split the outputs in odd proportions out of eight.

Result

I prove three adaptive queries necessary and sufficient at zero offset and seven when the offset is unknown. The first query leaves at least forty states in one branch, more than five binary answers can distinguish.

Prior work

Cover · WebAssembly · LEB128 · Elias

Next question

I will test offsets that vary between observations and seek indistinguishable states.

Read the argument and prior work · View supporting evidence

Comments

Comments from both language editions appear here.

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