forge
Explore
Log in

Don't you dare go Hollow

Merge lane-breconcile: land the census's ranked residue (8 items landed, 2 refuted), and name the open 4:4:4 lossless key-frame defect

Browse files at this commit

8da2631c0cf693e4d170ab9daac1dbb84eb6e56cAhmet Kaan GümüşParent: 604fa6cbf814a0
The branch census (lanes/branchcensus2.report.md) ranked what main lacked; this lands the usable part and
REFUTES two items rather than carrying them.

LANDED (each behaviour-free where that is the claim, with the same proof: cargo check 0/0 errors/warnings
plus the 248-gate pixel_exact run green):
- refusal_inventory: each of the 32 PROVEN rows now says WHICH KIND of proof it carries (7 NEGATIVE, 25
  ENUMERATION) plus a label and a third tuple element, both consumer loops updated, and a new non-vacuity
  test.  REFUTED: the census quoted the BRANCH's comment as main's -- main's row already
  names a STRONGER gate (every_chroma_unit_decode_block_rect_can_present_has_a_coefficient_table), which
  reads all eight decode_block_rect call sites' literal bw/bh, pins the chroma table exactly and asserts
  (4,8)/(8,4) is UNPRODUCIBLE. The variant would carry no rows. Non-vacuity: 3 mutations, 3 REDs -- flip
  the row's tag; make NegativeGate dead; weaken the GATE while it still passes. Mutating the test's own
  expectation list also stayed GREEN and is reported as such.
- transform.rs + decode.rs:  and the lossless /EC_DQCOEFF twin with plane= and
  lv=, RE-DERIVED rather than cherry-picked because main has since generalised the lossless path to
   (any shape), so the plane is threaded through both.  is NOT
  landed: it is dead on its own branch's tip.
- Two  tags (2 lines), the plane-tagged OUR_MODE per-TU reader trace, and the readcensus
  header correction (that last one despite its motivating gap being closed by RECON_PLANE/recon_plane():
  that stamps the plane at RECONSTRUCTION and this names it at the READER, and the class
   has already produced two wrong claims).
- Two REPORT corrections main lacked: av1tilerows round 9 (the 4:4:4 128-root leaf-size fork is GONE on
  main -- 0 divergence over 36 frames, entropy lockstep across 217,570 reads) and av1444rect round 6
  (the fork's caller is NAMED: decode_intrabc_rect's non-lossless rect arm, ONE gather taken at the LUMA
  footprint serving a 4x8 chroma unit). Both cherry-picked clean; the av1444rect blob is byte-identical
  on both sides.
- The 13-branch test-count census, RE-MEASURED from scratch rather than trusted: fresh git-archive
  extracts give 712 raw/712 unique at 298f75c4, 742/742 at 9623bcab, 802/802 on this tree -- the
  reconciliation (712 + 30 = 742, delta 0, no duplicates) stands, and the report now states that today's
  tree is 802 and which figures were not re-taken.

NOT LANDED, each with its reason in the report: Proof::TablePin (refuted), census_plane (dead),
av1tilerows report rounds 2-7 (they measured an OLD main; round 9 supersedes), the report-only residue of
av1loss444mm / av1refusal / av1444chr, and lane-av1lm444loss (author-declared DO-NOT-MERGE).

