IMO2022 P5
open: first valid proof sets the record
Compfiles · Imo · Apache-2.0
Copyright (c) 2025 Roozbeh Yousefzadeh. All rights reserved. Authors: Roozbeh Yousefzadeh, David Renshaw
Statement
import Mathlib.Tactic
theorem _root_.LeanGolf.compfiles.imo2022_p5 (a b p : ℕ) (ha : 0 < a) (hb : 0 < b) (hp : p.Prime) :
⟨a,b,p⟩ ∈ solution_set ↔ a^p = Nat.factorial b + pTrusted statement context
noncomputable section
namespace Imo2022P5
abbrev solution_set : Set (ℕ × ℕ × ℕ) := { ⟨2,2,2⟩, ⟨3,4,3⟩ }