forge
Explore
Log in

Don't you dare go Hollow

lane-av1422warp: RETRACT round 11's conclusion -- libaom's own predicate says allowed=1

Browse files at this commit

b16dd2a9be22323596d07d25e8c4430b7d84e51bAhmet Kaan GümüşParent: bec2869
Report only; tree byte-identical to 6bb5595a, bypass reverted, aomdec
rebuilt to its committed shape (grep -c PALSZ = 0).

Round 11 was wrong twice, both from trusting a print without checking
how it is emitted.

Error 1, parse artefact: the oracle's EC_ISTEP bit position is inserted
after the format string's \n, so it lands on the PREVIOUS line, and
round 11's line-filtered window dropped every oracle
use_filter_intra/filter_intra_mode line it was hunting. Re-parsed
record-wise the oracle emits 241 use_filter_intra lines, and the
observation survives: at mi(68,16) we read use_filter_intra val=1 and
filter_intra_mode val=3 between angle_uv and the next block, and the
oracle shows none there.

Error 2, and this one kills the conclusion: round 11 said
av1_filter_intra_allowed should have suppressed those reads and that
enable_filter_intra or palette_size[0] was the disagreeing input.
Measured with a rung inside libaom's own read_filter_intra_mode_info:

    PALSZ mi=68,16 bsize=8 mode=0 psize0=0 efi=1 wide=32 high=16 allowed=1

allowed=1. libaom's predicate IS satisfied -- DC_PRED, palette_size 0,
enable_filter_intra 1, 32x16 within wide<=32 && high<=32. Both
previously-unmeasured inputs AGREE with us. There is no stale palette
state and no header-bit disagreement, and round 11's framing is wrong.

What remains: our two reads are real in the bit stream while libaom's
predicate says the corresponding reads are allowed, so the divergence is
not a missing/extra gate in the sense round 11 described and this lane
cannot say what it is. The residual tension is internal to the
instrumented oracle -- its allowed=1 and its absent use_filter_intra
EC_ISTEP at mi(68,16) do not sit together, which points at the
oracle's instrumentation rather than at a decoder defect.

Unblock restated: do NOT gate our use_filter_intra read. First settle
the oracle -- does aomdec consume the symbol at mi(68,16)? Compare its
bit position after angle_uv with the mode-info trace, with the bit
position emitted on the SAME line. Only if the oracle genuinely does not
consume it is our read the defect.
lanes/av1422warp.report.mdmodified+70 -0
@@ -392,6 +392,76 @@ tx_size lookup (the oracle's `get_tx_size_context` for that block is
392392 printable and ours computes the same `above + left` form as everywhere
393393 else).
394394
395+### Round 12 — CORRECTION to round 11: the extra reads are real, the CAUSE is not what round 11 said
396+
397+Round 11 was wrong twice over, both times from trusting a print
398+without checking how it is emitted. Recorded here rather than left
399+standing.
400+
401+**Error 1, a parse artefact.** The oracle's `EC_ISTEP` lines carry
402+`bitpos=` but the insertion point placed it after the format string's
403+`\n`, so the position lands on the PREVIOUS line. Round 11's
404+line-filtered window therefore dropped every oracle `use_filter_intra` /
405+`filter_intra_mode` line it was looking for. Re-parsed RECORD-WISE
406+(splitting on `EC_ISTEP` and reading the bit position out of the record
407+rather than the physical line), the oracle emits 241 `use_filter_intra`
408+lines and the two sides read:
409+
410+```
411+ORACLE [92304] skip/cdef/dq [92305] mode 0 angle_y 0
412+ [92309] uv_mode 4 [92312] angle_uv -2
413+ [92323] skip <- next block, no filter_intra in between
414+OURS [92304] skip/cdef/dq [92305] mode 0 angle_y 0
415+ [92309] uv_mode 4 [92312] angle_uv -2
416+ [92312] use_filter_intra val=1
417+ [92313] filter_intra_mode val=3
418+ [92323] skip
419+```
420+
421+So the OBSERVATION survives the correction: at mi(68,16) we make those
422+two reads and the oracle shows none in that span.
423+
424+**Error 2, and this one kills round 11's conclusion.** Round 11 said
425+libaom's `av1_filter_intra_allowed` should have suppressed them and that
426+the suppressing input was `enable_filter_intra` or `palette_size[0]`.
427+Measured directly, with a rung inside libaom's own
428+`read_filter_intra_mode_info`:
429+
430+```
431+PALSZ mi=68,16 bsize=8 mode=0 psize0=0 efi=1 wide=32 high=16 allowed=1
432+```
433+
434+**`allowed=1`.** libaom's predicate is SATISFIED at that block — mode is
435+DC_PRED (0), `palette_size[0]` is 0, `enable_filter_intra` is 1, and the
436+32x16 footprint passes `wide <= 32 && high <= 32`. So libaom DOES read
437+`use_filter_intra` there, and round 11's "the read should not have
438+happened" framing is wrong. The two unmeasured inputs were measured and
439+BOTH AGREE with us; there is no stale palette state and no header-bit
440+disagreement.
441+
442+**What is left, stated honestly.** Our two extra reads are real in the
443+bit stream, and libaom's own predicate says the corresponding reads are
444+allowed — so the divergence is NOT a missing/extra gate in the sense
445+round 11 described, and this lane cannot say what it is. The one
446+remaining tension is internal to the instrumented oracle: its
447+`allowed=1` and its absent `use_filter_intra` EC_ISTEP at mi(68,16) do
448+not sit together, which points at the ORACLE's instrumentation (the
449+`EC_ISTEP` print is inside the `if`, and something about that path is not
450+reaching it) rather than at a decoder defect. **The next lane should
451+re-verify the oracle side before touching ours** — on the strength of
452+rounds 8, 11 and 12, this tree has twice rewarded a conclusion that a
453+single print, read without checking its emission or its guard,
454+contradicted.
455+
456+**Unblock, restated.** Do NOT gate our `use_filter_intra` read. First
457+settle the oracle: does an unmodified-ish `aomdec` consume the
458+`use_filter_intra` symbol at mi(68,16)? Compare its bit position after
459+`angle_uv` with aomdec's mode-info trace, with the print placed so its
460+bit position is on the SAME line (append the field before the `\n`).
461+Only if the oracle genuinely does not consume it is our read the defect,
462+and then the predicate that would have to differ is not
463+`av1_filter_intra_allowed` — it is whatever else gates the call.
464+
395465 ### Round 11 — the two extra reads are NAMED: `use_filter_intra` + `filter_intra_mode`
396466
397467 Bit positions added to the MODE rungs on both sides (our `EC_ISTEP`