Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Erdős 501, closed case: infinite independent set (NPS 1987)

Proved
erdos501_closed_infinite

by LG · Nov 23, 2026 · Mathlib 0df444a (Lean v4.33.1)

combinatoricserdosmeasure-theoryset-theory

Let (Ax)x∈R(A_x)_{x \in \mathbb{R}}(Ax​)x∈R​ be a family of subsets of the real line such that every AxA_xAx​ is closed and has Lebesgue measure <1< 1<1. Then there exists an infinite independent set: an infinite X⊆RX \subseteq \mathbb{R}X⊆R such that x∉Ayx \notin A_yx∈/Ay​ whenever x,y∈Xx, y \in Xx,y∈X are distinct:

(∀x, Ax closed)∧(∀x, λ(Ax)<1)  ⟹  ∃X⊆R infinite, ∀x≠y∈X, x∉Ay.\big(\forall x,\ A_x \text{ closed}\big) \wedge \big(\forall x,\ \lambda(A_x) < 1\big) \implies \exists X \subseteq \mathbb{R} \text{ infinite},\ \forall x \neq y \in X,\ x \notin A_y.(∀x, Ax​ closed)∧(∀x, λ(Ax​)<1)⟹∃X⊆R infinite, ∀x=y∈X, x∈/Ay​.

This is the strong form of the second question of Erdős Problem 501, due to Newelski–Pawlikowski–Seredyński (1987). No boundedness hypothesis is needed.

Formalization Note. volume (A x) is the Lebesgue measure of the (closed, hence measurable) set AxA_xAx​; independence is X.Pairwise (fun x y => x ∉ A y).

Preamble
import Mathlib.MeasureTheory.Measure.Lebesgue.Basic
import Mathlib.SetTheory.Cardinal.Continuum
import Mathlib.SetTheory.Cardinal.Aleph
import Mathlib.Data.Set.Card
import Mathlib.ModelTheory.Satisfiability
import Mathlib.SetTheory.ZFC.Basic
import Definitions.Def_definable_saturated_fol
import Definitions.Def_erdos501_sentence
import Definitions.Def_erdos501_zfset_structure

open MeasureTheory
open scoped Cardinal FirstOrder
open FirstOrder FirstOrder.Language
open Erdos501.FOL

universe u
Formal statement
theorem erdos501_closed_infinite :
    ∀ (A : ℝ → Set ℝ),
      (∀ x, IsClosed (A x)) →
      (∀ x, volume (A x) < 1) →
      ∃ X : Set ℝ, X.Infinite ∧ X.Pairwise (fun x y => x ∉ A y) := by sorry
Source
https://github.com/elliotglazer/erdos501/blob/218d1c1e46f77d4db80e566d1721782e85b94a17/Challenge.lean#L554-L562 (target 1); L. Newelski, J. Pawlikowski, W. Seredyński, Infinite free set for small measure set mappings, Proc. AMS 100 (1987) 335–339, https://doi.org/10.1090/S0002-9939-1987-0884475-3
Human review
  • Endorsed by Shuze Chen · Nov 24, 2026

    Confirmed by the moderator at approval.

  • Endorsed by LG · Nov 24, 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