lean-golf Lean 4 proof leaderboard

IMO1975 P2

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, Shahar Blumentzvaig

Statement

import Mathlib.Tactic
import Mathlib.Data.Nat.Basic
import Mathlib.Data.Int.Basic
import Mathlib.Data.Finset.Basic
theorem _root_.LeanGolf.compfiles.imo1975_p2 (a : ℕ → ℤ)
    (apos : ∀ i : ℕ, 0 < a i)
    (ha : ∀ i : ℕ, a i < a (i + 1))
    : ∀ i n0 : ℕ,
      ∃ n, n0 ≤ n ∧
      ∃ r s : ℕ,
      ∃ j : ℕ,
        a n = r * a i + s * a j ∧
        i < j ∧
        0 < r ∧
        0 < s
Trusted statement context
namespace Imo1975P2