Skip to content
Browse chapters

Progress Dashboard

CLRS-Lean represents all 35 fourth-edition chapters and proves all 1,689 of its 1,689 selected reader-facing theorem entries. These are scope-qualified inventory counts, not a claim that every paragraph, exercise, implementation model, or textbook problem has been formalized. The machine-readable source of truth is docs/clrs-proof-progress.csv.

Fourth-Edition Snapshot

This is the canonical CLRS fourth-edition chapter ledger. Reused third-edition theorem sources remain compatibility evidence, not an alternative chapter-numbering scheme. Legacy imports remain supported through all 1.x releases and for at least six months; removal is possible only in 2.0 or later.

  • Fourth-edition chapters tracked: 35.

  • Chapters represented in Lean: 35.

  • Tracked reader-facing theorem entries: 1,689.

  • Proved tracked theorem entries: 1,689.

  • Online/supplementary theorem entries: 470.

  • Remaining edition-coverage units: 0.

Tracked theorem entries form a selected proof inventory of reviewed groups mapped to represented fourth-edition sections. A complete proved/tracked count does not by itself mean that every fourth-edition section obligation is covered. Moved subsections and wholly excluded legacy chapters are counted only in the machine-readable online-material ledger. This produces disjoint canonical and online-material ledgers; compatibility imports do not duplicate either count. An edition-coverage unit is one unresolved section in a represented chapter, or one whole-chapter unit when no section of that chapter is represented. The status partial means partial fourth-edition coverage, even when every theorem already selected for that chapter is proved.

Status Counts

  • main-proof-complete: 34 chapters.

  • expository: 1 chapter.

Chapter Matrix

ChChapterStatusSectionsTrackedGap units
11. The Role of Algorithms in ComputingexpositoryChapter_0100
22. Getting Startedmain-proof-complete2.1;2.2;2.3200
33. Characterizing Running Timesmain-proof-complete3.1;3.2;3.3710
44. Divide-and-Conquermain-proof-complete4.1;4.2;4.3;4.4;4.5;4.6;4.71040
55. Probabilistic Analysis and Randomized Algorithmsmain-proof-complete5.1;5.2;5.3;5.4260
66. Heapsortmain-proof-complete6.1;6.2;6.3;6.4;6.5850
77. Quicksortmain-proof-complete7.1;7.2;7.3;7.4340
88. Sorting in Linear Timemain-proof-complete8.1;8.2;8.3;8.4580
99. Medians and Order Statisticsmain-proof-complete9.1;9.2;9.3720
1010. Elementary Data Structuresmain-proof-complete10.1;10.2;10.3210
1111. Hash Tablesmain-proof-complete11.1;11.2;11.3;11.4;11.5620
1212. Binary Search Treesmain-proof-complete12.1;12.2;12.3440
1313. Red-Black Treesmain-proof-complete13.1;13.2;13.3;13.4400
1414. Dynamic Programmingmain-proof-complete14.1;14.2;14.3;14.4;14.5900
1515. Greedy Algorithmsmain-proof-complete15.1;15.2;15.3;15.4400
1616. Amortized Analysismain-proof-complete16.1;16.2;16.3;16.4690
1717. Augmenting Data Structuresmain-proof-complete17.1;17.2;17.3790
1818. B-Treesmain-proof-complete18.1;18.2;18.31470
1919. Data Structures for Disjoint Setsmain-proof-complete19.1;19.2;19.3;19.4840
2020. Elementary Graph Algorithmsmain-proof-complete20.1;20.2;20.3;20.4;20.5500
2121. Minimum Spanning Treesmain-proof-complete21.1;21.2520
2222. Single-Source Shortest Pathsmain-proof-complete22.1;22.2;22.3;22.4;22.5310
2323. All-Pairs Shortest Pathsmain-proof-complete23.1;23.2;23.3290
2424. Maximum Flowmain-proof-complete24.1;24.2;24.3;24.4;24.5350
2525. Matchings in Bipartite Graphsmain-proof-complete25.1;25.2;25.3180
2626. Parallel Algorithmsmain-proof-complete26.1;26.2;26.3950
2727. Online Algorithmsmain-proof-complete27.1;27.2;27.3100
2828. Matrix Operationsmain-proof-complete28.1;28.2;28.3130
2929. Linear Programmingmain-proof-complete29.1;29.2;29.3100
3030. Polynomials and the FFTmain-proof-complete30.1;30.2;30.3340
3131. Number-Theoretic Algorithmsmain-proof-complete31.1;31.2;31.3;31.4;31.5;31.6;31.7;31.8180
3232. String Matchingmain-proof-complete32.1;32.2;32.3;32.4;32.5610
3333. Machine-Learning Algorithmsmain-proof-complete33.1; 33.2; 33.3150
3434. NP-Completenessmain-proof-complete34.1;34.2;34.3;34.4;34.5590
3535. Approximation Algorithmsmain-proof-complete35.1;35.2;35.3;35.4;35.5130

Agent Update Rule

Every theorem-producing agent should treat this table as part of the proof artifact, not as a separate report. If a contribution adds, removes, renames, strengthens, or finishes a reader-facing theorem group, update docs/clrs-proof-progress.csv in the same commit. If the change alters the public snapshot or chapter rows, regenerate this page before building the site.

Minimum maintenance loop:

  1. Consult docs/clrs-fourth-edition-map.csv, then update the relevant Lean files and docs/clrs-proof-progress.csv.

  2. Regenerate this page with uv run python scripts/check_progress_csv.py --write-dashboard.

  3. Run lake build CLRSLean; for explicit website publishing, use the four-shard runbook in docs/site-architecture.md. The serial lake build :literateHtml target is a diagnostic fallback.