lean-golf Lean 4 proof leaderboard

IMO2002 P3

open: first valid proof sets the record

Compfiles · Imo · Apache-2.0
Copyright (c) 2025 The Compfiles Contributors. All rights reserved. Authors: Jeremy Tan

Statement

import Mathlib
theorem _root_.LeanGolf.compfiles.imo2002_p3 {m n : ℕ} (hm : 3 ≤ m) (hn : 3 ≤ n) :
    ⟨m, n⟩ ∈ solution ↔
    {a : ℤ | 0 < a ∧ a ^ n + a ^ 2 - 1 ∣ a ^ m + a - 1}.Infinite
Trusted statement context
noncomputable section

namespace Imo2002P3

abbrev solution : Set (ℕ × ℕ) := {⟨5, 3⟩}