Research Atlas

Home / Seeing the gap on an SU(2) lattice / Computing the weighted bound

Python program

Computing the weighted bound

Seeing the gap on an SU(2) lattice

Python programreplay_temporal_gauge_gap.py
"""Exact rational endpoint for the weighted temporal-gauge Wilson gap."""
from fractions import Fraction as Q
from math import factorial

BETA = Q(1637, 10000)
S = 6*BETA
C = Q(1243, 20000)
ALPHA = Q(39, 1000)


def atan_partial(x, count):
    return sum((-1)**k*x**(2*k+1)/(2*k+1) for k in range(count))


def positive_series(term, ratio, count=8):
    assert 0 <= ratio < 1
    lower = sum(term(k) for k in range(count))
    return lower, lower + term(count)/(1-ratio)


def exp_interval(x):
    return positive_series(lambda k: x**k/factorial(k), x/9)


def cosh_interval(x):
    return positive_series(lambda k: x**(2*k)/factorial(2*k), x*x/(17*18))


def sinhc_interval(x):
    return positive_series(lambda k: x**(2*k)/factorial(2*k+1), x*x/(18*19))


def run():
    pi_lower = 16*atan_partial(Q(1, 5), 6)-4*atan_partial(Q(1, 239), 1)
    assert pi_lower > Q(31415925, 10**7)

    moments = [Q(1)]
    for k in range(1, 9):
        moments.append(moments[-1]*Q(2*k, 2*k+3))
    _, a_upper = positive_series(lambda k: S**(2*k)*moments[k]/factorial(2*k),
                                 S*S/(17*18))
    z_lower, z_upper = positive_series(lambda k: S**(2*k)/Q(4**k*factorial(k)*factorial(k+1)),
                                      S*S/(4*9*10))
    sinhc_lower, sinhc_upper = sinhc_interval(S)
    _, cosh_upper = cosh_interval(S)
    tangent_lower = sinhc_lower/cosh_upper
    _, exp_upper = exp_interval(S*S/4)
    k_lower = (Q(4, 3)*tangent_lower-exp_upper*sinhc_upper/2)/(4*z_upper)
    assert k_lower > C
    adjusted_coeff_ratio = (Q(1, 5)-Q(3, 4)*C)/Q(1, 8)
    assert 1 < adjusted_coeff_ratio < moments[2]*4**2*factorial(2)*factorial(3)/factorial(4)
    influence_upper = BETA*(Q(4, 3)*a_upper-C*S*S)/(pi_lower*z_lower)
    _, cosh_alpha_upper = cosh_interval(ALPHA)
    assert 0 < influence_upper*(12+2*cosh_alpha_upper) < 1
    print('PASS: beta <= 1637/10000 and lattice transfer exponent at least 39/1000')


if __name__ == '__main__':
    run()

The original records reflect the work at the time of writing. The article gives the final interpretation and scope.

Original file checksum · SHA-2562ca5f60c86d8c60ba3fea27e0cbef1be0201fc394cdd342ae404568b0b734bf4