/- 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. -/ import FormalConjecturesUtil

Erdős Problem 153

#TODO: Formalize the corresponding conjecture for infinite Sidon sets.

References:

    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.

open scoped Pointwiseopen 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, n:A:{A | #A = n IsSidon A}s:Fin #(A + A) ≃o (A + A) := (A + A).orderIsoOfFin i:(Set.Ico 1 #(A + A))i - 1 < #(A + A) All goals completed! 🐙) ^ 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, AMS 5] theorem declaration uses 'sorry'erdos_153 : answer(sorry) Tendsto f atTop atTop := True Tendsto f atTop atTop All goals completed! 🐙 end Erdos153