Econlib

A Lean 4 library for economic and political theory.

Econlib formalizes economic and political theory in Lean 4 — preferences, probability, optimization, game theory, mechanism design, social choice, general equilibrium, and the supporting mathematics — with an API designed to help you formalize your research.

About Econlib

Using Econlib

To install Lean, see the Lean website. Once you have set up a project, add Econlib as a dependency in your lakefile.toml:

[[require]]
name = "econlib"
git = "https://github.com/danlyng/Econlib"
rev = "main"

The additional resources below may also be useful.