Lean Project Setup 🏗️️#
This section describes the steps we took to set up our Lean project. The resulting source code is maintained in our lean4crypto respository at
https://github.com/formalverification/lean4crypto
-
Create the Project.
In a terminal,
-
Verfiy Mathlib Dependency.
The
lakefile.tomlshould look something like this: -
Fetch Mathlib.
In your terminal (in the
This might take a few minutes the first time. Then runOTPdirectory), enter the following:lake buildto ensure it's working. -
Create Main File.
- The
lake newcommand createsOTP.leanandOTP/Basic.lean. - We'll start the formalization in
OTP/Basic.lean(which is imported intoOTP.lean).
- The