Index of theproofnetwork/open-problems@860a535/FormalConjectures/ErdosProblems/Erdos332.lean

qedmarket’s copy of theproofnetwork/open-problems@860a535, 1 Dec 2026original source ↗

62 lines · 2.1 kBraw
/-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, softwaredistributed 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 andlimitations under the License.-/module public import FormalConjecturesUtil /-!# Erdős Problem 332 *Reference:* [erdosproblems.com/332](https://www.erdosproblems.com/332)-/ @[expose] public section namespace Erdos332 open Set /--The set of numbers $D(A)$ which occur infinitely often as $a_1 - a_2$ with $a_1, a_2 \in A$.-/noncomputable def D_A (A : Set ℕ) : Set ℤ :=  { d : ℤ | Set.Infinite { (a, b) : ℕ × ℕ | a ∈ A ∧ b ∈ A ∧ (a : ℤ) - (b : ℤ) = d } } /--A set $S \subseteq \mathbb{Z}$ has bounded gaps if it is syndetic, meaning there is a uniformbound $M$ such that every interval of length $M$ contains an element of $S$.-/def HasBoundedGaps (S : Set ℤ) : Prop :=  ∃ M : ℕ, M > 0 ∧ ∀ z : ℤ, ∃ s ∈ S, z ≤ s ∧ s < z + (M : ℤ) def erdos_332.answer : Set ℕ → Prop := sorry /--Let $A\subseteq \mathbb{N}$ and $D(A)$ be the set of those numbers which occur infinitely often as$a_1 - a_2$ with $a_1, a_2\in A$. What conditions on $A$ are sufficient to ensure $D(A)$ has boundedgaps? The sufficient conditions are the unknown `erdos_332.answer`. In order to solve this problem onehas to provide what the sufficient conditions are, and proof that they imply the desired condition.If the condition is a solution to the problem is up to human judgement.-/@[category research open, question value, AMS 11]theorem erdos_332 (A : Set ℕ) : erdos_332.answer A → HasBoundedGaps (D_A A) := by  sorry -- TODO(firsching): formalize additional statements end Erdos332

download (.tar)