Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Installation and Project Setup

You may install Lean to code on VScode by following the official guide.

  1. Create an empty project: in VScode command Lean 4: Project: Create Project Using Mathlib. Depending on internet speed, this may take some time, but you can see a log of progress in real time.
  2. Open the folder: use VScode File: Open Folder. Explore the files to get a sense of project structure, but only edit the ones in the My_project_name/ folder, as the others are managed automatically.
  3. Import Mathlib: you can import the mathematical library by writing import Mathlib as the first line in the Basic.lean file.
  4. Lean4 InfoView: when opening .lean files, you can use Lean 4: InfoView: Toggle InfoView to understand the intermediate state of a proof. Placing the cursor in the middle of the proof will show the available information and the necessary steps next. If strange errors appear but the proof is correct, you can press the Restart File button

Formalization projects start with a blueprint, which gets filled progressively. A sketch of the idea can be found on Terence Tao's blog, but a list of exemplars and the installation guide are also available. For reference, an overview of the available theorems.

A complete reference on the Lean 4 language may be found here.


Additional References

Complete Projects

Smaller Projects

Related but through a different formalization language: Busy Beaver Challenge.

About

Notes on Lean and Mathlib, for the Seminars at Università Bocconi

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors