Quadratic bound is dominated by a polynomial bound
ProvedCookLevin.polyBound_of_quadcost-modelpolynomial-timequadratic-time
Every quadratic step bound of the form is bounded by the canonical polynomial bound .
Specifically, for any coefficient , choosing and degree yields:
which holds with equality for all .
This lemma bridges quadratic-time machine algorithms into the formal polynomial-time complexity framework PolyTimeDecidable.
Preamble
import Definitions.Def_CookLevin_Cost
Formal statement
namespace CookLevin
theorem polyBound_of_quad (c0 : Nat) :
∃ c d : Nat, ∀ n : Nat, c0 * (n + 1) ^ 2 ≤ polyBound c d n := by sorry
end CookLevinSource