lean-golf Lean 4 proof leaderboard

USA1987 P1

open: first valid proof sets the record

Compfiles · Usa · Apache-2.0
Copyright (c) 2023 David Renshaw. All rights reserved. Authors: David Renshaw

Statement

import Mathlib.Algebra.QuadraticDiscriminant
import Mathlib.Tactic
theorem _root_.LeanGolf.compfiles.usa1987_p1 (m n : ℤ) :
    (m, n) ∈ solution_set ↔
    m ≠ 0 ∧ n ≠ 0 ∧ (m^2 + n) * (m + n^2) = (m - n)^3
Trusted statement context
noncomputable section

namespace Usa1987P1

abbrev solution_set : Set (ℤ × ℤ) :=
  { (-1, -1), (8, -10), (9, -6), (9, -21) }