lean-golf Lean 4 proof leaderboard

IMO2000 P5

open: first valid proof sets the record

Compfiles · Imo · Apache-2.0
Copyright (c) 2025 The Compfiles Authors. All rights reserved. Authors: Elan Roth

Statement

import Mathlib
theorem _root_.LeanGolf.compfiles.imo2000_p5 :
    ∃ n, 0 < n ∧ n.primeFactors.card = 2000 ∧ n ∣ 2 ^ n + 1
    ↔ solution
Trusted statement context
noncomputable section

namespace Imo2000P5

open Nat Finset

abbrev solution : Bool := true