Add Erdős Problem 501 (independent sets for real-indexed families)#3777
Conversation
…families Adds formalization of Erdős Problem 501 (Erdős-Hajnal). Reference: https://www.erdosproblems.com/501 Asks whether for every family of sets indexed by ℝ, each of positive outer measure, there exists an uncountable independent set. Includes IsIndependent definition, outer measure encoding, 6 variants (Erdős-Hajnal, Hechler CH, NPS, Gladysz), 2 proved lemmas, and sanity checks. Assisted by Claude (Anthropic).
|
Closes #758 |
…e docstring Insert canonical statement text + source URL from sage/conjecturing/sources/erdos_statements.json into the module docstring, matching the Round C pass on the private repo. The theorem statements and references are unchanged.
| @@ -0,0 +1,250 @@ | |||
| /- | |||
| Copyright 2025 The Formal Conjectures Authors. | |||
There was a problem hiding this comment.
nit: Could you update the copyright year to 2026 for this new file?
|
|
||
| For any family `A`, any singleton `{x}` is vacuously independent: there are no two | ||
| distinct elements. -/ | ||
| @[category undergraduate, AMS 5] |
There was a problem hiding this comment.
nit: Looks like this file still uses @[category undergraduate] for a few auxiliary/supporting lemmas. This now no longer works on main - the new version of this is textbook.
…ok] + copyright 2026 Per Paul-Lez review on PR google-deepmind#3777. Mechanical nits applied on top of an upstream/main merge to pick up the new attribute infrastructure (PR google-deepmind#3900).
|
@Paul-Lez — applied the mechanical nits in |
| **Source:** https://www.erdosproblems.com/501 | ||
|
|
||
| **Notes:** OPEN | ||
|
|
There was a problem hiding this comment.
| **Source:** https://www.erdosproblems.com/501 | |
| **Notes:** OPEN |
mo271
left a comment
There was a problem hiding this comment.
Thanks!
Some initial comments -- the maths looks good in general!
| **Verbatim statement (Erdős #501, status O):** | ||
| > 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\not\in 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$? | ||
|
|
There was a problem hiding this comment.
let's only have the verbatim statment (with the latex markdown) at the theorem statement
| [ErHa60] Erdős, Paul and Hajnal, András. On some combinatorial problems involving | ||
| complete graphs. Acta Math. Acad. Sci. Hungar. (1960), 395-424. | ||
| [He72] Hechler, S. H. A dozen small uncountable cardinals. TOPO 72, Lecture Notes | ||
| in Math. (1972), 207-218. -/ |
There was a problem hiding this comment.
The website cites [Er61] and [ErHa71] as the original sources, but only result-specific references ([ErHa60], [He72], etc.) appear in the file.
Let's move perhaps move all the references to the reference section in the module docstring (at least if they are mentioned more than once)
There was a problem hiding this comment.
could also include AMS 28 (Measure and integration) given the problem is fundamentally about Lebesgue outer measure
| 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. -/ | ||
| @[category test, AMS 5] | ||
| example : |
There was a problem hiding this comment.
please use a named theorem instead of example. Here and below (and potentially in other prs)
| def IsIndependent (A : ℝ → Set ℝ) (X : Set ℝ) : Prop := | ||
| ∀ x ∈ X, ∀ y ∈ X, x ≠ y → x ∉ A y |
There was a problem hiding this comment.
This definition should probably avoided completely and have use Set.Pairwise inlined:
X.Pairwise (fun x y => x ∉ A y)- Replace the dual *Reference:* / inline reference scheme with a single *References:* block in the module docstring listing all citations ([Er61], [ErHa71], [ErHa60], [Gl62], [He72], [NPS87]). Strip the duplicated verbatim statement from the module docstring; keep the verbatim quote only in the erdos_501 theorem docstring (where it now uses LaTeX markdown). - Drop the redundant per-theorem reference appendices and the **Status:** mention; keep the [tag] citation in the theorem heading. - Add AMS 28 (Measure and integration) to every category attribute in the file: the problem is fundamentally about Lebesgue outer measure. - Drop the IsIndependent custom predicate and inline X.Pairwise (fun x y => x ∉ A y) at every use site so all Set.Pairwise lemmas apply directly. The singleton/pair lemmas are rewritten as one-line proofs using Set.pairwise_singleton and Set.pairwise_pair. - Promote the five sanity-check examples to named theorems erdos_501.tests.* per mo271's named-theorem-vs-example convention.
|
Applied mo271's docstring-convention review pass in
Build: |
…oogle-deepmind#3777) fixes google-deepmind#758 ## Problem Erdős Problem 501: https://www.erdosproblems.com/501 > For every family of sets indexed by ℝ, each of positive outer measure, does there exist an uncountable independent set? ## Contents - IsIndependent definition for families of sets indexed by ℝ - Outer measure encoding for positive-measure sets - Main open theorem `erdos_501` - 6 variants (Erdős-Hajnal original, Hechler CH result, NPS consistency, Gladysz classical) - 2 fully proved lemmas (singleton independent, empty family independent) - Sanity checks ensuring definitions are non-trivial Assisted by Claude (Anthropic).
fixes #758
Problem
Erdős Problem 501: https://www.erdosproblems.com/501
Contents
erdos_501Assisted by Claude (Anthropic).