lean-golf Lean 4 proof leaderboard

BULGARIA1998 P2

open: first valid proof sets the record

Compfiles · Bulgaria · Apache-2.0
Copyright (c) 2023 David Renshaw. All rights reserved. Authors: David Renshaw

Statement

import Mathlib.Analysis.InnerProductSpace.PiL2
import Mathlib.LinearAlgebra.AffineSpace.Midpoint
import Mathlib.Geometry.Euclidean.Basic
import Mathlib.Geometry.Euclidean.Triangle
theorem _root_.LeanGolf.compfiles.bulgaria1998_p2
    (A B C D E M : EuclideanSpace ℝ (Fin 2))
    -- ABCD is a nondegenerate convex quadrilateral: its diagonals AC and BD
    -- cross at a point strictly inside both of them.
    (hABC : ¬ Collinear ℝ {A, B, C})
    (hConvex : ∃ Q, Sbtw ℝ A Q C ∧ Sbtw ℝ B Q D)
    (H1 : dist D A = dist D C)
    (H2 : ∠ D A B = ∠ A B C)
    (H3 : M = midpoint ℝ B C)
    (hEAB : Collinear ℝ {A, B, E})
    (hEDM : Collinear ℝ {D, M, E}) :
    ∠ B E C = ∠ D A C
Trusted statement context
namespace Bulgaria1998P2

open EuclideanGeometry