Pure Lean 4 · No Mathlib
MediumInduction
38. Geometric Sum of Powers of Two
Prove the binary geometric series identity `(1 + 2 + 4 + … + 2^n) + 1 = 2^(n + 1)` using induction and `Nat.pow_succ`. Keep the definition of `sumPow2` unchanged.
Target Theorem
theorem sum_pow_two (n : Nat) : sumPow2 n + 1 = 2 ^ (n + 1)Hints (0/3)
Stuck? Reveal hints one step at a time without spoiling the full proof.
Symbols:
Infoview & Diagnosticsline 1idle
Write your proof above and click Submit Proof (or open in live.lean-lang.org).