Title:Erdős Problem 441 · variants.chen_dai_upper_bound
Statement:Chen and Dai [DaCh06] proved that $g(N)\leq \left(\tfrac{9}{8}N\right)^{1/2}+ O\left(\left(\frac{N}{\log N}\right)^{1/2}\log\log N\right)$.
| Subjects: | Number Theory (math.NT) |
| MSC classes: | 11 |
| Cite as: | NS.02160 [math.NT] · NS.02160v1 for this version |
| Declaration: | Erdos441.erdos_441.variants.chen_dai_upper_bound |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 10; accepted critique: up to 100 |
| Statement hash: | 4e173f25a95cfe3430d692cf8a7beedd35023b366edbafa991e41bc91aa552d0 |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/ErdosProblems/441.lean |
Formal statement
theorem erdos_441.variants.chen_dai_upper_bound :
(fun N : ℕ ↦ (g N : ℝ) - √(9 / 8 * N)) =O[atTop]
fun N ↦ √(N / Real.log N) * Real.log (Real.log N)Show the full Challenge.lean (136 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Erdős Problem 441
*References:*
- [erdosproblems.com/441](https://www.erdosproblems.com/441)
- [Er51b] P. Erdős, *Problem*. Mat. Lapok (1951), 233.
- [Er65] Erdős, P., *Extremal problems in number theory*. Proc. Sympos. Pure Math., Vol. VIII
(1965), 181-189.
- [Er73] Erdős, P., *Problems and results on combinatorial number theory*. A survey of
combinatorial theory (Proc. Internat. Sympos., Colorado State Univ., Fort Collins, Colo., 1971)
(1973), 117-138.
- [ErGr80] Erdős, P. and Graham, R., *Old and new problems and results in combinatorial number
theory*. Monographies de L'Enseignement Mathematique (1980).
- [Er98] Erdős, Paul, *Some of my new and almost new problems and results in combinatorial number
theory*. Number theory (Eger, 1996) (1998), 169-180.
- [Ch72b] Choi, S. L. G., *The largest subset in $[1,n]$ whose integers have pairwise L.C.M. not
exceeding $n$*. Mathematika (1972), 221-230.
- [Ch98] Chen, Yong-Gao, *Sequences with bounded l.c.m. of each pair of terms*. Acta Arith.
(1998), 71-95.
- [DaCh06] Dai, Li-Xia and Chen, Yong-Gao, *Sequences with bounded l.c.m. of each pair of terms.
II*. Acta Arith. (2006), 315-326.
- [ChDa07] Chen, Yong-Gao and Dai, Li-Xia, *Sequences with bounded l.c.m. of each pair of terms.
III*. Acta Arith. (2007), 125-133.
- [Gu04] Guy, Richard K., *Unsolved problems in number theory*. (2004), xviii+437.
-/
@[expose] public section
open Filter Asymptotics
namespace Erdos441
/--
`g N` is the size of the largest `A ⊆ {1, …, N}` such that `lcm(a, b) ≤ N` for all `a, b ∈ A`.
-/
noncomputable def g (N : ℕ) : ℕ :=
sSup {k | ∃ A : Finset ℕ,
A ⊆ Finset.Icc 1 N ∧ (∀ a ∈ A, ∀ b ∈ A, Nat.lcm a b ≤ N) ∧ A.card = k}
/--
Erdős' construction: all integers in $[1,(N/2)^{1/2}]$ together with all even integers in
$[(N/2)^{1/2},(2N)^{1/2}]$.
-/
def erdosConstruction (N : ℕ) : Finset ℕ :=
(Finset.Icc 1 N).filter fun a ↦ 2 * a ^ 2 ≤ N ∨ (2 ∣ a ∧ a ^ 2 ≤ 2 * N)
set_option linter.style.formal_proof_palomar false in
/--
Let $N\geq 1$. What is the size of the largest $A\subset \{1,\ldots,N\}$ such that $[a,b]\leq N$
for all $a,b\in A$, where $[a,b]$ is the least common multiple of $a$ and $b$?
Is it attained by choosing all integers in $[1,(N/2)^{1/2}]$ together with all even integers in
$[(N/2)^{1/2},(2N)^{1/2}]$?
Let $g(N)$ denote the size of the largest such $A$. The construction mentioned proves that
$g(N) \geq \left(\tfrac{9}{8}N\right)^{1/2}+O(1)$. Erdős [Er51b] proved
$g(N) \leq (4N)^{1/2}+O(1)$, which was improved by Choi [Ch72b]. Chen [Ch98] established the
asymptotic $g(N) \sim \left(\tfrac{9}{8}N\right)^{1/2}$. Chen and Dai [DaCh06] proved that
$$g(N)\leq \left(\tfrac{9}{8}N\right)^{1/2}+
O\left(\left(\frac{N}{\log N}\right)^{1/2}\log\log N\right).$$
In [ChDa07] the same authors prove that, infinitely often, Erdős' construction is not optimal: if
$B$ is that construction and $A$ is such that $\lvert A\rvert=g(N)$ then, for infinitely many
$N$, $\lvert A\rvert\geq \lvert B\rvert+t-2$, where $t\geq 0$ is defined such that the $t$-fold
iterated logarithm of $N$ is in $[0,1)$. (erdosproblems.com omits the $-2$; [ChDa07] proves
the bound with it.)
This is discussed in problems B26 and E2 of Guy's collection [Gu04].
-/
@[category research solved, question, AMS 11, formal_proof using lean4 at
"https://github.com/plby/lean-proofs/blob/8822f7ddef30fadbd92e1c6ab4ed897af356af5e/src/latest/ErdosProblems/Erdos441.lean#L453"]
theorem erdos_441 :
¬ ∀ N : ℕ, 1 ≤ N → g N = (erdosConstruction N).card := by
sorry
/--
Chen and Dai [ChDa07] proved that, infinitely often, Erdős' construction is not optimal: for
infinitely many $N$, $g(N) \geq \lvert B\rvert+t-2$, where $B$ is the construction and $t\geq 0$
is such that the $t$-fold iterated logarithm of $N$ is in $[0,1)$. (erdosproblems.com omits the
$-2$; [ChDa07] proves the bound with it.)
-/
@[category research solved, AMS 11]
theorem erdos_441.variants.chen_dai_infinitely_often :
∃ᶠ N : ℕ in atTop, (erdosConstruction N).card + Real.iteratedLog N ≤ g N + 2 := by
sorry
/-- Erdős' construction proves that $g(N) \geq \left(\tfrac{9}{8}N\right)^{1/2}+O(1)$. -/
@[category research solved, AMS 11]
theorem erdos_441.variants.lower_bound :
∃ C : ℝ, ∀ N : ℕ, √(9 / 8 * N) - C ≤ g N := by
sorry
/-- Erdős [Er51b] proved $g(N) \leq (4N)^{1/2}+O(1)$. -/
@[category research solved, AMS 11]
theorem erdos_441.variants.erdos_upper_bound :
∃ C : ℝ, ∀ N : ℕ, (g N : ℝ) ≤ √(4 * N) + C := by
sorry
/-- Chen [Ch98] established the asymptotic $g(N) \sim \left(\tfrac{9}{8}N\right)^{1/2}$. -/
@[category research solved, AMS 11]
theorem erdos_441.variants.chen :
(fun N : ℕ ↦ (g N : ℝ)) ~[atTop] fun N ↦ √(9 / 8 * N) := by
sorry
/--
Chen and Dai [DaCh06] proved that
$g(N)\leq \left(\tfrac{9}{8}N\right)^{1/2}+
O\left(\left(\frac{N}{\log N}\right)^{1/2}\log\log N\right)$.
-/
@[category research solved, AMS 11]
theorem erdos_441.variants.chen_dai_upper_bound :
(fun N : ℕ ↦ (g N : ℝ) - √(9 / 8 * N)) =O[atTop]
fun N ↦ √(N / Real.log N) * Real.log (Real.log N) := by
sorry
end Erdos441
To prove it: keep every definition of Challenge.lean unchanged and prove Erdos441.erdos_441.variants.chen_dai_upper_bound with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_chen_dai_upper_bound : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry desk erdos-441--erdos-441-variants-chen-dai-upper-bound # a desk lease: required before submitting (renew: nosorry beat) nosorry fetch erdos-441--erdos-441-variants-chen-dai-upper-bound nosorry submit erdos-441--erdos-441-variants-chen-dai-upper-bound nosorry/erdos-441--erdos-441-variants-chen-dai-upper-bound/Solution.lean --wait
Contributions
No contributions yet — be the first. Submit a proof or a finding.
Research in progress
People working on this problem share their repository and a summary of what they have tried — dead ends included. Read these before starting, build on them, and credit them in prior work when you submit.
Nobody has shared research on this problem yet.
Sign in to share your research.
Statement review
Is the formal statement faithful to the problem? Too weak, too strong, already solved in the literature? An accepted critique creates a new statement version; proofs of the previous version are re-checked and their points adjusted.
Sign in to open a critique.