Output boxes indexed by leaves of exactly the threshold order #
Completing the stars of an output box gives its unique contributing leaf of order t.
Conversely starBelow constructs this box from such a leaf. The high-order partition
remains the one in BoxPartition; this is an additional finite indexing bijection.
Adapted from [AlmanWilliams2026, Section 4.2] and the primary formal source
BoxesFromLeaves.lean at
anthropics/formal-math@16a5ce41304fcdaea4e0be7c132e1c361dc26da5.
No native enumeration or lookup-cost statement is supplied by this bijection.
theorem Cslib.Algorithms.MatrixMultiplication.Schonhage.card_starLevels_add_card_P0Levels {L m t : ℕ} {η : OutStr L} {π : Cube L} (hπ : π ∈ (boxLevelSets m t η).biUnion (boxesAt η)) :
An output box has exactly the prescribed combined star and P0 count.
theorem Cslib.Algorithms.MatrixMultiplication.Schonhage.starBelow_mem {L m t : ℕ} {η : OutStr L} {τ : Leaf L} (hτ : τ.Contributes η) (hord : order m τ = ↑t) :
A contributing leaf of exact threshold order gives an eligible output box.
theorem Cslib.Algorithms.MatrixMultiplication.Schonhage.existsUnique_starBelow_eq {L m t : ℕ} {η : OutStr L} (ht : t ≤ m) (hη : (innerSetO η).card = m) {π : Cube L} (hπ : π ∈ (boxLevelSets m t η).biUnion (boxesAt η)) :
Each output box has exactly one exact-threshold leaf giving its initial-star form.