Sum of two polyBound functions is bounded by a polyBound
ProvedCookLevin.polyBound_addcomplexity-theorycost-modelpolynomial-time
The sum of two polynomial bounds and is bounded by a single polynomial bound .
Specifically, for any leading coefficients and degrees , there exist such that for all :
Taking and (or ), each term satisfies because . Summing the two inequalities yields .
This closure property under addition is the analytic ingredient required to verify that sequential composition of polynomial-time Turing machine computations preserves polynomial running time.
Preamble
import Definitions.Def_CookLevin_Cost
Formal statement
namespace CookLevin
theorem polyBound_add (c1 d1 c2 d2 : Nat) :
∃ c d : Nat, ∀ n : Nat, polyBound c1 d1 n + polyBound c2 d2 n ≤ polyBound c d n := by sorry
end CookLevinSource