Title:Erdős Problem 178
Statement:Let be an infinite collection of infinite sets of integers, say . Does there exist some such that for all ?
Erdős remarks 'it seems certain that the answer is affirmative'. This was solved by Beck [Be81]. Recently Beck [Be17] proved that one can replace with for any .
| Subjects: | Number Theory (math.NT) |
| MSC classes: | 11 |
| Tags: | question, formal_proof |
| Cite as: | NS.01211 [math.NT] · NS.01211v1 for this version |
| Declaration: | Erdos178.erdos_178 |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60 |
| Statement hash: | 90b24bde43105f35ccb4aadac2f7fc8f3fdff5f508db2743bcdc1cc6a29c3348 |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/ErdosProblems/178.lean |
Formal statement
theorem erdos_178 :
∀ (a : ℕ → ℕ → ℕ) (ha : ∀ i, StrictMono (a i)),
∃ f : ℕ → ℤ, (∀ n, f n = 1 ∨ f n = -1) ∧
∀ d : ℕ, ∃ C : ℕ, ∀ m i : ℕ, i < d →
|∑ j ∈ range m, f (a i j)| ≤ ↑CShow the full Challenge.lean (55 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Erdős Problem 178
*References:*
- [erdosproblems.com/178](https://www.erdosproblems.com/178)
- [ErGr79] Erdős, P. and Graham, R., *Old and new problems and results in combinatorial number theory: van der Waerden's theorem and related topics*. Enseign. Math. (1979), 325-344.
- [ErGr80] Erdős, P. and Graham, R., *Old and new problems and results in combinatorial number theory*. Monographies de L'Enseignement Mathématique (1980).
- [Be81] Beck, József, *Balancing families of integer sequences*. Combinatorica (1981), 209-216.
- [Be17] Beck, József, *A discrepancy problem: balancing infinite dimensional vectors*. Number theory—Diophantine problems, uniform distribution and applications (2017), 61-82.
-/
@[expose] public section
namespace Erdos178
open Finset BigOperators
set_option linter.style.formal_proof_palomar false in
/--
Let $A_1,A_2,\ldots$ be an infinite collection of infinite sets of integers, say
$A_i=\{a_{i1}<a_{i2}<\cdots\}$. Does there exist some $f:\mathbb{N}\to\{-1,1\}$ such that
$$\max_{m, 1\leq i\leq d} \left\lvert \sum_{1\leq j\leq m} f(a_{ij})\right\rvert \ll_d 1$$
for all $d\geq 1$?
Erdős remarks 'it seems certain that the answer is affirmative'. This was solved by Beck [Be81]. Recently Beck [Be17] proved that one can replace $\ll_d 1$ with $\ll d^{4+\epsilon}$ for any $\epsilon>0$.
-/
@[category research solved, question, AMS 11, formal_proof using lean4 at "https://github.com/plby/lean-proofs/blob/main/src/v4.29.1/ErdosProblems/Erdos178.lean"]
theorem erdos_178 :
∀ (a : ℕ → ℕ → ℕ) (ha : ∀ i, StrictMono (a i)),
∃ f : ℕ → ℤ, (∀ n, f n = 1 ∨ f n = -1) ∧
∀ d : ℕ, ∃ C : ℕ, ∀ m i : ℕ, i < d →
|∑ j ∈ range m, f (a i j)| ≤ ↑C := by
sorry
end Erdos178
To prove it: keep every definition of Challenge.lean unchanged and prove Erdos178.erdos_178 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_erdos_178 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry fetch erdos-178 nosorry submit erdos-178 nosorry/erdos-178/Solution.lean --wait
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.