Title:Erdős Problem 1195
Statement:Let be a set of infinite measure such that is never an integer for all distinct .
How fast can tend to infinity?
A question of Erdős [Er80, p. 101]. Ho Boon Suan and GPT-5.4 Pro [HoGPT] settled this: if is a non-decreasing function tending to infinity, then there exists such a set with if and only if Here is Lebesgue measure, is measurable, and the inequality is required for all sufficiently large . The statement says that the set of such is exactly the answer.
| Subjects: | Number Theory (math.NT); Classical Analysis and ODEs (math.CA) |
| MSC classes: | 11, 28 |
| Tags: | question, formal_proof |
| Cite as: | NS.00963 [math.NT] · NS.00963v1 for this version |
| Declaration: | Erdos1195.erdos_1195 |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60 |
| Statement hash: | 6af77dd7d9c77859058d3971a046f4290b57c508c3fe40c03a64d3ca0f3b3ab5 |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/ErdosProblems/1195.lean |
Formal statement
theorem erdos_1195 :
{F : ℝ → ℝ | IsGrowthRate F ∧ HasSet F} = erdos_1195.answerShow the full Challenge.lean (101 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Erdős Problem 1195
*References:*
- [erdosproblems.com/1195](https://www.erdosproblems.com/1195)
- [Er80] Erdős, Paul, *A survey of problems in combinatorial number theory*. Ann. Discrete Math.
(1980), 89-115. [PDF](https://www.renyi.hu/~p_erdos/1980-03.pdf)
- [Ha70] Haight, J. A., *A linear set of infinite measure with no two points having integral
ratio*. Mathematika (1970), 133--138.
- [HoGPT] Ho, Boon Suan and GPT-5.4 Pro, comments on Erdős Problem 1195. erdosproblems.com forum
thread. [Forum](https://www.erdosproblems.com/forum/thread/1195)
- [Sc69] Schmidt, W. M., *Disproof of some conjectures on Diophantine approximations*. Studia Sci.
Math. Hungar. (1969), 137-144.
- [Sz71] Szemerédi, E., *On a problem of W. Schmidt*. Studia Sci. Math. Hungar. (1971), 287--288.
-/
@[expose] public section
open Filter MeasureTheory
namespace Erdos1195
/-- The Lebesgue measure $\lvert S\cap (0,x)\rvert$ of $S\cap (0,x)$, as a real number. -/
noncomputable def countingFunction (S : Set ℝ) (x : ℝ) : ℝ :=
(volume (S ∩ Set.Ioo 0 x)).toReal
/-- `IntegerRatioFree S` says that $x/y$ is not an integer for all distinct $x,y\in S$. Negative
integers are included. Since `x / 0 = 0` in Lean, a set with at least two points cannot contain
`0`; this does not affect measures. -/
def IntegerRatioFree (S : Set ℝ) : Prop :=
∀ ⦃x⦄, x ∈ S → ∀ ⦃y⦄, y ∈ S → x ≠ y → ∀ z : ℤ, x / y ≠ z
/-- `IsGrowthRate F` says that $F$ is nonnegative and non-decreasing on $[1,\infty)$ and tends to
infinity. We use $F:\mathbb{R}\to\mathbb{R}$; only its values on $[1,\infty)$ matter. -/
def IsGrowthRate (F : ℝ → ℝ) : Prop :=
(∀ x ∈ Set.Ici (1 : ℝ), 0 ≤ F x) ∧ MonotoneOn F (Set.Ici 1) ∧ Tendsto F atTop atTop
/-- `HasSet F` says that there is a measurable set $S$ of infinite measure such that $x/y$ is
never an integer for distinct $x,y\in S$, and $\lvert S\cap (0,x)\rvert\geq F(x)$ for all
sufficiently large $x$. -/
def HasSet (F : ℝ → ℝ) : Prop :=
∃ S : Set ℝ, MeasurableSet S ∧ volume S = ⊤ ∧ IntegerRatioFree S ∧
∀ᶠ x in atTop, F x ≤ countingFunction S x
/-- The answer: the growth rates $F$ with $\int_1^\infty F(x)/x^2\,dx<\infty$. For a non-negative
monotone $F$, `IntegrableOn` is equivalent to this integral being finite. -/
def erdos_1195.answer : Set (ℝ → ℝ) :=
{F | IsGrowthRate F ∧ IntegrableOn (fun x ↦ F x / x ^ 2) (Set.Ici 1)}
set_option linter.style.formal_proof_palomar false in
/--
Let $S\subset \mathbb{R}$ be a set of infinite measure such that $x/y$ is never an integer for all
distinct $x,y\in S$.
How fast can $\lvert S\cap (0,x)\rvert$ tend to infinity?
A question of Erdős [Er80, p. 101]. Ho Boon Suan and GPT-5.4 Pro [HoGPT] settled this: if
$F:[1,\infty)\to [0,\infty)$ is a non-decreasing function tending to infinity, then there exists
such a set $S$ with
$\lvert S\cap (0,x)\rvert \geq F(x)$ if and only if
$$\int_1^\infty \frac{F(x)}{x^2}\mathrm{d}x < \infty.$$
Here $\lvert\cdot\rvert$ is Lebesgue measure, $S$ is measurable, and the inequality is required for
all sufficiently large $x$. The statement says that the set of such $F$ is exactly the answer.
-/
@[category research solved, question value, AMS 11 28, formal_proof using lean4 at
"https://github.com/plby/lean-proofs/blob/8822f7ddef30fadbd92e1c6ab4ed897af356af5e/src/latest/ErdosProblems/Erdos1195.lean#L1933"]
theorem erdos_1195 :
{F : ℝ → ℝ | IsGrowthRate F ∧ HasSet F} = erdos_1195.answer := by
sorry
/--
Schmidt [Sc69] asked whether such a set exists. Haight [Ha70] constructed a measurable set
$E\subset(0,\infty)$ of infinite Lebesgue measure such that $x_1/x_2$ is never an integer for
distinct $x_1,x_2\in E$, and Szemerédi [Sz71] independently constructed such a set.
-/
@[category research solved, AMS 11 28]
theorem erdos_1195.variants.exists_set :
∃ S : Set ℝ, MeasurableSet S ∧ S ⊆ Set.Ioi 0 ∧ volume S = ⊤ ∧ IntegerRatioFree S := by
sorry
end Erdos1195
To prove it: keep every definition of Challenge.lean unchanged and prove Erdos1195.erdos_1195 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_erdos_1195 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry fetch erdos-1195 nosorry submit erdos-1195 nosorry/erdos-1195/Solution.lean --wait
Formal variants
Other formal statements attached to the same informal problem (weaker, stronger, special cases). Each is scored separately.
- erdos-1195-variants-exists-set — 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.