Shape ledger for the P-5.9 collapse sum #
For a prescribed multiplicity, every valid raw collapse datum has the same inside-word length. Its ordered block lengths therefore form a positive composition of one fixed integer. This file enumerates only the shapes that actually occur and splits the finite raw-data sum exactly into their fibers.
Every entry of the collapse shape is positive.
The multiplicity specification fixes the inside length.
A valid raw datum supplies a positive composition of the fixed total inside multiplicity.
Equations
- Anderson4D.RawCollapseData.collapseCompositionOfSpec mult d h = { blocks := d.collapseShape, blocks_pos := ⋯, blocks_sum := ⋯ }
Instances For
Positive inside total forces the shape to be nonempty.
Tree-facing fixed-length statement #
The inside part of the split multiplicity has exactly the total multiplicity of the restricted subtree.
For the canonical inside/outside split, the valid inside length is exactly the total multiplicity of the restricted subtree.
In the tree-facing situation the selected inside subtree has positive total multiplicity, so every valid collapse shape is nonempty.
The finite family of occurring shapes #
Fixed-length raw data satisfying the prescribed multiplicity.
Equations
- Anderson4D.specFixedRawCollapseData mult n = {d : Anderson4D.FixedRawCollapseData A B n | Anderson4D.CollapseMultiplicitySpec mult ↑d}
Instances For
Only shapes that are realized by a valid fixed-length raw datum.
Equations
- Anderson4D.validCollapseShapes mult n = Finset.image (fun (d : Anderson4D.FixedRawCollapseData A B n) => (↑d).collapseShape) (Anderson4D.specFixedRawCollapseData mult n)
Instances For
Every entry of an occurring shape is positive.
Every occurring shape sums to the one fixed inside total.
If the fixed inside total is positive, every occurring shape is nonempty.
An occurring shape, packaged as a genuine mathlib composition of the fixed inside total.
Equations
- Anderson4D.validCollapseShapeComposition mult n shape = { blocks := ↑shape, blocks_pos := ⋯, blocks_sum := ⋯ }
Instances For
Different occurring shape lists give different compositions.
The occurring shape family costs at most the coarse paper factor
2^(inside total).
Tree-facing count: the shape loss is controlled by the restricted
inside multiplicity, exactly the n used in the collapse step.
Exact outer shape decomposition #
Any finite sum splits exactly into the fibers of a key map.
The valid fixed-length raw-data sum splits exactly by occurring shape.
if spec then ... else 0, exactly as produced by CollapseSum, in
outer-shape/fiber form.
A valid-spec shape fiber is a subset of the unrestricted shape fiber
used by CollapseFubini.
Nonnegative valid-spec fiber sums are bounded by the unrestricted fiber to which the Fubini lemma applies.