Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Normalized spread for indexed finite families

Definition
SunflowerIndexedSpread

by lunjia · Sep 26, 2026 · Mathlib 0df444a (Lean v4.33.1)

combinatoricsspread-familiessunflower

For a finite set of labels III and an indexed family (Ai)i∈I(A_i)_{i\in I}(Ai​)i∈I​ of finite subsets of a ground type, normalized RRR-spread means

R∣T∣ ∣{i∈I:T⊆Ai}∣≤∣I∣for every finite T.R^{|T|}\,|\{i\in I:T\subseteq A_i\}|\le |I|\qquad\text{for every finite }T.R∣T∣∣{i∈I:T⊆Ai​}∣≤∣I∣for every finite T.

Labels are counted separately, even when their members coincide. Empty members are permitted. This convention supports iterated refinement, where residual sets may become equal while their original labels remain distinct. The predicate itself imposes no sign assumption on RRR or nonemptiness assumption on III; theorems state the conditions they require.

Definition code
import Mathlib.Data.Fintype.Card
import Mathlib.Data.Finset.Card
import Mathlib.Data.Real.Basic

set_option autoImplicit false

namespace Erdos20

/-- Spread for a uniformly sampled indexed family. Repeated members retain
their labels, so every cardinality here counts multiplicity. -/
def IndexedSpread {α ι : Type*} [DecidableEq α] [Fintype ι]
    (R : ℝ) (A : ι → Finset α) : Prop :=
  ∀ T : Finset α,
    R ^ T.card * ((Finset.univ.filter (fun i => T ⊆ A i)).card : ℝ) ≤
      Fintype.card ι

end Erdos20
Source
L. Hu, Entropy Estimation via Two Chains (19 May 2021), Definition 1 and Lemma 2, https://theorydish.blog/2021/05/19/entropy-estimation-via-two-chains-streamlining-the-proof-of-the-sunflower-lemma/ ; T. Tao, The sunflower lemma via Shannon entropy (20 July 2020), Definition 1 and refinement argument, https://terrytao.wordpress.com/2020/07/20/the-sunflower-lemma-via-shannon-entropy/ . This is an indexed, normalized-spread Bernoulli adaptation of those arguments, not a verbatim restatement of the fixed-cardinality sampling lemma.

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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me