← Back to Lean 4: Proofs a Computer Can Check

Module: Why Lean

Practice Test: Why Lean

What a proof assistant is, how to install Lean, and how types work.

9 questions. 15 minutes. You need at least 7 right to pass. This test is optional. It does not mark any lesson complete and it does not count towards your certificate.

Time left: 15:00

1. In Lean, which part decides whether a proof is accepted?

2. What can Lean NOT check for you?

3. What is Mathlib?

4. What does #check do?

5. What is elan for?

6. Why does #eval "five" + 1 fail?

7. What does #eval (5 : Nat) - 7 print?

8. How should you read the type Nat → Nat → Nat?

9. What is the type of Nat itself?