USA1997 P6
open: first valid proof sets the record
Compfiles · Usa · Apache-2.0
Copyright (c) 2026 The Compfiles Contributors. All rights reserved. Authors: Kimi K3
Statement
import Mathlib.Algebra.Order.Archimedean.Real.Basic
import Mathlib.Data.Finset.Max
import Mathlib.Order.Interval.Finset.Nat
theorem _root_.LeanGolf.compfiles.usa1997_p6 (a : ℕ → ℕ)
(hlo : ∀ i j : ℕ, 1 ≤ i → 1 ≤ j → i + j ≤ 1997 → a i + a j ≤ a (i + j))
(hhi : ∀ i j : ℕ, 1 ≤ i → 1 ≤ j → i + j ≤ 1997 → a (i + j) ≤ a i + a j + 1) :
∃ x : ℝ, ∀ n : ℕ, 1 ≤ n → n ≤ 1997 → (a n : ℤ) = ⌊(n : ℝ) * x⌋Trusted statement context
namespace Usa1997P6