lean-golf Lean 4 proof leaderboard

Dummit-Foote · exercise 8 3 5a

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_5a {n : ℤ} (hn0 : n > 3) (hn1 : Squarefree n) :
  Irreducible (2 : Zsqrtd $ -n) ∧
  Irreducible (⟨0, 1⟩ : Zsqrtd $ -n) ∧
  Irreducible (1 + ⟨0, 1⟩ : Zsqrtd $ -n)
Trusted statement context
open Fintype Subgroup Set Polynomial Ideal

open scoped BigOperators

noncomputable section