OctoInform Beta

OpenAI preprint, September 2026 · 2. A fixed-vector formulation

Section 2 (Setting): Rank of independent sets, closure invariance of conditional rank, the all-loops optimum, and integrability of the offline optimum

Rank, conditional rank, and integrability of the offline optimum.

Hover over a blue or green term in the text, or a node in the graph, to find it in the other. Select it to read its declaration both in Lean and in words.

The setting

In a matroid prophet inequality, an online selection rule observes elements of a known finite labeled matroid M=(E,ℐ)M = (E, \mathcal{I}) 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 M=(E,ℐ)M = (E, \mathcal{I}) be a matroid on a ground set EE, with family of independent sets ℐ\mathcal{I}. For any subset X⊆EX \subseteq E, write |X|∈ℕ|X| \in \mathbb{N} for its natural-number cardinality, equal to the number of elements of XX when XX is finite and 00 when XX is infinite. The extended rank rk⁡∞(X)∈ℕ∪{∞}\operatorname{rk}_{\infty}(X) \in \mathbb{N} \cup \{\infty\} of XX is the supremum of cardinalities of independent subsets of XX, and its natural-number rank rk⁡(X)∈ℕ\operatorname{rk}(X) \in \mathbb{N} equals rk⁡∞(X)\operatorname{rk}_{\infty}(X) when rk⁡∞(X)\operatorname{rk}_{\infty}(X) is finite and 00 when rk⁡∞(X)=∞\operatorname{rk}_{\infty}(X) = \infty.✦

The closure cl⁡(X)⊆E\operatorname{cl}(X) \subseteq E of a subset X⊆EX \subseteq E is the set of elements of EE spanned by XX; when XX has finite rank, cl⁡(X)\operatorname{cl}(X) consists of those e∈Ee \in E with rk⁡(X∪{e})=rk⁡(X)\operatorname{rk}(X \cup \{e\}) = \operatorname{rk}(X). The set of loops of MM is L=cl⁡(∅)L = \operatorname{cl}(\emptyset), the set of elements e∈Ee \in E with {e}∉ℐ\{e\} \notin \mathcal{I}, and every element e∈E\Le \in E \setminus L is a nonloop of MM. For any two subsets A,P⊆EA, P \subseteq E, the conditional rank rk⁡(A∣P)∈ℕ\operatorname{rk}(A \mid P) \in \mathbb{N} of AA given PP is rk⁡(A∣P)=rk⁡(A∪P)−rk⁡(P).\operatorname{rk}(A \mid P) = \operatorname{rk}(A \cup P) - \operatorname{rk}(P).(1)✦ In (1), subtraction is truncated at 00 in ℕ\mathbb{N}, taking the value 00 whenever rk⁡(A∪P)<rk⁡(P)\operatorname{rk}(A \cup P) < \operatorname{rk}(P).

The offline optimum

Now let n∈ℕn \in \mathbb{N} and let EE be a finite ground set of size nn. A weight vector on EE is a real-valued map v∈ℝEv \in \mathbb{R}^E, assigning a real weight ve∈ℝv_e \in \mathbb{R} to each element e∈Ee \in E.✦ For a matroid M=(E,ℐ)M = (E, \mathcal{I}) on EE and a weight vector v∈ℝEv \in \mathbb{R}^E, the offline optimum OPT⁡M(v)∈ℝ\operatorname{OPT}_M(v) \in \mathbb{R} is the maximum total weight of an independent set: OPT⁡M(v)=maxI∈ℐ∑e∈Ive.\operatorname{OPT}_M(v) = \max_{I \in \mathcal{I}} \sum_{e \in I} v_e.(2)✦ Because EE is finite and ∅∈ℐ\emptyset \in \mathcal{I}, the maximum in (2) is attained for every v∈ℝEv \in \mathbb{R}^E.

For a measure space (Ω,ℱ,μ)(\Omega, \mathcal{F}, \mu), write L1(μ)L^1(\mu) for the space of μ\mu-integrable real-valued functions on Ω\Omega. Equip ℝE\mathbb{R}^E with its product Borel σ\sigma-algebra. Given a measurable map V:Ω→ℝEV : \Omega \to \mathbb{R}^E, write Ve:Ω→ℝV_e : \Omega \to \mathbb{R} for its ee-th coordinate ω↦V(ω)e\omega \mapsto V(\omega)_e, and write OPT⁡M(V)\operatorname{OPT}_M(V) for the composite map ω↦OPT⁡M(V(ω))\omega \mapsto \operatorname{OPT}_M(V(\omega)).

The claim

Theorem. Let M=(E,ℐ)M = (E, \mathcal{I}) be a matroid on a ground set EE. For every independent set I∈ℐI \in \mathcal{I}, rk⁡(I)=|I|.\operatorname{rk}(I) = |I|.(3)✦ For all subsets A,P⊆EA, P \subseteq E, rk⁡(A∣cl⁡(P))=rk⁡(A∣P).\operatorname{rk}(A \mid \operatorname{cl}(P)) = \operatorname{rk}(A \mid P).(4)✦

Now let n∈ℕn \in \mathbb{N} and let M=(E,ℐ)M = (E, \mathcal{I}) be a matroid on a finite ground set EE of size nn. If every element e∈Ee \in E is a loop of MM, then for every weight vector v∈ℝEv \in \mathbb{R}^E, OPT⁡M(v)=0.\operatorname{OPT}_M(v) = 0.(5)✦ Finally, let (Ω,ℱ,μ)(\Omega, \mathcal{F}, \mu) be a measure space and let V:Ω→ℝEV : \Omega \to \mathbb{R}^E be a measurable map such that Ve(ω)≥0V_e(\omega) \ge 0 for all e∈Ee \in E and μ\mu-almost every ω∈Ω\omega \in \Omega. Then OPT⁡M(V)∈L1(μ)⇔∀e∈E\L,Ve∈L1(μ).\operatorname{OPT}_M(V) \in L^1(\mu) \iff \forall e \in E \setminus L,\; V_e \in L^1(\mu).(6)✦

What is checked

In the Lean library, the rank identity (3) and closure invariance (4) are stated for an arbitrary matroid M=(E,ℐ)M = (E, \mathcal{I}) using the natural-number rank rk\operatorname{rk} and conditional rank rk⁡(⋅∣⋅)\operatorname{rk}(\cdot \mid \cdot). The all-loops identity (5) and the integrability characterization (6) are stated in the Lean library for a matroid on a finite ground set EE of size nn and weight vectors in ℝE\mathbb{R}^E, with (6) stated over an arbitrary measure space (Ω,ℱ,μ)(\Omega, \mathcal{F}, \mu) and a measurable map V:Ω→ℝEV : \Omega \to \mathbb{R}^E that is nonnegative coordinatewise μ\mu-almost everywhere.