lean-golf Lean 4 proof leaderboard

numbertheory_exk2powkeqapb2mulbpa2_aeq1

open: first valid proof sets the record

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

Statement

import Mathlib
theorem LeanGolf.minif2f.numbertheory_exk2powkeqapb2mulbpa2_aeq1
  (a b : ℕ)
  (h₀ : 0 < a ∧ 0 < b)
  (h₁ : ∃ k > 0, 2^k = (a + b^2) * (b + a^2)) :
  a = 1
Trusted statement context
open BigOperators Real Nat Topology Rat