A quiet tail at a canonical horizon produces the next A166944 record
ProvedA166944Research.a166944_quiet_tail_next_recordLet be the OEIS A166944 recurrence, its first differences, and a difference record with and . Suppose is an attained running maximum of up to the terminal index , and that from onward through the horizon every increment is a unit: for all . Assume also .
Then the value is itself a difference record, it is attained before , and it occurs at index :
In words: the terminal horizon of a capped canonical replay determines the next record exactly, one step beyond the point where the replay stopped. This is the structural reason the record sequence can be read forward from any certified start, and it is the first half of the mechanism that produces the twin-prime certificates at the next record: the value is at index , and its neighbours and are where the factor certificates attach.
The proof runs through the offset ledger. Quietness makes the offset constant across the tail, and the terminal identity (which follows from the same ledger) resets the recurrence at index . The content of this statement is that the reset is unconditional once the tail is quiet: no further hypothesis on or on the arithmetic of is needed.
import Definitions.Def_a166944_moving_horizon open A166944Research
namespace A166944Research
theorem a166944_quiet_tail_next_record {M sf Cf : Nat}
(hM : 968 ≤ M) (hF : 2 * M - 2 ≤ Cf)
(hstate : IsMovingHorizonState sf Cf) (hfmax : IsAttainedPreviousMaximum M sf)
(hquiet : ∀ j : Nat, sf < j → j ≤ Cf → d j = 1) :
M < Cf + 1 ∧ IsAttainedPreviousMaximum M (Cf + 2) ∧ d (Cf + 3) = Cf + 1 := by
sorry
end A166944Research