lean-golf Lean 4 proof leaderboard

IMO2024 P1

open: first valid proof sets the record

Compfiles · Imo · Apache-2.0
Copyright (c) 2024 The Compfiles Contributors. All rights reserved. Authors: Joseph Myers

Statement

import Mathlib.Algebra.Order.BigOperators.Group.LocallyFinite
import Mathlib.Tactic
theorem _root_.LeanGolf.compfiles.imo2024_p1 (α : ℝ) :
  α ∈ solutionSet ↔
  ∀ n : ℕ, 0 < n → (n : ℤ) ∣ ∑ i ∈ Finset.Icc 1 n, ⌊i * α⌋
Trusted statement context
noncomputable section

namespace Imo2024P1

abbrev solutionSet : Set ℝ := {α : ℝ | ∃ m : ℤ, α = 2 * m}