Show full file and definitions
/-
Copyright 2026 The Formal Conjectures Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-/
module
public import FormalConjecturesUtil
/-!
# Erdős Problem 153
#TODO: Formalize the corresponding conjecture for infinite Sidon sets.
*References:*
- [erdosproblems.com/153](https://www.erdosproblems.com/153)
- [ESS94] Erdős, P. and Sárközy, A. and Sós, T., On Sum Sets of Sidon Sets, I. Journal of Number
Theory (1994), 329-347.
-/
@[expose] public section
open scoped Pointwise
open Filter Finset Nat
namespace Erdos153
/-- Define $f(n)$ to be the minimum of
$\frac{1}{t}\sum_{1\leq i<t}(s_{i+1}-s_i)^2$ as $A$ ranges over all Sidon sets of size $n$, where
$A+A=\{s_1<\cdots<s_t\}$. -/
noncomputable def f (n : ℕ) : ℝ := ⨅ A : {A : Finset ℕ | A.card = n ∧ IsSidon (A : Set ℕ)},
let s := (A.1 + A).orderIsoOfFin rfl
(∑ i : Set.Ico 1 ((A.1 + A).card), (s ⟨i, i.2.2⟩ - s ⟨i - 1, by grind⟩) ^ 2 : ℝ) / ((A.1 + A).card : ℝ)
/-- Let $A$ be a finite Sidon set and $A+A=\{s_1<\cdots<s_t\}$. Is it true that
$$\frac{1}{t}\sum_{1\leq i<t}(s_{i+1}-s_i)^2 \to \infty$$
as $\lvert A\rvert\to \infty$? -/
@[category research open, question, AMS 5]
theorem erdos_153 : Tendsto f atTop atTop := by
sorry
end Erdos153