USA2017 P6
open: first valid proof sets the record
Compfiles · Usa · Apache-2.0
Copyright (c) 2025 Jeremy Tan. All rights reserved. Authors: Jeremy Tan
Statement
import Mathlib.Algebra.BigOperators.Field
import Mathlib.Algebra.BigOperators.Fin
import Mathlib.Algebra.Order.BigOperators.Group.Finset
import Mathlib
import Mathlib.Tactic.FinCases
import Mathlib.Tactic.Linarith
import Mathlib.Tactic.Ring
theorem _root_.LeanGolf.compfiles.usa2017_p6 : IsLeast (f '' {x | Conditions x}) solutionTrusted statement context
noncomputable section
namespace Usa2017P6
noncomputable def f (x : Fin 4 → ℝ) : ℝ :=
∑ i, x i / (x (i + 1) ^ 3 + 4)
def Conditions (x : Fin 4 → ℝ) : Prop :=
0 ≤ x ∧ ∑ i, x i = 4
noncomputable abbrev solution : ℝ := 2 / 3