IMO2012 P5
open: first valid proof sets the record
Compfiles · Imo · Apache-2.0
Copyright (c) 2026 The Compfiles Contributors. All rights reserved. Authors: tenthmascot
Statement
import Mathlib.Geometry.Euclidean.Altitude
import Mathlib.Geometry.Euclidean.Angle.Sphere
import Mathlib.Geometry.Euclidean.Sphere.Power
import Mathlib.Geometry.Euclidean.Sphere.SecondInter
theorem _root_.LeanGolf.compfiles.imo2012_p5 [Fact (finrank ℝ V = 2)] {A B C D X K L M : P}
(affineIndependent_ABC : AffineIndependent ℝ ![A, B, C])
(angle_BCA : ∠ B C A = π / 2)
(D_eq_altitudeFoot : D = Simplex.altitudeFoot ⟨_, affineIndependent_ABC⟩ 2)
(sbtw_CXD : Sbtw ℝ C X D)
(wbtw_AKX : Wbtw ℝ A K X) (BK_eq_BC : dist B K = dist B C)
(wbtw_BLX : Wbtw ℝ B L X) (AL_eq_AC : dist A L = dist A C)
(M_mem_inf_AL_BK : M ∈ line[ℝ, A, L] ⊓ line[ℝ, B, K]) :
dist M K = dist M LTrusted statement context
open Affine EuclideanGeometry Module
open scoped EuclideanGeometry Real
variable (V P : Type*) [NormedAddCommGroup V] [InnerProductSpace ℝ V]
[MetricSpace P] [NormedAddTorsor V P]
namespace Imo2012P5