Does light charge the quons? › Files cited on the page › check_lattices_fable/
transition_check.py
"""Tenth reviewer's numerical checks of section 9.10 (the gamma-ray transition) and of the errata's numbers.
Run: ~/aspden-review-venv/bin/python3 transition_check.py > transition_check_out.txt
"""
import numpy as np
from scipy.integrate import quad
hbar = 1.054571817e-34; me = 9.1093837015e-31; c = 299792458.0; eV = 1.602176634e-19; h = 2 * np.pi * hbar
hbarc = hbar * c / eV # eV m
r = hbar / (2 * me * c); d = r / (0.75 * (8 / 1843) ** (1 / 6))
print(f"Aspden's spacing d = {d:.4e} m")
print(f" lambda = 2d -> photon {h * c / (2 * d) / eV / 1e6:.4f} MeV; lambda = 2d/sqrt3 -> {h * c / (2 * d / np.sqrt(3)) / eV / 1e6:.4f} MeV")
print(f" hbar 2c/d = {2 * hbarc / d / 1e6:.4f} MeV (cube axis); hbar 2 sqrt3 c/d = {2 * np.sqrt(3) * hbarc / d / 1e6:.4f} MeV (cube diagonal)")
print(f" zone-boundary |k| along [111] for sc is pi sqrt3/d: wavelength 2d/sqrt3 = {2 * d / np.sqrt(3):.4e} m")
print("\n1. Two-level lossless Lorentz model: eps(w)/eps0 = f + h1 w1^2/(w1^2 - w^2) + h2 w2^2/(w2^2 - w^2), f + h1 + h2 = 1")
f, h1, h2, w1, w2 = 0.25, 0.70, 0.05, 1.0, 14.0
eps = lambda w: f + h1 * w1 ** 2 / (w1 ** 2 - w ** 2) + h2 * w2 ** 2 / (w2 ** 2 - w ** 2)
deps = lambda w: 2 * w * (h1 * w1 ** 2 / (w1 ** 2 - w ** 2) ** 2 + h2 * w2 ** 2 / (w2 ** 2 - w ** 2) ** 2)
ws = np.concatenate([np.linspace(0.01, 0.99, 99), np.linspace(1.01, 13.99, 500), np.linspace(14.01, 60, 500)])
print(f" d eps/d w > 0 at every sampled frequency away from the poles: {bool(np.all(deps(ws) > 0))}")
top1 = w1 * np.sqrt(1 + h1 / (f + h2 * w2 ** 2 / (w2 ** 2 - w1 ** 2))) # eps = 0 just above w1 (approx; exact root below)
from scipy.optimize import brentq
top1 = brentq(eps, w1 * 1.0001, w2 * 0.999)
print(f" eps < 0 (no travelling light) from w1 = {w1} to {top1:.4f} w1; for Aspden's 511 keV and f = 1/4, h1 = 3/4: {511 * np.sqrt(1 + 0.75 / 0.25):.0f} keV")
for w in (0.5, 0.9, 3.0, 5.0, 10.0):
if eps(w) > 0:
print(f" w = {w:5.2f} w1: eps = {eps(w):.5f}; phase speed/c = {1 / np.sqrt(eps(w)):.5f} (1 + h1/2 = {1 + h1 / 2:.3f}); group index n_g = n + w dn/dw = {np.sqrt(eps(w)) + w * deps(w) / (2 * np.sqrt(eps(w))):.5f}")
print(f" the finer level's rise at w1 (what it could add toward replacing h1): h2 (w1/w2)^2/(1 - (w1/w2)^2) = {h2 * (w1 / w2) ** 2 / (1 - (w1 / w2) ** 2):.5f} against h1 = {h1}")
print(f" to replace h1 at w1 by that rise alone would need h2 = {h1 * (w2 ** 2 - w1 ** 2) / w1 ** 2:.1f}, far above 1")
print("\n2. GRB 090510 (Abdo et al. 2009, Table 2): z = 0.903 (0.900 lower limit used by the authors for the LIV limits)")
H0 = 67.4e3 / 3.0856775814913673e22; Om = 0.3153; OL = 1 - Om
for z in (0.903, 0.900):
T0 = quad(lambda x: 1 / np.sqrt(Om * (1 + x) ** 3 + OL), 0, z)[0] / H0
print(f" z = {z}: int dz/H = {T0:.4e} s = {T0 / (365.25 * 86400) / 1e9:.2f} Gyr (comoving path {T0 * c / 9.4607e24:.2f} Gly)")
print(f" a speed offset dv/c = h/2 over that path: limit (e) |dt| < 10 ms gives h < {2 * 0.010 / T0:.2e}; limit (f) 19 ms gives h < {2 * 0.019 / T0:.2e}")
print(f" photon energies at emission, (1 + z) times observed: 0.1 MeV -> {0.1 * 1.903:.2f} MeV; 28 GeV -> {28 * 1.903:.1f} GeV; 31 GeV -> {31 * 1.903:.1f} GeV")
print("\n3. Arithmetic in 9.9")
B = 0.036135562
for n, lab in ((1, "on a finer quon"), (8, "sc cube centre"), (4, "fcc tetrahedral"), (6, "fcc octahedral"), (13, "fcc on-site, 13"), (9, "bcc on-site, 9"), (15, "bcc on-site, 15")):
a = (3 * n / (8 * np.pi)) ** (1 / 3)
print(f" n = {n:2d} ({lab:18s}): alpha* = {a:.4f}, N* = {a / B:.3f}")
print(f" nearest neighbours at unit volume: bcc 2^(1/3) sqrt3/2 = {2 ** (1 / 3) * np.sqrt(3) / 2:.4f}; fcc 4^(1/3)/sqrt2 = {4 ** (1 / 3) / np.sqrt(2):.4f}; bcc second shell a = {2 ** (1 / 3):.4f}; fcc second shell a = {4 ** (1 / 3):.4f}")
for N in (13, 14, 16, 21, 22, 24, 25, 27, 28, 32, 33):
a = B * N
y = 4 * np.pi / 3 * a ** 3
print(f" N = {N}: alpha = {a:.4f}; on-site hold (1/y - 1)/3 = {(1 / y - 1) / 3:+.4f}, share {1 / (1 + (1 / y - 1) / 3):.3f}", end="")
for n in (4, 6, 8, 13):
print(f"; n={n}: hold {(n / y - 1) / 3:+.4f} share {1 / (1 + (n / y - 1) / 3):.3f}", end="")
print()
print(f" 1/(1 + 0.0927) = {1 / 1.0927:.4f}")