IMO2007 P1A
open: first valid proof sets the record
Compfiles · Imo · Apache-2.0
Copyright (c) 2023 The Compfiles Contributors. All rights reserved. Authors: Benpigchu
Statement
import Mathlib.Tactic
theorem _root_.LeanGolf.compfiles.imo2007_p1a {n : ℕ} (hn : 0 < n) (a x : Fin n → ℝ) (h : Monotone x) :
(⨆ i, d a i) / 2 ≤ ⨆ i, |x i - a i|Trusted statement context
noncomputable section
namespace Imo2007P1
noncomputable abbrev d {n : ℕ} (a : Fin n → ℝ) (i : Fin n) :=
(⨆ j : {j // j ≤ i}, a j) - (⨅ j : {j // i ≤ j}, a j)