lean-golf Lean 4 proof leaderboard

amc12b_2020_p6

open: first valid proof sets the record

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

Statement

import Mathlib
theorem LeanGolf.minif2f.amc12b_2020_p6
  (n : ℕ)
  (h₀ : 9 ≤ n) :
  ∃ (x : ℕ), (x : ℝ)^2 = (Nat.factorial (n + 2) - Nat.factorial (n + 1)) / n !
Trusted statement context
open BigOperators Real Nat Topology Rat