← Back to Lean 4: Proofs a Computer Can Check

Module: Reading Real Lean

Practice Test: Reading Real Lean

Find lemmas in Mathlib, read real theorem statements, and check one against a paper.

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. By Mathlib naming conventions, what does the name mul_zero describe?

2. What does exact? do?

3. What is Loogle especially good for?

4. What do square brackets like [Field F] mean in a statement?

5. What does it mean if #print axioms lists sorryAx?

6. Why was four_is_prime misleading even though it has no axioms?

7. What does Lean actually guarantee when a proof checks?

8. In the Lean model behind the 9/4 statement, which gate type is missing compared with the paper's circuits?

9. Why should you open the definition of formalOmega instead of trusting the theorem line?