Shared-Basis 128-Bit Fixed-Point GPU Extraction of Six Fundamental Logarithms at the 6-Trillionth Bit (and
Language: English · Türkçe (README_TR.md)
Scientific Scope Note:
WERR-Pi/WERR-Log6performs isolated BBP-type / Bellard hexadecimal digit extraction in$O(1)$ memory — jumping directly to a target bit offset (such as bit$6 \times 10^{12}$ , equivalent to$\approx 1.806 \times 10^{12}$ decimal depth) to extract a verified 20–21 hex-digit (80–84 bit) window without computing or storing preceding digits. It is an isolated spigot engine, not a sequential Chudnovsky full-expansion calculator.
Using a 4-basis shared-sum algebraic decomposition (A_odd, F_D, B&C), a single sweep extracts all 6 fundamental natural logarithms simultaneously at 2.104 billion modexps/sec (39.6 min primary + 40.5 min independent shifted+1 verification = 80.1 min total, 0.109 kWh total GPU energy):
| Constant | Algebraic Basis | Verified Hex Window @ hex_pos = 1.5×10¹²
|
Verified Precision |
|---|---|---|---|
DE88285F7D8234FF4CF79 |
21 hex (84 bits) | ||
7DEE7C6BAD525E1C7B74 |
20 hex (80 bits) | ||
CB1CE342860B2340DFF32 |
21 hex (84 bits) | ||
5C76A4CB2AD4931BC86C8 |
21 hex (84 bits) | ||
88A93D54744EB2500001 |
20 hex (80 bits) | ||
A9A50BA2038D58402CEA |
20 hex (80 bits) |
Basis definitions:
Because 5.0 × 10¹² total modular exponentiations instead of six independent sweeps.
Using Bellard's 7-term formula with 128-bit fixed-point GPU accumulation (2.370 billion modexps/sec, 118.1 s primary + 118.4 s shifted+1 verification, 85.5 W avg):
- Verified Hex @
hex_pos = 10¹¹:9C381872D27596F81D0E48B95A6(27 hex / 108 bits, 26-digitshifted+1overlap)
You do not need an NVIDIA GPU to audit the sealed 6-trillionth-bit records. Every checkpoint chunk (203 chunks for pos0 + 203 chunks for pos1) and all 10 SHA-256 hashes are included in benchmarks/.
# 1. Run unit tests (Bellard, BBP, Verifier, Standalone Orchestrator)
python -m unittest discover -s tests -v
# 2. Run 4-layer CPU zero-trust audit:
# - Exact Q-rational identity proof (fractions.Fraction)
# - Contiguous partition & raw JSONL re-summation (pos0 & pos1)
# - Modulo-1 linear-combination consistency (ln 2 + ln 3 == ln 6, ln 2 + ln 5 == ln 10) + shifted+1 overlap
# - Cryptographic SHA-256 verification of all 10 sealed artifacts
python scripts/ci_verify_cpu.py# Adds Layer 2 (bit-for-bit 128/128-bit comparison between CUDA PTX kernels and pure Python pow(2, e, m)
# at start, midpoint 750B/1T, and tail 1.5T/2T) and Layer 3 (arbitrary-precision Decimal ground truth at hex #100 & #1000)
python scripts/independent_audit_6tbit.pyNote on
sha256_sealvs.WERRPI_SEAL_MANIFEST.json: Insidebenchmarks/werr_log6_6Tbit_record.json, the fieldsha256_sealis the SHA-256 digest of the canonical JSON payload prior to appending thesha256_sealkey itself. The final file-level SHA-256 of all 10 sealed artifacts (including the finalizedwerr_log6_6Tbit_record.json) is recorded inbenchmarks/WERRPI_SEAL_MANIFEST.jsonand verified byte-for-byte byscripts/ci_verify_cpu.py.
# Extract pi hexadecimal digits at hex offset 1,000 using best available backend (CUDA / Rust / C / Python MP)
python -m werrpi --hex-pos 1000 --digits 20 --verify| Path | Description |
|---|---|
werrpi/log6_cuda.py |
Shared-basis 6-logarithm 128-bit CUDA PTX engine (SHA-256 sealed) |
werrpi/cuda_driver.py |
Bellard/BBP 128-bit CUDA PTX driver + NVML telemetry (SHA-256 sealed) |
werrpi/bellard.py |
Multi-backend dispatcher (cuda, rust, c, python_mp) |
werrpi/orchestrator.py |
Resumable 128-bit JSONL checkpoint orchestrator (standalone + optional WERR) |
werrpi/native/ |
Pure C, CUDA (.cu), and Rust (Cargo) backend sources |
benchmarks/WERRPI_SEAL_MANIFEST.json |
Cryptographic SHA-256 manifest of all 10 sealed artifacts |
docs/WERR_LOG6_6TBIT_RECORD_CERTIFICATE.md |
Official 6-trillionth-bit verification certificate (SHA-256 sealed) |
docs/WERRPI_RTX4060_BENCHMARK.md |
RTX 4060 Laptop GPU telemetry & benchmark report (SHA-256 sealed) |
docs/WERRPI_MASTER_REPORT_TR.md |
Comprehensive Turkish engineering & mathematics report |
scripts/ci_verify_cpu.py |
4-layer CPU-only zero-trust audit (runs in GitHub Actions CI) |
scripts/independent_audit_6tbit.py |
Full 5-layer GPU + pure-Python zero-trust audit |
paper/WERR_Log6_6Tbit_Preprint_v1.0.1.pdf |
Canonical 7-page preprint PDF (Zenodo 10.5281/zenodo.24655507 / arXiv cs.MS, cs.DC) + LaTeX source & 4 vector figures |
paper/WERR_Log6_6Tbit_SSRN_Working_Paper_v1.0.1.pdf |
5-page SSRN Working Paper edition (CompSciRN / EngRN / Compute Economics) |
scripts/generate_preprint_figures.py |
Reproducible generator for all 4 vector publication figures from sealed artifacts |
- Dağhan Dağlı¹ — ¹Toros Science High School, MEV (Toros University), Mersin, Türkiye · ORCID: 0009-0003-2492-8313 · @Lexovian
- Volkan Dağlı²,³,* (Corresponding author) — ²Anadolu University, Eskişehir, Türkiye · ³ITouch Systems, Çukurova University Technopark, Adana, Türkiye · ORCID: 0009-0000-1587-8703 · @pCwOrM
- Zerrin Dağlı⁴,⁵ — ⁴Mersin University, Mersin, Türkiye · ⁵Yusuf Kalkavan Anatolian High School, Ministry of National Education, Mersin, Türkiye · ORCID: 0000-0001-9490-6425
Acknowledgments: Supported by ITouch Systems and Bekirhan Dağlı (Partner, ITouch Systems).
This repository is licensed under the Business Source License 1.1 (BSL-1.1) under the corporate protection of ITOUCH BİLİŞİM SİSTEMLERİ MÜHENDİSLİK DANIŞMANLIK SANAYİ VE TİCARET LİMİTED ŞİRKETİ (Çukurova University Technopark, Adana, Türkiye):
- Academic, Educational & Non-Commercial Research Use: 100% free to run, compile, audit, benchmark, fork, cite, and archive for scientific reproducibility.
- Commercial / Production Use: Requires an express written Commercial Enterprise License from ITouch Bilişim Sistemleri Ltd. Şti. (
[email protected]). - Change Date & Change License: Automatically converts to Apache License, Version 2.0 on
2030-01-01. - See
LICENSEandNOTICEfor full legal parameters and trademark notices (ITouch®,TEKNOSANAT®).
Machine-readable citation metadata is available in CITATION.cff:
@software{dagli2026werrpi,
author = {Da{\u{g}}l{\i}, Da{\u{g}}han and Da{\u{g}}l{\i}, Volkan and Da{\u{g}}l{\i}, Zerrin},
title = {{WERR-Pi / WERR-Log6: Shared-Basis 128-Bit Fixed-Point GPU Extraction of Six Fundamental Logarithms at the 6-Trillionth Bit}},
version = {1.0.1},
year = {2026},
month = nov,
publisher = {Zenodo / ITouch Systems},
doi = {10.5281/zenodo.24655507},
note = {Concept DOI: 10.5281/zenodo.24655506},
url = {https://doi.org/10.5281/zenodo.24655507}
}