IMO2010 P3
open: first valid proof sets the record
Compfiles · Imo · Apache-2.0
Copyright (c) 2023 The Compfiles Contributors. All rights reserved. Authors: Elan Roth, Claude Opus 5
Statement
import Mathlib.Tactic
theorem _root_.LeanGolf.compfiles.imo2010_p3 (g : ℤ>0 → ℤ>0) :
g ∈ SolutionSet ↔ ∀ m n, IsSquare ((g m + n) * (g n + m))Trusted statement context
noncomputable section
namespace Imo2010P3
abbrev PosInt : Type := { x : ℤ // 0 < x }
notation "ℤ>0" => PosInt
abbrev SolutionSet : Set (ℤ>0 → ℤ>0) := { f | f = id ∨ ∃ c, ∀ x, f x = x + c }