From 9048e8a7de475cfa41971ffb7f3588daa27b9544 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20Kaan=20G=C3=BCm=C3=BC=C5=9F?= Date: Mon, 28 Sep 2026 11:36:22 +0300 Subject: [PATCH] lane-av1422warp: second window bisect -- 3 bits short, in the mode reads Report only; tree byte-identical to a7506ee2, bypass reverted, aomdec rebuilt to its committed shape (grep -c bitpos = 0). EC_COEFF_STEP bitpos re-added on both sides, paired, reverted again. The bit delta is the same constant -14 for every coefficient unit from 0 through 2427 and changes at 2428: the oracle consumes 18 bits across that unit, we consume 15. We are 3 BITS SHORT -- the mirror image of round 6, where we were 6 bits long. The window holds only two all_zero=1 skips, so no coefficient read falls inside it; the three bits live in the block-mode reads (skip, cdef, delta_q, mode, angle_delta, uv_mode, angle_delta_uv, use_filter_intra, filter_intra_mode) that no rung on either side currently carries a bit position for. A trap recorded per the round-8 lesson: the unit INDEX pairing is only valid while the bit delta is constant, and it stops being a safe guide exactly here. Our decoder emits 2680 coefficient units against the oracle's 2512, and a skipped unit's txb_skip read can cost as few as one bit, so extra skip units coexist with a constant delta. In the window the oracle's unit 2427 is plane=2 and ours is plane=0 -- the indices no longer name the same block though the bit positions still agree. Pair bit positions, never unit indices, from here on. Enum discipline applied to what is printed: plane=0/1/2 is libaom's PLANE_TYPE_Y/U/V; side=8 is our square reconstruct's side (an 8x8 transform unit); ctx on both lines is the txb_skip context, NOT a tx_size context. Nothing here is claimed to be a bsize, partition or tx_size category, so no enum lookup is needed to read it. Unblock: add a bit position to the MODE rung on both sides (our EC_ISTEP per symbol, and decodeframe.c's intra mode-info read on the oracle) and pair the eight mode reads across the window. Three bits across seven or eight reads is a single short read. --- lanes/av1422warp.report.md | 57 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) diff --git a/lanes/av1422warp.report.md b/lanes/av1422warp.report.md index e569a9d1..7f99bf48 100644 --- a/lanes/av1422warp.report.md +++ b/lanes/av1422warp.report.md @@ -392,6 +392,63 @@ tx_size lookup (the oracle's `get_tx_size_context` for that block is printable and ours computes the same `above + left` form as everywhere else). +### Round 10 — the second window: 3 bits, and they are in the MODE reads + +`EC_COEFF_STEP bitpos` re-added on both sides (18 rungs here, 11 in the +oracle's `decodetxb.c`), `aomdec` rebuilt, all reverted again +(`grep -c bitpos` = 0). + +The bit delta is the same constant **-14** for every coefficient unit +from 0 through 2427, and changes at **2428**: the oracle consumes 18 +bits across that unit, we consume 15. **We are 3 bits short** — the +mirror image of round 6, where we were 6 bits long. + +The window, enumerated (both units are all_zero=1 skips, so no +coefficient reads fall inside it): + +``` +oracle 92321 all_zero plane=2 ctx=8 all_zero=1 rng=60208 + 92339 all_zero plane=0 ctx=0 all_zero=1 rng=38996 (+18 bits) +ours 92335 all_zero plane=0 ctx=1 all_zero=1 rng=61576 + 92350 all_zero side=8 ctx=3 all_zero=0 rng=48464 (+15 bits) +``` + +**What this does and does not establish.** It establishes the MAGNITUDE +and the SIDE: 3 bits, consumed by block-mode reads, not by any +coefficient read — the `EC_COEFF_STEP` stream shows only the two skip +units, so the three bits live in the mode/mode-preface reads +(`skip`, `cdef`, `delta_q`, `mode`, `angle_delta`, `uv_mode`, +`angle_delta_uv`, `use_filter_intra`, `filter_intra_mode`) that no rung +on either side currently carries a bit position for. + +**A trap recorded, per the round-8 lesson.** The unit INDEX pairing is +only valid while the bit delta is constant, and it stops being a safe +guide at exactly this point: our decoder emits 2680 coefficient units +against the oracle's 2512, and a skipped unit's `txb_skip` read can +cost as few as one bit, so extra skip units can coexist with a constant +bit delta. Note in the window above that the oracle's unit 2427 is +`plane=2` and ours is `plane=0` — the indices no longer name the same +block even though the bit positions still agree. **Pair bit positions, +never unit indices, from here on.** + +**Enum discipline applied to what IS printed here.** `plane=0/1/2` is +libaom's `PLANE_TYPE_Y/U/V` ordering and matches ours; `side=8` on our +line is the square `reconstruct`'s side, i.e. an 8x8 transform unit; +`ctx` on both is the `txb_skip` context, not a tx_size context (the +tx_size context is the separately printed `EC_TXCTXB`/`tx_depth ctx`). +Nothing in this window is claimed to be a bsize, a partition, or a +tx_size category, so no enum lookup is needed to read it. + +**Unblock.** Add a bit position to the MODE rung on both sides — the +`EC_ISTEP` line ours already prints per symbol, and the oracle's +equivalent in `decodeframe.c`'s intra mode-info read — and pair the eight +mode reads across this window. Three bits across seven or eight reads is +a single short read (most plausibly a `filter_intra_mode` or a +`use_filter_intra` the oracle takes and we do not, or a cfL alpha read +present on one side only), and a per-symbol bit position will name it +directly. That is another instrumentation round and is left unscheduled +here. + ### Round 9 — CORRECTION to round 8, and where the desync actually starts **Round 8's central claim was wrong and is retracted here.** It read the