Dependent-choice sequence for recursive integer-prefix assembly
ProvedNestedSeatAlloc.IntPolicy.dependent_choice_sequenceairline-revenue-managementassembly-helperdependent-choiceinteger-protection-level
If every state has a next state satisfying a relation, an infinite sequence can be chosen whose successive states satisfy that relation.
Preamble
import Mathlib
Formal statement
namespace NestedSeatAlloc.IntPolicy
theorem dependent_choice_sequence {α : Type*} (R : α → α → Prop) (a₀ : α)
(hnext : ∀ a, ∃ b, R a b) :
∃ u : ℕ → α, u 0 = a₀ ∧ ∀ n, R (u n) (u (n + 1)) := by sorry
end NestedSeatAlloc.IntPolicySource
Complete constructive helper used to assemble the infinite integer policy from a finite-prefix extension relation.