# taocp > The Art of Computer Programming in Lean 4, in public. The project states each definition, theorem, algorithm, program and exercise of Volumes 1 to 4B in Lean, proves the items with a known answer, and marks the research problems as open. The site has no text of the book. Each status on this site comes from the Lean build of taocp-lean. Each page has a Markdown copy at index.md next to it, when the page has text. The JSON is in /api/: nodes.json has the map with the computed status of each node, and status.json has the status of each node by tag. ## Pages - [About](https://taocp.tamnd.com/about/index.md): Who runs taocp, how the work is done, and how the project uses AI tools. - [The toolchain](https://taocp.tamnd.com/agent/index.md): The taocp command, which indexes the book and the Lean build, computes the status, runs the leak guard and builds this site. - [The book](https://taocp.tamnd.com/book/index.md): The volumes, sections and exercises of The Art of Computer Programming, with the counts by rating and the status of each node. - [The code](https://taocp.tamnd.com/code/index.md): The Lean package taocp-lean, its pinned toolchain, its layout and the rules for its code. - [The Art of Computer Programming in Lean](https://taocp.tamnd.com/index.md): A public Lean project that states every definition, theorem, algorithm, program and exercise of The Art of Computer Programming, proves the ones with known answers, and explains them to students. - [The map](https://taocp.tamnd.com/map/index.md): The nodes of the map of taocp, with their kind, their status and the Lean declarations that they name. - [Trust](https://taocp.tamnd.com/trust/index.md): The checks that each Lean result of taocp must pass before the project calls it proved, and the state of each check. - [Volume 1. Fundamental Algorithms](https://taocp.tamnd.com/book/vol1/): The sections of Volume 1 of The Art of Computer Programming, with 1195 nodes and their status. - [Volume 2. Seminumerical Algorithms](https://taocp.tamnd.com/book/vol2/): The sections of Volume 2 of The Art of Computer Programming, with 890 nodes and their status. - [Volume 3. Sorting and Searching](https://taocp.tamnd.com/book/vol3/): The sections of Volume 3 of The Art of Computer Programming, with 942 nodes and their status. - [Volume 4A. Combinatorial Algorithms, Part 1](https://taocp.tamnd.com/book/vol4a/): The sections of Volume 4A of The Art of Computer Programming, with 1464 nodes and their status. - [Volume 4B. Combinatorial Algorithms, Part 2](https://taocp.tamnd.com/book/vol4b/): The sections of Volume 4B of The Art of Computer Programming, with 1202 nodes and their status. - [The handbook](https://taocp.tamnd.com/handbook/index.md): The TAOCP Handbook, a series of volumes for students of The Art of Computer Programming, with links to the Lean proofs. - [Volume P0. Guide](https://taocp.tamnd.com/handbook/p0/): How to read TAOCP, the handbook and Lean. - [What TAOCP is, its volumes and fascicles, and which printing to use](https://taocp.tamnd.com/handbook/p0/01-what-taocp-is/): A chapter of Volume P0 of the handbook, Guide. - [How to read an exercise: the ratings and the markers](https://taocp.tamnd.com/handbook/p0/02-reading-an-exercise/): A chapter of Volume P0 of the handbook, Guide. - [How to use the handbook: paths, hints and status lines](https://taocp.tamnd.com/handbook/p0/03-using-the-handbook/): A chapter of Volume P0 of the handbook, Guide. - [Lean for readers](https://taocp.tamnd.com/handbook/p0/04-lean-for-readers/): A chapter of Volume P0 of the handbook, Guide. - [The map and the site](https://taocp.tamnd.com/handbook/p0/05-map-and-site/): A chapter of Volume P0 of the handbook, Guide. - [The table of black boxes and the table of errata](https://taocp.tamnd.com/handbook/p0/06-black-boxes-and-errata/): A chapter of Volume P0 of the handbook, Guide. - [Volume P2. Concrete mathematics](https://taocp.tamnd.com/handbook/p2/): Sums, integer functions, binomial coefficients and special numbers, for the reader of TAOCP Section 1.2. - [Sums and their manipulation](https://taocp.tamnd.com/handbook/p2/01-sums/): A chapter of Volume P2 of the handbook, Concrete mathematics. - [The perturbation method and recurrences](https://taocp.tamnd.com/handbook/p2/02-perturbation-and-recurrences/): A chapter of Volume P2 of the handbook, Concrete mathematics. - [Finite calculus](https://taocp.tamnd.com/handbook/p2/03-finite-calculus/): A chapter of Volume P2 of the handbook, Concrete mathematics. - [Floors, ceilings, logarithms and mod](https://taocp.tamnd.com/handbook/p2/04-floors-ceilings-mod/): A chapter of Volume P2 of the handbook, Concrete mathematics. - [Divisibility, primes, gcd and congruences](https://taocp.tamnd.com/handbook/p2/05-number-theory/): A chapter of Volume P2 of the handbook, Concrete mathematics. - [Binomial coefficients](https://taocp.tamnd.com/handbook/p2/06-binomial-coefficients/): A chapter of Volume P2 of the handbook, Concrete mathematics. - [Binomial identities](https://taocp.tamnd.com/handbook/p2/07-binomial-identities/): A chapter of Volume P2 of the handbook, Concrete mathematics. - [Stirling numbers and Eulerian numbers](https://taocp.tamnd.com/handbook/p2/08-stirling-eulerian/): A chapter of Volume P2 of the handbook, Concrete mathematics. - [Solutions](https://taocp.tamnd.com/handbook/p2/13-solutions/): A chapter of Volume P2 of the handbook, Concrete mathematics. - [Volume C1. Basic concepts](https://taocp.tamnd.com/handbook/c1/): A companion to Chapter 1 of Volume 1. - [Algorithms](https://taocp.tamnd.com/handbook/c1/s1_1-algorithms/): A chapter of Volume C1 of the handbook, Basic concepts. - [Mathematical preliminaries](https://taocp.tamnd.com/handbook/c1/s1_2-mathematical-preliminaries/): A chapter of Volume C1 of the handbook, Basic concepts. - [Mathematical induction](https://taocp.tamnd.com/handbook/c1/s1_2_1-mathematical-induction/): A chapter of Volume C1 of the handbook, Basic concepts. - [Numbers, powers and logarithms](https://taocp.tamnd.com/handbook/c1/s1_2_2-numbers-powers-and-logarithms/): A chapter of Volume C1 of the handbook, Basic concepts. - [Sums and products](https://taocp.tamnd.com/handbook/c1/s1_2_3-sums-and-products/): A chapter of Volume C1 of the handbook, Basic concepts. - [Integer functions and elementary number theory](https://taocp.tamnd.com/handbook/c1/s1_2_4-integer-functions-and-elementary-number-theory/): A chapter of Volume C1 of the handbook, Basic concepts. - [Permutations and factorials](https://taocp.tamnd.com/handbook/c1/s1_2_5-permutations-and-factorials/): A chapter of Volume C1 of the handbook, Basic concepts. - [Binomial coefficients](https://taocp.tamnd.com/handbook/c1/s1_2_6-binomial-coefficients/): A chapter of Volume C1 of the handbook, Basic concepts. - [Harmonic numbers](https://taocp.tamnd.com/handbook/c1/s1_2_7-harmonic-numbers/): A chapter of Volume C1 of the handbook, Basic concepts. - [Fibonacci numbers](https://taocp.tamnd.com/handbook/c1/s1_2_8-fibonacci-numbers/): A chapter of Volume C1 of the handbook, Basic concepts. - [Generating functions](https://taocp.tamnd.com/handbook/c1/s1_2_9-generating-functions/): A chapter of Volume C1 of the handbook, Basic concepts. - [Analysis of an algorithm](https://taocp.tamnd.com/handbook/c1/s1_2_10-analysis-of-an-algorithm/): A chapter of Volume C1 of the handbook, Basic concepts. - [The O-notation](https://taocp.tamnd.com/handbook/c1/s1_2_11_1-the-o-notation/): A chapter of Volume C1 of the handbook, Basic concepts. - [Euler's summation formula](https://taocp.tamnd.com/handbook/c1/s1_2_11_2-eulers-summation-formula/): A chapter of Volume C1 of the handbook, Basic concepts. - [Some asymptotic calculations](https://taocp.tamnd.com/handbook/c1/s1_2_11_3-some-asymptotic-calculations/): A chapter of Volume C1 of the handbook, Basic concepts. - [Why a machine language](https://taocp.tamnd.com/handbook/c1/s1_3-why-a-machine-language/): A chapter of Volume C1 of the handbook, Basic concepts. - [Description of MIX](https://taocp.tamnd.com/handbook/c1/s1_3_1-description-of-mix/): A chapter of Volume C1 of the handbook, Basic concepts. - [The MIX assembly language](https://taocp.tamnd.com/handbook/c1/s1_3_2-the-mix-assembly-language/): A chapter of Volume C1 of the handbook, Basic concepts. - [Applications to permutations](https://taocp.tamnd.com/handbook/c1/s1_3_3-applications-to-permutations/): A chapter of Volume C1 of the handbook, Basic concepts. - [Some fundamental programming techniques](https://taocp.tamnd.com/handbook/c1/s1_4-some-fundamental-programming-techniques/): A chapter of Volume C1 of the handbook, Basic concepts. - [Subroutines](https://taocp.tamnd.com/handbook/c1/s1_4_1-subroutines/): A chapter of Volume C1 of the handbook, Basic concepts. - [Coroutines](https://taocp.tamnd.com/handbook/c1/s1_4_2-coroutines/): A chapter of Volume C1 of the handbook, Basic concepts. - [Interpretive routines](https://taocp.tamnd.com/handbook/c1/s1_4_3-interpretive-routines/): A chapter of Volume C1 of the handbook, Basic concepts. - [A MIX simulator](https://taocp.tamnd.com/handbook/c1/s1_4_3_1-a-mix-simulator/): A chapter of Volume C1 of the handbook, Basic concepts. - [Trace routines](https://taocp.tamnd.com/handbook/c1/s1_4_3_2-trace-routines/): A chapter of Volume C1 of the handbook, Basic concepts. - [Input and output](https://taocp.tamnd.com/handbook/c1/s1_4_4-input-and-output/): A chapter of Volume C1 of the handbook, Basic concepts. - [History and bibliography](https://taocp.tamnd.com/handbook/c1/s1_4_5-history-and-bibliography/): A chapter of Volume C1 of the handbook, Basic concepts. - [Volume X1. Solutions to Volume 1](https://taocp.tamnd.com/handbook/x1/): Hints, full solutions, checks and the Lean link for each exercise of Volume 1. - [Learn](https://taocp.tamnd.com/learn/index.md): A study path through TAOCP and its handbook, for students who want to work the exercises with a check for every answer. - [Search](https://taocp.tamnd.com/search/): Search the nodes and the pages of taocp. ## Data - [The map](https://taocp.tamnd.com/api/nodes.json) - [The status of each node](https://taocp.tamnd.com/api/status.json) - [The trust report](https://taocp.tamnd.com/api/trust.json) - [The Lean source](https://github.com/tamnd/taocp-lean)