The canonical rounded balanced cost is monotone
ProvedCLRS.Chapter4SubstitutionExamples.balancedCost_monotoneLet be the constructed total balanced recurrence with , , and for .
For all natural sizes ,
The result concerns this exact recurrence, including its fixed base values, not an arbitrary function with only an asymptotic recurrence bound. It permits estimates at nearby powers of two to control every natural size.
Platform namespace. The imported Chapter 4 source declarations live under CLRS in this upload to avoid collisions with independently published compiler versions. The immutable source reference retains the original declaration names.
Catalog organization (2026-10-11). This record was retired from the active Chapter 4 catalog to focus the presentation on three algorithms and four reusable recurrence results. Its mathematical statement and proof status are unchanged, and existing imports and links remain valid. The retained results are CLRS.Chapter4Substitution.upper_comparison, CLRS.Chapter4Substitution.lower_comparison. Supporting lemmas needed by the retained results are included in their accepted proof files.
import Definitions.Def_CLRS_Chapter4_Substitution import Definitions.Def_CLRS_Chapter4_SubstitutionExamples import Std set_option autoImplicit false set_option backward.isDefEq.respectTransparency false set_option backward.defeqAttrib.useBackward true namespace CLRS end CLRS open CLRS namespace CLRS.Chapter4SubstitutionExamples end CLRS.Chapter4SubstitutionExamples open CLRS.Chapter4SubstitutionExamples open Chapter4Substitution
theorem CLRS.Chapter4SubstitutionExamples.balancedCost_monotone {a b : Nat} (ordered : a ≤ b) :
balancedCost a ≤ balancedCost b := by sorry