FormalConjectures/ErdosProblems/501.lean
Explanation legend Lean4 Domain Explanation Language (L4DEL)
L4DEL explanations are a separate layer. They do not change the Lean source. Intuition is explanatory prose; numbered items are a reading path; sources link the wording back to evidence.
- L4DEL
- Lean4 Domain Explanation Language
Credit: The upstream authors and contributors retain credit for the project and mathematics. lean4-explainer only renders their pinned source and adds the separately disclosed explanation layer.
Project sources: Pinned project documentation, Formal Conjectures paper, arXiv v1
13 declarations, 6 contain sorry, 0 declared as axioms
Erdős Problem 501
References:
- erdosproblems.com/501
- [Er61] Erdős, Paul, Some unsolved problems. Magyar Tud. Akad. Mat. Kutató Int. Közl. 6 (1961), 221-254.
- [ErHa71] Erdős, Paul and Hajnal, András, Unsolved problems in set theory. Axiomatic Set Theory, Proc. Sympos. Pure Math. XIII Part I (1971), 17-48.
- [ErHa60] Erdős, Paul and Hajnal, András. On some combinatorial problems involving complete graphs. Acta Math. Acad. Sci. Hungar. (1960), 395-424.
- [Gl62] Gladysz, S. Some topological properties of independent sets. Colloq. Math. (1962).
- [He72] Hechler, S. H. A dozen small uncountable cardinals. TOPO 72, Lecture Notes in Math. (1972), 207-218.
- [NPS87] Newelski, L., Pawlikowski, J., and Seredyński, F. Infinite independent sets in the closed case. Acta Math. Acad. Sci. Hungar. (1987).
Imports (1)
- theorem
Erdos501.erdos_501For every $x \in \mathbb{R}$ let $A_x \subset \mathbb{R}$ be a bounded set with outer measure $< 1$ sorry line 71 sourceSource documentation
For every $x \in \mathbb{R}$ let $A_x \subset \mathbb{R}$ be a bounded set with outer measure $< 1$. Must there exist an infinite independent set, that is, some infinite $X \subseteq \mathbb{R}$ such that $x \notin A_y$ for all $x \neq y \in X$?
If the sets $A_x$ are closed and have measure $< 1$, then must there exist an independent set of size $3$?
Known results: Erdős–Hajnal [ErHa60] proved the existence of arbitrarily large finite independent sets. Hechler [He72] showed the answer is no assuming the continuum hypothesis.
depends on sorry what this means
Statement uses:
Iff,True,Real,Set,Bornology.IsBounded,LT.lt,ENNReal,MeasureTheory.OuterMeasure,MeasureTheory.Measure.toOuterMeasure,MeasureTheory.MeasureSpace.volume,OfNat.ofNat,Exists,And,Set.Infinite,Set.Pairwise,Not,Membership.memProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous,Nat25 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_501 : answer(sorry) ↔ ∀ (A : ℝ → Set ℝ), (∀ x, Bornology.IsBounded (A x)) → (∀ x, volume.toOuterMeasure (A x) < 1) → ∃ X : Set ℝ, X.Infinite ∧ X.Pairwise (fun x y => x ∉ A y) := by … - theorem
Erdos501.erdos_501.variants.erdosHajnal_finiteErdős–Hajnal (1960): arbitrarily large finite independent sets exist sorry line 88 sourceSource documentation
Erdős–Hajnal (1960): arbitrarily large finite independent sets exist.
For every
n : ℕand every familyA : ℝ → Set ℝof bounded sets with Lebesgue outer measure< 1, there exists a finite independent set of size at leastn.This was proved by Erdős and Hajnal [ErHa60].
depends on sorry what this means
Statement uses:
Iff,True,Nat,Real,Set,Bornology.IsBounded,LT.lt,ENNReal,MeasureTheory.OuterMeasure,MeasureTheory.Measure.toOuterMeasure,MeasureTheory.MeasureSpace.volume,OfNat.ofNat,Exists,Finset,And,LE.le,Finset.card,Set.Pairwise,Not,Membership.memProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous31 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_501.variants.erdosHajnal_finite : answer(True) ↔ ∀ (n : ℕ) (A : ℝ → Set ℝ), (∀ x, Bornology.IsBounded (A x)) → (∀ x, volume.toOuterMeasure (A x) < 1) → ∃ X : Finset ℝ, n ≤ X.card ∧ (X : Set ℝ).Pairwise (fun x y => x ∉ A y) := by … - theorem
Erdos501.erdos_501.variants.hechler_CHHechler (1972) [He72]: the answer to the main question is NO, assuming the continuum hypothesis sorry line 102 sourceSource documentation
Hechler (1972) [He72]: the answer to the main question is NO, assuming the continuum hypothesis.
Assuming CH (
ℵ₁ = 𝔠), there exists a familyA : ℝ → Set ℝof bounded sets with Lebesgue outer measure< 1for which no infinite independent set exists.depends on sorry what this means
Statement uses:
Iff,True,Eq,Cardinal,OrderEmbedding,Ordinal,Cardinal.aleph,OfNat.ofNat,Cardinal.continuum,Exists,Real,Set,And,Bornology.IsBounded,LT.lt,ENNReal,MeasureTheory.OuterMeasure,MeasureTheory.Measure.toOuterMeasure,MeasureTheory.MeasureSpace.volume,Notand 3 moreProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous,Nat35 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_501.variants.hechler_CH : answer(True) ↔ (ℵ₁ = 𝔠) → ∃ (A : ℝ → Set ℝ), (∀ x, Bornology.IsBounded (A x)) ∧ (∀ x, volume.toOuterMeasure (A x) < 1) ∧ ¬ ∃ X : Set ℝ, X.Infinite ∧ X.Pairwise (fun x y => x ∉ A y) := by … - theorem
Erdos501.erdos_501.variants.closed_size3sorry line 120 sourcedepends on sorry what this means
Statement uses:
Iff,True,Real,Set,IsClosed,LT.lt,ENNReal,MeasureTheory.Measure,MeasureTheory.MeasureSpace.volume,OfNat.ofNat,Exists,And,LE.le,Nat,Set.ncard,Set.Pairwise,Not,Membership.memProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous30 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- theorem
Erdos501.erdos_501.variants.newelski_pawlikowski_seredynskisorry line 135 sourcedepends on sorry what this means
Statement uses:
Iff,True,Real,Set,IsClosed,LT.lt,ENNReal,MeasureTheory.Measure,MeasureTheory.MeasureSpace.volume,OfNat.ofNat,Exists,And,Set.Infinite,Set.Pairwise,Not,Membership.memProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous,Nat27 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- theorem
Erdos501.erdos_501.variants.gladysz_size2Gladysz (1962) [Gl62]: independent set of size 2 in the closed case sorry line 151 sourceSource documentation
Gladysz (1962) [Gl62]: independent set of size 2 in the closed case.
If all the sets
A xare closed with Lebesgue measure< 1, then there exist two distinct realsx ysuch thatx ∉ A yandy ∉ A x.This is a weaker result proved by Gladysz before the full Newelski–Pawlikowski– Seredyński theorem [NPS87].
depends on sorry what this means
Statement uses:
Iff,True,Real,Set,IsClosed,LT.lt,ENNReal,MeasureTheory.Measure,MeasureTheory.MeasureSpace.volume,OfNat.ofNat,Exists,And,LE.le,Nat,Set.ncard,Set.Pairwise,Not,Membership.memProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous30 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_501.variants.gladysz_size2 : answer(True) ↔ ∀ (A : ℝ → Set ℝ), (∀ x, IsClosed (A x)) → (∀ x, volume (A x) < 1) → ∃ X : Set ℝ, 2 ≤ X.ncard ∧ X.Pairwise (fun x y => x ∉ A y) := by … - theorem
Erdos501.erdos_501.variants.singleton_independentTrivial lower bound: a single-element set is always independent line 164 sourceSource documentation
Trivial lower bound: a single-element set is always independent.
For any family
A, any singleton{x}is vacuously independent: there are no two distinct elements.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Real,Set,Set.Pairwise,Singleton.singleton,Not,Membership.memProof uses:
Set.pairwise_singleton3 instances, coercions and auxiliary constants left out.
theorem erdos_501.variants.singleton_independent (A : ℝ → Set ℝ) (x : ℝ) : ({x} : Set ℝ).Pairwise (fun x y => x ∉ A y) := … - theorem
Erdos501.erdos_501.variants.pair_independent_iffTwo-element sets: independent iff mutual non-membership line 174 sourceSource documentation
Two-element sets: independent iff mutual non-membership.
A two-element set
{x, y}(withx ≠ y) is independent forAif and only ifx ∉ A yandy ∉ A x.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Real,Set,Ne,Iff,Set.Pairwise,Insert.insert,Singleton.singleton,Not,Membership.mem,AndProof uses:
Eq.mpr,id,Eq,congrArg,propext,Set.pairwise_pair,Iff.intro6 instances, coercions and auxiliary constants left out.
Tactic trace: 2 steps
Open to load the checked before-and-after goal states.
theorem erdos_501.variants.pair_independent_iff (A : ℝ → Set ℝ) {x y : ℝ} (hxy : x ≠ y) : ({x, y} : Set ℝ).Pairwise (fun x y => x ∉ A y) ↔ x ∉ A y ∧ y ∉ A x := by … - theorem
Erdos501.erdos_501.tests.empty_family_is_validThe constant familyA x = ∅satisfies all hypotheses of the main problem: eachA xis bounded (the empty set is bounded) and has Lebesgue outer measure 0 < 1 line 191 sourceSource documentation
The constant family
A x = ∅satisfies all hypotheses of the main problem: eachA xis bounded (the empty set is bounded) and has Lebesgue outer measure 0 < 1. Moreover, all of ℝ is an independent set, showing the conclusion holds trivially.This demonstrates that the hypotheses are non-vacuous: the family
A x = ∅is a valid input to the theorem, andℝ(which is infinite) witnesses the conclusion.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Real,Set,EmptyCollection.emptyCollection,And,Bornology.IsBounded,LT.lt,ENNReal,MeasureTheory.OuterMeasure,MeasureTheory.Measure.toOuterMeasure,MeasureTheory.MeasureSpace.volume,OfNat.ofNat,Exists,Set.Infinite,Set.Pairwise,Not,Membership.memProof uses:
And.intro,Bornology.isBounded_empty,of_eq_true,Eq.trans,True,congrFun',congrArg,MeasureTheory.measure_empty,Exists.intro,Set.univ,Set.infinite_univ,FirstOrder.Language.order,Ne66 instances, coercions and auxiliary constants left out.
Tactic trace: 6 steps
Open to load the checked before-and-after goal states.
theorem erdos_501.tests.empty_family_is_valid : let A : ℝ → Set ℝ := fun _ => ∅ … - theorem
Erdos501.erdos_501.tests.singleton_zero_independentA singleton{0}is an independent set for any familyA : ℝ → Set ℝ, as witnessed byerdos_501.variants.singleton_independentline 203 sourceSource documentation
A singleton
{0}is an independent set for any familyA : ℝ → Set ℝ, as witnessed byerdos_501.variants.singleton_independent.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Real,Set,Set.Pairwise,Singleton.singleton,OfNat.ofNat,Not,Membership.memProof uses: Erdos501.erdos_501.variants.singleton_independent
6 instances, coercions and auxiliary constants left out.
theorem erdos_501.tests.singleton_zero_independent (A : ℝ → Set ℝ) : ({0} : Set ℝ).Pairwise (fun x y => x ∉ A y) := … - theorem
Erdos501.erdos_501.tests.pair_independent_emptyTwo reals form an independent set for the empty familyA _ = ∅: neither 0 nor 1 belongs to ∅, so both conditions ofpair_independent_iffhold line 210 sourceSource documentation
Two reals form an independent set for the empty family
A _ = ∅: neither 0 nor 1 belongs to ∅, so both conditions ofpair_independent_iffhold.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Set.Pairwise,Real,Insert.insert,Set,OfNat.ofNat,Singleton.singleton,Not,Membership.mem,EmptyCollection.emptyCollectionProof uses:
Eq.mpr,And,id,Eq,congrArg,propext, Erdos501.erdos_501.variants.pair_independent_iff,Mathlib.Meta.NormNum.isNat_eq_false,Mathlib.Meta.NormNum.isNat_ofNat,Nat.cast_zero,Nat.cast_one,Eq.refl,Bool,Bool.false,And.intro,Set.notMem_empty25 instances, coercions and auxiliary constants left out.
Tactic trace: 3 steps
Open to load the checked before-and-after goal states.
theorem erdos_501.tests.pair_independent_empty : ({0, 1} : Set ℝ).Pairwise (fun x y => x ∉ (fun _ => (∅ : Set ℝ)) y) := by … - theorem
Erdos501.erdos_501.tests.singleton_outer_measure_lt_oneThe hypothesisvolume.toOuterMeasure (A x) < 1is strictly satisfied whenA x = {x}(a singleton), since Lebesgue measure of a singleton is 0 line 218 sourceSource documentation
The hypothesis
volume.toOuterMeasure (A x) < 1is strictly satisfied whenA x = {x}(a singleton), since Lebesgue measure of a singleton is 0.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Real,LT.lt,ENNReal,MeasureTheory.OuterMeasure,Set,MeasureTheory.Measure.toOuterMeasure,MeasureTheory.MeasureSpace.volume,Singleton.singleton,OfNat.ofNatProof uses:
of_eq_true,Eq.trans,True,congrFun',congrArg,MeasureTheory.NullSingletonClass.measure_singleton32 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_501.tests.singleton_outer_measure_lt_one (x : ℝ) : volume.toOuterMeasure ({x} : Set ℝ) < 1 := by … - theorem
Erdos501.erdos_501.tests.unit_interval_measureThe boundary case: the measure condition< 1is sharp line 225 sourceSource documentation
The boundary case: the measure condition
< 1is sharp. An interval of length ≥ 1 has Lebesgue measure ≥ 1, so it would fail the hypothesis. Here[0, 1]has measure exactly 1.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,ENNReal,MeasureTheory.OuterMeasure,Real,Set,MeasureTheory.Measure.toOuterMeasure,MeasureTheory.MeasureSpace.volume,Set.Icc,OfNat.ofNatProof uses:
of_eq_true,Eq.trans,True,congrFun',congrArg,MeasureTheory.Measure,ENNReal.ofReal,HSub.hSub,Real.volume_Icc,sub_zero,ENNReal.ofReal_one,eq_self27 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_501.tests.unit_interval_measure : volume.toOuterMeasure (Set.Icc (0:ℝ) 1) = 1 := by …