Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrickMassot committed Feb 25, 2025
1 parent b9381c7 commit 2e63d43
Showing 1 changed file with 25 additions and 6 deletions.
31 changes: 25 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,42 @@ There are two tracks. Both start with reading the `Introduction.lean` file.

Then the short track continues in the `Shorter.lean` file which is meant to give
you access to not completely empty mathematical proofs in two hours if you are
ready to move really fast.
ready to move pretty fast.

If you have a bit more time, you should instead read explanations and do
exercises in the `Basics` folder, and then choose to work on one file from the
`Topics` folder. Of course you can play with all files from that folder if you
`Topics` folder. Of course, you can play with all files from that folder if you
have even more time.

To work using Lean, you either have to install Lean locally, or use a lean4web
server, or use Codespaces or use Gitpod.

* To use codespaces, make sure you're logged in to Github, click the button below, select `4-core`, and then press `Create codespace`. After a few minutes an editor with Lean working will open in your browser.
## Online version, no registration

[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/PatrickMassot/GlimpseOfLean)
If you don’t want to install Lean and don’t want to create an account on any
website, you can use the [lean4web server](https://live.lean-lang.org/) hosted by the [Lean FRO](https://lean-fro.org/) as follows:

* read [the introduction file](https://live.lean-lang.org/#project=GlimpseOfLean&url=https%3A%2F%2Fraw.githubusercontent.com%2FPatrickMassot%2FGlimpseOfLean%2Frefs%2Fheads%2Fmaster%2FGlimpseOfLean%2FIntroduction.lean)
* then read and edit the [explanations and exercises file](https://live.lean-lang.org/#project=GlimpseOfLean&url=https%3A%2F%2Fraw.githubusercontent.com%2FPatrickMassot%2FGlimpseOfLean%2Frefs%2Fheads%2Fmaster%2FGlimpseOfLean%2FExercises%2FShorter.lean)

## Online version, with registration

There are also websites that are a bit more confortable but require
creating a [GitHub](www.github.com) account.

* To use codespaces, make sure you’re logged in to GitHub, click the button below, select `4-core`, and then press `Create codespace`. After a few minutes an editor with Lean working will open in your browser.

[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/PatrickMassot/GlimpseOfLean)

* Gitpod is very similar to Codespaces, click the button below, press `Continue` and wait a few minutes.

[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/PatrickMassot/GlimpseOfLean)
* To install Lean locally, follow the instructions [here](https://leanprover-community.github.io/get_started.html).
[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/PatrickMassot/GlimpseOfLean)

## Local installation

If you want the full luxury Lean experience, you should install it on your
computer.

For this you can follow the instructions [here](https://leanprover-community.github.io/get_started.html).

If you have a lot more time, you should read the book [Mathematics in Lean](https://leanprover-community.github.io/mathematics_in_lean/).

0 comments on commit 2e63d43

Please sign in to comment.