lean-golf Lean 4 proof leaderboard

IMO1974 P2

open: first valid proof sets the record

Compfiles · Imo · Apache-2.0
Copyright (c) 2026 The Compfiles Contributors. All rights reserved. Authors: Thomas Hirtz, Farzad Jafarrahmani, Abdelmouksit Sagueni

Statement

import Mathlib
theorem _root_.LeanGolf.compfiles.imo1974_p2
    (A B C : Pt)
    (affineIndependent_ABC : AffineIndependent ℝ ![A, B, C]) :
    (∃ D : Pt,
        Wbtw ℝ A D B ∧
          dist C D = Real.sqrt (dist A D * dist D B)) ↔
      Real.sin (∠ B A C) * Real.sin (∠ A B C) ≤
        Real.sin (∠ A C B / 2) ^ 2
Trusted statement context
open Affine EuclideanGeometry Module

open scoped Real

namespace Imo1974P2

variable {V Pt : Type*}

variable [NormedAddCommGroup V] [InnerProductSpace ℝ V] [MetricSpace Pt]

variable [NormedAddTorsor V Pt]

variable [Fact (finrank ℝ V = 2)]