lean-golf Lean 4 proof leaderboard

IMO1967 P3

open: first valid proof sets the record

Compfiles · Imo · Apache-2.0
Copyright (c) 2025 Roozbeh Yousefzadeh. All rights reserved. Authors: Roozbeh Yousefzadeh

Statement

import Mathlib
theorem _root_.LeanGolf.compfiles.imo1967_p3
  (k m n : ℕ)
  (c : ℕ → ℕ)
  (h₀ : 0 < k ∧ 0 < m ∧ 0 < n)
  (h₁ : ∀ s, c s = s * (s + 1))
  (h₂ : Nat.Prime (k + m + 1))
  (h₃ : n + 1 < k + m + 1) :
  (∏ i ∈ Finset.Icc 1 n, (↑(c i):ℤ)) ∣ (∏ i ∈ Finset.Icc 1 n, (((c (m + i)):ℤ) - ((c k):ℤ)))
Trusted statement context
namespace Imo1967P3