-
Notifications
You must be signed in to change notification settings - Fork 133
Erdős Problem 503 #659
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Erdős Problem 503 #659
Changes from 10 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
6dc7d9b
Erdős Problem 503
rao107 ef8274d
add parentheses
rao107 9c2493c
rm some parentheses
rao107 1cf281b
Merge https://github.com/rao107/formal-conjectures into erdos_503
rao107 fb226e9
rm parenthesis, add whitespace
rao107 3839d67
use Set.Triplewise in definition
rao107 4af9e9b
Move defs to new file, tweak problems
rao107 f88c3e3
Merge branch 'main' of https://github.com/rao107/formal-conjectures i…
rao107 c434985
Added suggested comments
rao107 7eae09b
Merge https://github.com/rao107/formal-conjectures into erdos_503
rao107 2203436
Merge https://github.com/rao107/formal-conjectures into erdos_503
rao107 c4c3464
Move and rename definitions
rao107 e838a5f
Merge https://github.com/rao107/formal-conjectures into erdos_503
rao107 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,84 @@ | ||
| /- | ||
| Copyright 2025 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 FormalConjectures.Util.ProblemImports | ||
|
|
||
| /-! | ||
| # Erdős Problem 503 | ||
|
|
||
| *Reference:* [erdosproblems.com/503](https://www.erdosproblems.com/503) | ||
| -/ | ||
|
|
||
| namespace Erdos503 | ||
|
|
||
| open scoped EuclideanGeometry | ||
|
|
||
| /-- | ||
| What is the size of the largest $A \subseteq \mathbb{R}^n$ such that every three points from $A$ | ||
| determine an isosceles triangle? That is, for any three points $x$, $y$, $z$ from $A$, at least two | ||
| of the distances $|x - y|$, $|y - z|$, $|x - z|$ are equal. | ||
| -/ | ||
| @[category research open, AMS 51] | ||
| theorem erdos_503 (n : ℕ) : | ||
| IsGreatest {(A.ncard) | (A : Set (ℝ^n)) (hA : A.IsIsosceles)} answer(sorry) := by | ||
| sorry | ||
|
|
||
| /-- | ||
| When $n = 2$, the answer is 6 (due to Kelly [ErKe47] - an alternative proof is given by Kovács [Ko24c]). | ||
|
|
||
| [ErKe47] Erdős, Paul and Kelly, L. M., Elementary Problems and Solutions: Solutions: E735. Amer. Math. Monthly (1947), 227-229. | ||
| [Ko24c] Z. Kovács, A note on Erdős's mysterious remark. arXiv:2412.05190 (2024). | ||
| -/ | ||
| @[category research solved, AMS 51] | ||
| theorem erdos_503.variants.R2 : | ||
| IsGreatest {(A.ncard) | (A : Set ℝ²) (hA : A.IsIsosceles)} 6 := by | ||
| sorry | ||
|
|
||
| /-- | ||
| When $n = 3$, the answer is 8 (due to Croft [Cr62]). | ||
|
|
||
| [Cr62] Croft, H. T., $9$-point and $7$-point configurations in $3$-space. Proc. London Math. Soc. (3) (1962), 400-424. | ||
| -/ | ||
| @[category research solved, AMS 51] | ||
| theorem erdos_503.variants.R3 : | ||
| IsGreatest {(A.ncard) | (A : Set ℝ³) (hA : A.IsIsosceles)} 8 := by | ||
| sorry | ||
|
|
||
| /-- | ||
| The best upper bound known in general is due to Blokhius [Bl84] who showed that | ||
| $$ | ||
| |A| \leq \binom{n + 2}{2} | ||
| $$ | ||
|
|
||
| [Bl84] Blokhuis, A., Few-distance sets. (1984), iv+70. | ||
| -/ | ||
| @[category research solved, AMS 51] | ||
| theorem erdos_503.variants.upper_bound (n : ℕ) : | ||
| ∀ m ∈ {(A.ncard) | (A : Set (ℝ^n)) (hA : A.IsIsosceles)}, m ≤ (n + 2).choose 2 := by | ||
| sorry | ||
|
|
||
| /-- | ||
| Alweiss has observed a lower bound of $\binom{n + 1}{2}$ follows from considering the subset of | ||
| $\mathbb{R}^{n + 1}$ formed of all vectors $e_i + e_j$ where $e_i$, $e_j$ are distinct coordinate | ||
| vectors. This set can be viewed as a subset of some $\mathbb{R}^n$, and is easily checked to have | ||
| the required property. | ||
| -/ | ||
| @[category research solved, AMS 51] | ||
| theorem erdos_503.variants.lower_bound (n : ℕ) : | ||
| ∀ m ∈ {(A.ncard) | (A : Set (ℝ^n)) (hA : A.IsIsosceles)}, (n + 1).choose 2 ≤ m := by | ||
| sorry | ||
|
|
||
| end Erdos503 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| /- | ||
| Copyright 2025 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 Mathlib.Analysis.InnerProductSpace.PiL2 | ||
| import FormalConjectures.ForMathlib.Data.Set.Triplewise | ||
|
|
||
| scoped[EuclideanGeometry] notation "ℝ^" n:65 => EuclideanSpace ℝ (Fin n) | ||
|
|
||
| open scoped EuclideanGeometry | ||
|
|
||
| def IsIsoscelesRn {n : ℕ} (x y z : ℝ^n) := | ||
| dist x y = dist y z ∨ dist y z = dist x z ∨ dist x y = dist x z | ||
|
|
||
| def Set.IsIsosceles {n : ℕ} (A : Set (ℝ^n)) := A.Triplewise (IsIsoscelesRn · · ·) | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.