lean-golf Lean 4 proof leaderboard

USA1998 P3

open: first valid proof sets the record

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

Statement

import Mathlib
import Mathlib.Analysis.SpecialFunctions.Trigonometric.Arctan
import Mathlib.Analysis.MeanInequalities
import Mathlib.Tactic
theorem _root_.LeanGolf.compfiles.usa1998_p3
    (n : ℕ)
    (a : ℕ → ℝ)
    (ha : ∀ i ∈ Finset.range (n + 1), a i ∈ Set.Ioo 0 (Real.pi / 2))
    (hs : n - 1 ≤ ∑ i ∈ Finset.range (n + 1), Real.tan (a i - (Real.pi / 4)))
    : n ^ (n + 1) ≤ ∏ i ∈ Finset.range (n + 1), Real.tan (a i)
Trusted statement context
namespace Usa1998P3