Computer Science as Infrastructure: the Spine of the Lean Computer Science Library (CSLib)

๐Ÿ“… 2026-02-16
๐Ÿ“ˆ Citations: 0
โœจ Influential: 0
๐Ÿ“„ PDF

career value

167K/year
๐Ÿค– AI Summary
This work addresses the absence of a centralized, reusable formal knowledge base in computer science, which hinders the development and verification of reliable systems. To this end, we propose CSLibโ€”a modular formal library built on the Lean theorem proverโ€”that enables systematic formalization of programming languages and computational models. CSLib is grounded in a unified semantic framework encompassing reduction systems and labeled transition systems, employs composable abstractions, and integrates engineering infrastructure compatible with Mathlib. The project incorporates automated proof support, continuous integration, and testing mechanisms. We have successfully established the core architecture of CSLib and completed the first formalizations of representative languages and models, thereby laying a scalable and maintainable foundation for formal computer science.

Technology Category

Application Category

๐Ÿ“ Abstract
Following in the footsteps of the success of Mathlib - the centralised library of formalised mathematics in Lean - CSLib is a rapidly-growing centralised library of formalised computer science and software. In this paper, we present its founding technical principles, operation, abstractions, and semantic framework. We contribute reusable semantic interfaces (reduction and labelled transition systems), proof automation, CI/testing support for maintaining automation and compatibility with Mathlib, and the first substantial developments of languages and models.
Problem

Research questions and friction points this paper is trying to address.

formalized computer science
centralized library
semantic framework
proof automation
compatibility with Mathlib
Innovation

Methods, ideas, or system contributions that make the work stand out.

semantic interfaces
proof automation
CI/testing support
formalized computer science
Lean library
๐Ÿ”Ž Similar Papers
2024-03-20Conference on Empirical Methods in Natural Language ProcessingCitations: 1