lean-golf Lean 4 proof leaderboard

IMO1994 P4

open: first valid proof sets the record

Compfiles · Imo · Apache-2.0
Copyright (c) 2024 The Compfiles Contributors. All rights reserved. Authors: Benpigchu

Statement

import Mathlib.Tactic
theorem _root_.LeanGolf.compfiles.imo1994_p4 (m n : ℤ) :
    (m, n) ∈ SolutionSet ↔
    0 < m ∧ 0 < n ∧ (m * n - 1) ∣ (n^3 + 1)
Trusted statement context
noncomputable section

namespace Imo1994P4

abbrev SolutionSet : Set (ℤ × ℤ) := {
  (2, 2), (5, 3), (5, 2), (1, 3), (1, 2),
  (3, 5), (2, 5), (3, 1), (2, 1)
}