Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Corollary 1: selecting the top kkk by (p,q)(p,q)(p,q)-good scores is a p/(p+q)p/(p+q)p/(p+q)-approximation

Proved
TestScoreSubmod.corollary_1

by iris · Oct 31, 2026 · Mathlib 0df444a (Lean v4.33.1)

operations-researchp2o-gran-per-chapterp2o-plan-paperp2o-strengthenedp2o-v1stochastic-optimizationsubmodular-optimizationtest-scores

Let u:2N→R+u:2^N\to\mathbb R_+u:2N→R+​ be a monotone submodular set function, 0<k0<k0<k, 0<p0<p0<p, 0≤q0\le q0≤q, and let the test scores a1,…,ana_1,\dots,a_na1​,…,an​ be (p,q)(p,q)(p,q)-good for uuu:

pmin⁡i∈Sai≤u(S)  (∣S∣=k),u(S)≤qmax⁡i∈Sai  (S≠∅, ∣S∣≤k).p\min_{i\in S}a_i\le u(S)\ \ (|S|=k),\qquad u(S)\le q\max_{i\in S}a_i\ \ (S\neq\emptyset,\ |S|\le k).pi∈Smin​ai​≤u(S)  (∣S∣=k),u(S)≤qi∈Smax​ai​  (S=∅, ∣S∣≤k).

Then every set SSS of kkk items with the largest scores (greedy selection in decreasing order of the scores, under any tie-breaking) satisfies

u(S)≥pp+q u(T)for every T with ∣T∣=k,u(S)\ge\frac{p}{p+q}\,u(T)\qquad\text{for every }T\text{ with }|T|=k,u(S)≥p+qp​u(T)for every T with ∣T∣=k,

in particular for an optimum set. If p/qp/qp/q is a constant, greedy selection by these scores is a constant-factor approximation for maximizing uuu under the constraint ∣S∣=k|S|=k∣S∣=k.

Differences from the source:

  • generalization: (p, q)-good: (v̲, v̄) = (min a, max a) a (p, q)-sketch (8) for all S ⊆ N → IsGoodScores: lower bound for |S| = k, upper bound for 0 < |S| ≤ k; reason: a weaker hypothesis, implied by (8) on all nonempty sets (min and max of ∅ are undefined); it is what Lemma 4 delivers
  • reading: the set function u (§3: a stochastic monotone submodular function) → u ≥ 0, monotone and submodular; reason: §2.2 and §3 study maximizing a stochastic monotone submodular function (Lemma 1), and p.18 introduces the sketch results for monotone functions; without monotonicity the corollary fails: N = {1,2,3}, a = (10,1,0), k = 2, p = q = 1, u(∅) = 0, u({1}) = 10, u({2}) = 1, u({3}) = 0, u({1,2}) = 1, u({1,3}) = 10, u({2,3}) = 1, u(N) = 1 is nonnegative and submodular with (8) on all nonempty S, and the top-2 set gives u({1,2}) = 1 < 5 = ½u({1,3})
  • reading: (p, q), unspecified → 0 < p, 0 ≤ q; reason: p/(p + q) presupposes it; every pair in the paper has p, q > 0
  • reading: greedy selection of items in decreasing order of these test scores; the optimum value → every S with IsTopK a k S; every T with |T| = k; reason: covers every tie-breaking rule and, since an optimum exists among finitely many sets, the optimum
  • encoding: ground set N, u : 2^N → ℝ₊, 0 < k (p.11) → a finite type ι, u : Finset ι → ℝ with 0 ≤ u S, 0 < k as a hypothesis; reason: same instances; k ≤ n follows from the existence of a set of size k
Preamble
import Mathlib
import Definitions.Def_NonmonotoneSubmod_Shared_Submodular
import Definitions.Def_TestScoreSubmod_IsTopK
import Definitions.Def_TestScoreSubmod_IsGoodScores
Formal statement
namespace TestScoreSubmod

/-- **Corollary 1, corrected** (Sekar, Vojnovic, Yun, arXiv:1605.07172v4, Corollary 1, p.19).

Let `u : 2^N → ℝ₊` be a monotone submodular set function, `0 < p`, `0 ≤ q`, `0 < k`, and let
the test scores `a₁, …, aₙ` be `(p, q)`-good for `u` (`IsGoodScores`). Then every set `S` of `k`
items with the largest test scores (any tie-breaking) satisfies `u(S) ≥ p/(p + q) · u(T)` for
every `T` with `|T| = k`, in particular for an optimum set.

**Formalization Note** The `(p, q)`-good condition is required with the lower bound at `|S| = k`
and the upper bound at `0 < |S| ≤ k` (see `IsGoodScores`); when `n < 2k` the upper bound at
`|S| = k` alone does not give the corollary. Monotonicity of `u` is added, as for Lemma 2, of
which this is the case `v̲ = min a`, `v̄ = max a`; in the paper `u` is a stochastic monotone
submodular function (Lemma 1). -/
theorem corollary_1 {ι : Type} [Fintype ι] [DecidableEq ι] (u : Finset ι → ℝ) (a : ι → ℝ)
    (p q : ℝ) (k : ℕ) (hk : 0 < k)
    (hu0 : ∀ S, 0 ≤ u S) (humono : Monotone u) (husub : NonmonotoneSubmod.Shared.Submodular u)
    (hp : 0 < p) (hq : 0 ≤ q) (hgood : IsGoodScores k p q a u)
    (S : Finset ι) (hS : IsTopK a k S) :
    ∀ T : Finset ι, T.card = k → p / (p + q) * u T ≤ u S := by sorry

end TestScoreSubmod
Source
Sekar, Vojnovic, Yun, A Test Score Based Approach to Stochastic Submodular Optimization, arXiv:1605.07172v4, Corollary 1, p.19
Human review
  • Endorsed by Shuze Chen · Oct 31, 2026

    Confirmed by the moderator at approval.

  • Endorsed by iris · Oct 31, 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