Skip to main content
QUICK REVIEW

[论文解读] GoldbachGPU: An Open Source GPU-Accelerated Framework for Verification of Goldbach's Conjecture

Llorente-Saguer, Isaac|arXiv (Cornell University)|Mar 2, 2026
Analytic Number Theory ResearchMathematics被引用 0
一句话总结

GoldbachGPU 提供一个分段双筛的GPU框架,在单个消费级GPU上对戈爾巴赫猜想进行穷举验证,范围达到10^12;并提供开源、CPU辅助验证和基于GMP的任意精度检查,扩展至10^10000。

ABSTRACT

We present GoldbachGPU, an open-source framework for large-scale computational verification of Goldbach's conjecture using commodity GPU hardware. Prior GPU-based approaches reported a hard memory ceiling near 10^11 due to monolithic prime-table allocation. We show that this limitation is architectural rather than fundamental: a dense bit-packed prime representation provides a 16x reduction in memory footprint, and a segmented double-sieve design removes the VRAM ceiling entirely. By inverting the verification loop and combining a GPU fast-path with a multi-phase primality oracle, the framework achieves exhaustive verification up to 10^12 on a single NVIDIA RTX 3070 (8 GB VRAM), with no counterexamples found. Each segment requires 14 MB of VRAM, yielding O(N) wall-clock time and O(1) memory in N. A rigorous CPU fallback guarantees mathematical completeness, though it was never invoked in practice. An arbitrary-precision checker using GMP and OpenMP extends single-number verification to 10^10000 via a synchronised batch-search strategy. The segmented architecture also exhibits clean multi-GPU scaling on data-centre hardware (tested on 8 x H100). All code is open-source, documented, and reproducible on both commodity and high-end hardware.

研究动机与目标

  • 证明GPU基础的戈爾巴赫验证中的VRAM内存上限是体系结构性的,而非根本性的。
  • 开发分段双筛架构,以实现超越先前GPU极限的穷举验证。
  • 提供多阶段素性预言,以在没有整体素数表的情况下正确验证分区。
  • 提供任意精度检查器,将验证扩展到非常大的数字。
  • 提供开源、可复现的软件,适用于普通硬件及更高端硬件。

提出的方法

  • 使用密集位打包的素数表示以将内存占用降低约16倍。
  • 实现分段双筛,将验证循环翻转以避免分段边界问题。
  • 采用三路素性预言(小素数位集、分段位集、Miller–Rabin)进行q=n-p的查找。
  • 阶段1在GPU上进行分区计算,具备快速路径和原子进度检查;阶段2在需要时使用CPU穷举回退。
  • 提供基于GMP的big_check,带有同步的批量搜索以验证高达10^10000的数字。

实验结果

研究问题

  • RQ1使用分段双筛能否在10^11以上实现对戈爾巴赫猜想的GPU加速穷举验证?
  • RQ2密集素数位集和分段是否可以消除消费级GPU上的VRAM上限?
  • RQ3多阶段素性预言在GPU分区验证中的可行性与正确性如何?
  • RQ4任意精度验证能将戈爾巴赫验证扩展到多大范围(超出64位)?
  • RQ5在现代加速器上,分段式戈爾巴赫验证的多GPU扩展性能如何?

主要发现

  • 在单个RTX 3070(8 GB VRAM)上通过分段双筛实现对10^12的穷举验证(goldbach_gpu3)。
  • 密集64位素数位集将VRAM降低16倍,使8 GB显卡在10^11范围内通过goldbach_gpu2实现。
  • 阶段1(GPU快速路径)对所有分区在10^12范围内均成功,未观测到阶段2 CPU回退。
  • CPU回退保证数学上的完全性,尽管在报告的实验中未被触发。
  • 基于GMP的big_check通过同步批量搜索验证高达10^10000的数字;10^10000在20个线程上耗时182秒完成。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。