The setting
In the fixed-vector analysis of online matroid selection with a single sample, arriving elements are filtered against a revealed mask and partitioned by geometrically rounded weights into candidate groups. To charge the offline optimum to the algorithm’s selections, one converts a lower bound on the number of safe sampled elements in a large candidate group into a lower bound on the expected unobserved conditional rank across the layers of its nominal flat path, conditioned on .
Throughout the page, let be a finite matroid on the ground set with matroid rank , closure , and conditional rank (1)✦ for subsets . An element weight vector is a map .✦ The construction uses five fixed positive constants: the weight rounding base , the density threshold , the thinning rate , the retained fraction , and the residual error rate .
Priority order, candidates, and groups
For any real numbers and , the logarithmic weight level of with base is the optional integer equal to when and absent otherwise.✦ Viewing an optional integer as an element of with strictly below every integer gives the optional level in . For a linearly ordered key set , the lexicographic key order on places before when , or when and .✦ Given optional integer priority levels , the priority order relation holds between and when precedes in the lexicographic key order over .✦
The higher-priority element set of under is the set of all with strictly higher priority than ✦, and the priority arrival time is its cardinality.✦ For any arrival-time map and subset , the earlier masked elements of form the set (2)✦ The time-ordered greedy set of in is the set .✦ The positive priority-greedy set is the set of elements with non-absent level belonging to the time-ordered greedy set of in under arrival times .✦
Random partition masks on consist of a tuple comprising four subsets of , namely the filter mask , density mask , guard mask , and test mask , together with a Boolean parity bit .✦ For any subsets , the updated main masks replace in by while keeping and the parity bit unchanged.✦
For elements with optional integer levels , the level priority order holds for before when with or with and , holds when and , and fails otherwise.✦ Given observed optional integer levels and masks with filter mask , an element at optional level is a non-spanned candidate element if , , and does not belong to the closure in of the set of all such that precedes in the level priority order.✦
The active candidate weight levels form the finite set of integer levels realized by non-spanned candidate elements in the density mask , namely ✦, and the sorted active weight groups form the list obtained by sorting those levels in nondecreasing order.✦ For each integer , the true candidate group at level is the set (3)✦ For any mask and group index , the masked candidates in group form the set of all elements that are non-spanned candidates at and satisfy (and when ).✦
Flat paths and the nominal rank statistic
Let be a matroid on a finite ground type whose ground set is all of , and let . For subsets , the density objective function is (4)✦ Given , a flat of containing is a density-maximizing flat if for every flat of containing .✦ Such a flat containing every other density-maximizing flat exists✦; let denote this largest density-maximizing flat.✦ For integers and , the activated density expansion equals when and equals otherwise.✦
For each group index , the group activation time is (5)✦ Given sequences of density masks and guard masks of subsets of , the guarded flat path is defined recursively for and by (6)✦ and the nominal flat path is (7)✦ Given in addition a sequence of test masks of subsets of , the lower competition set at level is defined recursively by and (8)✦
For an integer , the integer window is ✦, and for a parity bit the parity index window is .✦ The boolean parity bit maps false to and true to .✦ For a subset , a group index , a parity , and , the nominal layer set is (9)✦
The nominal rank statistic tracks the total conditional rank across parity layers of the nominal flat path before thinning by the test mask.
For an excluded set , the nominal rank statistic is the natural number (10)✦ Returning to on with masks and observed levels , the listed rank statistic at level , threshold , and parity equals , formed from the group masks , when appears at index in the sorted active weight groups, and equals otherwise.✦
Mask and parity expectations
Let be a ground type, a finite subset of , and . For any subset , the Bernoulli subset probability is (11)✦ For a real-valued function on finite subsets of , the Bernoulli mask expectation is (12)✦ Given three maps and a real-valued function on triples of finite subsets of , the triple-mask expectation is the iterated expectation (13)✦ For a real-valued function on Booleans, the fair parity expectation is .✦
The claim
Lemma 12. Let be a matroid on whose ground set is all of , let be an element weight vector with logarithmic weight levels at base , let be random partition masks on , and let be a level whose true candidate group satisfies , where . Set . With constant inclusion probabilities , , and on and listed rank statistic evaluated at threshold and levels , (14)✦
Moreover, let be any type, let satisfy for all , let be a finite subset of , let , and let be real-valued functions on triples of finite subsets of . Suppose that for all subsets , that , and that . Then (15)✦
What is checked
In the Lean library, Lemma 12 is stated both as the concrete sample-to-rank contract (14) over a finite matroid on with real weights, random partition masks, logarithmic weight levels, positive priority-greedy sets, and the listed rank statistic at threshold , and as the abstract sample-to-rank bound (15) over an arbitrary ground type, a finite subset , inclusion probability functions taking values in , and real-valued mask functions satisfying the deterministic transfer, safe-sample, and residual-error inequalities. The Lean library also establishes the existence of a largest density-maximizing flat containing any given subset in a matroid whose ground set is the whole ambient type.