lean-golf Lean 4 proof leaderboard

IMO1983 P5

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.Data.List.GetD
import Mathlib.Tactic
theorem _root_.LeanGolf.compfiles.imo1983_p5 :
  ∃ S : Finset ℕ+, S.card = 1983 ∧
  (∀ x ∈ S, x ≤ 10^5) ∧
  ∀ x ∈ S, ∀ y ∈ S, ∀ z ∈ S, x < y ∧ y < z → x + z ≠ 2 * y
Trusted statement context
namespace Imo1983P5