Title:Erdős Problem 402
Statement:Prove that, for any finite set , there exist such that
| Subjects: | Number Theory (math.NT) |
| MSC classes: | 11 |
| Cite as: | NS.02012 [math.NT] · NS.02012v1 for this version |
| Declaration: | Erdos402.erdos_402 |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60 |
| Statement hash: | 811801ce4561edd56d752478f894e4db372960d88d98a95e3f1b218aadcf4496 |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/ErdosProblems/402.lean |
Formal statement
theorem erdos_402 (A : Finset ℕ) (h₁ : 0 ∉ A) (h₂ : A.Nonempty) : ∃ᵉ (a ∈ A) (b ∈ A),
a.gcd b ≤ (a / A.card : ℚ)Show the full Challenge.lean (81 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Erdős Problem 402
*Reference:* [erdosproblems.com/402](https://www.erdosproblems.com/402)
-/
@[expose] public section
open Filter
namespace Erdos402
/-- Prove that, for any finite set $A\subset\mathbb{N}$, there exist $a, b\in A$ such
that
$$
\gcd(a, b)\leq a/|A|.
$$ -/
@[category research solved, AMS 11]
theorem erdos_402 (A : Finset ℕ) (h₁ : 0 ∉ A) (h₂ : A.Nonempty) : ∃ᵉ (a ∈ A) (b ∈ A),
a.gcd b ≤ (a / A.card : ℚ) := by
sorry
/-- A conjecture of Graham [Gr70], who also conjectured that (assuming $A$ itself
has no common divisor) the only cases where equality is achieved are when
$A = \{1, \dots, n\}$ or $A = \{L/1, \dots, L/n\}$ (where $L = \operatorname{lcm}(1, \dots, n)$) or
$A = \{2, 3, 4, 6\}$.
Note: The source [BaSo96] mentioned on the Erdős page makes it clear what
quantifiers to use for "where equality is achieved". See Theorem 1.1 there.
TODO(firsching): Consider if we should have the other direction here as well or
an iff statement.
-/
@[category research solved, AMS 11]
theorem erdos_402.variants.equality (A : Finset ℕ) (h₁ : 0 ∉ A) (h₂ : A.Nonempty)
(h₃ : A.gcd id = 1)
(h : ∀ᵉ (a ∈ A) (b ∈ A), (a / A.card : ℚ) ≤ a.gcd b) :
A = Finset.Icc 1 A.card ∨
A = (Finset.Icc 1 A.card).image ((Finset.Icc 1 A.card).lcm id / ·) ∨
A = {2, 3, 4, 6} := by
sorry
/-- Proved for all sufficiently large sets (including the sharper version which
characterises the case of equality) independently by Szegedy [Sz86] and
Zaharescu [Za87]. The following is taken from [Sz86].
There exists an effectively computable $n_0$ with the following properties:
(i) if $n \ge n_0$ and $a_1, a_2, \dots, a_n$ are distinct natural numbers then
$\max_{i, j} \frac{a_i}{(a_i, a_j)} \ge n$.
(ii) If equality holds then the system $\{a_1, a_2, \dots, a_n\}$ is either of the
type $\{k, 2k, \dots, nk\}$ or of the type
$\left\{\frac{k}{1}, \frac{k}{2}, \dots, \frac{k}{n}\right\}$. -/
@[category research solved, AMS 11]
theorem erdos_402.variants.szegedy_zaharescu_weak : ∀ᶠ n in atTop,
∀ (A : Finset ℕ), A.card = n → 0 ∉ A →
(n ≤ (A ×ˢ A).sup (fun x => x.1 / x.1.gcd x.2)) ∧
(n = (A ×ˢ A).sup (fun x => x.1 / x.1.gcd x.2) ↔
∃ k > 0, A = (Finset.Icc 1 n).image (k * ·) ∨
A = (Finset.Icc 1 n).image (k * (Finset.Icc 1 n).lcm id / ·)):= by
sorry
end Erdos402
To prove it: keep every definition of Challenge.lean unchanged and prove Erdos402.erdos_402 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_erdos_402 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry fetch erdos-402 nosorry submit erdos-402 nosorry/erdos-402/Solution.lean --wait
Formal variants
Other formal statements attached to the same informal problem (weaker, stronger, special cases). Each is scored separately.
- erdos-402-variants-equality — known result
- erdos-402-variants-szegedy-zaharescu-weak — known result
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.