Title:Erdős Problem 202
Statement:Let with associated such that the congruence classes are disjoint (that is, every integer is for at most one ). How large can be in terms of ?
Let be the maximum possible , and let .
This was proved by GPT-5.4 Pro (prompted by Ho Boon Suan), using the argument of [BFV13] together with the resolution of the Kahn-Kalai conjecture by Park and Pham [PaPh24], so that
| Subjects: | Combinatorics (math.CO); Number Theory (math.NT) |
| MSC classes: | 05, 11 |
| Tags: | formal_proof |
| Cite as: | NS.01289 [math.CO] · NS.01289v1 for this version |
| Declaration: | Erdos202.erdos_202 |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60 |
| Statement hash: | 7142f4012da962f3d0140098610ac4aca91fa97d1335000e5a026e775ef0b823 |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/ErdosProblems/202.lean |
Formal statement
theorem erdos_202 : ∃ o : ℕ → ℝ, o =o[atTop] (1 : ℕ → ℝ) ∧
∀ᶠ N : ℕ in atTop, (f N : ℝ) = (N : ℝ) * scaleL N ^ (-1 + o N)Show the full Challenge.lean (77 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Erdős Problem 202
*References:*
- [erdosproblems.com/202](https://www.erdosproblems.com/202)
- [BFV13] de la Bretèche, Régis and Ford, Kevin and Vandehey, Joseph, *On non-intersecting
arithmetic progressions*. Acta Arith. (2013), 381-392.
- [Ch05] Chen, Yong-Gao, *On disjoint arithmetic progressions*. Acta Arith. (2005), 143-148.
- [Cr03b] Croot, III, Ernest S., *On non-intersecting arithmetic progressions*. Acta Arith.
(2003), 233-238.
- [ErSz68] Erdős, P. and Szemerédi, E., *On a problem of P. Erdős and S. Stein*. Acta Arith.
(1968), 85-90.
- [PaPh24] Park, Jinyoung and Pham, Huy Tuan, *A proof of the Kahn-Kalai conjecture*. J. Amer.
Math. Soc. (2024), 235-243.
-/
@[expose] public section
open Filter Real
namespace Erdos202
/--
`f N` is the maximum possible `r` such that there are moduli $n_1<\cdots<n_r\leq N$ with
associated residues $a_i\pmod{n_i}$ whose congruence classes are disjoint.
-/
noncomputable def f (N : ℕ) : ℕ :=
sSup {r : ℕ | ∃ n : Fin r → ℕ, ∃ a : Fin r → ℤ,
StrictMono n ∧ (∀ i, 0 < n i ∧ n i ≤ N) ∧
∀ m : ℤ, ∀ i j : Fin r, m ≡ a i [ZMOD (n i : ℤ)] → m ≡ a j [ZMOD (n j : ℤ)] → i = j}
set_option linter.style.formal_proof_palomar false in
/--
Let $n_1<\cdots < n_r\leq N$ with associated $a_i\pmod{n_i}$ such that the congruence classes are
disjoint (that is, every integer is $\equiv a_i\pmod{n_i}$ for at most one $1\leq i\leq r$). How
large can $r$ be in terms of $N$?
Let $f(N)$ be the maximum possible $r$, and let $L(N)=\exp(\sqrt{\log N\log\log N})$.
This was proved by GPT-5.4 Pro (prompted by Ho Boon Suan), using the argument of [BFV13] together
with the resolution of the Kahn-Kalai conjecture by Park and Pham [PaPh24], so that
$$f(N)= N L(N)^{-1+o(1)}.$$
-/
@[category research solved, AMS 5 11, formal_proof using lean4 at "https://github.com/plby/lean-proofs/blob/main/src/v4.29.1/ErdosProblems/Erdos202.lean"]
theorem erdos_202 : ∃ o : ℕ → ℝ, o =o[atTop] (1 : ℕ → ℝ) ∧
∀ᶠ N : ℕ in atTop, (f N : ℝ) = (N : ℝ) * scaleL N ^ (-1 + o N) := by
sorry
/--
Erdős and Stein conjectured that $f(N)=o(N)$, which was proved by Erdős and Szemerédi [ErSz68].
-/
@[category research solved, AMS 5 11]
theorem erdos_202.variants.erdos_szemeredi :
(fun N => (f N : ℝ)) =o[atTop] (fun N : ℕ => (N : ℝ)) := by
sorry
end Erdos202
To prove it: keep every definition of Challenge.lean unchanged and prove Erdos202.erdos_202 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_erdos_202 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry fetch erdos-202 nosorry submit erdos-202 nosorry/erdos-202/Solution.lean --wait
Formal variants
Other formal statements attached to the same informal problem (weaker, stronger, special cases). Each is scored separately.
- erdos-202-variants-erdos-szemeredi — 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.