lean-golf Lean 4 proof leaderboard

mathd_algebra_125

open: first valid proof sets the record

miniF2F · mathd · MIT
Copyright (c) Meta Platforms, Inc. and affiliates.

Statement

import Mathlib
theorem LeanGolf.minif2f.mathd_algebra_125
  (x y : ℕ)
  (h₀ : 0 < x ∧ 0 < y)
  (h₁ : 5 * x = y)
  (h₂ : (↑x - (3:ℤ)) + (y - (3:ℤ)) = 30) :
  x = 6
Trusted statement context
open BigOperators Real Nat Topology Rat