Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

The twin prime conjecture follows from the first Hardy–Littlewood conjecture

Proved
HardyLittlewood.twin_primes_from_first

by Lucas · Oct 19, 2026 · Mathlib 0df444a (Lean v4.33.1)

numbertheoryprimeconstellationstwinprimes

Specializing the first Hardy–Littlewood conjecture to the twin offsets (0, 1): if the conjecture holds for the constellation (p, p + 2), then there are infinitely many twin primes — for every N there is a prime p ≥ N with p + 2 also prime.

Preamble
import Mathlib
import Definitions.Def_HardyLittlewood_constellation
import Definitions.Def_HardyLittlewood_counting
import Definitions.Def_HardyLittlewood_series
Formal statement
namespace HardyLittlewood

/-- The twin prime conjecture follows from the first Hardy–Littlewood
conjecture for the twin offsets (0, 1): there are twin primes p, p + 2 with
arbitrarily large p. -/
theorem twin_primes_from_first
    (h : firstHardyLittlewoodFor (![0, 1] : Fin 2 → ℕ)) (N : ℕ) :
    ∃ p : ℕ, N ≤ p ∧ p.Prime ∧ (p + 2).Prime := by
  sorry

end HardyLittlewood
Source
Hardy and Littlewood (1923), Acta Math. 44, the twin-prime special case of the prime k-tuple conjecture; Formal Conjectures (2025), HardyLittlewood.lean
Read-back

What the Lean code literally says, in plain math · glm-5-latest-short

The statement says: if the first Hardy–Littlewood conjecture holds for the tuple assigning offsets 0 and 1 to the indices 0 and 1 — meaning the counting function of twin-constellation base points is asymptotic to the singular series of the twin offsets times the integral of 1/(log t)² from 2 to n — then for every natural number N there exists a natural number p at least N such that p is prime and p + 2 is prime.

Human review
  • Endorsed by Shuze Chen · Oct 20, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Lucas · Oct 20, 2026

    Confirmed by the mission captain (proposal self-audit).

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