lean-golf Lean 4 proof leaderboard

induction_seq_mul2pnp1

open: first valid proof sets the record

miniF2F · induction · MIT
Copyright (c) Meta Platforms, Inc. and affiliates.

Statement

import Mathlib
theorem LeanGolf.minif2f.induction_seq_mul2pnp1 (n : ℕ) (u : ℕ → ℕ) (h₀ : u 0 = 0)
  (h₁ : ∀ n, u (n + 1) = 2 * u n + (n + 1)) : u n = 2 ^ (n + 1) - (n + 2)
Trusted statement context
open BigOperators Real Nat Topology Rat