OAI/NumberTheory/EgyptianFractions/GoodSetRecursion.lean
4 declarations, 0 contain sorry, 0 declared as axioms
- def
OAI.Problem337.backwardFiniteSequenceline 9Source documentation
A finite backwards recursion, extended constantly beyond its terminal index.
def backwardFiniteSequence {α : Type*} (d : ℕ) (terminal : α) (step : ℕ → α → α) (j : ℕ) : α := … - theorem
OAI.Problem337.backwardFiniteSequence_terminalline 13 - theorem
OAI.Problem337.backwardFiniteSequence_stepline 17 - theorem
OAI.Problem337.exists_backward_good_setsline 30Source documentation
The exact finite good-set recurrence used in the residue descent always has a solution. Bounds may be arbitrary; monotonicity is not needed here.
theorem exists_backward_good_sets (d : ℕ) (bound : ℕ → ℕ) (indices : ℕ → Finset ℕ) (residue : ℕ → ℕ → ℕ → ℕ) : ∃ G : ℕ → Finset ℕ, (∀ j ≤ d, G j ⊆ Finset.Icc 1 (bound j)) ∧ G d = Finset.Icc 1 (bound d) ∧ (∀ j < d, ∀ u : ℕ, u ∈ G j ↔ u ∈ Finset.Icc 1 (bound j) ∧ (u ∈ G (j + 1) ∨ ∃ i ∈ indices j, residue j i u = 0 ∨ residue j i u ∈ G (j + 1))) := by …