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 443

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

Let m,n≥1m,n\geq 1. What is #{k(m−k):1≤k≤m/2}∩{l(n−l):1≤l≤n/2}?\# \{ k(m-k) : 1\leq k\leq m/2\} \cap \{ l(n-l) : 1\leq l\leq n/2\}? Can it be arbitrarily large?

This was solved independently by Hegyvári [He25] and Cambie (unpublished), who show that if m>nm>n then the set in question has size ≤mO(1/log⁡log⁡m),\leq m^{O(1/\log\log m)}, and that for any integer ss there exist infinitely many pairs (m,n)(m,n) such that the set in question has size ss.

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

Formal statement

theorem erdos_443.parts.i :
    ∀ s : ℕ, ∃ m n : ℕ, n < m ∧ s ≤ (A n ∩ A m).card
Show the full Challenge.lean (76 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 443

*References:*
- [erdosproblems.com/443](https://www.erdosproblems.com/443)
- [ErGr80] Erdős, P. and Graham, R., *Old and new problems and results in combinatorial number
  theory*. Monographies de L'Enseignement Mathematique (1980).
- [He25] Hegyvári, Norbert, *An elementary question of Erdős and Graham*.
  arXiv:2503.24201 (2025).
-/

@[expose] public section

namespace Erdos443

/--
The set $\{k(m-k) : 1\leq k\leq m/2\}$, where `m / 2` is `ℕ` floor division.
-/
def A (m : ℕ) : Finset ℕ := (Finset.Icc 1 (m / 2)).image fun k => k * (m - k)

set_option linter.style.formal_proof_palomar false in
/--
Let $m,n\geq 1$. What is
$$\# \{ k(m-k) : 1\leq k\leq m/2\} \cap \{ l(n-l) : 1\leq l\leq n/2\}?$$
Can it be arbitrarily large?

This was solved independently by Hegyvári [He25] and Cambie (unpublished), who show that if
$m>n$ then the set in question has size
$$\leq m^{O(1/\log\log m)},$$
and that for any integer $s$ there exist infinitely many pairs $(m,n)$ such that the set in
question has size $s$.
-/
@[category research solved, question, AMS 11, formal_proof using lean4 at "https://github.com/plby/lean-proofs/blob/1d7b3f00780b85ed0462e79a1cd5650ee9055655/src/v4.29.1/ErdosProblems/Erdos443.lean"]
theorem erdos_443.parts.i :
    ∀ s : ℕ, ∃ m n : ℕ, n < m ∧ s ≤ (A n ∩ A m).card := by
  sorry

set_option linter.style.formal_proof_palomar false in
/--
Let $m,n\geq 1$. What is
$$\# \{ k(m-k) : 1\leq k\leq m/2\} \cap \{ l(n-l) : 1\leq l\leq n/2\}?$$
Is it $\leq (mn)^{o(1)}$ for all sufficiently large $m,n$?

This was solved independently by Hegyvári [He25] and Cambie (unpublished), who show that if
$m>n$ then the set in question has size
$$\leq m^{O(1/\log\log m)},$$
and that for any integer $s$ there exist infinitely many pairs $(m,n)$ such that the set in
question has size $s$.
-/
@[category research solved, question, AMS 11, formal_proof using lean4 at "https://github.com/plby/lean-proofs/blob/1d7b3f00780b85ed0462e79a1cd5650ee9055655/src/v4.29.1/ErdosProblems/Erdos443.lean"]
theorem erdos_443.parts.ii :
    ∀ ε : ℝ, 0 < ε → ∃ n₀ : ℕ, ∀ m n : ℕ, n₀ < n → n < m →
      ((A n ∩ A m).card : ℝ) < ((m : ℝ) * n) ^ ε := by
  sorry

end Erdos443

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

nosorry fetch erdos-443
nosorry submit erdos-443 nosorry/erdos-443/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.