leanprover/cslib

The Lean Computer Science Library (CSLib)

696

stars

561

commits

Lean

primary language

Sep 11, 2026

updated

www.cslib.io/
computer-science
lean
Browse cluster: Lean 4 development tools and ecosystem

README

CSLib

The Lean library for Computer Science.

Official website at https://www.cslib.io/.

What's CSLib?

CSLib aims at formalising Computer Science theories and tools, broadly construed, in the Lean programming language.

Aims

  • Offer APIs and languages for formalisation projects, software verification, and certified software (among others).
  • Establish a common ground for connecting different developments in Computer Science, in order to foster synergies and reuse.

Using CSLib in your project

To add CSLib as a dependency to your Lean project, add the following to your lakefile.toml:

[[require]]
name = "cslib"
scope = "leanprover"
rev = "main"

Or if you're using lakefile.lean:

require cslib from git "https://github.com/leanprover/cslib" @ "main"

Then run lake update cslib to fetch the dependency. You can also use a release tag instead of main for the rev value.

Contributing and discussion

Please see our contribution guide and code of conduct.

For discussions, you can reach out to us on the Lean prover Zulip chat.

Contributors

(top 30 of 47)

fmontesi

200 commits

chenson2018

98 commits

kim-em

46 commits

ctchou

37 commits

leanprover/cslib

The Lean Computer Science Library (CSLib)

696

stars

561

commits

Lean

primary language

Sep 11, 2026

updated

www.cslib.io/
computer-science
lean
Browse cluster: Lean 4 development tools and ecosystem

README

CSLib

The Lean library for Computer Science.

Official website at https://www.cslib.io/.

What's CSLib?

CSLib aims at formalising Computer Science theories and tools, broadly construed, in the Lean programming language.

Aims

  • Offer APIs and languages for formalisation projects, software verification, and certified software (among others).
  • Establish a common ground for connecting different developments in Computer Science, in order to foster synergies and reuse.

Using CSLib in your project

To add CSLib as a dependency to your Lean project, add the following to your lakefile.toml:

[[require]]
name = "cslib"
scope = "leanprover"
rev = "main"

Or if you're using lakefile.lean:

require cslib from git "https://github.com/leanprover/cslib" @ "main"

Then run lake update cslib to fetch the dependency. You can also use a release tag instead of main for the rev value.

Contributing and discussion

Please see our contribution guide and code of conduct.

For discussions, you can reach out to us on the Lean prover Zulip chat.

Contributors

(top 30 of 47)

fmontesi

200 commits

chenson2018

98 commits

kim-em

46 commits

ctchou

37 commits

Languages

Lean

95.5%

Python

1.7%

TeX

1.7%