lean-golf Lean 4 proof leaderboard

Putnam · exercise 2018 b4

open: first valid proof sets the record

ProofNet · Putnam · Apache-2.0
ProofNet-Verified contributors (One An, Marcus J. Min et al.).

Statement

import Mathlib
theorem LeanGolf.proofnet.putnam_exercise_2018_b4 (a : ℝ) (x : ℕ → ℝ) (hx0 : x 0 = 1)
  (hx1 : x 1 = a) (hx2 : x 2 = a)
  (hxn : ∀ n : ℕ, n ≥ 2 → x (n+1) = 2*(x n)*(x (n-1)) - x (n-2))
  (h : ∃ n, x n = 0) :
  ∃ c ≠ 0, Periodic x c
Trusted statement context
open scoped BigOperators
open Real Nat Function