From 262ede2aaff480e69bd93cae8a1aaa1e75858842 Mon Sep 17 00:00:00 2001 From: Michael Hartl Date: Sun, 22 Dec 2024 16:24:55 -0800 Subject: [PATCH 1/2] Add a note to install Rust --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 643d9d40..4580a95a 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ This manual is generated by [mdBook](https://github.com/rust-lang/mdBook). We ar * Add support for hiding lines in other languages [#1339](https://github.com/rust-lang/mdBook/pull/1339) * Replace calling `rustdoc --test` from `mdbook test` with `./test` -To build this manual, first install the fork via +To build this manual, first [install Rust](https://www.rust-lang.org/tools/install) if necessary, then install the mdBook fork via ```bash cargo install --git https://github.com/leanprover/mdBook mdbook ``` From 7091e1fc691abfdc4069d2ec2c6e31d9c3d6f801 Mon Sep 17 00:00:00 2001 From: Michael Hartl Date: Sun, 22 Dec 2024 16:25:33 -0800 Subject: [PATCH 2/2] Fix spelling of GitHub --- introduction.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/introduction.md b/introduction.md index 7758fccb..b1562482 100644 --- a/introduction.md +++ b/introduction.md @@ -90,16 +90,16 @@ theorem and_commutative (p q : Prop) : p ∧ q → q ∧ p := show q ∧ p from And.intro hq hp ``` -Next to every code example in this book, you will see a button that reads "Copy to clipboard". +Next to every code example in this book, you will see a button that reads "Copy to clipboard". Pressing the button copies the example with enough surrounding context to make the code compile correctly. -You can paste the example code into [VS Code](https://code.visualstudio.com/) and modify the examples, and Lean will check the results and provide feedback continuously as you type. -We recommend running the examples and experimenting with the code on your own as you work through the chapters that follow. +You can paste the example code into [VS Code](https://code.visualstudio.com/) and modify the examples, and Lean will check the results and provide feedback continuously as you type. +We recommend running the examples and experimenting with the code on your own as you work through the chapters that follow. You can open this book in VS Code by using the command "Lean 4: Docs: Show Documentation Resources" and selecting "Theorem Proving in Lean 4" in the tab that opens. Acknowledgments --------------- -This tutorial is an open access project maintained on Github. Many people have contributed to the effort, providing +This tutorial is an open access project maintained on GitHub. Many people have contributed to the effort, providing corrections, suggestions, examples, and text. We are grateful to Ulrik Buchholz, Kevin Buzzard, Mario Carneiro, Nathan Carter, Eduardo Cavazos, Amine Chaieb, Joe Corneli, William DeMeo, Marcus Klaas de Vries, Ben Dyer, Gabriel Ebner, Anthony Hart, Simon Hudon, Sean Leather, Assia Mahboubi, Gihan Marasingha, Patrick Massot, Christopher John Mazey,