Roadmap
Two pillars, four directions
CSLib is built around two pillars, first laid out in the white paper:
Pillar 1 — Formalizing computer science in Lean. A unified, coherent formal treatment of the field's essential concepts: models of computation, algorithms and data structures, programming-language semantics, concurrency, and the specification logics used to reason about them.
Pillar 2 — Reasoning about everyday code. Infrastructure that makes Lean practical for verifying real programs, centered on Boole — an intermediate verification language into which mainstream imperative code can be translated and then checked using CSLib's Lean-based machinery.
The pillars are the library's stable scientific identity: they describe what CSLib is independently of any funding phase or milestone. Together, they unpack into four long-term directions the project keeps advancing:
-
Formalizing CS foundations — deepening the coverage of models, semantics, and logics under Pillar 1.
-
Reasoning about code — both algorithms written and verified directly in Lean, and the Boole path for imperative code under Pillar 2.
-
A repository of verified code — the concrete output of both pillars: a growing library of algorithms and data structures with machine-checked correctness and complexity proofs, in Lean and in Boole.
-
AI integration — making CSLib available as high-quality data and infrastructure for AI-assisted theorem proving, following the model Mathlib has established.