Simultaneous denominator repair in disjoint large-prime layers
ProvedErdos287.disjoint_large_prime_layer_repairs_can_be_combinedegyptian-fractionserdos-problemsnumber-theory
Let be a set of positive integers at most , with a prescribed set of nonadjacent omissions. Let be a set of primes greater than . In each layer for , suppose some subset of a reserve can be omitted along with so that the reciprocal sum of the remaining multiples has denominator coprime to . Assume all reserves consist of odd multiples of their layer primes and avoid and its neighbors. Then all local choices can be made simultaneously. The resulting omissions extend , are nonadjacent, and add at most positions. The remaining whole reciprocal sum has denominator coprime to every .
Preamble
import Mathlib
Formal statement
theorem Erdos287.disjoint_large_prime_layer_repairs_can_be_combined (I H P : Finset ℕ) (A : ℕ → Finset ℕ) (M Y : ℕ)
(hI : ∀ n ∈ I, 0 < n ∧ n ≤ M)
(hH : H ⊆ I) (hsep : ∀ n ∈ H, n + 1 ∉ H)
(hP : ∀ p ∈ P, p.Prime ∧ Y ≤ p) (hSq : M < Y ^ 2)
(hA : ∀ p ∈ P, ∀ n ∈ A p,
n ∈ I ∧ p ∣ n ∧ Odd n ∧ n ∉ H ∧ n - 1 ∉ H ∧ n + 1 ∉ H)
(hrepair : ∀ p ∈ P, ∃ T ⊆ A p,
¬ p ∣ (∑ n ∈ (I.filter (fun n => p ∣ n)) \ (H ∪ T), (1 : ℚ) / n).den) :
∃ O ⊆ I, H ⊆ O ∧ (∀ n ∈ O, n + 1 ∉ O) ∧
(∀ p ∈ P, ¬ p ∣ (∑ n ∈ I \ O, (1 : ℚ) / n).den) ∧
(O \ H).card ≤ ∑ p ∈ P, (A p).card := by sorry
Source
Erdős Problem 287, https://www.erdosproblems.com/287.