Computer Science as Infrastructure: the Spine of the Lean Computer Science Library (CSLib)
Lean has Mathlib for mathematics, but there is no analogous centralized library for formalized computer science and software in Lean.
CSLib (Computer Science Library) provides shared abstractions (reduction systems, labelled transition systems), proof automation as a first-class design constraint, CI/testing support for maintaining automation compatibility with Mathlib, and reusable semantic interfaces. The library reuses Mathlib infrastructure wherever possible and offers typeclass-based operational semantics frameworks.
CSLib is a rapidly growing library that has enabled major formalization developments in computer science. It maintains compatibility with Mathlib and provides general-purpose proof automation for CS-specific reasoning patterns.
