GPT-6-Astra:存在无穷多对间距不超过 186 的连续素数
GPT-6-Astra: infinitely pairs of consecutive primes with distance at most 186

原始链接: https://github.com/openai/PrimeGaps186

本仓库提供了一个 Lean 4 形式化证明,展示了素数间隙界限 $\liminf_{n\to\infty}(p_{n+1}-p_n)\le 186$。该研究成果源自 Polymath 风格的 $\mathrm{DHL}[40,2]$ 定理,该定理断言任何包含 40 个整数的容许集都存在无穷多个平移,其中至少包含两个素数。 该形式化证明是有条件的,依赖于三个在 Lean 内核中尚未证明的显式公理: 1. 关于克洛斯特曼和 (Kloosterman sum) $\mathrm{Kl}_3(c;p)$ 的界限。 2. 关于克洛斯特曼和 $K_2(c;p)$ 的相关性界限。 3. 一组由随附 Python 数值证书验证的物理积分与覆盖界限 (cap bounds)。 尽管这些数学估计源自现有文献(如 Deligne 定理和 Fouvry 等人的研究),但在本项目中它们被视为输入公理。该项目使用 Lean 4.34.0,并包含一个 Python 验证脚本,用于重新计算并校验数值部分。Lean 内核在这些公理成立的前提下接受该证明,从而在逻辑推导上实现了认证,同时将底层的分析与数值估计保留为基础假设。

近期,OpenAI 的一个 GitHub 代码库声称在素数间距问题上取得了新突破,断言存在无穷多对间距不超过 186 的素数,这一说法在 Hacker News 上引发了激烈争论。 此前曾有另一项证明提出了 240 的间距上限,而此次的声明紧随其后,却遭到了社区的质疑与批评。许多用户表示难以读懂其中的技术文档,称其为“AI 生成的废话”,掩盖了真实的数学主张。评论者指出,这些文档冗长且晦涩难懂,导致一些人质疑该研究的有效性或实际意义。 除了数学层面的困惑,此次讨论还触及了关于 AI 在学术研究中作用的更广泛担忧。一些用户批评该项目是一种为了提高估值而进行的表演性尝试,另一些用户则以该证明的可读性差为例,强调了利用 AI 实现高等数学突破的局限性。归根结底,这一讨论反映了技术上的挫败感,以及对企业 AI 开发与纯数学领域交叉现状的嘲讽。
相关文章

原文

This repository contains a Lean 4 formalization of a prime-gap bound and a Python numerical certificate. The Lean results remain conditional on three explicit input axioms; the cited mathematical estimates and numerical computations have not been turned into Lean proofs of those inputs.

For the sequence of primes $p_n$, the target bound is

$$\liminf_{n\to\infty}(p_{n+1}-p_n)\le 186.$$

The development derives $\mathrm{DHL}[40,2]$ from the inputs below: every admissible set of forty integer shifts has infinitely many translates containing at least two primes. Admissibility means omitting a residue class modulo every prime. Applying this to the included tuple of diameter 186 gives the gap bound.

The main declarations in PrimeGaps186.lean, in namespace PrimeGap186, are:

Declaration Result
dhl_40_2 $\mathrm{DHL}[40,2]$ for every admissible integer tuple.
infinite_two_prime_translates_admissibleTuple Infinitely many two-prime translates of the explicit tuple.
primeGapLiminf_le_186 The consecutive-prime gap bound.

Assumed Deligne-type estimates

For a prime $p$, write $e_p(x)=\exp(2\pi i\widetilde{x}/p)$, where $\widetilde{x}$ is any integer representative of $x\in\mathbb{F}_p$. Define

$$\mathrm{Kl}_3(c;p) =\frac1p\sum_{\substack{x_1,x_2,x_3\in\mathbb{F}_p\\x_1x_2x_3=c}} e_p(x_1+x_2+x_3),$$ $$K_2(c;p)=\sum_{u\in\mathbb{F}_p^\times}e_p(u+c/u).$$

The axiom PrimeGap186.kloosterman3_bound assumes the following bound for every prime $p$ and all $c\in\mathbb{F}_p^\times$:

$$\left|\mathrm{Kl}_3(c;p)\right|\le 3.$$

This follows from Deligne's theorem as stated in Nicholas M. Katz, Gauss Sums, Kloosterman Sums, and Monodromy Groups, Annals of Mathematics Studies 116, Princeton University Press (1988), Theorem 4.1.1(1)–(2), p. 49. With $n=3$, trivial multiplicative characters, and $b_1=b_2=b_3=1$, rank three and weight two give the raw bound $3p$; our normalization divides by $p$.

The axiom PrimeGap186.kloosterman2_correlation_bound assumes the following bound for every prime $p$ and all $A,B\in\mathbb{F}_p^\times$:

$$\left|\sum_{t\in\mathbb{F}_p\setminus\{0,-1\}} K_2(A/t;p)\,K_2(B/(t+1);p)\right|\le 8p\sqrt p.$$

This is Étienne Fouvry, Emmanuel Kowalski, and Philippe Michel, The Friedlander–Iwaniec character sum, 14 June 2013, Proposition 2, p. 1. Their normalized $\mathrm{Kl}_2(c)$ equals $K_2(c;p)/\sqrt p$ after inverting the summation variable, so their $8\sqrt p$ bound becomes $8p\sqrt p$ here. No condition $A\ne B$ is imposed; the two poles are excluded even when $A=B$.

These estimates are established in the cited literature, but remain unproved inputs in this Lean development.

Numerical input and certificate

PrimeGap186.physical_integral_bounds assumes 104 outer and 45 inner physical-integral upper bounds, plus three cap bounds.

The Python certificate recomputes the trial from scratch. The tested environment used Python 3.12.13, NumPy 2.2.6, python-flint 0.9.0, and a custom FLINT 3.6.0 build with corrected signed polynomial convolution (not bundled).

python3 -B prime_gap_186_certificate.py --workers 4 --output prime_gap_186_fresh.json

Use a new output path. Keep PYTHONOPTIMIZE unset and do not use -O or -OO. Mandatory floating-point and signed-convolution checks must pass. A successful run produces a receipt with passed: true; it does not discharge any Lean axiom.

Building and verification

The project pins Lean 4.34.0-rc2 and its Mathlib dependencies. With elan installed, run:

lake exe cache get
lake build PrimeGaps186

The registered Lean build passed without errors or warnings. Comparator matched all three results to Challenge.lean, and Nanoda and Lean’s kernel accepted their proofs in a local Colima Linux VM. The configuration permits the three documented project axioms plus propext, Quot.sound, and Classical.choice (six total); this verifies conditional proofs, not the inputs themselves. The numerical certificate is unchanged from its earlier passing run.

Challenge.lean specifies the statements and input assumptions, with three intentional theorem placeholders. See the Comparator instructions and formalization metadata for the checking setup and status.

Project contributions use Apache 2.0; existing third-party notices remain applicable.

联系我们 contact @ memedata.com