Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
108 changes: 108 additions & 0 deletions apn/data/erdos/ERDOS_PROBLEM_STATEMENT_SELECTION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
# Erdős problem statement selection

## Background

Thomas Bloom selected 70 Erdős problem numbers for this review. 48 of those problems have formalized statements in FC and 22 do not. Of the 48 formalized problems, 15 have one substantive research statement and 33 have more than one. This decision concerns statement selection in those 33 multi-statement modules.

This review was performed against FC commit `56534c04092446f2fd549d2865f2496924812da8`.

30 modules have a default theorem named `erdos_N` and place related results or alternative formulations under `erdos_N.variants`. Two modules instead split the source problem into statements under `erdos_N.parts`.

The variants serve several purposes. They include stronger conjectures, weaker or solved bounds, special cases, generalisations, equivalent formulations, and related questions. Consequently, there is not always a single implication ordering among all statements in a module. A review of the 33 modules found a clear strongest or hardest endpoint in 23 cases, a natural but qualified candidate in five cases, and no unique candidate in five cases.

## Decision

Use the following rule when selecting one representative statement from each module:

1. The selected declaration must have the `research open` category.
2. If a module has a default statement and variants, use the default non-variant statement. This rule applies even when a variant is known or intended to be stronger.
3. If the source problem is divided into parts, use the stronger part:
- For Problem 208, use `erdos_208.parts.ii`.
- For Problem 812, use `erdos_812.parts.i`.
4. Problem 508 predates the usual naming scheme. Use `HadwigerNelsonProblem`, its main exact-value question.

## Selected statements

| Problem | Selected statement | Reason |
|---:|---|---|
| 1 | `erdos_1` | Default statement; variants present |
| 3 | `erdos_3` | Single statement |
| 5 | `erdos_5` | Default statement; variants present |
| 7 | `erdos_7` | Single statement |
| 20 | `erdos_20` | Default statement; variants present |
| 23 | `erdos_23` | Default statement; variants present |
| 28 | `erdos_28` | Single statement |
| 30 | `erdos_30` | Single statement |
| 39 | `erdos_39` | Single statement |
| 41 | `erdos_41` | Default statement; variants present |
| 52 | `erdos_52` | Single statement |
| 61 | `erdos_61` | Default statement; variants present |
| 66 | `erdos_66` | Single statement |
| 68 | `erdos_68` | Single statement |
| 74 | `erdos_74` | Default statement; variants present |
| 89 | `erdos_89` | Default statement; variants present |
| 97 | `erdos_97` | Default statement; variants present |
| 101 | `erdos_101` | Single statement |
| 107 | `erdos_107` | Default statement; variants present |
| 120 | `erdos_120` | Default statement; variants present |
| 126 | `erdos_126` | Default statement; variants present |
| 128 | `erdos_128` | Single statement |
| 138 | `erdos_138` | Default statement; variants present |
| 172 | `erdos_172` | Single statement |
| 184 | `erdos_184` | Default statement; variants present |
| 208 | `erdos_208.parts.ii` | Stronger part |
| 213 | `erdos_213` | Default statement; variants present |
| 241 | `erdos_241` | Default statement; variants present |
| 242 | `erdos_242` | Default statement; variants present |
| 324 | `erdos_324` | Default statement; variants present |
| 364 | `erdos_364` | Default statement; variants present |
| 371 | `erdos_371` | Single statement |
| 376 | `erdos_376` | Default statement; variants present |
| 406 | `erdos_406` | Default statement; variants present |
| 508 | `HadwigerNelsonProblem` | Main statement; nonstandard naming |
| 564 | `erdos_564` | Single statement |
| 595 | `erdos_595` | Default statement; variants present |
| 647 | `erdos_647` | Default statement; variants present |
| 672 | `erdos_672` | Default statement; variants present |
| 723 | `erdos_723` | Default statement; variants present |
| 812 | `erdos_812.parts.i` | Stronger part |
| 821 | `erdos_821` | Default statement; variants present |
| 829 | `erdos_829` | Default statement; variants present |
| 952 | `erdos_952` | Single statement |
| 972 | `erdos_972` | Single statement |
| 975 | `erdos_975` | Default statement; variants present |
| 1003 | `erdos_1003` | Default statement; variants present |
| 1057 | `erdos_1057` | Default statement; variants present |

## Open-category check

All 48 selected Lean declarations have the `research open` category.

## Why the selected parts are stronger

The comparisons between the parts are mathematical relationships between their statements. They are not currently recorded as Lean implication theorems.

