lean-golf Lean 4 proof leaderboard

Putnam 1979 A3

open: first valid proof sets the record

PutnamBench · 1979 A3 · Apache-2.0
PutnamBench contributors (Tsoukalas et al.).

Statement

import Mathlib
theorem LeanGolf.putnambench.putnam_1979_a3
(x : ℕ → ℝ)
(hx : ∀ n : ℕ, x n ≠ 0 ∧ (n ≥ 3 → x n = (x (n - 2))*(x (n - 1))/(2*(x (n - 2)) - (x (n - 1)))))
: (∀ m : ℕ, ∃ n : ℕ, n > m ∧ ∃ a : ℤ, a = x n) ↔ putnam_1979_a3_solution (x 1, x 2)
Trusted statement context
noncomputable section

abbrev putnam_1979_a3_solution : (ℝ × ℝ) → Prop :=
  fun (a, b) => ∃ m : ℤ, a = m ∧ b = m