Learn · Volume 1 · in the Volume 1 course
Section 1.1. Algorithms
9 exercises: 9 with a written solution, 0 stated in Lean, 0 proved in Lean.
1. Read first
The companion chapter builds on these. Read the ones you do not know yet.
2. Read the section
Read Section 1.1 in your copy of the book. Then read the companion chapter Algorithms (a draft): it explains each item in the words of the handbook, with examples and proofs. The items of the section and their status.
3. Work the exercises
The exercises of Section 1.1 train the first skills of the book: to follow an algorithm by hand, to change it, to count its steps, and to read the definition of an algorithm as a set-theoretic object. A good order is 1.1-4 and 1.1-2 (a run and a small proof), then 1.1-1, 1.1-3 and 1.1-5, then 1.1-6 and 1.1-7 (the average count of Euclid's algorithm), and last 1.1-8 and 1.1-9, which use the formal model.
From the Solutions volume of the handbook. The source.
The list starts with the lowest rating. Try each exercise on paper first. Its page has the hints one at a time, the solution behind a click, and the Lean status.
| Exercise | Rating | Kind | Solution | Lean |
|---|---|---|---|---|
| 1.1-1 | 10 | K5 | written checked | not stated yet |
| 1.1-5 recommended | 12 | informal | written checked | not stated yet |
| 1.1-2 | 15 | K1 | written checked | not stated yet |
| 1.1-4 | 16 | K3 | written checked | not stated yet |
| 1.1-3 | 20 | K5 | written checked | not stated yet |
| 1.1-6 | 20 | K3 | written checked | not stated yet |
| 1.1-7 recommended | M21 | K7 | written checked | not stated yet |
| 1.1-8 | M25 | K5 | written checked | not stated yet |
| 1.1-9 recommended | M30 | informal | written checked | not stated yet |
Something is wrong? Report it.