lean-golf Lean 4 proof leaderboard

algebra_amgm_sum1toneqn_prod1tonleq1

open: first valid proof sets the record

miniF2F · algebra · MIT
Copyright (c) Meta Platforms, Inc. and affiliates.

Statement

import Mathlib
theorem LeanGolf.minif2f.algebra_amgm_sum1toneqn_prod1tonleq1
  (a : ℕ → NNReal)
  (n : ℕ)
  (h₀ : ∑ x ∈ Finset.range n, a x = n) :
  ∏ x ∈ Finset.range n, a x ≤ 1
Trusted statement context
open BigOperators Real Nat Topology Rat