submodular_universal_family_univ
The family of all subsets of {0, ..., n-1} is a 1-universal family for non-negative submodular maximization.
Statement
theorem submodular_universal_family_univ (n : ℕ) :
submodular_universal_family (Finset.univ : Finset (Finset (Fin n))) 1- Source
- arXiv:2611.23637 Sec. 1.1
- Verified
- 20 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 2
- submodular_universal_familyA finite family of subsets F of {0, ..., n-1} is a gamma-universal family for submodular maximization if for every non-negative submodular…
- is_submodularA set function is submodular: for S inside T and j outside T, the marginal value of j over T is at most its marginal value over S.
Read back from the Lean
For every natural number n, the family of all subsets of Fin n (Finset.univ : Finset (Finset (Fin n))) is a submodular universal family with factor 1: that is, for every function f : Finset (Fin n) → ℝ, if f is non-negative on all subsets (∀ S, 0 ≤ f S) and f is submodular (for all S, T and j, S ⊆ T and j ∉ T implies f (insert j T) - f T ≤ f (insert j S) - f S), then there exists some subset R ∈ Finset.univ such that for every subset S : Finset (Fin n), 1 * f S ≤ f R.
Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.
The proof, explained
The theorem establishes that the family of all subsets of $\{0, \dots, n-1\}$ is a 1-universal family for submodular maximization. Since the collection of all subsets is finite and nonempty (containing $\emptyset$), any objective function $f$ attains a global maximum at some subset $R$. Taking $R$ as the witness immediately guarantees $1 \cdot f(S) = f(S) \le f(R)$ for every subset $S$, without even using the non-negativity or submodularity of $f$.
There exists a subset $R \subseteq \{0, \dots, n-1\}$ maximizing $f$.
We consider an arbitrary objective function $f$; the assumptions that $f$ is non-negative and submodular are not needed. Because the empty set $\emptyset$ belongs to the universe of subsets by `Finset.mem_univ`, `Finset.univ` is nonempty. Since it is finite and nonempty, $f$ attains a maximum at some subset $R \in \text{Finset.univ}$ by `Finset.univ.exists_max_image`.
uses
Finset.mem_univ,Finset.univ.exists_max_imageintro f _ _ have hne : (Finset.univ : Finset (Finset (Fin n))).Nonempty := ⟨∅, Finset.mem_univ _⟩ obtain ⟨R, hRmem, hRmax⟩ := Finset.univ.exists_max_image f hne
The maximizer $R$ satisfies the universal family requirement with approximation factor 1.
We choose $R$ as the candidate set in `Finset.univ`. For any subset $S$, rewriting with `one_mul` simplifies $1 \cdot f(S)$ to $f(S)$. Since every subset $S$ is in `Finset.univ` by `Finset.mem_univ`, the inequality $f(S) \le f(R)$ holds by the maximality of $R$.
uses
one_mul,Finset.mem_univrefine ⟨R, hRmem, fun S => ?_⟩ rw [one_mul] exact hRmax S (Finset.mem_univ S)
Finset.mem_univ- Every element of a finite type belongs to the universal set `Finset.univ`.
Finset.univ.exists_max_image- A real-valued function on a nonempty finite set attains its maximum at some element.
one_mul- Multiplication by 1 on the left is the identity: $1 \cdot a = a$.
- The proof completely ignores the hypotheses that $f$ is non-negative and submodular (discarded by `intro f _ _`): any real-valued function on a finite non-empty set attains its maximum, which is all that is required for factor 1.
Written by a model (gemini-3.8-flash) from the Lean proof and the goal states Lean reported at each step. Lean verified the proof; this explanation is a reading aid and is not itself machine-checked.
Lean source view module on GitHub
Choose a tactic — a marked line — to see the goals Lean had before and after it, as in Lean’s infoview. Step with ← → or j k.
/-- The universal family of all subsets achieves factor 1 for every non-negative submodular function. -/theorem submodular_universal_family_univ (n : ℕ) : submodular_universal_family (Finset.univ : Finset (Finset (Fin n))) 1 := by intro f _ _ have hne : (Finset.univ : Finset (Finset (Fin n))).Nonempty := ⟨∅, Finset.mem_univ _⟩ obtain ⟨R, hRmem, hRmax⟩ := Finset.univ.exists_max_image f hne refine ⟨R, hRmem, fun S => ?_⟩ rw [one_mul] exact hRmax S (Finset.mem_univ S)