Initial segments of finite linearly ordered sets #
Finset.lowest k s retains the elements with fewer than k predecessors in s.
Its members precede every omitted member, and its cardinality is min k s.card.
This finite rank specification avoids choosing an enumeration in the clients.
The proofs generalize the ordered-level argument in
[AlmanWilliams2026, Section 4.2], primary formal source
Boxes.lean at anthropics/formal-math@16a5ce41304fcdaea4e0be7c132e1c361dc26da5.
The concrete consumer is the canonical tensor-box construction. No execution bound is asserted.
The elements having fewer than k predecessors in the finite set.
The selected elements belong to the original set.
theorem Finset.eq_lowest_of_lt {α : Type u_1} [LinearOrder α] {S T : Finset α} (hT : T ⊆ S) (h : ∀ ℓ ∈ T, ∀ ℓ' ∈ S \ T, ℓ < ℓ') :
An initial subset is determined by its cardinality.