lean-golf Lean 4 proof leaderboard

numbertheory_aneqprodakp4_anmsqrtanp1eq2

open: first valid proof sets the record

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

Statement

import Mathlib
theorem LeanGolf.minif2f.numbertheory_aneqprodakp4_anmsqrtanp1eq2 (a : ℕ → ℝ) (h₀ : a 0 = 1)
  (h₁ : ∀ n, a (n + 1) = (∏ k ∈ Finset.range (n + 1), a k) + 4) :
  ∀ n ≥ 1, a n - Real.sqrt (a (n + 1)) = 2
Trusted statement context
open BigOperators Real Nat Topology Rat