lane-av1422warp: RETRACT round 11's conclusion -- libaom's own predicate says allowed=1
Browse files at this commitb16dd2a9be22323596d07d25e8c4430b7d84e51bParent: bec28691 changed file +70 -0
- lanes/av1422warp.report.md +70 -0
lanes/av1422warp.report.mdmodified+70 -0
| @@ -392,6 +392,76 @@ tx_size lookup (the oracle's `get_tx_size_context` for that block is | |||
| 392 | printable and ours computes the same `above + left` form as everywhere | 392 | printable and ours computes the same `above + left` form as everywhere |
| 393 | else). | 393 | else). |
| 394 | 394 | ||
| 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 | + | ||
| 395 | ### Round 11 — the two extra reads are NAMED: `use_filter_intra` + `filter_intra_mode` | 465 | ### Round 11 — the two extra reads are NAMED: `use_filter_intra` + `filter_intra_mode` |
| 396 | 466 | ||
| 397 | Bit positions added to the MODE rungs on both sides (our `EC_ISTEP` | 467 | Bit positions added to the MODE rungs on both sides (our `EC_ISTEP` |