Canonical boxes of tensor leaves #
A box has at most m - t stars or fixed P0 terms, with every star preceding every
fixed P0 term. Thus its leaves all have order at least t. Every box is obtained
uniquely from its P0 completion by turning an initial segment of its P0 coordinates
into stars; Finset.lowest supplies that initial segment without a separate rank API.
This adapts [AlmanWilliams2026, Section 4.2] and the primary formal source
Boxes.lean at anthropics/formal-math@16a5ce41304fcdaea4e0be7c132e1c361dc26da5.
The definitions have the source's natural truncated subtraction: claims about order
explicitly require t ≤ m. These are finite statements, with no stored table or time bound.
The selected initial segment is exactly the star set.
Unselected P0 coordinates remain fixed.
Completion recovers the original leaf, including when selection saturates.
The star-order condition characterizes the canonical form of a cube.