All Exercises
#31 Left Multiplication by Zero
live.lean-lang.org
Pure Lean 4 · No Mathlib
EasyNatural Numbers

31. Left Multiplication by Zero

Prove that multiplying any natural number on the left by `0` equals `0`. Because `Nat.mul` recurses on its second argument, `n * 0 = 0` holds by `rfl`, whereas `0 * n = 0` requires induction on `n`.

Target Theorem
theorem nat_zero_mul (n : Nat) : 0 * n = 0
Hints (0/3)

Stuck? Reveal hints one step at a time without spoiling the full proof.

Symbols:
Initializing Lean 4 editor…
Infoview & Diagnosticsline 1idle
Write your proof above and click Submit Proof (or open in live.lean-lang.org).