All Exercises
#34 Sum of Two Even Numbers
live.lean-lang.org
Pure Lean 4 · No Mathlib
EasyNatural Numbers

34. Sum of Two Even Numbers

Prove that the sum of two even natural numbers is even. Unpack the existential witnesses from `hm` and `hn`, supply the combined witness `a + b`, and factor out `2` using distributivity.

Target Theorem
theorem even_add_even (m n : Nat) (hm : ∃ a, m = 2 * a) (hn : ∃ b, n = 2 * b) : ∃ c, m + n = 2 * c
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).