import numberdb.sage as numberdb
from sage.rings.rational_field import QQ
from sage.rings.polynomial.polynomial_ring_constructor import PolynomialRing
from sage.rings.qqbar import AA
from sage.rings.real_arb import RealBallField
R = PolynomialRing(QQ, 'x')
x = R.gen()
Q = 4*x**4 - 28*x**3 - 7*x**2 + 16*x + 16
x0, = [r for r in Q.roots(AA, multiplicities=False) if 1 < r < QQ(4)/3]
RealBallField(397)(x0).sqrt()The geometric optimality is a mathematical input from Shultz, also reported by Huber, Shultz and Wetzel, Section 5. Exact real-algebraic arithmetic selects the quartic root in (1,4/3). Its enclosure is propagated through the positive square root using Arb at 397 bits; the result is serialized to 100 significant decimal digits with uncertainty of one unit in the last place.
An independent exact-rational Sturm sequence counts the defining root, and direct rational bisection of the degree-eight polynomial certifies both the native ball and the stored decimal interval. Exact algebra verifies the manuscript fitting cube: the edge-vector Gram matrix is D squared times the identity, all four absolute column sums are one, and all eight centered vertices lie in the unit tesseract. Known-answer and deliberately incorrect controls exercise both checks. These computations do not reprove the global geometric upper bound.