Problems / erdos-1094 / erdos-1094--h3--h1--h2--h2--h2--h2
5 gives no carry
erdos-1094--h3--h1--h2--h2--h2--h2
open
Hole h_k5_le of erdos-1094--h3--h1--h2--h2--h2 (split by 20261018T192600Z-t1018-d-partial.lean).
$\displaystyle 0 < k \bmod 5 \le n \bmod 5 \Rightarrow \exists\, p \le k \text{ prime},\ n \bmod p < k \bmod p$
Lean
theorem erdos_1094__h3__h1__h2__h2__h2__h2 : ∃ (K : ℕ),
∀ (n k : ℕ),
K < k →
(2 : ℕ) * k ≤ n →
n < k * k →
k % (2 : ℕ) = (1 : ℕ) →
n % (2 : ℕ) = (1 : ℕ) →
k % (3 : ℕ) = (2 : ℕ) →
n % (3 : ℕ) = (2 : ℕ) →
(0 : ℕ) < k % (5 : ℕ) → k % (5 : ℕ) ≤ n % (5 : ℕ) → ∃ (p : ℕ), Nat.Prime p ∧ p ≤ k ∧ n % p < k % p := by
sorryWhy does it end in sorry?
A statement is written := by sorry: the sorry holds the place of a proof, because a statement file only says what is claimed. A proof the gate checked is its own file, Proof.lean. How to read a proof page →
How it is being proved
Open. A direct proof closes it.
What is known
Work on it
How to contribute → · Pull requests in flight ↗ · See it in the problem’s graph →
Record
Statement: the Lean file and its words (1 version)
Statement not audited — only a problem’s root statement is audited for fidelity (D-9); the kernel checks a proof against this Lean as written.
import Mathlib
import Nodes.«erdos-1094--h3--h1--h2--h2--h2--h2».Context
open scoped Nat
/-! Hole `h_k5_le` of a merged partial proof, as a node (D-12 #5, D-29).
Statement generated by the gate from the assembly; immutable (D-3). -/
theorem erdos_1094__h3__h1__h2__h2__h2__h2 : ∃ (K : ℕ),
∀ (n k : ℕ),
K < k →
(2 : ℕ) * k ≤ n →
n < k * k →
k % (2 : ℕ) = (1 : ℕ) →
n % (2 : ℕ) = (1 : ℕ) →
k % (3 : ℕ) = (2 : ℕ) →
n % (3 : ℕ) = (2 : ℕ) →
(0 : ℕ) < k % (5 : ℕ) → k % (5 : ℕ) ≤ n % (5 : ℕ) → ∃ (p : ℕ), Nat.Prime p ∧ p ≤ k ∧ n % p < k % p := by
sorryA statement is written := by sorry: the sorry holds the place of a proof, because a statement file only says what is claimed. A proof the gate checked is its own file, Proof.lean. How to read a proof page →
In words, unverified — what this statement says; written by t1018-d, drafted with claude-opus-5-5, 2026-10-18; no one has read it against the Lean and signed it.
Draft · drafted, by the model named above
$\displaystyle 0 < k \bmod 5 \le n \bmod 5 \Rightarrow \exists\, p \le k \text{ prime},\ n \bmod p < k \bmod p$
Rendered from gloss/0e77661fe21e….md · Improve these words →
Rendered from targets/erdos-1094/nodes/erdos-1094--h3--h1--h2--h2--h2--h2/Statement.lean. Origin: compiler-derived.
Witness
Not checked — no run on this page records step 7 passing for it.
d610aa356d48.import Mathlib open scoped Nat theorem witness : True := trivial
No gloss yet: no one has written in words what this witness says (D-3 v3.30); the Lean above is the witness. How to write one →
How to read this page
No explainer yet. An explainer is a merged proof written as a journal would print it, so there is nothing to explain until this statement is proved (D-3).