forked from google-deepmind/formal-conjectures
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path299.lean
More file actions
62 lines (48 loc) · 2.19 KB
/
299.lean
File metadata and controls
62 lines (48 loc) · 2.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
/-
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 FormalConjectures.Util.ProblemImports
/-!
# Erdős Problem 299
*References:*
- [erdosproblems.com/298](https://www.erdosproblems.com/298)
- [erdosproblems.com/299](https://www.erdosproblems.com/299)
- [Bl21] Bloom, T. F., On a density conjecture about unit fractions. arXiv:2112.03726 (2021).
-/
open Filter
namespace Erdos299
/--
Is there an infinite sequence $a_1 < a_2 < \dots$ such that $a_{i+1} - a_i = O(1)$ and no finite
sum of $\frac{1}{a_i}$ is equal to 1?
There does not exist such a sequence, which follows from the positive solution to
[erdosproblems.com/298] by Bloom [Bl21].
This was formalized in Lean 3 by Bloom and Mehta.
-/
@[category research formally solved using other_system at
"https://github.com/b-mehta/unit-fractions/blob/master/src/final_results.lean", AMS 11 40]
theorem erdos_299 : answer(False) ↔ (∃ (a : ℕ → ℕ),
StrictMono a ∧ (∀ n, 0 < a n) ∧
(fun n ↦ (a (n + 1) : ℝ) - a n) =O[atTop] (1 : ℕ → ℝ) ∧
∀ S : Finset ℕ, ∑ i ∈ S, (1 : ℝ) / a i ≠ 1) := by
sorry
/--
The corresponding question is also false if one replaces sequences such that $a_{i+1} - a_i = O(1)$
with sets of positive density, as follows from [Bl21].
The statement is as follows:
If $A \subset \mathbb{N}$ has positive upper density (and hence certainly if $A$ has positive
density) then there is a finite $S \subset A$ such that $\sum_{n \in S} \frac{1}{n} = 1$.
-/
@[category research solved, AMS 11 40]
theorem erdos_299.variants.density : ∀ (A : Set ℕ), 0 ∉ A → 0 < A.upperDensity →
∃ S : Finset ℕ, ↑S ⊆ A ∧ ∑ n ∈ S, (1 : ℝ) / n = 1 := by
sorry
end Erdos299