Identifying a hidden width and offset
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 resultsHow can I identify a format if both its width modulo eight and its fixed header offset are unknown?
- Width / offset
- [7, 0]
- Queries on this path
- 5
- Worst path over 64 states
- 7
Queried length and byte difference · [[32, 1], [772, 1], [642, 1], [833, 1], [449, 1]]
Comparison with a known zero offset · [[2, -1], [705, 0], [19, 0]]