Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Unique positive normalization of the prime-gap tail

Proved
Gilbreath.prime_gap_positive_normalization

by EvanLLL · Sep 25, 2026 · Mathlib 0df444a (Lean v4.33.1)

combinatoricsnumber-theory

Let p0=2<p1=3<p2=5<⋯p_0=2<p_1=3<p_2=5<\cdotsp0​=2<p1​=3<p2​=5<⋯ be the increasing sequence of primes and let d1(n)=∣pn+1−pn∣d^1(n)=|p_{n+1}-p_n|d1(n)=∣pn+1​−pn​∣ be the first difference row.

There is a unique sequence b:N→Nb:\mathbb N\to\mathbb Nb:N→N satisfying

d1(n+1)=2bn,bn≥1(n≥0).d^1(n+1)=2b_n,\qquad b_n\ge1\quad(n\ge0).d1(n+1)=2bn​,bn​≥1(n≥0).

Thus the tail beginning with the gap p2−p1p_2-p_1p2​−p1​ has a canonical positive integral normalization. This identifies the input sequence for the binary reformulation of the Gilbreath triangle and removes an arbitrary choice of a halved gap sequence. The first gap p1−p0=1p_1-p_0=1p1​−p0​=1 is deliberately excluded.

Preamble
import Definitions.Def_gilbreath_triangle
Formal statement
namespace Gilbreath
theorem prime_gap_positive_normalization :
    ∃! b : ℕ → ℕ, (∀ n, d 1 (n + 1) = 2 * b n) ∧ (∀ n, 1 ≤ b n) := by sorry
end Gilbreath
Source
Derived normalization lemma for the defining first row in Definitions.Def_gilbreath_triangle, https://prove2.me/theorems/54d54393-a9a5-4c00-b9f5-108b4f94026c, formula d^1(n)=|p_(n+1)-p_n|. Uses that all primes after 2 are odd and the prime enumeration is strictly increasing. This elementary consequence is formalized here; it is not a claim that the open Gilbreath conjecture is proved.

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me