For Problem 208, Part II conjectures the squarefree-number gap bound

\[
s_{n+1}-s_n \leq (1+o(1))\frac{\pi^2}{6}
\frac{\log s_n}{\log\log s_n}.
\]

This implies the logarithmic-order variant and hence the subpolynomial bound in Part I:

\[
\text{Part II} \Longrightarrow O(\log s_n) \Longrightarrow \text{Part I}.
\]

For Problem 812, Part I conjectures a fixed multiplicative gap between consecutive diagonal Ramsey numbers:

\[
R(n+1)/R(n) \geq 1+c
\]

eventually, for some `c > 0`. It gives `R(n+1) - R(n) >= c R(n)`. The standard exponential growth of `R(n)` then implies the quadratic additive-gap bound in Part II:

\[
\text{Part I} \Longrightarrow \text{Part II}.
\]
2 changes: 1 addition & 1 deletion apn/data/erdos/Isolated/Erdos1.erdos_1.lean
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
-/

import FormalConjectures.Util.ProblemImports
import FormalConjecturesUtil

/-!
# Erdős Problem 1
Expand Down
59 changes: 59 additions & 0 deletions apn/data/erdos/Isolated/Erdos1.erdos_1.variants.lb.lean
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
/-
Copyright 2025 The Formal Conjectures Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-/

import FormalConjecturesUtil

/-!
# Erdős Problem 1