OPEN DEFECT NAMED BY THIS WORK, and now owned: lanes/av1loss444mm.report.md r10 -- a 4:4:4 LOSSLESS KEY
FRAME reconstruction-only divergence, 21 U + 28 V samples off by up to +/-63, LUMA EXACT and the entropy
bit-identical. The instruments for it (the plane-tagged lossless dequant twin, TxParams.plane) are in this
merge; the fix is not.
crates/ec-av1/src/decode.rsmodified+28 -0
@@ -3028,6 +3028,14 @@ fn cfl_src_rect(px: usize, py: usize, bw: usize, bh: usize) -> CflSrc {
30283028 /// `reconstruct_mc_rect` reads both of its buffers at.
30293029 #[derive(Clone, Copy)]
30303030 pub(crate) struct TxParams {
3031+ /// The plane this unit belongs to (0 luma, 1 U, 2 V), carried from the
3032+ /// reader that OWNS the unit. `dequant_and_inverse_wht4x4`'s `EC_DQCOEFF`
3033+ /// twin prints it so its ladder pairs with the oracle's: the per-unit
3034+ /// census plane could not, because the callers that route a lossless 4x4
3035+ /// unit into the WHT are not all the ones that stamp the census plane
3036+ /// (measured on `ll444-lossless-key.obu`: 1663 of 1663 chroma units paired
3037+ /// by count, 1660 of them against an empty grid).
3038+ pub(crate) plane: usize,
30313039 pub(crate) w: usize,
30323040 pub(crate) h: usize,
30333041 pub(crate) bit_depth: u8,
@@ -3118,6 +3126,7 @@ impl TxParams {
31183126 }
31193127 crate::transform::dequant_and_inverse_wht(
31203128 grid,
3129+ self.plane,
31213130 self.w,
31223131 self.h,
31233132 self.bit_depth,
@@ -8029,6 +8038,7 @@ fn read_eob(dec: &mut SymbolDecoder, coding: &mut TxbTables, class: TxClass) ->
80298038 let (range, value) = dec.debug_state();
80308039 eprintln!("EC_AV1_EOBPT_CDF {eob_pt:?} range={range} value={value}");
80318040 }
8041+ crate::msac::SymbolDecoder::set_symr_cdf("eob_pt");
80328042 let group = dec.symbol(eob_pt) + 1;
80338043 if trace {
80348044 eprintln!("TRACE eob_pt value={group} rng={}", dec.debug_state().0);
@@ -8277,6 +8287,7 @@ fn read_coeffs(
82778287 if crate::envflags::env_flag!("EC_AV1_EOBPT_CDF") && len == 3 {
82788288 eprintln!("EC_AV1_TXTYPE32_CDF {tx_type_cdf:?}");
82798289 }
8290+ crate::msac::SymbolDecoder::set_symr_cdf("tx_type");
82808291 let t = dec.symbol(tx_type_cdf);
82818292 crate::census::tx_type(len, t);
82828293 if coeff_trace_on() {
@@ -21465,6 +21476,19 @@ fn read_plane(
2146521476 // filter-intra is on) -- caller passes the raw filter-intra mode 0..4 in
2146621477 // `filter_intra`, only meaningful for `plane_idx == 0` (chroma has no
2146721478 // filter-intra in AV1).
21479+ // lane-av1444chr: per-TU mode trace with the PLANE named. `PlaneBuf`'s own
21480+ // `OUR_PRED` rung cannot carry it (reconstruction does not know its
21481+ // plane), and a rung whose plane has to be guessed from the values has
21482+ // already produced wrong claims twice this session -- `read_coeffs_rect`
21483+ // labelling its unit `plane=0`, and a sweep reading a second-luma-unit
21484+ // phantom out of that label (class `rung-mislabels-plane`). Diagnostic
21485+ // only: no gate asserts decode behaviour off this line.
21486+ if crate::envflags::env_flag!("EC_TRACE_MODE") {
21487+ eprintln!(
21488+ "OUR_MODE plane={plane_idx} x={x} y={y} side={side} mode={predict_mode} \
21489+ ad={angle_delta} fi={filter_intra:?} reach={reach:?}"
21490+ );
21491+ }
2146821492 let tx_mode = if plane_idx == 0 {
2146921493 fi_tx_row(tx_mode, filter_intra)
2147021494 } else {
@@ -21554,6 +21578,7 @@ fn read_plane(
2155421578 let levels = extend_corner(grid, tx_side, tx_side, side, side);
2155521579 let (dc_delta, ac_delta) = plane_q_delta(plane_idx, fctx);
2155621580 let tx = TxParams {
21581+ plane: plane_idx,
2155721582 w: side,
2155821583 h: side,
2155921584 bit_depth: bit_depth(fctx),
@@ -27204,6 +27229,7 @@ fn decode_leaf_rect8(
2720427229 // fixture: the DCT route left ±1..30 sample errors on every
2720527230 // walked leaf's luma.
2720627231 let tx = TxParams {
27232+ plane: 0,
2720727233 w: tw,
2720827234 h: th,
2720927235 bit_depth: crate::decode::bit_depth(fctx),
@@ -30606,6 +30632,7 @@ fn read_inter_plane_rect(
3060630632 // stride, so the dense `w x h` residual is re-laid at that stride
3060730633 // (`TxParams::stride`) after the inverse transform.
3060830634 let tx = TxParams {
30635+ plane: plane_idx,
3060930636 w,
3061030637 h,
3061130638 bit_depth: bit_depth(fctx),
@@ -37710,6 +37737,7 @@ fn read_inter_plane(
3771037737 let grid = extend_corner(grid, tx_side, tx_side, side, side);
3771137738 let (dc_delta, ac_delta) = plane_q_delta(plane_idx, fctx);
3771237739 let tx = TxParams {
37740+ plane: plane_idx,
3771337741 w: side,
3771437742 h: side,
3771537743 bit_depth: bit_depth(fctx),
crates/ec-av1/src/refusal_inventory.rsmodified+153 -4
@@ -301,7 +301,47 @@ const REFUSALS: &[&str] = &[
301301 /// `a_real_aomenc_mixed_lossless_segment_frame_decodes_sample_exact` is the
302302 /// witness.
303303 #[cfg(test)]
304-const PROVEN: &[(&str, &str)] = &[
304+/// Which KIND of proof each [`PROVEN`] row carries.
305+///
306+/// A 2-tuple made every row look equally proven, which is the whole defect:
307+/// a row whose gate drives a hand-built stream into the guard and a row
308+/// whose gate sweeps an alphabet and shows nothing reaches it are held to
309+/// the same standard and read the same way. `label()` is what the tests
310+/// print, so the distinction is visible in the suite's own output.
311+///
312+/// lane-av1refusalclaim r3 also proposed a third variant, `TablePin`
313+/// ("the arms are pinned exactly but the domain the table is REACHED over
314+/// is unestablished"). It is deliberately NOT carried: the one row it was
315+/// minted for now has a gate that establishes the reach domain
316+/// (`every_chroma_unit_decode_block_rect_can_present_has_a_coefficient_table`
317+/// reads the eight `decode_block_rect` call sites' own literal `bw`/`bh`,
318+/// pins the resulting chroma table exactly, and asserts the `(4,8)`/`(8,4)`
319+/// residual is UNPRODUCIBLE), so `Enumeration` is the honest tag and a
320+/// variant with no row would be dead weight. Re-add it the day a gate really
321+/// pins a table without measuring its caller domain -- and give it a row.
322+#[cfg(test)]
323+enum Proof {
324+ /// A written stream REACHES the guard and is refused by this exact
325+ /// string: the gate goes RED if the guard is removed.
326+ NegativeGate,
327+ /// The gate enumerates every input the guard can be reached over and
328+ /// shows that none of them reaches it: it proves UNREACHABILITY, so it
329+ /// is GREEN if the guard is removed.
330+ Enumeration,
331+}
332+
333+#[cfg(test)]
334+impl Proof {
335+ fn label(&self) -> &'static str {
336+ match self {
337+ Proof::NegativeGate => "NEGATIVE (reaches the guard; red on removal)",
338+ Proof::Enumeration => "ENUMERATION (proves unreachability; green on removal)",
339+ }
340+ }
341+}
342+
343+#[cfg(test)]
344+const PROVEN: &[(&str, &str, Proof)] = &[
305345 // lane-t900 r20, census: three real streams present exactly the 18
306346 // `(side, write_w, write_h)` triples `INTER_BLOCK_SHAPES` lists, and
307347 // `rect_inter_residual_supported` covers every rectangular one -- the only
@@ -318,6 +358,7 @@ const PROVEN: &[(&str, &str)] = &[
318358 (
319359 "a non-skip rectangular (HORZ/VERT/HORZ_B) strip needs rectangular residual coding",
320360 "a_block_shape_census_over_three_real_streams_leaves_the_rect_residual_refusal_unreachable",
361+ Proof::Enumeration,
321362 ),
322363 // lane-t900 r20, census: the shapes that can reach `decode_intra_rect_in_inter`'s
323364 // size-group/tx-category lookup are the ten rectangular census shapes with
@@ -326,6 +367,7 @@ const PROVEN: &[(&str, &str)] = &[
326367 (
327368 "an intra-coded {bw}x{bh} block on the inter block path (no size-group/tx-category row for that shape here)",
328369 "every_intra_in_inter_shape_the_census_lists_has_a_size_group_row",
370+ Proof::Enumeration,
329371 ),
330372 // lane-t900 r20, census: the only sub-8 footprints three real streams
331373 // present are the 16x4/4x16 strips of a 16x16-level 1:4 partition, whose
@@ -334,6 +376,7 @@ const PROVEN: &[(&str, &str)] = &[
334376 (
335377 "an intra 16x4/4x16 strip inside an inter 16x16-level 1:4 partition (its 4:2:0 chroma pair is coded once for two strips; only the inter path implements that pairing)",
336378 "a_sub8_footprint_census_over_real_streams_leaves_the_intra_16x4_pairing_refusal_unreachable",
379+ Proof::Enumeration,
337380 ),
338381 // lane-t900 r20, census: the rect transform tables and scans, enumerated
339382 // over the shapes the measured block-shape domain hands each helper (block
@@ -347,14 +390,17 @@ const PROVEN: &[(&str, &str)] = &[
347390 (
348391 "a rectangular inter luma transform unit whose shape has no coefficient table set here",
349392 "every_rect_transform_shape_the_census_lists_has_a_coefficient_table_and_scan",
393+ Proof::Enumeration,
350394 ),
351395 (
352396 "a rectangular inter chroma transform unit whose shape has no coefficient table set here",
353397 "every_rect_transform_shape_the_census_lists_has_a_coefficient_table_and_scan",
398+ Proof::Enumeration,
354399 ),
355400 (
356401 "a rectangular transform unit whose shape has no coefficient scan table here",
357402 "every_rect_transform_shape_the_census_lists_has_a_coefficient_table_and_scan",
403+ Proof::Enumeration,
358404 ),
359405 // lane-t900 r21, enumeration: a var-tx leaf is never larger than the unit
360406 // the tree was entered with, and both callers enter at or below their own
@@ -363,10 +409,12 @@ const PROVEN: &[(&str, &str)] = &[
363409 (
364410 "an inter var-tx tree with a leaf transform larger than 32x32",
365411 "a_var_tx_tree_never_presents_a_leaf_larger_than_the_unit_it_entered",
412+ Proof::Enumeration,
366413 ),
367414 (
368415 "an inter var-tx tree with a leaf transform larger than 64x64",
369416 "a_var_tx_tree_never_presents_a_leaf_larger_than_the_unit_it_entered",
417+ Proof::Enumeration,
370418 ),
371419 // Pre-existing proofs, registered by lane-t900 r21: a negative gate (a
372420 // hand-built 12-bit sequence header is refused BY THIS EXACT STRING rather
@@ -380,32 +428,38 @@ const PROVEN: &[(&str, &str)] = &[
380428 (
381429 "a 32x32 partition type this decoder does not code (value={part32})",
382430 "every_partition_value_of_an_enumerated_alphabet_has_an_arm",
431+ Proof::Enumeration,
383432 ),
384433 (
385434 "an INTER 32x32 partition type this decoder does not code (value={part32})",
386435 "every_partition_value_of_an_enumerated_alphabet_has_an_arm",
436+ Proof::Enumeration,
387437 ),
388438 (
389439 "a 128x128 superblock partition value outside the 8-symbol alphabet",
390440 "every_partition_value_of_an_enumerated_alphabet_has_an_arm",
441+ Proof::Enumeration,
391442 ),
392443 // lane-t900 r24, enumeration: the key-frame superblock root's own `match`
393444 // has an arm for all ten `partition_w64` values.
394445 (
395446 "a superblock-level partition value outside PARTITION_NONE..PARTITION_VERT_4",
396447 "every_partition_value_of_an_enumerated_alphabet_has_an_arm",
448+ Proof::Enumeration,
397449 ),
398450 // lane-t900 r24, enumeration: the inter 16x16-level if/else chain's
399451 // branches name all ten `partition_w16` values between them.
400452 (
401453 "an inter 16x16-level partition value outside NONE/HORZ/VERT/SPLIT/AB/1:4",
402454 "every_partition_value_of_an_if_chain_alphabet_is_named_by_a_branch",
455+ Proof::Enumeration,
403456 ),
404457 // lane-t900 r24, enumeration: every (CDF width, symbol) pair a tx_type row
405458 // can present maps to a distinct member of that width's own set.
406459 (
407460 "a tx_type symbol outside its CDF's own set: {t}",
408461 "every_tx_type_symbol_of_every_cdf_width_maps_into_its_own_set",
462+ Proof::Enumeration,
409463 ),
410464 // lane-t900 r24 + lane-av1txr RE-PIN, measured: the reader covers spec
411465 // 5.11.40's whole value domain (`0..=(1 << 20) - 2`, both ends of every
@@ -419,6 +473,7 @@ const PROVEN: &[(&str, &str)] = &[
419473 (
420474 "a Golomb tail longer than this decoder reads",
421475 "read_golomb_reads_every_value_a_conformant_stream_can_carry",
476+ Proof::Enumeration,
422477 ),
423478 // lane-t900 r25, enumeration: `parse_tile_group` is the only producer of
424479 // the `tiles` vector `decode_stream` tests, and its success path always
@@ -427,6 +482,7 @@ const PROVEN: &[(&str, &str)] = &[
427482 (
428483 "a frame OBU with no tile group",
429484 "a_frame_obu_that_parses_always_carries_at_least_one_tile",
485+ Proof::Enumeration,
430486 ),
431487 // lane-t900 r25, negative gates: hand-built streams that reach each
432488 // refusal by name and output no picture (a `show_existing_frame` header
@@ -434,10 +490,12 @@ const PROVEN: &[(&str, &str)] = &[
434490 (
435491 "a show_existing_frame header naming an empty reference slot",
436492 "a_show_existing_frame_header_naming_an_empty_slot_is_refused_by_name",
493+ Proof::NegativeGate,
437494 ),
438495 (
439496 "an inter frame with no key frame before it",
440497 "an_inter_frame_opening_a_stream_is_refused_by_name",
498+ Proof::NegativeGate,
441499 ),
442500 // lane-t900 r25, enumeration: a motion_mode/obmc symbol is read only under
443501 // `is_motion_variation_allowed_bsize` (min side >= 8), and each of the 17
@@ -446,6 +504,7 @@ const PROVEN: &[(&str, &str)] = &[
446504 (
447505 "a motion_mode symbol for a block shape with no CDF row here",
448506 "every_shape_that_allows_motion_variation_has_a_motion_mode_cdf_row",
507+ Proof::Enumeration,
449508 ),
450509 // lane-av112bit: real-aomenc 12-bit streams, each refused by name
451510 // (the gates encode with aomenc --bit-depth=12 and assert the exact
@@ -470,6 +529,7 @@ const PROVEN: &[(&str, &str)] = &[
470529 (
471530 "a chroma format of 4:2:2 (subsampling_x != subsampling_y): this decoder decodes 4:2:0 and 4:4:4; 4:2:2 is not ported, and 4:4:0 (0,1) is not a codable cell",
472531 "a_non_420_subsampled_sequence_header_is_refused_by_name",
532+ Proof::NegativeGate,
473533 ),
474534 // lane-av1txr-r2 paired, lane-av1-qmatrix RETIRED with its gate: the
475535 // refusal's witness is now
@@ -488,6 +548,7 @@ const PROVEN: &[(&str, &str)] = &[
488548 (
489549 "an intra mode this decoder does not code (round 2)",
490550 "every_intra_mode_symbol_of_the_y_mode_alphabet_is_coded",
551+ Proof::Enumeration,
491552 ),
492553 // lane-t900 r26, enumeration: `compute_image_size` is 0 only for a zero
493554 // frame width/height, which no path a header can code produces (swept
@@ -495,6 +556,7 @@ const PROVEN: &[(&str, &str)] = &[
495556 (
496557 "a frame with no mode-info grid",
497558 "every_frame_size_a_header_can_code_has_a_mode_info_grid",
559+ Proof::Enumeration,
498560 ),
499561 // lane-t900 r26, negative gates: written streams that reach each refusal
500562 // by name (a 64x32 inter frame over a 64x64 reference; a stream opening on
@@ -511,6 +573,7 @@ const PROVEN: &[(&str, &str)] = &[
511573 (
512574 "a reference frame selected with no picture at this frame's own ref_frame_idx slot for it",
513575 "a_selected_reference_with_an_empty_ref_frame_idx_slot_refuses_by_name",
576+ Proof::NegativeGate,
514577 ),
515578 // lane-t900 r27, negative gate + census: a written key frame carrying
516579 // each of the three mode-overriding features (over three segment ids) is
@@ -536,6 +599,7 @@ const PROVEN: &[(&str, &str)] = &[
536599 (
537600 "a frame whose segmentation enables SEG_LVL_REF_FRAME/SKIP/GLOBALMV (this decoder reads segment_id but never lets a segment override a block's reference, skip or mode)",
538601 "a_frame_whose_segmentation_overrides_a_block_mode_is_refused_by_name",
602+ Proof::NegativeGate,
539603 ),
540604 // lane-t900 r27, structural audit + witness: `record_inter_rect_mi` is the
541605 // single writer of the interp-filter neighbour band, and no call site
@@ -549,6 +613,7 @@ const PROVEN: &[(&str, &str)] = &[
549613 (
550614 "an OBMC neighbour whose switchable interp filter was never recorded",
551615 "every_inter_record_publishes_an_obmc_readable_filter",
616+ Proof::Enumeration,
552617 ),
553618 // lane-t900 r28: all three scaled-reference (superres) refusals -- the
554619 // 8x8 partition leaf, the sub-8x8 inter block and warp -- are LIFTED and
@@ -564,10 +629,12 @@ const PROVEN: &[(&str, &str)] = &[
564629 (
565630 "a coded HORZ/VERT strip whose chroma transform has no rect coefficient tables here",
566631 "every_rect_strip_shape_the_split_path_codes_has_a_luma_and_chroma_table",
632+ Proof::Enumeration,
567633 ),
568634 (
569635 "a split intra strip whose transform unit is {tx_w}x{tx_h} (no luma coefficient tables for that shape here)",
570636 "every_rect_strip_shape_the_split_path_codes_has_a_luma_and_chroma_table",
637+ Proof::Enumeration,
571638 ),
572639 // lane-av1-refusalaudit, enumeration + witness2 hunt: decode_block_rect64's
573640 // chroma-unit table covers every conformant 64-axis strip unit in both
@@ -581,6 +648,7 @@ const PROVEN: &[(&str, &str)] = &[
581648 (
582649 "a 64-axis strip whose chroma unit has no coefficient table",
583650 "every_chroma_unit_a_64_axis_strip_can_present_has_a_coefficient_table",
651+ Proof::Enumeration,
584652 ),
585653 // lane-av1rect8x16, enumeration: `decode_block_rect`'s `_` arm. The nine
586654 // textual `decode_block_rect(` matches are 1 declaration + 8 call sites
@@ -602,6 +670,7 @@ const PROVEN: &[(&str, &str)] = &[
602670 (
603671 "a rectangular chroma transform whose size has no coefficient table",
604672 "every_chroma_unit_decode_block_rect_can_present_has_a_coefficient_table",
673+ Proof::Enumeration,
605674 ),
606675 // lane-t900 r33, enumeration: each of the four symbols this guard tests is
607676 // read under a size gate that no 128-pixel side passes (the call site's
@@ -610,6 +679,7 @@ const PROVEN: &[(&str, &str)] = &[
610679 (
611680 "CfL, filter intra or a palette on a 128-root HORZ/VERT intra block (every one of their size gates caps at 64x64 or below, so none of these symbols exists there)",
612681 "no_128_root_half_reads_a_cfl_filter_intra_or_palette_symbol",
682+ Proof::Enumeration,
613683 ),
614684 // lane-av1txr: the sub-8x8 intrabc refusal this census pinned is GONE (the
615685 // capability landed; see the note in `REFUSALS`). The census gate survives
@@ -628,10 +698,12 @@ const PROVEN: &[(&str, &str)] = &[
628698 (
629699 "a reference picture whose height does not match this frame's own true size",
630700 "an_inter_frame_shorter_than_its_reference_is_refused_by_name",
701+ Proof::NegativeGate,
631702 ),
632703 (
633704 "a frame naming primary_ref_frame at a reference slot with no saved CDF state",
634705 "an_inter_frame_naming_an_unrefreshed_primary_ref_slot_is_refused_by_name",
706+ Proof::NegativeGate,
635707 ),
636708 ];
637709
@@ -703,7 +775,8 @@ pub(crate) fn pins_refusal(src: &str, refusal: &str) -> bool {
703775 #[cfg(test)]
704776 mod tests {
705777 use super::{
706- CAPABILITY_CLAIMS, GATES_THAT_SKIP_ON_A_DECODE_ERROR, PROVEN, REFUSALS, squash_source,
778+ CAPABILITY_CLAIMS, GATES_THAT_SKIP_ON_A_DECODE_ERROR, PROVEN, Proof, REFUSALS,
779+ squash_source,
707780 };
708781 use std::collections::BTreeSet;
709782
@@ -2544,7 +2617,7 @@ mod tests {
25442617 let mut neither: Vec<&str> = Vec::new();
25452618 let mut unanchored: Vec<String> = Vec::new();
25462619 let mut unbounded: Vec<String> = Vec::new();
2547- for (reason, gate) in PROVEN {
2620+ for (reason, gate, _kind) in PROVEN {
25482621 assert!(
25492622 found.contains(*reason),
25502623 "{reason:?} is listed as proven but is no longer a decode-path refusal -- \
@@ -2646,7 +2719,7 @@ mod tests {
26462719 #[test]
26472720 fn every_named_gate_body_is_bounded_in_these_files() {
26482721 let mut resolved = 0usize;
2649- for (reason, gate) in PROVEN {
2722+ for (reason, gate, _kind) in PROVEN {
26502723 let body =
26512724 gate_body(gate).unwrap_or_else(|why| panic!("{reason:?} names {gate}: {why}"));
26522725 assert!(
@@ -2668,6 +2741,82 @@ mod tests {
26682741 }
26692742 }
26702743
2744+ /// The taxonomy is a CLAIM about each row, so it carries its own
2745+ /// non-vacuity: every variant is used by at least one row (a variant no
2746+ /// row can be in is not a category), the two labels do not collapse into
2747+ /// one string, and the row lane-av1refusalclaim r3 wanted to RE-TAG is
2748+ /// tagged from evidence inside its own gate BODY -- never from the
2749+ /// gate's name, which is the only thing the previous 2-tuple carried.
2750+ ///
2751+ /// r3 minted a `TablePin` variant because "a rectangular chroma transform
2752+ /// whose size has no coefficient table" was pinned to a table whose
2753+ /// REACHED-OVER domain had never been measured. Main has since replaced
2754+ /// that row's gate with one that reads the eight `decode_block_rect` call
2755+ /// sites' own literal `bw`/`bh`, pins the resulting chroma table exactly,
2756+ /// and asserts the `(4,8)`/`(8,4)` residual is UNPRODUCIBLE. `Enumeration`
2757+ /// is therefore the honest tag and `TablePin` is not carried; if a later
2758+ /// edit weakens that gate back to a bare table pin, the three evidence
2759+ /// pins below go red instead of leaving the row quietly overclaiming.
2760+ #[test]
2761+ fn every_proven_row_names_which_kind_of_proof_it_carries() {
2762+ let mut negative = 0usize;
2763+ let mut enumeration = 0usize;
2764+ for (reason, gate, kind) in PROVEN {
2765+ eprintln!(" {} -- {reason:?} -> {gate}", kind.label());
2766+ match kind {
2767+ Proof::NegativeGate => negative += 1,
2768+ Proof::Enumeration => enumeration += 1,
2769+ }
2770+ }
2771+ assert_eq!(
2772+ negative + enumeration,
2773+ PROVEN.len(),
2774+ "a PROVEN row carries no proof kind, so the table says nothing about it"
2775+ );
2776+ assert!(
2777+ negative > 0,
2778+ "no row is tagged NEGATIVE, so the NegativeGate variant is dead weight"
2779+ );
2780+ assert!(
2781+ enumeration > 0,
2782+ "no row is tagged ENUMERATION, so the Enumeration variant is dead weight"
2783+ );
2784+ assert_ne!(
2785+ Proof::NegativeGate.label(),
2786+ Proof::Enumeration.label(),
2787+ "the two kinds print the same string, so the taxonomy is one category in two hats"
2788+ );
2789+
2790+ let (reason, gate, kind) = PROVEN
2791+ .iter()
2792+ .find(|(reason, _, _)| {
2793+ *reason == "a rectangular chroma transform whose size has no coefficient table"
2794+ })
2795+ .map(|(reason, gate, kind)| (*reason, *gate, kind))
2796+ .expect("the (4,8) chroma-table row left PROVEN");
2797+ assert!(
2798+ matches!(kind, Proof::Enumeration),
2799+ "{reason:?} is tagged {:?}, but its gate enumerates the caller domain",
2800+ kind.label()
2801+ );
2802+ let body = gate_body(gate).unwrap_or_else(|why| panic!("{reason:?} names {gate}: {why}"));
2803+ for evidence in [
2804+ "the number of decode_block_rect call sites changed",
2805+ "for residual in [(4usize, 8usize), (8, 4)]",
2806+ "the caller set can now produce a 4x8/8x4 chroma shape",
2807+ ] {
2808+ assert!(
2809+ body.contains(evidence),
2810+ "{gate} no longer carries {evidence:?}, so the Enumeration tag on {reason:?} \
2811+ claims a reach domain the gate has stopped measuring"
2812+ );
2813+ }
2814+ eprintln!(
2815+ "refusal inventory: {negative} NEGATIVE, {enumeration} ENUMERATION of {} PROVEN rows",
2816+ PROVEN.len()
2817+ );
2818+ }
2819+
26712820 /// Lane-av1refusalspan: the invariant that catches a boundary that
26722821 /// over-reaches. Tested on its own text, so it cannot be satisfied by the
26732822 /// scanner happening to be right on the current sources.
crates/ec-av1/src/transform.rsmodified+50 -8
@@ -1381,6 +1381,15 @@ pub fn dequant_and_inverse_typed_wh(
13811381 // the twin of the oracle's `EC_DQCOEFF` rung (whose own layout is
13821382 // column-major `input[c * h + r]`), so a residual mismatch whose
13831383 // levels already agree is separable into dequant vs transform.
1384+ //
1385+ // LOSSY PATH ONLY (lane-av1loss444mm): a LOSSLESS 4x4 unit never
1386+ // reaches this function -- `decode.rs` routes it to
1387+ // `dequant_and_inverse_wht4x4` -- so on a lossless stream this rung
1388+ // printed NOTHING while the oracle's printed thousands of lines, and
1389+ // that silence reads as "no coefficients" rather than "wrong function".
1390+ // The lossless twin is `OUR_DQW` in `dequant_and_inverse_wht4x4`,
1391+ // below; both carry `plane=` so a chroma grid can be told from a luma
1392+ // one (the oracle's line carries it too).
13841393 if crate::envflags::env_flag!("EC_DQCOEFF") {
13851394 let nz: Vec<String> = dq
13861395 .iter()
@@ -3144,6 +3153,7 @@ pub fn inverse_wht4x4(dq: &[i32]) -> Vec<i32> {
31443153 /// marker contract).
31453154 pub fn dequant_and_inverse_wht4x4(
31463155 levels: &[i32],
3156+ plane: usize,
31473157 bit_depth: u8,
31483158 q_idx: i32,
31493159 dc_delta: i32,
@@ -3160,6 +3170,35 @@ pub fn dequant_and_inverse_wht4x4(
31603170 crate::quant::dequant_wh_into(
31613171 levels, &mut dq, 4, 4, bit_depth, q_idx, dc_delta, ac_delta, None,
31623172 );
3173+ // lane-av1loss444mm: the LOSSLESS half of the oracle's `EC_DQCOEFF`
3174+ // twin. Same env var, same `pos:value` nonzero form, PLUS `plane=`
3175+ // -- which is what makes the two ladders pairable: without it a 4x4
3176+ // chroma grid is indistinguishable from a luma one and an
3177+ // order-paired comparison of the two sides collapses (measured on
3178+ // `ll444-lossless-key.obu`: equal unit counts and value ratios of
3179+ // exactly 1.0, yet 16 of 2053 units matched).
3180+ if crate::envflags::env_flag!("EC_DQCOEFF") {
3181+ let nz: Vec<String> = dq[..16]
3182+ .iter()
3183+ .enumerate()
3184+ .filter(|&(_, &v)| v != 0)
3185+ .map(|(i, &v)| format!("{i}:{v}"))
3186+ .collect();
3187+ // `lv=` is the RAW level grid the dequant consumed: if `nz` is
3188+ // empty while `lv` is not, `dequant_wh_into` is what zeroed it, and
3189+ // this line says so instead of leaving the next lane to infer it.
3190+ let lv: Vec<String> = levels[..16]
3191+ .iter()
3192+ .enumerate()
3193+ .filter(|&(_, &v)| v != 0)
3194+ .map(|(i, &v)| format!("{i}:{v}"))
3195+ .collect();
3196+ eprintln!(
3197+ "OUR_DQW plane={plane} w=4 h=4 q={q_idx} dcd={dc_delta} acd={ac_delta} nz={} lv={}",
3198+ nz.join(","),
3199+ lv.join(",")
3200+ );
3201+ }
31633202 inverse_wht4x4(&dq[..16])
31643203 })
31653204 }
@@ -3200,6 +3239,7 @@ pub fn dequant_and_inverse_wht4x4(
32003239 /// Returns the same empty-grid marker as [`dequant_and_inverse_wht4x4`].
32013240 pub fn dequant_and_inverse_wht(
32023241 levels: &[i32],
3242+ plane: usize,
32033243 w: usize,
32043244 h: usize,
32053245 bit_depth: u8,
@@ -3208,7 +3248,7 @@ pub fn dequant_and_inverse_wht(
32083248 ac_delta: i32,
32093249 ) -> Vec<i32> {
32103250 if w == 4 && h == 4 {
3211- return dequant_and_inverse_wht4x4(levels, bit_depth, q_idx, dc_delta, ac_delta);
3251+ return dequant_and_inverse_wht4x4(levels, plane, bit_depth, q_idx, dc_delta, ac_delta);
32123252 }
32133253 if crate::decode::is_zero_grid(levels) {
32143254 return Vec::new();
@@ -3227,7 +3267,8 @@ pub fn dequant_and_inverse_wht(
32273267 };
32283268 }
32293269 }
3230- let res = dequant_and_inverse_wht4x4(&tile, bit_depth, q_idx, dc_delta, ac_delta);
3270+ let res =
3271+ dequant_and_inverse_wht4x4(&tile, plane, bit_depth, q_idx, dc_delta, ac_delta);
32313272 // An all-zero tile dequantizes to the same empty marker a 4x4
32323273 // caller passes straight through, and `out` is already zero --
32333274 // copying out of it would index an empty slice.
@@ -3342,12 +3383,13 @@ mod lossless_tx_tests {
33423383 };
33433384 for &(w, h) in &[(8usize, 4usize), (4, 8), (8, 8), (16, 4), (4, 16), (16, 16)] {
33443385 let levels: Vec<i32> = (0..w * h).map(|_| next()).collect();
3345- let got = super::dequant_and_inverse_wht(&levels, w, h, 10, 0, 0, 0);
3386+ let got = super::dequant_and_inverse_wht(&levels, 0, w, h, 10, 0, 0, 0);
33463387 let mut want = vec![0i32; w * h];
33473388 for ty in 0..h / 4 {
33483389 for tx in 0..w / 4 {
33493390 let unit = super::dequant_and_inverse_wht4x4(
33503391 &tile_of(&levels, w, tx, ty),
3392+ 0,
33513393 10,
33523394 0,
33533395 0,
@@ -3382,7 +3424,7 @@ mod lossless_tx_tests {
33823424 levels[0] = 400;
33833425 levels[1] = -240;
33843426 levels[2] = 88;
3385- let got = super::dequant_and_inverse_wht(&levels, 8, 4, 10, 0, 0, 0);
3427+ let got = super::dequant_and_inverse_wht(&levels, 0, 8, 4, 10, 0, 0, 0);
33863428 assert_eq!(got.len(), 32, "8x4 residual length");
33873429 let mut want = vec![0i32; 32];
33883430 for (tx, ty) in [(0usize, 0usize), (1, 0)] {
@@ -3392,7 +3434,7 @@ mod lossless_tx_tests {
33923434 t[r * 4 + c] = levels[(ty * 4 + r) * 8 + tx * 4 + c];
33933435 }
33943436 }
3395- let unit = super::dequant_and_inverse_wht4x4(&t, 10, 0, 0, 0);
3437+ let unit = super::dequant_and_inverse_wht4x4(&t, 0, 10, 0, 0, 0);
33963438 if unit.is_empty() {
33973439 continue;
33983440 }
@@ -3422,8 +3464,8 @@ mod lossless_tx_tests {
34223464 })
34233465 .collect();
34243466 assert_eq!(
3425- super::dequant_and_inverse_wht(&levels, 4, 4, 8, 0, 0, 0),
3426- super::dequant_and_inverse_wht4x4(&levels, 8, 0, 0, 0),
3467+ super::dequant_and_inverse_wht(&levels, 0, 4, 4, 8, 0, 0, 0),
3468+ super::dequant_and_inverse_wht4x4(&levels, 0, 8, 0, 0, 0),
34273469 "levels={levels:?}"
34283470 );
34293471 }
@@ -3437,7 +3479,7 @@ mod lossless_tx_tests {
34373479 #[test]
34383480 fn a_non_4x4_all_zero_lossless_unit_keeps_the_empty_marker() {
34393481 assert!(
3440- super::dequant_and_inverse_wht(&[0i32; 32], 8, 4, 10, 0, 0, 0).is_empty(),
3482+ super::dequant_and_inverse_wht(&[0i32; 32], 0, 8, 4, 10, 0, 0, 0).is_empty(),
34413483 "an all-zero 8x4 lossless unit must stay the empty marker"
34423484 );
34433485 }
lanes/av1444rect.report.mdmodified+46 -4
@@ -352,6 +352,42 @@ most likely a counting-shape difference (our var-tx leaves versus libaom's
352352 unit walk) rather than a walk defect; it is NOT established either way, and I
353353 am not claiming it.
354354
355+### Round 6 — the caller is NAMED
356+
357+Main's ask was to name the caller of the `read_coeffs_rect(4, 8, skip_ctx=0)`
358+shape. Done with `#[track_caller]` on `read_coeffs_rect` and on
359+`read_inter_plane_rect`, which turns every call into a file:line tag with no
360+backtrace and no per-site edit. One run, exact answer:
361+
362+| bit | call site | plane | x, y | w x h | around |
363+|---|---|---|---|---|---|
364+| 6885 | `decode.rs:13165` | 0 | 416, 368 | 8x16 | (0,0,0) |
365+| **6893 (the fork)** | **`decode.rs:13184`** | **1 (U)** | **208, 184** | **4x8** | **(0,0,0)** |
366+| 6902 | `decode.rs:13202` | 2 (V) | 208, 184 | 4x8 | (0,0,0) |
367+
368+All three are inside **`decode_intrabc_rect`** (`decode.rs:12955`), its
369+non-lossless whole-block rect arm — the `read_inter_plane_rect` triple for
370+luma then U then V off one shared
371+`around_mi_rect((mi_r, mi_c), bw, bh)` gather. The luma unit is 8x16, the
372+chroma units 4x8, which at ss (0,0) means a **4x8 chroma unit under a 4x16
373+luma plane block** — the sub-8 unit walk, which is exactly the prior Agent142-2's
374+census established and exactly the class shape.
375+
376+So the third instance of this lane's class is not a pair extent at all in its
377+outward form: it is one gather, taken at the LUMA footprint, serving a CHROMA
378+unit whose own extent is half that on the long axis. At 4:2:0 the two coincide
379+after subsampling, which is why the 4:2:0 twin is byte-exact; at 4:4:4 they do
380+not.
381+
382+**A second observation that is NOT yet established and I am not claiming:** at
383+this same bit the oracle reports mi (90,108) — luma px (360,432) — while our
384+chroma unit is at px (208,184), mi (46,52). Every read before this one paired
385+exactly, so both decoders are at the same bit position after the same number of
386+reads, which is hard to reconcile with a different block. Either the oracle's
387+`xd->mi_row/mi_col` is not naming the same block our `x, y` name, or there is a
388+position divergence I have not localised. Not established; recorded so the next
389+lane does not have to rediscover the discrepancy.
390+
355391 **Handed back, not landed.** The remaining 4:4:4 intra-BC defect is a **4x8
356392 rect coefficient unit**, present with 1:4 and rect partitions both disabled,
357393 and it is neither of the two candidates the follow-up named. Landing a partial
@@ -370,10 +406,16 @@ fork left in this cell.
370406
371407 ## 7. Residue handed on, not fixed here
372408
373-- **4:4:4 intra-BC chroma** — a 4x8 rect coefficient unit: read 12465,
374- mi (90,108), `read_coeffs_rect(w=4, h=8, skip_ctx=0)` at bit 6893; U and V
375- first wrong at index 20532. Per §6; both originally-named candidates
376- eliminated by measurement, so this needs a fresh start, not a continuation.
409+- **4:4:4 intra-BC chroma** — a 4x8 rect coefficient unit. CALLER NAMED in
410+ round 6: `decode_intrabc_rect` (`decode.rs:12955`), the non-lossless
411+ whole-block rect arm, at `decode.rs:13184` (U) and `13202` (V). One gather,
412+ `around_mi_rect((mi_r, mi_c), bw, bh)`, taken at the LUMA footprint and
413+ serving a 4x8 chroma unit under a 4x16 luma plane block; at 4:2:0 the two
414+ coincide after subsampling (hence the exact 4:2:0 twin) and at 4:4:4 they do
415+ not. Fork read 12465, bit 6893, U and V first wrong at index 20532. Both
416+ originally-named candidates and the token-order hypothesis remain dead by
417+ measurement. Unexplained and unclaimed: at that bit the oracle reports mi
418+ (90,108) while our unit is at px (208,184) — see §6.
377419 - **H2** and **H3** are with Agent24-2 as of this writing (Agent142-2's round
378420 closed with the census committed); §5's retraction is the record they need.
379421 - **H4** — 4:4:4 lossless + tile rows, hard divergence. Own lane; untouched.
lanes/av1readcensus.report.mdmodified+4 -3
@@ -1,8 +1,9 @@
11 # lane-av1readcensus — the 4:4:4 coefficient-read count asymmetry, settled
22
3-**Branch:** `lane-av1readcensus`, worktree `~/.cache/wt/av1readcensus`, stacked on
4-`lane-av1chrtx` (`ff7cf47c`, whose `d791c464` threaded the real plane index into
5-`read_coeffs_rect`'s traces — the census pairs on that).
3+**Branch:** `lane-av1chrtx` (my charter's branch), worktree `~/.cache/wt/av1chrtx`.
4+The census commit `ea97eb0c` sits on top of `ff7cf47c`, whose `d791c464` threaded
5+the real plane index into `read_coeffs_rect`'s traces — the census pairs on that,
6+and reuses its `plane` argument rather than adding a second one.
67
78 **Verdict: COUNTING SHAPE — and not even that. On every pixel-exact 4:4:4 arm
89 there is no asymmetry at all: both sides walk the same number of units, in the
lanes/av1testcount.report.mdadded+161 -0
@@ -0,0 +1,161 @@
1+# lane-av1testcount — test-count census of the 13-branch merge wave
2+
3+**Read-only.** No repository file was edited except this report, which is
4+committed on branch `lane-av1testcount` (worktree `~/.cache/wt/av1testcount`).
5+Every number comes from `cargo test -p ec-av1 --lib -- --list` executed in a
6+throwaway `git worktree` at each commit, in per-batch private
7+`CARGO_TARGET_DIR`s (`~/.cache/cargo-target-tc1..4`) — the shared house target
8+dir is not used, because a shared dir serves a sibling lane's binary and would
9+have made this census a census of someone else's tree
10+(`skill://counterfactual-ab-target-dir-provenance` variant 5). All 15 census
11+worktrees were removed afterwards.
12+
13+**Re-measured 2026-09-30 (lane-breconcile), because main has moved well past
14+`9623bcab` and a reader must not mistake this for a count of TODAY's tests.**
15+Both anchors re-derived from scratch with `cargo test -p ec-av1 --lib -- --list`
16+on fresh `git archive` extracts with private target dirs:
17+
18+```
19+298f75c4 (pre-merge base) 712 raw --list lines, 712 unique
20+9623bcab (merged main) 742 raw, 742 unique
21+b307aaeb (this tree) 802 raw, 802 unique
22+```
23+
24+So the load-bearing arithmetic still holds — 712 and 742 are what they were,
25+and they are immutable facts about two immutable commits — but the tree this
26+report's numbers would be compared against is now **802**, not 742. The 13
27+per-branch tip counts in §1 were NOT re-taken (13 more throwaway builds); they
28+are the lane's own figures and are not re-verified here. What is re-verified is
29+the pair the reconciliation stands on, plus zero duplicate registrations at
30+both anchors, which is the property §2 names.
31+
32+## 1. The two commits
33+
34+| role | commit | subject |
35+|---|---|---|
36+| pre-merge base | `298f75c4` | `gitignore: let per-crate fixture pins be added without -f` |
37+| merged main | `9623bcab` | `Merge lane-av1superpin @ 9646f74d — superres den=9 + mode-2 pins, shared helper, report corrections` |
38+
39+The 13 merges in `298f75c4..9623bcab`, newest first, with the branch tip taken
40+from each merge's second parent:
41+
42+| # | merge | branch | tip | tests at the tip | NEW names vs base | base tests the tip does NOT carry | note |
43+|---|---|---|---|---|---|---|---|
44+| 1 | `9623bcab` | lane-av1superpin | `9646f74d` | 708 | **+4** | **8** | **the tip predates 8 base gates** — see the correction below |
45+| 2 | `afa13bcf` | lane-whtshape | `f541d062` | 717 | +5 | 0 | |
46+| 3 | `9a9e3674` | lane-av1lm444loss | `9249442f` | 713 | +1 | 0 | |
47+| 4 | `764ba257` | lane-av1dualfilter10 | `c2b969c8` | 715 | +3 | 0 | |
48+| 5 | `a5867794` | lane-av1distwtd | `1aaf7e0b` | 714 | +2 | 0 | |
49+| 6 | `7f8817cb` | lane-av1pins | `44a05b40` | 712 | +0 | 0 | |
50+| 7 | `e96de012` | lane-av1superhbd | `a2da03e4` | 717 | +5 | 0 | |
51+| 8 | `b4c45166` | lane-av1tilemeasure | `df1370dd` | 716 | +4 | 0 | |
52+| 9 | `962945ce` | lane-av1toolgates | `4c4bd3e2` | 714 | +2 | 0 | |
53+| 10 | `10db0dc2` | lane-av1mutproof | `ffd8d138` | 712 | +0 | 0 | |
54+| 11 | `0eb19c11` | lane-av1gates444 | `555c83f3` | 715 | +3 | 0 | |
55+| 12 | `5e9c7715` | lane-av1skipfix | `960be978` | 712 | +0 | 0 | |
56+| 13 | `e443a86e` | lane-av1chrtx | `ea97eb0c` | 715 | +3 | 0 | |
57+| | | | **sum** | | **+32** | **8** | |
58+
59+**Correction (r1, after review).** The first version of this table had a
60+`tests at tip (base-relative delta)` column that printed `708 (+4)` on row 1,
61+which does not satisfy `tip = base + delta` — 712 + 4 = 716, not 708 — while
62+every other row did, on the row that names the merge head. The cause: the
63+column conflated two different numbers, "names the tip adds" and "net change".
64+`lane-av1superpin`'s tip `9646f74d` is **708 = 712 + 4 new - 8 removed**: it
65+was cut from a tree OLDER than `298f75c4` and does not carry 8 gates the base
66+already had —
67+
68+```
69+a_444_12bit_inter_sequence_decodes_pixel_exact
70+a_444_intrabc_rect4_reads_its_own_chroma_plane_block
71+a_4to20_key_frame_takes_the_left_chroma_reference_read_its_libaom_row
72+a_lossless_444_10bit_inter_stream_decodes_pixel_exact
73+a_lossless_444_128_root_lossless_stream_reads_chunks_chunk_major
74+a_lossless_444_rect16x4_chroma_reach_is_ss_aware
75+a_pinned_444_inter_stream_chroma_units_inherit_their_own_quadrants_tx_type
76+a_real_aomenc_odd_coded_dimension_streams_decode_pixel_exact
77+```
78+
79+— all eight of which ARE on merged main, so nothing was lost; the merge simply
80+took the base's copies. The conclusion of §2 is unaffected, because it is
81+stated over the UNION of new names and separately over base-minus-main, and
82+both of those are 0. What changes is the rule a future census must state
83+explicitly: **a branch tip is not `base + delta` unless the tip also carries
84+every base test.** The per-branch column is now three numbers, and a tip with a
85+non-zero "does NOT carry" cell is flagged.
86+
87+## 2. The arithmetic
88+
89+```
90+pre-merge base 298f75c4 712 tests
91+sum of the 13 branches' NEW names + 32 (4+5+1+3+2+0+5+4+2+0+3+0+3)
92+distinct new names across all 13 - 2 (two names declared by TWO branches)
93+ ------
94+base + distinct new = 712 + 30 = 742
95+merged main 9623bcab 742 tests
96+DELTA 0
97+```
98+
99+The 32 is a sum over the "NEW names" column, not over net per-branch deltas:
100+one tip (`9646f74d`) is cut from an older base and does not carry 8 base
101+tests, so its net is -4 while it adds 4. Summing nets would give 712 + 20 and
102+would NOT reconcile — which is exactly why the per-branch column above is
103+three numbers now. The reconciliation that holds is the one over the UNION of
104+new names plus the separate, independent check that the base survives intact
105+(`base - main = 0`, below): 8 base tests that one branch never carried are
106+still on main, taken from the base side of the merge.
107+
108+Every set operation, computed on the sorted name lists:
109+
110+| check | result |
111+|---|---|
112+| branch test names ABSENT from merged main (a silently dropped gate) | **0** |
113+| tests on merged main that are in no branch and not in the base | **0** |
114+| tests in the base that are GONE from merged main (a rename or a removal) | **0** |
115+| duplicate registrations on merged main (`--list \| sort \| uniq -d`) | **0** — 742 raw lines, 742 unique |
116+| per-branch duplicate NAMES (the risk that matters) | **2**, both resolved below |
117+
118+**The census reconciles exactly: 712 + 30 = 742, delta 0, nothing lost,
119+nothing renamed, nothing duplicated.** The merge dropped no gate, and no
120+conflict resolution silently took one side of an add/add.
121+
122+## 3. The two duplicate names, checked for a lost assertion
123+
124+A duplicate name across branches is the one way the count can look right while
125+an assertion is lost: the merge keeps one side, the other side's body is gone.
126+Both were diffed, body against body, at the two tips that declare them:
127+
128+| duplicate name | declared by | verdict |
129+|---|---|---|
130+| `stream::tests::a_distance_weighted_compound_stream_decodes_pixel_exact` | lane-av1dualfilter10 (`c2b969c8`) and lane-av1distwtd (`1aaf7e0b`) | **byte-identical** (188 lines each, `cmp` equal) — the same gate declared twice, not two gates. Nothing lost. |
131+| `gate_coverage::tests::the_detector_sees_the_gates_the_spelling_filter_missed` | lane-av1distwtd (`1aaf7e0b`) and lane-av1dualfilter10 (`c2b969c8`) | **byte-identical** (61 lines each, `cmp` equal) — same. lane-av1toolgates does not declare it at all, so the pair is the one above. |
132+
133+So the 2-test difference between "sum of deltas" (32) and "distinct new names"
134+(30) is fully explained: two gates were each written twice, identically, by two
135+lanes that had not seen each other. That is a coordination miss between
136+lane-av1dualfilter10 and lane-av1distwtd, not a merge loss.
137+
138+## 4. The number for the next wave
139+
140+A wave that merges N branches should satisfy
141+`merged == pre_merge_base + (sum of branch deltas) - (duplicate names across
142+branches)`, and separately report `base - merged == 0` (nothing renamed or
143+dropped) and `--list | sort | uniq -d` empty (nothing shadowed). This wave:
144+**712 -> 742, +30 distinct tests (+4.2%), 13 branches, ~2.3 tests per branch.**
145+The charter's expectation of "~35 gates this wave added" is close but high by
146+five: measured 30 distinct (32 summed before the duplicate collapse). Three of
147+the thirteen branches (pins, mutproof, skipfix) add no test at all, which is
148+where the difference lives.
149+
150+## 5. Limits of this census, stated so nobody over-reads it
151+
152+- It compares NAMES. A branch that changed the BODY of an existing gate in
153+ place (rather than adding one) moves no name and is invisible here — the
154+ per-branch diffs of `stream.rs` would be the tool for that, and this lane
155+ makes no claim about bodies.
156+- It counts `#[test]`s in the `ec-av1` LIB target only (`--lib`), which is
157+ where every gate in this crate lives; the crate has no `tests/` directory and
158+ no other test target.
159+- `--list` was used throughout; nothing was run, so a test that is registered
160+ but red would still count as present. That is the question this census asks
161+ (did it survive the merge), not whether it passes.
lanes/av1tilerows.report.mdmodified+46 -0
@@ -308,3 +308,49 @@ no-op for the only format with committed coverage on this path.
308308
309309 **Net class status: the class is closed except for this one site, which is
310310 proven reachable and documented rather than silently changed.**
311+
312+## 17. Round 9 — on merged main (`e719050d`): the fork is GONE
313+
314+Main absorbed seven lanes at `e719050d`, including a 128-root token-walk
315+change (`mu_chunk_order`) that sits squarely in the area rounds 3-8 were
316+chasing. Re-measured on a clean detached worktree at `e719050d` (`main` is
317+already checked out elsewhere); my fix `4e151813` is an ancestor there and
318+the reach call is ss-aware, so the base is sound.
319+
320+**Step 1 — does the fork still exist? NO.**
321+
322+Same recipe and stream (`v2_c40.obu`, 4:4:4 lossy cq-40, `--sb-size=128`,
323+256x256, 36 shown frames):
324+
325+| tree | wrong per frame |
326+|---|---|
327+| my base (rounds 3-8) | 1415 ... 62614 ... diverges throughout |
328+| **merged main `e719050d`** | **0 on all 36 frames** |
329+
330+And the entropy, which is the authoritative measure:
331+
332+ oracle reads 217570 merged-main reads 217570
333+ ENTROPY LOCKSTEP over 217570 reads
334+
335+Identical read COUNTS and no value/range/symbol/post_rng divergence over the
336+entire stream. The read-41976 fork, the 32-vs-64 transform-class
337+disagreement, and every downstream desync are absent on main.
338+
339+**Which merged change owns it — partially answered, and I will not guess past
340+what I measured.** The obvious candidate in my named area is av1h5's
341+`mu_chunk_order` ("read a 128 root's tokens CHUNK-major, not block-raster",
342+absent from my base). Ablated it: `4155c7c7` + my fix + `8a91ee14` alone
343+**still diverges** (1415, 1582, 478, 62614, 60028, ...). So that commit is
344+NOT sufficient on its own. I could not build the all-three-av1h5 arm — the
345+cherry-pick of `34b56884`/`f6fbad26` onto my base **conflicts** — so this
346+round reports one negative result and stops, rather than attributing.
347+
348+**What this means for rounds 3-8.** The 128-root leaf-size disagreement those
349+rounds named is real, was correctly localised to the 128-root token walk, and
350+is fixed on main by one of the seven merged lanes. What produced it: the
351+`EC_SYMR` read-class tags (which proved both decoders were in the SAME read
352+function and that the difference was table class, not symbol class), the
353+`n=7` disambiguation against libaom's `eob_flag_cdf64`, and the four
354+retractions that kept a wrong fix from shipping. The parked inter-64x64
355+`EC_PART_VAL` alignment fix stays parked — main now answers the question
356+outright, so it is no longer needed.
lanes/breconciliation.report.mdadded+367 -0
@@ -0,0 +1,367 @@
1+# Branch reconciliation — landing (or refuting) the census's ranked residue
2+
3+**Branch:** `lane-breconcile`, worktree `~/.cache/wt/breconcile`, forked from
4+`main`@`7538a841`.
5+**Nothing pushed, nothing merged to `main`, no rustfmt, no lane branch edited or
6+deleted.** The primary checkout was never written to (§6).
7+
8+**Inputs.** `lanes/branchcensus2.report.md` §2, ranked 1-9. Its §1 snapshot was
9+`main`@`52c62c15`; rank #1 had already landed as `7538a841` before this lane
10+started, so this pass covers ranks #2-#9.
11+
12+**The governing fact.** The census's §2 ranking is a snapshot of *what was
13+missing*, and it was measured, not argued: every classification in it survives.
14+What does NOT always survive is the *reason* it gave. Two of the nine items rest
15+on a rationale written against a weaker artifact that main has since replaced —
16+#2's `Proof::TablePin` and #4/#3's premise about which gate a row names. Those
17+were re-checked against main's current code and one is refuted (§1.3, §1.5).
18+
19+---
20+
21+## 1. One line per rank
22+
23+| # | census item | branch | verdict | commit | evidence |
24+|---|---|---|---|---|---|
25+| 1 | `e55ad654` four mislabelled partition rungs | `lane-av1tilerows2` | **ALREADY LANDED** | `7538a841` (base) | out of scope for this pass |
26+| 2 | `Proof` enum + `Proof::TablePin` | `lane-av1refusal` | **LANDED, `TablePin` REFUTED** | `29951312` | 21/0; 3 red-before mutations; §1.3 |
27+| 3 | `6dfd827e` + `7586358f` + `c8ed05f3` | `lane-av1loss444mm` | **LANDED** (one helper dropped as dead) | `2be41696` | check 0/0; 248/0 pixel-exact; §1.5 |
28+| 4 | `bf88d5e1` two `set_symr_cdf` tags | `lane-av1tilerows2` | **LANDED** | `d100dc47` | check 0/0; 248/0; §1.4 |
29+| 5 | `571b4090` round-9 retraction | `lane-av1leafsize` | **LANDED** | `47bcb11e` | §1.5a — cherry-picked clean |
30+| 6 | `0beaf6c5` round-6 caller | `lane-av1444rect` | **LANDED** | `d3226c2e` | blob byte-identical; §1.5b |
31+| 7 | `f0ae03c8` + `f61ebe79` test-count census | `lane-av1testcount` | **LANDED, re-measured** | `13b752ff` | 712/742/802 re-derived; §1.7 |
32+| 8 | `5a1388f2` plane-tagged `OUR_MODE` | `lane-av1444chr` | **LANDED** | `b307aaeb` | check 0/0; 248/0; §1.8 |
33+| 9 | `6cc9ea6f` report header | `lane-av1chrtx` | **LANDED** (cosmetic) | `b307aaeb` | text-only; §1.9 |
34+
35+Six source commits, two report-only, one report-only-plus-source. Diffstat of
36+the whole pass: **488 insertions, 19 deletions, 7 files** — 46 of the
37+insertions are report text.
38+
39+### 1.2 What each landed commit actually is
40+
41+Seven commits on `lane-breconcile`, oldest first:
42+
43+```
44+13b752ff lanes/av1testcount: the 13-branch wave reconciled exactly, re-measured
45+b307aaeb ec-av1: the plane-tagged OUR_MODE per-TU mode trace; fix the readcensus header
46+2be41696 ec-av1: the lossless OUR_DQW twin, plane-tagged, with the raw levels beside dq
47+d100dc47 ec-av1: tag the EC_SYMR reads in read_eob and read_coeffs' tx_type
48+29951312 refusal_inventory: say WHICH kind of proof each PROVEN row carries
49+d3226c2e docs(av1444rect): round 6 -- the fork's caller is NAMED
50+47bcb11e lanes/av1tilerows: round 9 -- the 4:4:4 128-root leaf-size fork is gone on main
51+```
52+
53+Every commit message states what was NOT landed with it and why. No open defect
54+was fixed: this lane lands instruments and records.
55+
56+### 1.3 #2 `Proof` — the enum landed, `TablePin` is REFUTED
57+
58+**What landed** (`29951312`): `enum Proof { NegativeGate, Enumeration }` with a
59+`label()`, a third tuple element on **all 32** `PROVEN` rows, both consumer
60+loops updated, and one new test.
61+
62+The census's premise was that main's `PROVEN` is a 2-tuple so every row "looks
63+equally proven". That is true and it is worth fixing: 7 rows carry a gate that
64+drives a stream into the guard (`NEGATIVE`, red on removal), 25 carry a gate
65+that sweeps a domain and shows nothing reaches it (`ENUMERATION`, green on
66+removal). Those are different standards and the table said so nowhere.
67+
68+**What is refuted** is `Proof::TablePin`. The census wrote, of the `(4,8)`
69+chroma-table row: *"its gate pins a table's arms exactly but the domain the
70+table is REACHED OVER is unestablished, so an `Enumeration` tag there would
71+claim unreachability the gate's own comment admits it has not shown."* That
72+comment is the BRANCH's, not main's. `lanes/branchcensus2.report.md:108-112`
73+quotes it as if it were main's — the census read the branch file.
74+
75+On main that row names a different, stronger gate:
76+`every_chroma_unit_decode_block_rect_can_present_has_a_coefficient_table`
77+(`refusal_inventory.rs:1666`), which
78+
79+1. reads all eight `decode_block_rect` call sites' own literal `bw`/`bh`
80+ (`assert_eq!(sites, 8, "the number of decode_block_rect call sites changed")`),
81+2. walks them through `bw >> ss_x` / `bh >> ss_y` for all three codable
82+ subsamplings and asserts each has a table row,
83+3. pins the table exactly (six arms), and
84+4. asserts the residual is UNPRODUCIBLE: `!produces.contains(&(4, 8)) &&
85+ !produces.contains(&(8, 4))`, "the caller set can now produce a 4x8/8x4
86+ chroma shape but the table has no such row -- the chroma refusal is LIVE".
87+
88+The reach domain r3 called unestablished is measured. `Enumeration` is the
89+honest tag, and a third variant with zero rows is dead weight. The enum's doc
90+comment records exactly when to re-add it. (The census was right that the row
91+is *representable*; it was wrong about which way.)
92+
93+**Non-vacuity — three mutations, each reverted, each RED:**
94+
95+| mutation | result |
96+|---|---|
97+| flip the `(4,8)` row's tag to `NegativeGate` | RED — *"is tagged NEGATIVE …, but its gate enumerates the caller domain"* |
98+| turn all 7 `NegativeGate` rows into `Enumeration` | RED — *"no row is tagged NEGATIVE, so the NegativeGate variant is dead weight"* |
99+| **weaken the GATE**: replace `assert_eq!(sites, 8, "…call sites changed")` with `let _ = sites;` (the gate itself still passes) | RED — *"…no longer carries \"the number of decode_block_rect call sites changed\", so the Enumeration tag … claims a reach domain the gate has stopped measuring"* |
100+
101+The third is the one that matters and the one a weaker test would miss: the tag
102+is pinned to evidence inside the gate's **body**, so a future edit that guts the
103+gate's caller-domain measurement reds the taxonomy rather than leaving the row
104+quietly overclaiming. Mutating the test's own expectation list instead would
105+have proved nothing, and did not.
106+
107+**Suite:** `every_proven_refusal_names_a_test_that_exists`,
108+`every_named_gate_body_is_bounded_in_these_files`, and the new test —
109+**21 passed, 0 failed** (20 pre-existing + 1 new). Measured distribution printed
110+by the new test: **7 NEGATIVE, 25 ENUMERATION of 32 PROVEN rows**.
111+
112+### 1.4 #4 — the two `set_symr_cdf` tags (`d100dc47`)
113+
114+Two lines, `crates/ec-av1/src/decode.rs`. `set_symr_cdf` existed with 24 call
115+sites; nothing tagged the two reads the 4:4:4 partition-walk work pairs against
116+the oracle's per-read `site=`. `SYMR_CDF` is a `Cell<&'static str>` thread-local
117+reset after each symbol (`msac.rs:491`) and read only by the `EC_SYMR` eprintln,
118+so the tag is a trace label and nothing else; placement matches the 24 existing
119+`y_mode`/`uv_mode` tags.
120+
121+### 1.5 #3 — the lossless `OUR_DQW` twin (`2be41696`)
122+
123+Re-derived onto current main, and it did **not** cherry-pick: main has since
124+generalised `dequant_and_inverse_wht4x4` to any shape (lane-whtshape's 4x4
125+raster), so `TxParams::run` no longer calls the 4x4 entry. `plane` is threaded
126+through **both** functions so the raster path's tiles carry it too.
127+
128+- `TxParams.plane`, set by the reader that OWNS the unit (`plane_idx` at the
129+ three multi-plane sites, `0` at `decode_leaf_rect8`, which is luma-only —
130+ `plane_q_delta(0, …)` and `push_intra(0, …)` at that arm).
131+- `OUR_DQW`, the LOSSLESS half of the oracle's `EC_DQCOEFF` rung, under the same
132+ env var, with `plane=` and `lv=` (the RAW level grid the dequant consumed, so
133+ "dequant produced nothing" is distinguishable from "the reader produced
134+ nothing").
135+
136+**The open defect it instruments:** item (a) of `lanes/av1loss444mm.report.md`
137+r10 — 4:4:4 lossless **key frame**, reconstruction-only, 21 U + 28 V samples off
138+by up to ±63, luma exact, entropy bit-identical. Named there with a three-file
139+search space. Note the census's own caveat is kept: r9 already exonerated
140+dequant ("0 of 2053 units have non-zero levels with an empty `dq`"), so this rung
141+buys **diagnosis, not a fix**.
142+
143+**One artifact dropped:** `census_plane()`, added by `7586358f`. On the branch's
144+own tip (`87d1518d`) it is defined and **never called** — `6dfd827e` replaced its
145+one use with the field. Not landed.
146+
147+### 1.5a #5 — the round-9 retraction (`47bcb11e`)
148+
149+`git cherry-pick -x 571b4090` **applied clean** (the census expected drift).
150+Verification is text, by blob:
151+
152+- main's `lanes/av1tilerows.report.md` and the branch's differ — expected, and
153+ not a problem: main carries two RETRACTION blocks in §8
154+ (`RETRACTED by lanes/av1txsizeaudit.report.md §3.1` and *"a subsampling-
155+ parameterised expression can only be certified by the measured value at every
156+ subsampling"*) that the branch predates. Landing must ADD round 9 on top of
157+ those, not overwrite them.
158+- The round-9 section itself — the 45 lines from `## 17. Round 9` to EOF — is
159+ **byte-identical** to the branch's (`diff` of the `sed -n '/Round 9/,$p'` window
160+ of both blobs: no output).
161+
162+This is the commit that changes what the record says: main ended at §8's claim
163+that one site is "proven reachable and documented", and round 9 measures 0
164+divergence over 36 frames and 217570 reads in entropy lockstep on merged main,
165+and explicitly refuses to attribute it to its own fix.
166+
167+### 1.5b #6 — the round-6 caller (`d3226c2e`)
168+
169+Also cherry-picked clean. Strongest verification available:
170+
171+```
172+git rev-parse lane-breconcile:lanes/av1444rect.report.md
173+ = 69c428477984ea530d1fed94807c1876febd7820
174+git rev-parse lane-av1444rect:lanes/av1444rect.report.md
175+ = 69c428477984ea530d1fed94807c1876febd7820
176+```
177+
178+Byte-identical blobs. Main's §7 said the 4:4:4 intra-BC chroma fork "needs a
179+fresh start, not a continuation"; round 6 names it:
180+`decode_intrabc_rect`'s non-lossless whole-block rect arm, one
181+`around_mi_rect((mi_r, mi_c), bw, bh)` gather taken at the **luma** footprint and
182+reused for a 4x8 chroma unit under a 4x16 luma plane block — coincident at 4:2:0
183+after subsampling, not at 4:4:4. That defect is still open; this records its call
184+site and does not fix it.
185+
186+### 1.7 #7 — the test-count census, re-measured (`13b752ff`)
187+
188+The census called this stale and said to land it only with a fresh count. Both
189+anchors were re-derived from scratch — fresh `git archive` extracts, private
190+target dirs, `cargo test -p ec-av1 --lib -- --list`:
191+
192+```
193+298f75c4 (pre-merge base) 712 raw --list lines, 712 unique
194+9623bcab (merged main) 742 raw, 742 unique
195+b307aaeb (this tree) 802 raw, 802 unique
196+```
197+
198+**The reconciliation stands**: 712 + 30 distinct = 742, delta 0, and zero
199+duplicate registrations at both anchors. Those are immutable facts about
200+immutable commits. But the tree this report would now be compared against is
201+**802**, and the report says so in a header paragraph so no reader mistakes it
202+for a count of the present.
203+
204+The 13 per-branch tip counts were **not** re-taken (13 more throwaway builds) and
205+the report states which figures are re-verified and which are the lane's own.
206+
207+### 1.8 / 1.9 #8 and #9 (`b307aaeb`)
208+
209+`5a1388f2` cherry-picked clean — the only source commit in the census's set that
210+did. 13 lines, env-gated print only, at `read_plane`, where `plane_idx` is a
211+parameter and therefore nameable. The census notes its motivating gap closed on
212+main by `RECON_PLANE`/`recon_plane()`; that is true and is not a reason to skip
213+it. `RECON_PLANE` stamps the plane at RECONSTRUCTION (which does not know its
214+plane); this rung names it at the READER. Its reason to exist is the class
215+`rung-mislabels-plane`, which has already produced two wrong claims this session
216+— `read_coeffs_rect` labelling its unit `plane=0`, then a sweep reading a
217+phantom second luma unit out of that label. The H3 defect the lane chased is
218+still open and unowned.
219+
220+`6cc9ea6f` is the 4-line header correction only. The census is right that the
221+gate name it was blamed for is already correct on main
222+(`a_pixel_exact_444_stream_walks_the_same_coefficient_units_the_oracle_does`),
223+so nothing else moved.
224+
225+---
226+
227+## 2. Behaviour-freeness
228+
229+Claim per landed commit, and the proof each one got.
230+
231+| commit | claim | proof | result |
232+|---|---|---|---|
233+| `d100dc47` | env-gated trace tag only | `cargo check --all-targets` + pixel-exact | 0 err 0 warn; **248/0** |
234+| `2be41696` | `TxParams.plane` reaches nothing but an `eprintln` | same | 0 err 0 warn; **248/0** |
235+| `b307aaeb` | env-gated `eprintln` in `read_plane` | same | 0 err 0 warn; **248/0** |
236+| `29951312` | `#[cfg(test)]` taxonomy + a test | 21/0 + 3 mutations | **21 passed, 0 failed** |
237+| `13b752ff`, `47bcb11e`, `d3226c2e` | report text only | blob / text comparison | §1.5a, §1.5b, §1.7 |
238+
239+Common run, on the final tree:
240+
241+```
242+$ CARGO_TARGET_DIR=$HOME/.cache/tgt/breconcile EC_NOMEMGUARD=1 \
243+ cargo test -p ec-av1 --lib -- pixel_exact
244+test result: ok. 248 passed; 0 failed; 0 ignored; 0 measured; 554 filtered out
245+```
246+
247+248 includes `real_superres_streams_with_sub8_leaf8_and_warp_decode_pixel_exact`,
248+`the_chroma_rect_gates_excluded_seed_46_decodes_pixel_exact`,
249+`an_sb128_rect_strip_with_intrabc_decodes_pixel_exact`,
250+`an_sb128_screen_stream_with_intrabc_decodes_pixel_exact` and the pinned 4:2:0
251+odd-height and 4:4:4 quadrant witnesses — i.e. exactly the cells the new
252+`plane` field and the two new tags touch.
253+
254+```
255+$ cargo test -p ec-av1 --lib -- every_proven_refusal refusal_inventory \
256+ every_named_gate_body every_proven_row which_kind_of_proof
257+test result: ok. 21 passed; 0 failed; 0 ignored; 0 measured; 781 filtered out
258+```
259+
260+---
261+
262+## 3. Regression on the final tree
263+
264+```
265+$ cargo test -p ec-av1 --lib -- 420 422 444 lossless warp intra \
266+ --skip bitrate_target_lands_within_5_percent_over_48_frames
267+test result: ok. 181 passed; 0 failed; 2 ignored; 0 measured; 619 filtered out
268+ (271.45s)
269+
270+$ cargo check -p ec-av1 --all-targets
271+ Finished `dev` profile — 0 errors, 0 warnings
272+```
273+
274+The 2 ignored are pre-existing `#[ignore]` attributes in the crate, not
275+anything this pass added; nothing in this lane changed an ignore.
276+
277+`main` advanced `7538a841 -> 0f9ea788` during this run.
278+`git diff --stat 7538a841..main -- crates/` is **one new fixture**
279+(`420_lossless_tallinter_8x16.obu`) and zero source lines, so every
280+classification above is unaltered against `0f9ea788` as well.
281+
282+---
283+
284+## 4. Deliberately NOT landed
285+
286+| artifact | why |
287+|---|---|
288+| `Proof::TablePin` (rank #2) | **REFUTED.** Its one row's gate on main measures the reach domain the tag's premise says is unestablished, so the tag would overclaim and the variant would carry no rows. §1.3. |
289+| `census_plane()` (`7586358f`) | **DEAD on the branch's own tip** — defined, never called; `6dfd827e` replaced its use with `TxParams.plane`. |
290+| `lane-av1tilerows.report.md` §9-§16 (`fdaec88c`…`d5ffc0c9`, `bf88d5e1`'s report half) | rounds 2-7 are measurements on an OLD main, and round 9 (landed, #5) measures the fork GONE on merged main — 0/36 divergence, entropy lockstep over 217570 reads. Landing §16 would re-record a fork that no longer exists. |
291+| `lane-av1loss444mm`'s 8 report commits | report-only history of an open defect; the defect is still open and its owner has not started. |
292+| `lane-av1refusal`'s `lanes/av1refusalclaim.report.md` (r1-r7) | report-only; r7's third-weak-anchor finding was closed on main by `797fa52b`, which took a LATER, stronger version of r3-r7's boundary and **dropped** `body_of`. Merging the branch report would document as open what main closed. |
293+| `lane-av1444chr`'s 3 report commits (H3 rounds 2-4) | report-only; they record a narrowing whose conclusion is "the owner of the remaining line has not been identified", which is still true and belongs with whoever picks it up, not with an instrument landing. |
294+| `lane-av1lm444loss` | **Author-declared DO-NOT-MERGE** (`lanes/av1lm444loss-corr.report.md:16-17`). Not touched. Census §3 names what merging it would break. |
295+| rank #1 `e55ad654` | already on this branch's base as `7538a841`. |
296+
297+---
298+
299+## 5. Branch containment, for a later prune
300+
301+`git cherry` is patch-id and **cannot see a re-derivation**, so the column below
302+is by CONTENT (distinctive literals grepped in this tree), which is the only
303+decisive detector.
304+
305+| branch | unlanded commits | touches `crates/` | source residue left | report residue left | prune? |
306+|---|---|---|---|---|---|
307+| `lane-av1leafsize` | **0** | — | none | none | **YES** — fully contained (`git cherry` says so too) |
308+| `lane-av1444rect` | **0** | — | none | none | **YES** — blob-identical report |
309+| `lane-av1chrtx` | 1 | none (report only) | none | none | **YES** — `6cc9ea6f`'s content is in `b307aaeb` |
310+| `lane-av1testcount` | 2 | none (report only) | none | none | **YES** — report imported at its corrected revision |
311+| `lane-av1444chr` | 4 | `5a1388f2` | **none** — `OUR_MODE plane=` present | 3 H3 report commits (§4) | source-complete; prune only if the reports are abandoned |
312+| `lane-av1tilerows2` | 8 | `e55ad654`, `bf88d5e1` | **none** — both landed (`7538a841`, `d100dc47`) | §9-§16, deliberately (§4) | source-complete |
313+| `lane-av1loss444mm` | 11 | `1a6e4f56`, `7586358f`, `6dfd827e`, `c8ed05f3` | **none** — `1a6e4f56` was on main via `c0727d64`; the other three are in `2be41696` | 8 report commits (§4) | source-complete |
314+| `lane-av1refusal` | 8 | `d6682aa4`, `72b83ba1`, `0c834cd1`, `40849868` | **none** — `d6682aa4` via `e429acfb`/`2ec19064`, `0c834cd1`+`40849868` via `797fa52b` (`fn gate_body`, `fn leading_clause`, `fn squash_source` all present), `72b83ba1`'s Proof half in `29951312` | `lanes/av1refusalclaim.report.md` r1-r7 (§4) | source-complete |
315+
316+**Every one of the eight census branches is now source-complete in this work.**
317+The only residue left anywhere is REPORT text, and each item of it has a stated
318+reason in §4. Two branches are fully contained and prunable today.
319+
320+Verification of the "none" column, run in this tree:
321+
322+```
323+fn every_frame_size_a_header_can_code_has_a_mode_info_grid stream.rs:1, refusal_inventory.rs:1
324+fn gate_body refusal_inventory.rs:2
325+fn leading_clause refusal_inventory.rs:1
326+fn squash_source refusal_inventory.rs:1
327+(cc * chunk_chroma_w, cr * chunk_chroma_h), decode.rs:4
328+set_symr_cdf("eob_pt") decode.rs:1
329+set_symr_cdf("tx_type") decode.rs:1
330+OUR_DQW plane= transform.rs:1
331+pub(crate) plane: usize, decode.rs:1
332+OUR_MODE plane= decode.rs:1
333+```
334+
335+---
336+
337+## 6. Non-interference
338+
339+- **No push, no merge to `main`, no rebase of any lane branch, no tag, no
340+ branch or worktree deleted.** All seven commits live on `lane-breconcile` in
341+ `~/.cache/wt/breconcile`.
342+- **The primary checkout was never written to.**
343+ `git -C /home/user/Documents/Code/Rust/edith_codecs status --porcelain`
344+ is empty, verified at the end of the run. Every path this lane edited or
345+ created is under `/home/user/.cache/wt/breconcile/`.
346+- `lane-av1lm444loss` was not checked out, read from, or written to.
347+- Scratch builds used `CARGO_TARGET_DIR=$HOME/.cache/tgt/{breconcile,tc-a,tc-b,tc-c}`
348+ — lane-private, never the house dir. The three `git archive` extracts for the
349+ test-count re-measurement lived in `/tmp/tc` and were removed;
350+ `df -h /tmp` was 22% used before the suite runs and no `/tmp/ec-av1-*` staging
351+ existed.
352+
353+## 7. Method notes for the next pass
354+
355+- **A census item's RATIONALE decays faster than its content.** Two of nine
356+ items here rest on a lane's own commit message describing an artifact main
357+ has since replaced. The census read the branch file and attributed its comment
358+ to main (`branchcensus2.report.md:108-112`). Re-read the CURRENT gate before
359+ carrying a tag that was minted against an older one.
360+- **`git cherry-pick` beat the census's conflict prediction on 3 of 4
361+ report-only commits** (only `72b83ba1` and the source commits conflicted).
362+ Try the cherry-pick before re-deriving; it is 2 seconds and it is decisive.
363+- **A helper can be dead on its own branch's tip.** `census_plane()` was added
364+ by `7586358f` and made dead by `6dfd827e`; grep the TIP, not the commit.
365+- **A test that pins a taxonomy must pin the SUBJECT, not its own expectation
366+ list.** Mutating the test's expectation proves nothing (measured: green).
367+ Mutating the gate's body is what reds it.
\ No newline at end of file