Imports
import CLRSLean.FourthEdition.Chapter_06.Section_06_1_Heaps
import CLRSLean.FourthEdition.Chapter_06.Section_06_2_Maintaining_Heap_Property
import CLRSLean.FourthEdition.Chapter_06.Section_06_3_Building_A_Heap
import CLRSLean.FourthEdition.Chapter_06.Section_06_4_Heapsort
import CLRSLean.FourthEdition.Chapter_06.Section_06_4_Heapsort.CostedExecution
import CLRSLean.FourthEdition.Chapter_06.Section_06_5_Priority_QueuesChapter 6 — Heapsort
This is the canonical CLRS fourth-edition chapter guide during the migration period.
Current source
Sections 6.1--6.5 are native fourth-edition sections (heaps, maintaining the
heap property, building a heap, the heapsort algorithm, and priority queues),
imported directly from
Section 6.1,
Section 6.2,
Section 6.3,
Section 6.4, and
Section 6.5.
Section 6.4 includes the nested costed-execution development. Declarations
retain the CLRS.Chapter06 namespace during the compatibility period; the
third-edition-numbered imports CLRSLean.Chapter_06 and
CLRSLean.Chapter_06.Section_06_* forward to these sources.
Implementation details
The supporting implementation page remains available outside the main sidebar:
Coverage boundary
The represented heap and priority-queue correctness developments are reused.
See docs/clrs-fourth-edition-map.csv for the section-level mapping and
docs/migrations/clrs4.md for compatibility and deprecation policy.