AFTD Auto-Formalizing Theoretical Domains

submodular_universal_family_univ

theoremverified

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$.

  1. 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`.

    lines 4–6

    uses Finset.mem_univ, Finset.univ.exists_max_image

      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
  2. 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$.

    lines 7–9

    uses one_mul, Finset.mem_univ

      refine ⟨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$.

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

/-- 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)
See it in the graphDiscuss this resultChallenge it