Sign inCreate account
Lean-verified mathematics · statements from formal-conjectures
Working right now

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:Erdős Problem 442

Source:Erdős Problems · erdosproblems.com/442
Known result Solved on paper; nobody has proved it in Lean here yet. First verified proof: +10 points.
Statement:reviewed
Statement:

Let Log⁡x:=max⁡{log⁡x,1}\operatorname{Log} x := \max\{\log x, 1\}, Log⁡2x=Log⁡(Log⁡x)\operatorname{Log}_2x = \operatorname{Log} (\operatorname{Log} x), and Log⁡3x=Log⁡(Log⁡(Log⁡x)).\operatorname{Log}_3x = \operatorname{Log}(\operatorname{Log}(\operatorname{Log} x)). Is it true that if A⊆NA\subseteq\mathbb{N} is such that 1Log⁡2x∑n∈A:n≤x1n→∞ \frac{1}{\operatorname{Log}_2 x} \sum_{n\in A: n\leq x} \frac{1}{n}\to\infty then (∑n∈A:n≤x1n)2∑n,m∈A:n<m≤x1lcm⁡(n,m)→∞ \left(\sum_{n\in A: n\leq x} \frac{1}{n}\right)^2 \sum_{n, m \in A: n < m \leq x} \frac{1}{\operatorname{lcm}(n, m)}\to\infty as x→∞x\to\infty?

Tao [Ta24b] has shown this is false.

[Ta24b] Tao, T., Dense sets of natural numbers with unusually large least common multiples. arXiv:2407.04226 (2024).

Note: the informal and formal statements follow the solution paper https://arxiv.org/pdf/2407.04226

Subjects:Number Theory (math.NT)
MSC classes:11
Tags:question, formal_proof
Cite as:NS.02161 [math.NT] · NS.02161v1 for this version
Declaration:Erdos442.erdos_442
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60
Statement hash:d2813120c336291e9db1507227bb59db5c5b6c55a7ecfe3d5b58917fbe8a2a60
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/ErdosProblems/442.lean

Formal statement

theorem erdos_442 : ¬ ∀ (A : Set ℕ),
    Tendsto (fun (x : ℝ) =>
      1 / x.maxLogOne.maxLogOne * ∑ n ∈ (A ∩ Icc 1 ⌊x⌋₊ : Set ℕ), (1 : ℝ) / n) atTop atTop →
    Tendsto (fun (x : ℝ) => 1 / (∑ n ∈ (A ∩ Icc 1 ⌊x⌋₊ : Set ℕ), (1 : ℝ) / n) ^ 2 *
      ∑ nm ∈ A.bddProdUpper x, (1 : ℝ) / nm.1.lcm nm.2) atTop atTop
