/- 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 1207

References:

    erdosproblems.com/1207

    [BMP05] Brass, Peter and Moser, William and Pach, János, Research problems in discrete geometry. (2005), xii+499.

    [Er80] Erdős, Paul, A survey of problems in combinatorial number theory. Ann. Discrete Math. (1980), 89-115.

    [LPZ26] Lee, S., Pohoata, C., and Zhu, D. G., The Minkowski grid has robustly many repeated distances. arXiv:2607.05374 (2026).

    [PaTa02] Pach, János and Tardos, Gábor, Isosceles triangles determined by a planar point set. Graphs Combin. (2002), 769--779.

@[expose] public sectionopen Filteropen scoped EuclideanGeometrynamespace Erdos1207

P d n is the largest number $m$ such that every set of $n$ points in $\mathbb{R}^d$ has an isosceles-free subset of size at least $m$.

noncomputable def P (d n : ℕ) : ℕ := sInf {m : ℕ | ∃ S : Finset (ℝ^d), S.card = n ∧ m = sSup {k : ℕ | ∃ A ⊆ S, (A : Set (ℝ^d)).IsIsoscelesFree ∧ A.card = k}}

Let $P_d(n)$ be such that in any set of $n$ points in $\mathbb{R}^d$ there exist at least $P_d(n)$ many points which do not contain an isosceles triangle. Estimate $P_d(n)$ - in particular, is it true that $$P_2(n)<n^{1-c}$$ for some constant $c>0$?

Lee, Pohoata, and Zhu [LPZ26] proved the stated planar bound. Their isosceles-free subsets also exclude degenerate triangles of equally spaced collinear points.

@[category research solved, question, AMS 52] theorem erdos_1207 : ∃ c > (0 : ℝ), ∀ᶠ n : ℕ in atTop, (P 2 n : ℝ) < (n : ℝ) ^ (1 - c) := ⊢ ∃ c > 0, ∀ᶠ (n : ℕ) in atTop, ↑(P 2 n) < ↑n ^ (1 - c) All goals completed! 🐙end Erdos1207