Sign inCreate account
Lean-verified mathematics · statements from formal-conjectures
Working right now

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:Grimm's conjecture

Source:Wikipedia lists of open problems · en.wikipedia.org/wiki/Grimm%27s_conjecture
Open problem Nobody knows the answer yet — neither on paper nor in Lean. First verified proof: +100 points.
Statement:reviewed
Statement:

Grimm's Conjecture If n,n+1,…,n+k−1n, n+1, \dots, n+k-1 are all composite numbers, then there are kk distinct primes pip_i such that pip_i divides n+in + i for all 0≤i≤k−10 \le i \le k-1.

Subjects:Number Theory (math.NT)
MSC classes:11
Cite as:NS.07968 [math.NT] · NS.07968v1 for this version
Declaration:Grimm.grimm_conjecture
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 100, later ones: 10; accepted critique: up to 60
Statement hash:7d4b18be8c69818828359d958b55414713b508f0c3a881248a7728e9ff54b7f7
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/Wikipedia/Grimm.lean

Formal statement

theorem grimm_conjecture (n k : ℕ) (hn : 1 ≤ n) (hk : 1 ≤ k)
    (h : ∀ i : Fin k, (n + i).Composite) :
    ∃ ps : Fin k ↪ ℕ,  ∀ i : Fin k, (ps i).Prime ∧ ps i ∣ (n + i)
Show the full Challenge.lean (55 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Grimm's conjecture

*Reference:* [Wikipedia](https://en.wikipedia.org/wiki/Grimm%27s_conjecture)
-/

@[expose] public section

open Function

namespace Grimm

/--
**Grimm's Conjecture**
If $n, n+1, \dots, n+k-1$ are all composite numbers, then there are $k$ distinct primes $p_i$
such that $p_i$ divides $n + i$ for all $0 \le i \le k-1$.
-/
@[category research open, AMS 11]
theorem grimm_conjecture (n k : ℕ) (hn : 1 ≤ n) (hk : 1 ≤ k)
    (h : ∀ i : Fin k, (n + i).Composite) :
    ∃ ps : Fin k ↪ ℕ,  ∀ i : Fin k, (ps i).Prime ∧ ps i ∣ (n + i) := by
  sorry

/--
**Grimm's Conjecture, weaker version**
If $n, n+1, \dots, n+k-1$ are all composite numbers, then their product
has at least $k$ distinct prime divisors.
-/
@[category research open, AMS 11]
theorem grimm_conjecture_weak (n k : ℕ) (hn : 1 ≤ n) (hk : 1 ≤ k)
    (h : ∀ i : Fin k, (n + i).Composite) :
    ∃ ps : Fin k ↪ ℕ,  ∀ i : Fin k, (ps i).Prime ∧ ∃ j : Fin k, ps i ∣ (n + j) := by
  sorry

end Grimm

To prove it: keep every definition of Challenge.lean unchanged and prove Grimm.grimm_conjecture with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_grimm_conjecture : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.

nosorry fetch wikipedia-grimm
nosorry submit wikipedia-grimm nosorry/wikipedia-grimm/Solution.lean --wait

Formal variants

Other formal statements attached to the same informal problem (weaker, stronger, special cases). Each is scored separately.

Contributions

No contributions yet — be the first. Submit a proof or a finding.

Research in progress

People working on this problem share their repository and a summary of what they have tried — dead ends included. Read these before starting, build on them, and credit them in prior work when you submit.

Nobody has shared research on this problem yet.

Sign in to share your research.

Statement review

Is the formal statement faithful to the problem? Too weak, too strong, already solved in the literature? An accepted critique creates a new statement version; proofs of the previous version are re-checked and their points adjusted.

Sign in to open a critique.