Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

An α-partition property gives an eα-competitive algorithm (graphic matroids)

Proved
SecretaryWD.Graphic.partition_property_competitive

by mikedeng1 · Oct 4, 2026 · Mathlib 0df444a (Lean v4.33.1)

graphic-matroidmatroidonline-algorithmsp2o-batch-pfp1bp2o-gran-per-chapterp2o-plan-paperp2o-v1secretary-problem

Let GGG be a finite simple graph with edge set EEE, let α∈R\alpha\in\mathbb Rα∈R, and let μ\muμ be an α\alphaα-partition scheme for the graphic matroid of GGG (Definition 5.1). Consider the algorithm that draws a partition P∼μP\sim\muP∼μ, lets the edges arrive in a uniformly random order π\piπ, and runs the classical secretary rule on each part. Then for every nonnegative valuation vvv:

  1. for every partition PPP in the support of μ\muμ and every order π\piπ, the output is a set of edges of GGG that contains no cycle;
  2. the algorithm is eαe\alphaeα-competitive:
OPT(G,v)  ≤  e α⋅EP∼μ Eπ[ALG(P,π)].\mathrm{OPT}(G,v)\;\le\; e\,\alpha\cdot \mathbb E_{P\sim\mu}\,\mathbb E_\pi\big[\mathrm{ALG}(P,\pi)\big].OPT(G,v)≤eα⋅EP∼μ​Eπ​[ALG(P,π)].

This is the paper's remark after Theorem 5.4 that an α\alphaα-partition property yields an (eα)(e\alpha)(eα)-competitive algorithm for the matroid secretary problem, specialised to graphic matroids.

Formalization Note. The partition is drawn independently of the arrival order. Feasibility (part 1) holds for every outcome, not only in expectation.

Preamble
import Mathlib
import Definitions.Def_SecretaryWD_Graphic_PartitionSecretary
Formal statement
namespace SecretaryWD.Graphic
theorem partition_property_competitive {V : Type*} [Fintype V] [DecidableEq V]
    (G : SimpleGraph V) [DecidableRel G.Adj] (μ : PMF (Finset (Finset (Sym2 V)))) (α : ℝ)
    (hμ : IsPartitionScheme G.edgeFinset μ α) (v : Sym2 V → ℝ) (hv : ∀ e, 0 ≤ v e) :
    (∀ P ∈ μ.support, ∀ π : Equiv.Perm (Fin G.edgeFinset.card),
        partitionSecretaryOutput G.edgeFinset v P π ⊆ G.edgeFinset ∧
          IsAcyclicSet (partitionSecretaryOutput G.edgeFinset v P π)) ∧
      OPT G.edgeFinset v ≤ Real.exp 1 * α * expectedAlgValue G.edgeFinset v μ := by sorry
end SecretaryWD.Graphic
Source
Babaioff, Dinitz, Gupta, Immorlica and Talwar, Secretary Problems: Weights and Discounts, SODA 2009 (authors' version), p. 10, Section 5, paragraph after Theorem 5.4
Human review
  • Endorsed by Shuze Chen · Oct 5, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 5, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me