lean-golf Lean 4 proof leaderboard

Dummit-Foote · exercise 8 3 4

open: first valid proof sets the record

ProofNet · Dummit-Foote · MIT
Copyright (c) 2024 Rahul Vishwakarma. Original dataset: ProofNet.

Statement

import Mathlib
theorem LeanGolf.proofnet.dummit_foote_exercise_8_3_4 {R : Type*} {n : ℤ} {r s : ℚ}
  (h : r^2 + s^2 = n) :
  ∃ a b : ℤ, a^2 + b^2 = n
Trusted statement context
open Fintype Subgroup Set Polynomial Ideal

open scoped BigOperators

noncomputable section