Skip to content
Browse chapters
Imports

Chapter 8 — Compatibility guide

The canonical reader guide is CLRSLean.FourthEdition.Chapter_08. Legacy section imports continue to expose the native declarations in CLRS.Chapter08.

The comparison lower bound now has an actual reachable-run witness through comparisonSort_exists_run_lowerBound. Counting and radix use one stable indexed distribution per pass, with counters read from that execution. The public bucket sorter uses the same distributor and counted insertion sort; expectedBucketExecutionWork_isBigO bounds its actual work under independent uniform bucket assignments. The older bucketSortByRankCost and its expectation theorems describe the abstract occupancy budget.

These are declared controller/indexed-operation models. Array/list conversion, persistent storage copying, allocation internals, key-function internals, and full RAM execution are outside the model. Counting's indexed stable-bucket controller is distinct from the retained cumulative-count/scatter specification.