IMO2005 P2
open: first valid proof sets the record
Compfiles · Imo · Apache-2.0
Copyright (c) 2026 Constantin Seebach. All rights reserved. Authors: Constantin Seebach
Statement
import Mathlib.Tactic
theorem _root_.LeanGolf.compfiles.imo2005_p2 (a : ℕ → ℤ)
(pos_inf : Set.Infinite {i | 0 < a i})
(neg_inf : Set.Infinite {i | a i < 0})
(rem : ∀ n > 0, ((Finset.range n).image (fun i => a i % n)).card = n)
: ∀ z : ℤ, ∃! i, a i = zTrusted statement context
namespace Imo2005P2