Proof Hike · Module 3 · Lean 4.36.0
Logic, part one.
Learn the building blocks of a good argument.
The five steps
- Example 11: If this, then that
- Example 12: Prove both halves
- Example 13: Unpack an and
- Example 14: Choose a side
- Example 15: Follow both possibilities
New words
- Implication
- A proposition saying that a proof of a premise can be turned into a proof of a conclusion.
- Premise
- The assumption on the left side of an implication. A proof of the implication must work for any proof of this assumption.
- Hypothesis
- A named assumption or available fact in the local proof context.
- Conjunction
- An and statement. Its proof contains a proof of each component proposition.
- Constructor
- A specified way to build a value of an inductive type. Nat has zero and successor constructors.
A checked example
example (P : Prop) : P → P := by
intro h
exact h
Before you move on
- Explain the claim in everyday words.
- Identify what Lean expects at each step.
- Complete the warm-up exercises.
- Read an error and explain its fix.
The full lesson includes the captured Lean output, hints, stretch tasks, and checked solutions.
Use your browser’s Print command. This course stores progress only in the learner’s browser.