OAI/NumberTheory/EgyptianFractions/GoodNumeratorSets.lean
3 declarations, 0 contain sorry, 0 declared as axioms
- def
OAI.Problem337.goodNumeratorAuxline 10Source documentation
Finite backwards construction, indexed first by the number of remaining steps so that its recursion is structurally terminating.
private def goodNumeratorAux (X : ℕ → ℝ) (I : ℕ → Finset ℕ) (res : ℕ → ℕ → ℕ → ℕ) : ℕ → ℕ → Finset ℕ | 0, j => Finset.Icc 1 ⌊X j⌋₊ | n + 1, j => by classical exact (Finset.Icc 1 ⌊X j⌋₊).filter (fun u => u ∈ goodNumeratorAux X I res n (j + 1) ∨ ∃ i ∈ I j, res j i u = 0 ∨ res j i u ∈ goodNumeratorAux X I res n (j + 1)) - theorem
OAI.Problem337.goodNumeratorAux_subsetline 20 - theorem
OAI.Problem337.exists_good_numerator_setsline 29Source documentation
The good numerator sets exist for arbitrary finite indexed residue maps. No arithmetic distribution or analytic estimate is required for this recursion.
theorem exists_good_numerator_sets (d : ℕ) (X : ℕ → ℝ) (I : ℕ → Finset ℕ) (res : ℕ → ℕ → ℕ → ℕ) : ∃ G : ℕ → Finset ℕ, (∀ j ≤ d, G j ⊆ Finset.Icc 1 ⌊X j⌋₊) ∧ G d = Finset.Icc 1 ⌊X d⌋₊ ∧ (∀ j < d, ∀ u : ℕ, u ∈ G j ↔ u ∈ Finset.Icc 1 ⌊X j⌋₊ ∧ (u ∈ G (j + 1) ∨ ∃ i ∈ I j, res j i u = 0 ∨ res j i u ∈ G (j + 1))) := by …