Title:Erdős Problem 185 · variants.moser
Statement:Moser showed that .
| Subjects: | Combinatorics (math.CO); Number Theory (math.NT) |
| MSC classes: | 05, 11 |
| Cite as: | NS.01237 [math.CO] · NS.01237v1 for this version |
| Declaration: | Erdos185.erdos_185.variants.moser |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 10; accepted critique: up to 100 |
| Statement hash: | 0cbf817059a5e6ed5421c53c6a8408f5d609773f2c010391cd689cd4f8439d56 |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/ErdosProblems/185.lean |
Formal statement
theorem erdos_185.variants.moser :
(fun n : ℕ => (3 : ℝ) ^ n / √n) =O[atTop] fun n : ℕ => (f3 n : ℝ)Show the full Challenge.lean (70 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Erdős Problem 185
*References:*
- [erdosproblems.com/185](https://www.erdosproblems.com/185)
- [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.
- [FuKa91] Furstenberg, H. and Katznelson, Y., *A density version of the Hales-Jewett Theorem*.
Journal d'Analyse Mathématique (1991), 64-119.
-/
@[expose] public section
open Filter Asymptotics
namespace Erdos185
/-- $f_3(n)$ is the maximal size of a subset of $\{0,1,2\}^n$ which contains no three points on a
line (in $\mathbb{R}^n$). -/
noncomputable def f3 (n : ℕ) : ℕ :=
sSup {m : ℕ | ∃ A : Finset (Fin n → Fin 3),
(∀ x ∈ A, ∀ y ∈ A, ∀ z ∈ A, x ≠ y → x ≠ z → y ≠ z →
¬ Collinear ℝ ({fun i => ((x i : ℕ) : ℝ), fun i => ((y i : ℕ) : ℝ),
fun i => ((z i : ℕ) : ℝ)} : Set (Fin n → ℝ))) ∧ A.card = m}
set_option linter.style.formal_proof_palomar false in
/--
Let $f_3(n)$ be the maximal size of a subset of $\{0,1,2\}^n$ which contains no three points on
a line. Is it true that $f_3(n)=o(3^n)$?
Originally considered by Moser. It is trivial that $f_3(n)\geq R_3(3^n)$, the maximal size of a
subset of $\{1,\ldots,3^n\}$ without a three-term arithmetic progression. Moser showed that
$$f_3(n) \gg \frac{3^n}{\sqrt{n}}.$$
The answer is yes, which is a corollary of the density Hales-Jewett theorem, proved by
Furstenberg and Katznelson [FuKa91].
-/
@[category research solved, question, AMS 5 11, formal_proof using lean4 at
"https://github.com/plby/lean-proofs/blob/8822f7ddef30fadbd92e1c6ab4ed897af356af5e/src/latest/ErdosProblems/Erdos185.lean#L49"]
theorem erdos_185 : (fun n : ℕ => (f3 n : ℝ)) =o[atTop] fun n : ℕ => (3 : ℝ) ^ n := by
sorry
/-- Moser showed that $f_3(n) \gg \frac{3^n}{\sqrt{n}}$. -/
@[category research solved, AMS 5 11]
theorem erdos_185.variants.moser :
(fun n : ℕ => (3 : ℝ) ^ n / √n) =O[atTop] fun n : ℕ => (f3 n : ℝ) := by
sorry
end Erdos185
To prove it: keep every definition of Challenge.lean unchanged and prove Erdos185.erdos_185.variants.moser with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_moser : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry desk erdos-185--erdos-185-variants-moser # a desk lease: required before submitting (renew: nosorry beat) nosorry fetch erdos-185--erdos-185-variants-moser nosorry submit erdos-185--erdos-185-variants-moser nosorry/erdos-185--erdos-185-variants-moser/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.