Large scan delays under a fixed threshold shift are rare
ProvedPvsNP.threshold_large_delays_card_mul_lecomplexity-theoryformal-verification
Let a nonincreasing natural-valued cutoff be bounded above by a maximum. Take any consecutive interval of thresholds and add a fixed shift to each threshold. The number of cutoffs that decrease by at least a chosen delay, multiplied by that delay, is at most the shift times the maximum cutoff.
Preamble
import Mathlib.Algebra.Order.BigOperators.Group.Finset import Mathlib.Algebra.BigOperators.Group.Finset.Basic import Mathlib.Order.Monotone.Basic import Lean.Elab.Tactic.Omega set_option autoImplicit false
Formal statement
theorem PvsNP.threshold_large_delays_card_mul_le (cutoff : ℕ → ℕ) (decreasing : Antitone cutoff)
(maximum first count shift large : ℕ) (bounded : ∀ threshold, cutoff threshold ≤ maximum) :
let bad := (Finset.range count).filter fun i =>
large ≤ cutoff (first + i) - cutoff (first + i + shift)
bad.card * large ≤ shift * maximum := by sorrySource
Finite threshold averaging for a monotone prefix conflict profile.