A final state and forward relative choices bound histories
ProvedPvsNP.history_card_le_final_mul_relative_choicescombinatoricscomplexity-theoryformal-verification
Suppose the final state determines the initial state. At each round, the next state can be decoded from the current state, a round choice and the final state. The history count is at most the number of states times the number of choices to the power of the number of rounds.
Preamble
import Mathlib
Formal statement
theorem PvsNP.history_card_le_final_mul_relative_choices {State Choice : Type*}
[Fintype State] [Fintype Choice] (rounds : ℕ)
(initial : State → State)
(decode : Fin rounds → State → Choice → State → State) :
Nat.card {path : Fin (rounds + 1) → State //
path 0 = initial (path (Fin.last rounds)) ∧
∀ i : Fin rounds, ∃ choice : Choice,
path i.succ = decode i (path i.castSucc) choice (path (Fin.last rounds))} ≤
Fintype.card State * Fintype.card Choice ^ rounds := by sorrySource
Adaptive sparse rejection and iterated replay with bounded schedule variability.