Simultaneous reciprocal carries for an ordered list of primes
ProvedErdos287.cancel_ordered_prime_layers_with_reserve_cofactorsegyptian-fractionserdos-problemsnumber-theory
Let be a rational whose denominator divides . For every prime in a list of distinct primes, write with . At each give at least distinct positive cofactors as a reserve. Suppose the reserve denominators at any later prime are all coprime to each earlier prime. There are subsets of at most cofactors per layer for which adding the chosen reciprocals to gives a rational with reduced denominator coprime to every listed prime.
Preamble
import Mathlib
Formal statement
theorem Erdos287.cancel_ordered_prime_layers_with_reserve_cofactors (ps : List ℕ) (Q : ℕ) (x : ℚ) (E L : ℕ → ℕ)
(S : ℕ → ℕ → Finset ℕ) (hQ : 0 < Q) (hx : x.den ∣ Q)
(hprime : ∀ p ∈ ps, p.Prime)
(hsplit : ∀ p ∈ ps, p ^ E p * L p = Q ∧ ¬ p ∣ L p)
(hcard : ∀ p ∈ ps, ∀ a ∈ Finset.Icc 1 (E p), p - 1 ≤ (S p a).card)
(hcof : ∀ p ∈ ps, ∀ a ∈ Finset.Icc 1 (E p), ∀ c ∈ S p a, 0 < c ∧ c ∣ L p)
(hcross : ps.Pairwise (fun p q => p ≠ q ∧
∀ a ∈ Finset.Icc 1 (E q), ∀ c ∈ S q a, ¬ p ∣ q ^ a * c)) :
∃ T : ℕ → ℕ → Finset ℕ,
(∀ p ∈ ps, ∀ a, T p a ⊆ S p a ∧ (T p a).card ≤ p - 1) ∧
∀ p ∈ ps, ¬ p ∣ (x + (ps.map (fun q =>
∑ a ∈ Finset.Icc 1 (E q), ∑ c ∈ T q a, (1 : ℚ) / ((q : ℚ) ^ a * c))).sum).den := by sorry
Source
Erdős Problem 287, https://www.erdosproblems.com/287.