lean-golf Lean 4 proof leaderboard

IMO1999 P2

open: first valid proof sets the record

Compfiles · Imo · Apache-2.0
Copyright (c) 2026 The Compfiles Contributors. All rights reserved. Authors: Claude (Fable 5, via Claude Code)

Statement

import Mathlib.Tactic
theorem _root_.LeanGolf.compfiles.imo1999_p2 (n : ℕ) (hn : 2 ≤ n) :
    IsLeast
      {c : ℝ | ∀ x : Fin n → ℝ, (∀ i, 0 ≤ x i) →
        ∑ i, ∑ j ∈ Finset.Ioi i, x i * x j * ((x i) ^ 2 + (x j) ^ 2) ≤
          c * (∑ i, x i) ^ 4}
      C
Trusted statement context
noncomputable section

namespace Imo1999P2

noncomputable abbrev C : ℝ := 1 / 8