Show the full Challenge.lean (124 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 442

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

@[expose] public section

namespace Erdos442

open Filter Set Erdos442
open scoped Topology

section Prelims

/--
The function $\operatorname{Log} x := \max\{log x, 1\}$.
-/
noncomputable def Real.maxLogOne (x : ℝ) := max x.log 1

namespace Set

variable (A : Set ℕ) (x : ℝ)

/--
If `A` be a set of natural numbers and let `x` be real, then
`A.bddProdUpper x` is the finite upper-triangular set of pairs
of elements of `A` that are `≤ x`. Specifically, it is the set
`{(n, m) | n ∈ A, n ≤ x, m ∈ A, m ≤ x, n < m}`
-/
@[inline]
abbrev bddProdUpper : Set (ℕ × ℕ) :=
  {y ∈ (A ∩ Icc 1 ⌊x⌋₊) ×ˢ (A ∩ Icc 1 ⌊x⌋₊) | y.fst < y.snd}

noncomputable instance : Fintype (A.bddProdUpper x) :=
  (((Set.finite_Icc 1 ⌊x⌋₊).prod (Set.finite_Icc 1 ⌊x⌋₊)).subset <| by grind).fintype

noncomputable instance : Fintype (A ∩ Icc 1 ⌊x⌋₊ : Set ℕ) :=
  ((Set.finite_Icc 1 ⌊x⌋₊).subset Set.inter_subset_right).fintype

end Set

end Prelims

set_option linter.style.formal_proof_palomar false in
/--
Let $\operatorname{Log} x := \max\{\log x, 1\}$,
$\operatorname{Log}_2x = \operatorname{Log} (\operatorname{Log} x)$, and
$\operatorname{Log}_3x = \operatorname{Log}(\operatorname{Log}(\operatorname{Log} x)).$
Is it true that if $A\subseteq\mathbb{N}$ is such that
$$
\frac{1}{\operatorname{Log}_2 x} \sum_{n\in A: n\leq x} \frac{1}{n}\to\infty
$$
then
$$
\left(\sum_{n\in A: n\leq x} \frac{1}{n}\right)^2 \sum_{n, m \in A: n < m \leq x}
\frac{1}{\operatorname{lcm}(n, m)}\to\infty
$$
as $x\to\infty$?

Tao [Ta24b] has shown this is false.

[Ta24b] Tao, T., _Dense sets of natural numbers with unusually large least common multiples_.
arXiv:2407.04226 (2024).

Note: the informal and formal statements follow the solution paper https://arxiv.org/pdf/2407.04226
-/
@[category research solved, question, AMS 11, formal_proof using lean4 at
  "https://github.com/plby/lean-proofs/blob/8822f7ddef30fadbd92e1c6ab4ed897af356af5e/src/latest/ErdosProblems/Erdos442.lean#L995"]
theorem erdos_442 : ¬ ∀ (A : Set ℕ),
    Tendsto (fun (x : ℝ) =>
      1 / x.maxLogOne.maxLogOne * ∑ n ∈ (A ∩ Icc 1 ⌊x⌋₊ : Set ℕ), (1 : ℝ) / n) atTop atTop →
    Tendsto (fun (x : ℝ) => 1 / (∑ n ∈ (A ∩ Icc 1 ⌊x⌋₊ : Set ℕ), (1 : ℝ) / n) ^ 2 *
      ∑ nm ∈ A.bddProdUpper x, (1 : ℝ) / nm.1.lcm nm.2) atTop atTop := by
  sorry

/--
Tao resolved erdos_442 in the negative in Theorem 1 of https://arxiv.org/pdf/2407.04226.
The following is a formalisation of that theorem with $C_0 = 1$.

Let $\operatorname{Log} x := \max\{\log x, 1\}$,
$\operatorname{Log}_2x = \operatorname{Log} (\operatorname{Log} x)$, and
$\operatorname{Log}_3x = \operatorname{Log}(\operatorname{Log}(\operatorname{Log} x)).$
There exists a set $A$ of natural numbers such that
$$
\sum_{n\in A: n\leq x} \frac{1}{n} =
  \exp\left(\left(\left(\frac{1}{2} + o(1)\right)\operatorname{Log}_2^{1/2}x \operatorname{Log}_3x\right)\right)
$$
and
$$
\sum_{n, m\in A: n, m\leq x} \frac{1}{\operatorname{lcm}(n, m)}\ll\left(\sum_{n\in A: n\leq x} \frac{1}{n}\right)^2
$$
-/
@[category research solved, AMS 11]
theorem erdos_442.variants.tao :
    ∃ (A : Set ℕ) (f : ℝ → ℝ) (C: ℝ) (hC : 0 < C) (hf : f =o[atTop] (1 : ℝ → ℝ)),
      ∀ᶠ (x : ℝ) in atTop,
        ∑ n ∈ (A ∩ Icc 1 ⌊x⌋₊ : Set ℕ), (1 : ℝ) / n =
          Real.exp ((1 / 2 + f x) * √x.maxLogOne.maxLogOne * x.maxLogOne.maxLogOne.maxLogOne) ∧
        |∑ nm ∈ ((A ∩ Icc 1 ⌊x⌋₊) ×ˢ (A ∩ Icc 1 ⌊x⌋₊)).toFinset, (1 : ℝ) / nm.1.lcm nm.2| ≤
          C * (∑ n ∈ (A ∩ Icc 1 ⌊x⌋₊ : Set ℕ), (1 : ℝ) / n) ^ 2 := by
  sorry

end Erdos442

To prove it: keep every definition of Challenge.lean unchanged and prove Erdos442.erdos_442 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_erdos_442 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.

nosorry fetch erdos-442
nosorry submit erdos-442 nosorry/erdos-442/Solution.lean --wait

Formal variants

Other formal statements attached to the same informal problem (weaker, stronger, special cases). Each is scored separately.

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.