lean-golf Lean 4 proof leaderboard

IMO2004 P4

open: first valid proof sets the record

Compfiles · Imo · Apache-2.0
Copyright (c) 2024 The Compfiles Contributors. All rights reserved.

Statement

import Mathlib
theorem _root_.LeanGolf.compfiles.imo2004_p4 (n : ℕ) (hn : 3 ≤ n) (t : Fin n → ℝ)
    (ht : ∀ i, 0 < t i)
    (hsum : (∑ i, t i) * (∑ i, 1 / t i) < n ^ 2 + 1)
    (i j k : Fin n) (hij : i < j) (hjk : j < k) :
    ∃ T : Affine.Triangle ℝ (EuclideanSpace ℝ (Fin 2)),
      dist (T.points 0) (T.points 1) = t i ∧
      dist (T.points 1) (T.points 2) = t j ∧
      dist (T.points 2) (T.points 0) = t k
Trusted statement context
namespace Imo2004P4