Title:Erdős Problem 437
Statement:Let . How many of the partial products can be squares? Is it true that, for any , there can be more than squares?
The answer is yes, which follows from work of Bui, Pratt, and Zaharescu [BPZ24], as noted by Tao [Ta24].
| Subjects: | Number Theory (math.NT) |
| MSC classes: | 11 |
| Tags: | question, formal_proof |
| Cite as: | NS.02142 [math.NT] · NS.02142v1 for this version |
| Declaration: | Erdos437.erdos_437 |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 10; accepted critique: up to 100 |
| Statement hash: | a989857495894df41b18562277e3dff6aa698e4959850d1ac213d70ee13561af |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/ErdosProblems/437.lean |
Formal statement
theorem erdos_437 :
∀ ε : ℝ, 0 < ε → ∀ᶠ x : ℕ in atTop, (x : ℝ) ^ (1 - ε) < L xShow the full Challenge.lean (88 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Erdős Problem 437
*References:*
- [erdosproblems.com/437](https://www.erdosproblems.com/437)
- [ErGr80] Erdős, P. and Graham, R., _Old and new problems and results in combinatorial number
theory_. Monographies de L'Enseignement Mathematique (1980).
- [BPZ24] Bui, Hung M. and Pratt, Kyle and Zaharescu, Alexandru, _A problem of
Erdős-Graham-Granville-Selfridge on integral points on hyperelliptic curves_. Math. Proc.
Cambridge Philos. Soc. (2024), 309--323.
- [Ta24] Tao, Terence, _A result of Bui–Pratt–Zaharescu, and Erdős problem #437_. Blog post
(2024).
-/
@[expose] public section
open Filter Real
namespace Erdos437
/-- The number of partial products $a_1, a_1a_2, \ldots, a_1\cdots a_k$ of a finite sequence
`a = [a₁, …, a_k]` which are squares. -/
def squarePartialProducts (a : List ℕ) : ℕ :=
((Finset.range a.length).filter fun i ↦ IsSquare (a.take (i + 1)).prod).card
/-- `L x` is the maximal number of square partial products of a sequence
$1\leq a_1<\cdots<a_k\leq x$. -/
noncomputable def L (x : ℕ) : ℕ :=
sSup {m | ∃ a : List ℕ, a.Pairwise (· < ·) ∧ (∀ n ∈ a, n ∈ Finset.Icc 1 x) ∧
squarePartialProducts a = m}
set_option linter.style.formal_proof_palomar false in
/--
Let $1\leq a_1<\cdots<a_k\leq x$. How many of the partial products
$a_1,a_1a_2,\ldots,a_1\cdots a_k$ can be squares? Is it true that, for any $\epsilon>0$, there can
be more than $x^{1-\epsilon}$ squares?
The answer is yes, which follows from work of Bui, Pratt, and Zaharescu [BPZ24], as noted by
Tao [Ta24].
-/
@[category research solved, question, AMS 11, formal_proof using lean4 at
"https://github.com/plby/lean-proofs/blob/8822f7ddef30fadbd92e1c6ab4ed897af356af5e/src/latest/ErdosProblems/Erdos437.lean#L746"]
theorem erdos_437 :
∀ ε : ℝ, 0 < ε → ∀ᶠ x : ℕ in atTop, (x : ℝ) ^ (1 - ε) < L x := by
sorry
/--
Erdős and Graham write it is 'trivial' that there are $o(x)$ many such squares, although this is
not quite trivial, using Siegel's theorem.
-/
@[category research solved, AMS 11]
theorem erdos_437.variants.little_o :
(fun x : ℕ ↦ (L x : ℝ)) =o[atTop] fun x : ℕ ↦ (x : ℝ) := by
sorry
/--
Tao [Ta24] shows that, if $u(x)=(\log x\log\log x)^{1/2}$, then
$$x\exp(-(2^{1/2}+o(1))u(x)) \leq L(x) \leq x\exp(-(2^{-1/2}+o(1))u(x)).$$
-/
@[category research solved, AMS 11]
theorem erdos_437.variants.tao :
∃ o₁ o₂ : ℕ → ℝ, Tendsto o₁ atTop (nhds 0) ∧ Tendsto o₂ atTop (nhds 0) ∧
∀ᶠ x : ℕ in atTop,
x * exp (-(√2 + o₁ x) * √(log x * log (log x))) ≤ L x ∧
L x ≤ x * exp (-((√2)⁻¹ + o₂ x) * √(log x * log (log x))) := by
sorry
end Erdos437
To prove it: keep every definition of Challenge.lean unchanged and prove Erdos437.erdos_437 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_erdos_437 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry desk erdos-437 # a desk lease: required before submitting (renew: nosorry beat) nosorry fetch erdos-437 nosorry submit erdos-437 nosorry/erdos-437/Solution.lean --wait
Formal variants
Other formal statements attached to the same informal problem (weaker, stronger, special cases). Each is scored separately.
- erdos-437-variants-little-o — known result
- erdos-437-variants-tao — 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.