The setting
In a matroid prophet inequality, an online selection rule observes elements of a known finite labeled matroid with real weights and seeks to compete with the maximum total weight of an independent set. Setting up this benchmark requires basic identities for matroid rank, closure, and conditional rank, together with two boundary properties of the offline optimum: its value when every element is a loop, and the exact condition under which the offline optimum of a random nonnegative weight vector is integrable.
Rank and conditional rank
Let be a matroid on a ground set , with family of independent sets . For any subset , write for its natural-number cardinality, equal to the number of elements of when is finite and when is infinite. The extended rank of is the supremum of cardinalities of independent subsets of , and its natural-number rank equals when is finite and when .✦
The closure of a subset is the set of elements of spanned by ; when has finite rank, consists of those with . The set of loops of is , the set of elements with , and every element is a nonloop of . For any two subsets , the conditional rank of given is (1)✦ In (1), subtraction is truncated at in , taking the value whenever .
The offline optimum
Now let and let be a finite ground set of size . A weight vector on is a real-valued map , assigning a real weight to each element .✦ For a matroid on and a weight vector , the offline optimum is the maximum total weight of an independent set: (2)✦ Because is finite and , the maximum in (2) is attained for every .
For a measure space , write for the space of -integrable real-valued functions on . Equip with its product Borel -algebra. Given a measurable map , write for its -th coordinate , and write for the composite map .
The claim
Theorem. Let be a matroid on a ground set . For every independent set , (3)✦ For all subsets , (4)✦
Now let and let be a matroid on a finite ground set of size . If every element is a loop of , then for every weight vector , (5)✦ Finally, let be a measure space and let be a measurable map such that for all and -almost every . Then (6)✦
What is checked
In the Lean library, the rank identity (3) and closure invariance (4) are stated for an arbitrary matroid using the natural-number rank and conditional rank . The all-loops identity (5) and the integrability characterization (6) are stated in the Lean library for a matroid on a finite ground set of size and weight vectors in , with (6) stated over an arbitrary measure space and a measurable map that is nonnegative coordinatewise -almost everywhere.