{"id":"arxiv:2611.35240","source":"arxiv","external_id":"2611.35240","doi":"10.48550/arXiv.2611.35240","title":"Lattice Trapezoids of Prime Gaps: Minimal Interior Counts and Empirical Statistics","abstract":"Let $p_n$ denote the $n$-th prime and $g_n = p_{n+1} - p_n$. Mapping consecutive primes to $z_n = p_n + ip_{n+1} \\in \\mathbb{Z}[i]$ defines, for each $n \\ge 1$, a convex lattice quadrilateral $Q_n \\subset \\mathbb{R}^2$ whose vertices lie in $\\mathbb{Z}^2$ with area $ΔA_n = \\frac{1}{2} g_n(g_n + g_{n+1})$. We prove two-sided bounds relating $\\sum_{n=1}^{N} ΔA_n$ to the second moment $\\sum_{n=1}^{N} g_n^2$, express the boundary and interior lattice-point counts $B_n$ and $I_n$ of $Q_n$ in terms of $(g_n, g_{n+1})$, and classify all minimal values of $I_n$. In particular, for $n \\ge 3$ one has $I_n \\ge 2$, with equality if and only if $(p_n, p_{n+1}, p_{n+2})$ is a prime triple $(p, p+2, p+6)$. We also prove a telescoping identity for $\\sum_{n=1}^{N} B_n$ implying $\\lim_{N\\to\\infty} \\sum_{n=1}^{N} I_n / \\sum_{n=1}^{N} ΔA_n = 1$ at rate $O(1/\\ln N)$ using only Chebyshev's bound and Bertrand's postulate. Numerically, for all primes below $3\\times 10^{10}$ ($1.3\\times 10^{9}$ primes) we compare the distribution of $\\gcd(g_n, g_{n+1})$ and the sign of the discrete convexity $K_n = \\frac{1}{2}(g_n g_{n+2} - g_{n+1}^2)$ with a local-scale windowed empirical-marginal null. The residual adjacency shifts decrease monotonically in magnitude across six disjoint intervals from $10^5$ to $2\\times 10^{10}$. A one-parameter $c/\\ln x$ decay is adequate only for the $K_n > 0$ shift and is rejected for the other three; two-parameter forms fit all four, but the data cannot determine the asymptotic rate. The algebraic bounds, minimal-count classifications, telescoping boundary sum, and direct discrete interior-point formula are verified in Lean~4.","primary_category":"math.NT","domain":"math","license_url":"http://arxiv.org/licenses/nonexclusive-distrib/1.0/","license_short":"arXiv Non-Exclusive (Link-Out Only)","can_host_fulltext":false,"pdf_url":"https://arxiv.org/pdf/2611.35240","canonical_url":"https://arxiv.org/abs/2611.35240","source_repo_url":"https://github.com/Bronxproject/lattice-trapezoids-prime-gaps","proof_system":"Lean 4","tcb_grade":"TCB-2","track":"verified","tcb_notes":"Seeded with linked Lean 4 artifact (https://github.com/Bronxproject/lattice-trapezoids-prime-gaps); eligible for sandboxed TCB-0/TCB-1 promotion.","merkle_root":"caffb8bb494c81981e22dd7cec1a504f4fca0fd72cf6f643705ed415776b2963","published_at":"2026-11-25","ingested_at":"2026-11-30T13:55:01+00:00","version":1,"doi_url":"https://doi.org/10.48550/arXiv.2611.35240","authors":["Rafael A. Gonzalez Castillo"],"categories":["math.NT"],"ai_provenance":{"disclosed":false,"models":["Indexed via arXiv CC0 OAI-PMH"],"human_role":"Original arXiv authors","verification_notes":"11 pages, 1 figure; Lean 4 formalization and Python code at https://github.com/Bronxproject/lattice-trapezoids-prime-gaps ; software archive DOI: 10.5281/zenodo.24451767"},"audit_report":{"passed":true,"source":"arxiv-oai-pmh","findings":[]},"tcb_meta":{"code":"TCB-2","label":"Reproducible Compute","track":"verified","rank":2,"icon":"●","summary":"Backed by executable verification code, simulation scripts, or hybrid formal+tested artifacts with SHA-256 integrity hash."},"claims":[],"citations":[],"upgrades":[],"verification_jobs":[],"versions":[],"reviews":[],"latest_review":null}