Title:Erdős Problem 490
Statement:Let be such that all the products with and are distinct. Is it true that
This would be best possible, for example letting and . This is true, and was proved by Szemerédi [Sz76].
In [Er72] Erdős goes on to ask whether exists, where the maximum is over and with all the products distinct, and to determine its value. As noted in the comments to 896 by van Doorn, if the limit exists it must be .
| Subjects: | Number Theory (math.NT) |
| MSC classes: | 11 |
| Tags: | question, formal_proof |
| Cite as: | NS.02263 [math.NT] · NS.02263v1 for this version |
| Declaration: | Erdos490.erdos_490 |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60 |
| Statement hash: | 1dd106b87926e91fc3075dc6b242d74c9859a4fb682f761f2ab1efad187f23b1 |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/ErdosProblems/490.lean |
Formal statement
theorem erdos_490 : ∃ C : ℝ, ∀ᶠ N : ℕ in atTop,
∀ A B : Finset ℕ, A ⊆ Finset.Icc 1 N → B ⊆ Finset.Icc 1 N →
(∀ a₁ ∈ A, ∀ b₁ ∈ B, ∀ a₂ ∈ A, ∀ b₂ ∈ B, a₁ * b₁ = a₂ * b₂ → a₁ = a₂ ∧ b₁ = b₂) →
(A.card * B.card : ℝ) ≤ C * N ^ 2 / Real.log NShow the full Challenge.lean (82 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Erdős Problem 490
*References:*
- [erdosproblems.com/490](https://www.erdosproblems.com/490)
- [Er61] Erdős, Paul, *Some unsolved problems*. Magyar Tud. Akad. Mat. Kutató Int. Közl. (1961),
221-254.
- [Er69] Erdős, Paul, *Some applications of graph theory to number theory*. The Many Facets of
Graph Theory (Proc. Conf., Western Mich. Univ., Kalamazoo, Mich., 1968) (1969), 77-82.
- [Er72] Erdős, Paul, *Extremal problems in number theory*. Proceedings of the 1972 Number Theory
Conference (Univ. Colorado, Boulder, Colo.) (1972), 80-86.
- [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.
- [Sz76] Szemerédi, E., *On a problem of P. Erdős*. J. Number Theory (1976), 264-270.
-/
@[expose] public section
open Filter
namespace Erdos490
set_option linter.style.formal_proof_palomar false in
/--
Let $A,B\subseteq \{1,\ldots,N\}$ be such that all the products $ab$ with $a\in A$ and $b\in B$
are distinct. Is it true that
$$\lvert A\rvert \lvert B\rvert \ll \frac{N^2}{\log N}?$$
This would be best possible, for example letting $A=[1,N/2]\cap \mathbb{N}$ and
$B=\{ N/2<p\leq N: p\textrm{ prime}\}$. This is true, and was proved by Szemerédi [Sz76].
In [Er72] Erdős goes on to ask whether
$$\lim_{N\to \infty}\max_{A,B\subseteq [N]}\frac{\lvert A\rvert\lvert B\rvert\log N}{N^2}$$
exists, where the maximum is over $A$ and $B$ with all the products $ab$ distinct, and to
determine its value. As noted in the comments to [896](https://www.erdosproblems.com/896) by van
Doorn, if the limit exists it must be $\geq 1$.
See also [425](https://www.erdosproblems.com/425) and [896](https://www.erdosproblems.com/896).
-/
@[category research solved, question, AMS 11, formal_proof using lean4 at
"https://github.com/plby/lean-proofs/blob/8822f7ddef30fadbd92e1c6ab4ed897af356af5e/src/latest/ErdosProblems/Erdos490.lean#L38"]
theorem erdos_490 : ∃ C : ℝ, ∀ᶠ N : ℕ in atTop,
∀ A B : Finset ℕ, A ⊆ Finset.Icc 1 N → B ⊆ Finset.Icc 1 N →
(∀ a₁ ∈ A, ∀ b₁ ∈ B, ∀ a₂ ∈ A, ∀ b₂ ∈ B, a₁ * b₁ = a₂ * b₂ → a₁ = a₂ ∧ b₁ = b₂) →
(A.card * B.card : ℝ) ≤ C * N ^ 2 / Real.log N := by
sorry
/--
Erdős [Er72] asks whether
$$\lim_{N\to \infty}\max_{A,B\subseteq [N]}\frac{\lvert A\rvert\lvert B\rvert\log N}{N^2}$$
exists, where the maximum is over $A$ and $B$ with all the products $ab$ distinct, and to
determine its value.
-/
@[category research open, question, AMS 11]
theorem erdos_490.variants.limit : ∃ L : ℝ, Tendsto (fun N : ℕ =>
(sSup {x : ℝ | ∃ A B : Finset ℕ, A ⊆ Finset.Icc 1 N ∧ B ⊆ Finset.Icc 1 N ∧
(∀ a₁ ∈ A, ∀ b₁ ∈ B, ∀ a₂ ∈ A, ∀ b₂ ∈ B, a₁ * b₁ = a₂ * b₂ → a₁ = a₂ ∧ b₁ = b₂) ∧
x = A.card * B.card}) * Real.log N / N ^ 2) atTop (nhds L) := by
sorry
end Erdos490
To prove it: keep every definition of Challenge.lean unchanged and prove Erdos490.erdos_490 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_erdos_490 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry fetch erdos-490 nosorry submit erdos-490 nosorry/erdos-490/Solution.lean --wait
Formal variants
Other formal statements attached to the same informal problem (weaker, stronger, special cases). Each is scored separately.
- erdos-490-variants-limit — open
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.