*Reference:* [erdosproblems.com/1](https://www.erdosproblems.com/1)
-/

open Filter

open scoped Topology Real

namespace Erdos1

/--
A finite set of naturals $A$ is said to be a sum-distinct set for $N \in \mathbb{N}$ if
$A\subseteq\{1, ..., N\}$ and the sums $\sum_{a\in S}a$ are distinct for all $S\subseteq A$
-/
abbrev IsSumDistinctSet (A : Finset ℕ) (N : ℕ) : Prop :=
A ⊆ Finset.Icc 1 N ∧ (fun (⟨S, _⟩ : A.powerset) => S.sum id).Injective

/--
Erdős and Moser [Er56] proved
$$
N \geq (\tfrac{1}{4} - o(1)) \frac{2^n}{\sqrt{n}}.
$$

[Er56] Erdős, P., _Problems and results in additive number theory_. Colloque sur la Th\'{E}orie des Nombres, Bruxelles, 1955 (1956), 127-137.
-/
theorem erdos_1.variants.lb : ∃ (o : ℕ → ℝ) (_ : o =o[atTop] (1 : ℕ → ℝ)),
∀ (N : ℕ) (A : Finset ℕ) (h : IsSumDistinctSet A N),
(1 / 4 - o A.card) * 2 ^ A.card / (A.card : ℝ).sqrt ≤ N := by
sorry

/--
A finite set of real numbers is said to be sum-distinct if all the subset sums differ by
at least $1$.
-/
abbrev IsSumDistinctRealSet (A : Finset ℝ) (N : ℕ) : Prop :=
↑A ⊆ Set.Ioc (0 : ℝ) N ∧ (A.powerset : Set (Finset ℝ)).Pairwise fun S₁ S₂ =>
1 ≤ dist (S₁.sum id) (S₂.sum id)

end Erdos1
55 changes: 55 additions & 0 deletions apn/data/erdos/Isolated/Erdos1.erdos_1.variants.lb_strong.lean
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
/-
Copyright 2025 The Formal Conjectures Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-/

import FormalConjecturesUtil

/-!
# Erdős Problem 1

*Reference:* [erdosproblems.com/1](https://www.erdosproblems.com/1)
-/

open Filter

open scoped Topology Real

namespace Erdos1

/--
A finite set of naturals $A$ is said to be a sum-distinct set for $N \in \mathbb{N}$ if
$A\subseteq\{1, ..., N\}$ and the sums $\sum_{a\in S}a$ are distinct for all $S\subseteq A$
-/
abbrev IsSumDistinctSet (A : Finset ℕ) (N : ℕ) : Prop :=
A ⊆ Finset.Icc 1 N ∧ (fun (⟨S, _⟩ : A.powerset) => S.sum id).Injective

/--
A number of improvements of the constant $\frac{1}{4}$ have been given, with the current
record $\sqrt{2 / \pi}$ first provided in unpublished work of Elkies and Gleason.
-/
theorem erdos_1.variants.lb_strong : ∃ (o : ℕ → ℝ) (_ : o =o[atTop] (1 : ℕ → ℝ)),
∀ (N : ℕ) (A : Finset ℕ) (h : IsSumDistinctSet A N),
(√(2 / π) - o A.card) * 2 ^ A.card / (A.card : ℝ).sqrt ≤ N := by
sorry

/--
A finite set of real numbers is said to be sum-distinct if all the subset sums differ by
at least $1$.
-/
abbrev IsSumDistinctRealSet (A : Finset ℝ) (N : ℕ) : Prop :=
↑A ⊆ Set.Ioc (0 : ℝ) N ∧ (A.powerset : Set (Finset ℝ)).Pairwise fun S₁ S₂ =>
1 ≤ dist (S₁.sum id) (S₂.sum id)

end Erdos1
56 changes: 56 additions & 0 deletions apn/data/erdos/Isolated/Erdos1.erdos_1.variants.least_N_5.lean
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
/-
Copyright 2025 The Formal Conjectures Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-/

import FormalConjecturesUtil

/-!
# Erdős Problem 1

*Reference:* [erdosproblems.com/1](https://www.erdosproblems.com/1)
-/

open Filter

open scoped Topology Real

namespace Erdos1

/--
A finite set of naturals $A$ is said to be a sum-distinct set for $N \in \mathbb{N}$ if
$A\subseteq\{1, ..., N\}$ and the sums $\sum_{a\in S}a$ are distinct for all $S\subseteq A$
-/
abbrev IsSumDistinctSet (A : Finset ℕ) (N : ℕ) : Prop :=
A ⊆ Finset.Icc 1 N ∧ (fun (⟨S, _⟩ : A.powerset) => S.sum id).Injective

/--
A finite set of real numbers is said to be sum-distinct if all the subset sums differ by
at least $1$.
-/
abbrev IsSumDistinctRealSet (A : Finset ℝ) (N : ℕ) : Prop :=
↑A ⊆ Set.Ioc (0 : ℝ) N ∧ (A.powerset : Set (Finset ℝ)).Pairwise fun S₁ S₂ =>
1 ≤ dist (S₁.sum id) (S₂.sum id)

/--
The minimal value of $N$ such that there exists a sum-distinct set with five
elements is $13$.

https://oeis.org/A276661
-/
theorem erdos_1.variants.least_N_5 :
IsLeast { N | ∃ A, IsSumDistinctSet A N ∧ A.card = 5 } 13 := by
sorry

end Erdos1
56 changes: 56 additions & 0 deletions apn/data/erdos/Isolated/Erdos1.erdos_1.variants.least_N_9.lean
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
/-
Copyright 2025 The Formal Conjectures Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-/

import FormalConjecturesUtil

/-!
# Erdős Problem 1

*Reference:* [erdosproblems.com/1](https://www.erdosproblems.com/1)
-/

open Filter

open scoped Topology Real

namespace Erdos1

/--
A finite set of naturals $A$ is said to be a sum-distinct set for $N \in \mathbb{N}$ if
$A\subseteq\{1, ..., N\}$ and the sums $\sum_{a\in S}a$ are distinct for all $S\subseteq A$
-/
abbrev IsSumDistinctSet (A : Finset ℕ) (N : ℕ) : Prop :=
A ⊆ Finset.Icc 1 N ∧ (fun (⟨S, _⟩ : A.powerset) => S.sum id).Injective

/--
A finite set of real numbers is said to be sum-distinct if all the subset sums differ by
at least $1$.
-/
abbrev IsSumDistinctRealSet (A : Finset ℝ) (N : ℕ) : Prop :=
↑A ⊆ Set.Ioc (0 : ℝ) N ∧ (A.powerset : Set (Finset ℝ)).Pairwise fun S₁ S₂ =>
1 ≤ dist (S₁.sum id) (S₂.sum id)

/--
The minimal value of $N$ such that there exists a sum-distinct set with nine
elements is $161$.

https://oeis.org/A276661
-/
theorem erdos_1.variants.least_N_9 :
IsLeast { N | ∃ A, IsSumDistinctSet A N ∧ A.card = 9 } 161 := by
sorry

end Erdos1
2 changes: 1 addition & 1 deletion apn/data/erdos/Isolated/Erdos1.erdos_1.variants.real.lean
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
-/

import FormalConjectures.Util.ProblemImports
import FormalConjecturesUtil

/-!
# Erdős Problem 1
Expand Down
42 changes: 0 additions & 42 deletions apn/data/erdos/Isolated/Erdos10.erdos_10.lean

This file was deleted.

Loading
Loading