lean-golf Lean 4 proof leaderboard

imo_1983_p6

open: first valid proof sets the record

miniF2F · imo · Apache-2.0
miniF2F-Lean v2 contributors (Azim Ospanov, Farzan Farnia and Roozbeh Yousefzadeh).

Statement

import Mathlib
import Aesop
theorem LeanGolf.minif2f.imo_1983_p6
  (T : Affine.Triangle ℝ (EuclideanSpace ℝ (Fin 2))) :
  let a := dist (T.points 1) (T.points 2)
  let b := dist (T.points 0) (T.points 2)
  let c := dist (T.points 0) (T.points 1)
  0 ≤ a^2 * b * (a - b) + b^2 * c * (b - c) + c^2 * a * (c - a) ∧
  (0 = a^2 * b * (a - b) + b^2 * c * (b - c) + c^2 * a * (c - a) ↔
  (a = b ∧ a = c))
Trusted statement context
open BigOperators Real Nat Topology Rat