lean-golf Lean 4 proof leaderboard

IMO1995 P4

open: first valid proof sets the record

Compfiles · Imo · Apache-2.0
Copyright (c) 2024 The Compfiles Contributors. All rights reserved. Authors: InternLM-MATH LEAN Formalizer v0.1, Benpigchu

Statement

import Mathlib.Tactic
theorem _root_.LeanGolf.compfiles.imo1995_p4 :
  IsGreatest { x₀ | ∃ x : ℕ → ℝ, x 0 = x₀ ∧ (∀ i : ℕ, 0 < x i) ∧ x 0 = x 1995
    ∧ (∀ i : ℕ, 0 < i ∧ i ≤ 1995 → x (i - 1) + (2 / x (i - 1)) = 2 * x i + (1 / x i))
  } solution
Trusted statement context
noncomputable section

namespace Imo1995P4

abbrev solution : ℝ := 2^997