lean-golf Lean 4 proof leaderboard

numbertheory_aoddbdiv4asqpbsqmod8eq1

open: first valid proof sets the record

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

Statement

import Mathlib
theorem LeanGolf.minif2f.numbertheory_aoddbdiv4asqpbsqmod8eq1
  (a : ℤ)
  (b : ℤ)
  (h₀ : Odd a)
  (h₁ : 4 ∣ b)
  (h₂ : b >= 0) :
  (a^2 + b^2) % 8 = 1
Trusted statement context
open BigOperators Real Nat Topology Rat