lean-golf Lean 4 proof leaderboard

IMO2012 P2

open: first valid proof sets the record

Compfiles · Imo · Apache-2.0
Copyright (c) 2023 David Renshaw. All rights reserved. Authors: David Renshaw, Benpigchu

Statement

import Mathlib.Tactic
import Mathlib.Analysis.MeanInequalities
theorem _root_.LeanGolf.compfiles.imo2012_p2 (n : ℕ) (hn : 3 ≤ n) (a : Finset.Icc 2 n → ℝ)
    (apos : ∀ i, 0 < a i) (aprod : ∏ i, a i = 1) :
    (n:ℝ)^n < ∏ i, (1 + a i)^i.val
Trusted statement context
namespace Imo2012P2

universe u v