lean-golf Lean 4 proof leaderboard

Putnam 2018 A6

open: first valid proof sets the record

PutnamBench · 2018 A6 · Apache-2.0
PutnamBench contributors (Tsoukalas et al.).

Statement

import Mathlib
theorem LeanGolf.putnambench.putnam_2018_a6
  (A B C D : EuclideanSpace ℝ (Fin 2))
  (PPprops : (EuclideanSpace ℝ (Fin 2)) → (EuclideanSpace ℝ (Fin 2)) → Prop)
  (hPPprops : ∀ P1 P2, PPprops P1 P2 ↔ P1 ≠ P2 ∧ (∃ q : ℚ, (dist P1 P2) ^ 2 = q))
  (ABCDnoline : ¬Collinear ℝ {A, B, C} ∧ ¬Collinear ℝ {A, B, D} ∧ ¬Collinear ℝ {A, C, D} ∧ ¬Collinear ℝ {B, C, D})
  (ABCDsqrrat : PPprops A B ∧ PPprops A C ∧ PPprops A D ∧ PPprops B C ∧ PPprops B D ∧ PPprops C D) :
  ∃ q : ℚ, (MeasureTheory.volume (convexHull ℝ {A, B, C}) / MeasureTheory.volume (convexHull ℝ {A, B, D})).toReal = q