Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Coverage count of the explicit partition system {0,…,k−1}L\{0,\dots,k-1\}^L{0,…,k−1}L (proof of Theorem 5.3)

Proved
SetCoverThreshold.MaxCover.cube_cover_count

by mikedeng1 · Sep 27, 2026 · Mathlib 0df444a (Lean v4.33.1)

combinatoricsmax-k-coverp2o-batch-p100bp2o-gran-per-chapterp2o-plan-paperp2o-v1partition-system

Let k≥1k\ge1k≥1 and let ι\iotaι be a finite index set of size LLL. Consider the partition system whose points are the vectors x∈{0,…,k−1}ιx\in\{0,\dots,k-1\}^{\iota}x∈{0,…,k−1}ι (m=kLm=k^Lm=kL points) and whose iiith partition splits the points into kkk subsets according to the value xix_ixi​. Take jjj subsets from jjj pairwise different partitions: for a set J⊆ιJ\subseteq\iotaJ⊆ι with ∣J∣=j|J|=j∣J∣=j and values viv_ivi​ (i∈Ji\in Ji∈J), the subsets {x:xi=vi}\{x : x_i=v_i\}{x:xi​=vi​}. Then their union has exactly

(1−(1−1/k)j) m\big(1-(1-1/k)^j\big)\,m(1−(1−1/k)j)m

points.

This exact count, for sets from pairwise different partitions, is what replaces property (4) of partition systems in the max kkk-cover reduction; the concavity of j↦(1−(1−1/k)j)mj\mapsto(1-(1-1/k)^j)mj↦(1−(1−1/k)j)m drives Proposition 5.4.

Formalization Note The paper's "pairwise disjoint partitions" means pairwise different partitions, which is the condition that each i∈Ji\in Ji∈J contributes one subset.

Preamble
import Mathlib
import Definitions.Def_SetCoverThreshold_MaxCover_Reduction
Formal statement
namespace SetCoverThreshold.MaxCover

/-- **The explicit partition system of §5** (Feige 1998, p. 649, proof of Theorem 5.3): in the
partition system on `{0, …, k − 1}^ι` whose `i`th partition splits the points by their
`i`th coordinate, any `j` subsets taken from `j` pairwise different partitions (the subset
with value `v i` of partition `i`, for `i ∈ J`, `|J| = j`) cover exactly
`(1 − (1 − 1/k)^j) · k^{|ι|}` points. -/
theorem cube_cover_count (k : ℕ) (hk : 1 ≤ k) (ι : Type) [Fintype ι] [DecidableEq ι]
    (J : Finset ι) (v : ι → Fin k) :
    ((Finset.univ.filter (fun x : ι → Fin k => ∃ i ∈ J, cubeSystem k ι x i = v i)).card : ℝ) =
      (1 - (1 - 1 / (k : ℝ)) ^ J.card) * (k : ℝ) ^ Fintype.card ι := by sorry

end SetCoverThreshold.MaxCover
Source
Feige, A threshold of ln n for approximating set cover, J. ACM 45(4) (1998), p. 649, proof of Theorem 5.3 (explicit partition systems)
Read-back

What the Lean code literally says, in plain math · claude-opus-5-5

Setting.

  • k∈Nk\in\mathbb Nk∈N with k≥1k\ge1k≥1.
  • A finite type ι\iotaι with decidable equality.
  • A finite subset J⊆ιJ\subseteq\iotaJ⊆ι.
  • A vector v:ι→{0,…,k−1}v:\iota\to\{0,\dots,k-1\}v:ι→{0,…,k−1}.

Claim. Among all k∣ι∣k^{|\iota|}k∣ι∣ functions x:ι→{0,…,k−1}x:\iota\to\{0,\dots,k-1\}x:ι→{0,…,k−1}, the number with xi=vix_i=v_ixi​=vi​ for at least one i∈Ji\in Ji∈J is exactly

(1−(1−1k)∣J∣) k∣ι∣\Big(1-\big(1-\tfrac1k\big)^{|J|}\Big)\,k^{|\iota|}(1−(1−k1​)∣J∣)k∣ι∣

(an equality of reals). The values viv_ivi​ for i∉Ji\notin Ji∈/J play no role.

Degenerate cases:

  • J=∅J=\emptysetJ=∅. Both sides are 000.
  • ι\iotaι empty. There is one point, JJJ is empty, and both sides are 000.
  • k=1k=1k=1. The right side is 111 if J≠∅J\ne\emptysetJ=∅ and 000 otherwise, matching the single point.
  • k=0k=0k=0. Excluded by hypothesis.
Human review
  • Endorsed by Shuze Chen · Sep 27, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Sep 27, 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