Eventual domination extends over a positive tail
ProvedThreeSum1960614.Machine.ThreeSumApsp.Dominated.of_eventually3sum-1960614algorithmsformal-verification
Let , with eventually. If for every , then is dominated by on that whole tail in the framework sense.
This tail-extension result makes eventual asymptotic comparisons usable in solver contracts requiring bounds on a full tail.
Preamble
/-
Copyright (c) 2026 Anthropic, PBC. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
SPDX-License-Identifier: Apache-2.0
-/
import Definitions.Def_ThreeSum1960614_Machine_Bundle003
import Lean
import Mathlib.Algebra.Order.BigOperators.Group.Finset
import Mathlib.Analysis.Asymptotics.Lemmas
import Mathlib.Analysis.Normed.Field.Basic
import Mathlib.Data.Real.Basic
import Mathlib.Order.Filter.AtTopBot.Basic
namespace Asymptotics
end Asymptotics
namespace Filter
end Filter
namespace ThreeSum1960614.Machine.ThreeSumApsp
end ThreeSum1960614.Machine.ThreeSumApsp
namespace ThreeSum1960614.Machine.ThreeSumApsp.Dominated
end ThreeSum1960614.Machine.ThreeSumApsp.Dominated
namespace ThreeSumApsp
end ThreeSumApsp
namespace ThreeSumApsp.Dominated
end ThreeSumApsp.Dominated
open _root_.Filter
open _root_.Asymptotics
open _root_.ThreeSumApsp
open _root_.ThreeSum1960614.Machine.ThreeSumApsp
open _root_.ThreeSum1960614.Machine.ThreeSumApsp.Dominated
variable {α β : Type*} {dom dom' : α → Prop} {f f' g g' h k f₁ f₂ g₁ g₂ : α → ℝ}
Formal statement
theorem ThreeSum1960614.Machine.ThreeSumApsp.Dominated.of_eventually {f g : ℕ → ℝ} {C : ℝ} (hfg : ∀ᶠ n in atTop, f n ≤ C * g n) {n₀ : ℕ}
(hg : ∀ n, n₀ ≤ n → 0 < g n) : _root_.ThreeSum1960614.Machine.ThreeSumApsp.Dominated (fun n => n₀ ≤ n) f g := by sorrySource