Does light charge the quons? › Files cited on the page › check_trial16_fable/
check_trial16.py
"""Independent check of trial 16 (E1: kinetic mixing), by the seventeenth Fable reviewer, 18 November 2026.
Written without copying sim/models_AB/kinetic_mixing.py. Every number the lock, the script or the output states
is recomputed here by a different route (sympy for the algebra; numpy/scipy for the numbers), and some numbers the
lock did not compute are added where they bear on the verdict (the massive mode's lag for GRB 090510, the detected
fraction, the T3-type bounds under E1, the one-loop prefactor from the vacuum-polarization integral, (g-2)_e).
Run: OMP_NUM_THREADS=1 OPENBLAS_NUM_THREADS=1 ~/aspden-review-venv/bin/python3 check_trial16.py (numpy, scipy, sympy).
No multiprocessing. The thread limits matter on isla (88 cores): with the default OpenBLAS thread count the 2x2 numpy calls
oversubscribe and the script stalls for minutes (the author's own run showed the same symptom: 8 s of CPU for 0.45 s of wall).
"""
import os, re
import numpy as np
import sympy as sp
from scipy import constants as K
from scipy.integrate import quad
HERE = os.path.dirname(os.path.abspath(__file__))
MAB = os.path.dirname(HERE)
out = []
def say(s=""):
print(s); out.append(s)
checks = []
def check(name, ok, detail=""):
checks.append((name, bool(ok)))
say(f" CHECK {'pass' if ok else 'FAIL'}: {name} {detail}")
alpha = K.fine_structure
c, hbar, e, eps0, me = K.c, K.hbar, K.e, K.epsilon_0, K.m_e
keV = 1e3 * K.e
say("Seventeenth reviewer's check of trial 16 (kinetic mixing). Independent code.")
say(f"1/alpha (CODATA, scipy) = {1/alpha:.9f}")
# =====================================================================================
# A. The algebra, done symbolically
# =====================================================================================
say("\nA. Algebra (sympy)")
x, eps, wa2, Pi = sp.symbols('x epsilon omega_a2 Pi', real=True)
# A1. The field redefinition that removes the mixing: A' = A + eps A_a, A_a' = sqrt(1-eps^2) A_a
F, Fa = sp.symbols('F F_a')
Fp, Fap = sp.symbols("F' F_a'")
Lkin = -sp.Rational(1, 4) * F**2 - sp.Rational(1, 4) * Fa**2 - eps / 2 * F * Fa
Lsub = Lkin.subs({F: Fp - eps * Fap / sp.sqrt(1 - eps**2), Fa: Fap / sp.sqrt(1 - eps**2)})
diag = sp.simplify(sp.expand(Lsub) - (-sp.Rational(1, 4) * Fp**2 - sp.Rational(1, 4) * Fap**2))
check("A1 the redefinition A' = A + eps A_a, A_a' = sqrt(1-eps^2) A_a diagonalizes the kinetic terms exactly", diag == 0)
# couplings in the new basis: e J.A = e J.(A' - eps A_a'/sqrt(1-eps^2)); e_a J_a.A_a = e_a J_a.A_a'/sqrt(1-eps^2)
say(" couplings in the diagonal basis: ordinary charge -> A' with e, -> A_a' with -eps e/sqrt(1-eps^2);")
say(" the aether's charge -> A_a' only, with e_a/sqrt(1-eps^2). A' has no coupling to the aether at all.")
say(" So A' is a free massless field whatever the aether does (plasma, longitudinal response, temperature,")
say(" damping, lattice structure, nonlinearity): exact transparency needs only a constant eps and no direct charge.")
# A2. The 2x2 operator with a GENERAL aether response Pi(w,k) in place of w_a^2
M = sp.Matrix([[x, eps * x], [eps * x, x + Pi]])
det = sp.factor(M.det())
say(f" det with a general response Pi: {det}")
check("A2 det = x [(1-eps^2) x + Pi]: x = 0 is a root for ANY aether response Pi", sp.simplify(det - x * ((1 - eps**2) * x + Pi)) == 0)
null0 = M.subs(x, 0).nullspace()
check("A3 the null vector at x = 0 is (1, 0): A_a = 0 in the massless mode, for any Pi", len(null0) == 1 and sp.simplify(null0[0][1]) == 0)
x2 = -Pi / (1 - eps**2)
null2 = M.subs(x, x2).nullspace()
ratio2 = sp.simplify(null2[0][0] / null2[0][1])
check("A4 the null vector at x = -Pi/(1-eps^2) has A/A_a = -eps", sp.simplify(ratio2 + eps) == 0, f"(A/A_a = {ratio2})")
# A5. The propagator from an ordinary source to an ordinary detector, cold plasma Pi = w_a^2
Mc = M.subs(Pi, wa2)
GAA = sp.simplify(Mc.inv()[0, 0])
pf = sp.apart(GAA, x)
say(f" G_AA = {GAA}")
say(f" partial fractions in x: {pf}")
target = 1 / x + eps**2 / ((1 - eps**2) * x + wa2)
check("A5 G_AA = 1/x + eps^2/((1-eps^2) x + w_a^2) exactly", sp.simplify(GAA - target) == 0)
res0 = sp.limit(GAA * x, x, 0)
res2 = sp.simplify(sp.residue(GAA, x, -wa2 / (1 - eps**2)))
check("A6 residues: massless pole weight exactly 1; massive pole weight eps^2/(1-eps^2)",
sp.simplify(res0 - 1) == 0 and sp.simplify(res2 - eps**2 / (1 - eps**2)) == 0, f"({res0}, {res2})")
# A7. the lock's closed form G_AA = 1/{x [1 - eps^2 x/(x + w_a^2)]}
lockform = 1 / (x * (1 - eps**2 * x / (x + wa2)))
check("A7 the lock's closed form equals the inverse's (0,0) element", sp.simplify(lockform - GAA) == 0)
# A8. off the light cone with an aether source only: A = -eps A_a
Aa_src = Mc.solve(sp.Matrix([0, 1]))
check("A8 with an aether source and x != 0, A/A_a = -eps exactly (K4)", sp.simplify(Aa_src[0] / Aa_src[1] + eps) == 0)
# A9. the aether's self-coupling in the diagonal basis is e_a^2/(1-eps^2); the massive mode's mass^2 is w_a^2/(1-eps^2)
say(" A9 the aether's self-coupling e_a^2 -> e_a^2/(1-eps^2) (its coupling to A_a' is e_a/sqrt(1-eps^2)); the plasma")
say(" frequency of A_a' is therefore w_a^2/(1-eps^2): the massive pole. Consistent with A4-A6.")
# =====================================================================================
# B. Numbers
# =====================================================================================
say("\nB. Numbers")
# B1. the aether's plasma energies from the record's inputs [A: Aspden's numbers; D]
d = 6.37403e-13; m0 = 0.0407813 * me
wp_q = np.sqrt((1 / d**3) * e**2 / (eps0 * m0)) # quons alone, continuum held
E_q = hbar * wp_q / keV; E_both = E_q * np.sqrt(2) # both frames moving, reduced mass m0/2
say(f" B1 plasma energies: quons alone {E_q:.1f} keV (lock's variant 361.3); both frames {E_both:.1f} keV (U34's 511)")
check("B1 361.3 keV and 511 keV reproduce from n = 1/d^3, m0 = 0.0407813 m_e, e_a = e", abs(E_q - 361.3) < 0.1 and abs(E_both - 511.0) < 0.3)
say(f" hbar c / d = {hbar*c/d/keV/1e3:.3f} MeV: the cold-plasma (continuum) form of the aether's response holds only for k << pi/d,")
say(" i.e. for the massive mode well below ~0.3 MeV of momentum; the massless mode does not care (A1-A3).")
# B2. modes, group speeds, shares (the lock's five energies, both w_a)
EPS = 1.481e-16
w_mass = EPS**2 / (1 - EPS**2)
say(f" B2 massive-pole weight eps^2/(1-eps^2) at eps = {EPS:.3e}: {w_mass:.3e}")
T0 = 3.245e17 # s, the record's comoving path for GRB 090510
yr = 365.25 * 86400
for wa_keV in (511.0, 361.3):
m2 = (wa_keV * keV / hbar)**2 / (1 - EPS**2)
thr = np.sqrt(m2) * hbar / keV
for E_MeV in (0.1, 1.0, 10.0, 1000.0, 31000.0):
w = E_MeV * 1e3 * keV / hbar
if w**2 <= m2:
say(f" w_a {wa_keV:5.1f} keV, E = {E_MeV:8.1f} MeV: below threshold {thr:.1f} keV, no massive mode")
continue
vg = np.sqrt(1 - m2 / w**2) # dw/dk = k/w
lag = T0 * (1 / vg - 1) # arrival lag over the burst's path, s
say(f" w_a {wa_keV:5.1f} keV, E = {E_MeV:8.1f} MeV: v_g = {vg:.12f} c; emitted share = eps^2/(1-eps^2) x v_g = {w_mass*vg:.2e};"
f" lag over GRB 090510's path {lag:.2e} s = {lag/yr:.2e} yr; detected fraction ~ eps^4 = {w_mass**2:.1e}")
vg_check = np.sqrt(1 - (511.0 / 1000.0)**2)
check("B2 group speed at 1 MeV, w_a = 511 keV: 0.859580711743 c (the output's value)", abs(vg_check - 0.859580711743) < 1e-9, f"({vg_check:.12f})")
vg31 = np.sqrt(1 - (511.0e-6 / 31.0)**2)
check("B2 group speed at 31 GeV: 0.999999999864 c", abs(vg31 - 0.999999999864) < 1e-12, f"({vg31:.12f})")
# B3. 'light's bound' as the script computed it, and what the same limits give if applied to a detected fraction
lim_a, lim_e = 5.3e-18, 6.2e-20
eps_a = np.sqrt(lim_a / (1 + lim_a)); eps_e = np.sqrt(lim_e / (1 + lim_e))
say(f" B3 the script's 'light's bound': eps^2/(1-eps^2) < (a) {lim_a:.1e} -> eps < {eps_a:.2e}; (e) {lim_e:.1e} -> eps < {eps_e:.2e}")
check("B3 reproduces 2.30e-9 and 2.49e-10", abs(eps_a / 2.30e-9 - 1) < 0.01 and abs(eps_e / 2.49e-10 - 1) < 0.01)
say(f" if the limit bounded the DETECTED lagging fraction (emission x absorption, ~eps^4): eps < {lim_a**0.25:.1e} (a), {lim_e**0.25:.1e} (e)")
say(f" ratio of Q1's bound to the script's light bound: {eps_e/EPS:.1e} to {eps_a/EPS:.1e} (output: 1.7e6 to 1.6e7)")
say(" but limits (a) and (e) are speed-difference limits (|dv|/c < 0.859 s or 10 ms over T0) for the one mode a medium carries;")
say(" a separate component arriving years to aeons late (the lags above) is not 'lagging beyond the burst's window', it is absent")
say(" from the burst, and its detectability is set by counts (~eps^4 x N_photons), not by a timing limit. Light's timing bounds nothing here.")
# B4. the alpha win's e_a = e to 3.1e-7
inv_alpha_A = 108 * np.pi * (8 / 1843)**(1 / 6)
ratio = np.sqrt((1 / alpha) / inv_alpha_A)
say(f" B4 chain 1/alpha_a = {inv_alpha_A:.7f}; measured 1/alpha = {1/alpha:.9f}; gap {(1/alpha)/inv_alpha_A - 1:.3e} in alpha, so e_a/e = {ratio:.9f}")
check("B4 e_a/e - 1 = 3.08e-7 (half the 0.615 ppm gap)", abs((ratio - 1) / 3.08e-7 - 1) < 0.01, f"({ratio-1:.3e})")
# B5. the one-loop prefactor, from the one-loop vacuum polarization [S: textbook form, from memory; its consequence
# alpha(Q^2) = alpha/(1 - (alpha/3pi) ln(Q^2/m^2)) is the textbook running of alpha]
# Pi(Q^2) = (g g'/(2 pi^2)) sum_i q_i q_i' int_0^1 x(1-x) ln(M_i^2 + x(1-x) Q^2) dx (cutoff-independent when sum q q' = 0)
# The mixing term in the quadratic action is -(1/4) 2 Pi_mix F F' = -(Pi_mix/2) F F', so eps = Pi_mix.
I6 = quad(lambda t: t * (1 - t), 0, 1)[0]
check("B5 int_0^1 x(1-x) dx = 1/6, so the log's coefficient is (g g'/(2 pi^2))/6 = g g'/(12 pi^2) = alpha/(3 pi) for g g' = e^2", abs(I6 - 1 / 6) < 1e-12)
def Pi_mix(Q2, M1, M2): # charges (1,+1) at M1 and (1,-1) at M2, g g' = e^2 = 4 pi alpha (HL)
f = lambda t, M: t * (1 - t) * np.log(M**2 + t * (1 - t) * Q2)
return (4 * np.pi * alpha) / (2 * np.pi**2) * (quad(f, 0, 1, args=(M1,))[0] - quad(f, 0, 1, args=(M2,))[0])
for M1, M2 in ((np.e**0.5, 1.0), (np.e**1.5, 1.0), (np.e**5.0, 1.0)):
L = np.log(M1**2 / M2**2)
num = Pi_mix(1e-6, M1, M2)
an = (4 * np.pi * alpha) / (12 * np.pi**2) * L
say(f" ln(M1^2/M2^2) = {L:4.1f}: eps (integral, Q^2 -> 0) = {num:.4e}; (e^2/12 pi^2) ln = {an:.4e}; eps/bound = {an/EPS:.1e}")
check("B5 the one-loop eps for ln = 1, 3, 10 is 7.74e-4, 2.32e-3, 7.74e-3 (the output's), and the integral agrees to 1e-6",
abs(Pi_mix(1e-6, np.e**0.5, 1.0) / 7.74e-4 - 1) < 2e-3 and abs(Pi_mix(1e-6, np.e**0.5, 1.0) / ((4*np.pi*alpha)/(12*np.pi**2)) - 1) < 1e-6)
say(f" for a complex scalar in place of a Dirac fermion the coefficient is a quarter: {(4*np.pi*alpha)/(48*np.pi**2):.2e} per unit log")
# B6. trial 11's bounds read from its output, and the GW170817 rescaling
t11 = open(os.path.join(MAB, "orbit_field_kappa_out.txt"), encoding="utf-8").read()
nums = {k: float(re.search(p, t11).group(1)) for k, p in (
("LEP", r"LEP.*?kappa <= ([0-9.e+-]+)"), ("GW_lock", r"GW170817.*?kappa <= ([0-9.e+-]+)"),
("Co60", r"laboratory.*?kappa <= ([0-9.e+-]+)"), ("GRB1", r"E_gamma =\s+1\.0 MeV.*?kappa <= ([0-9.e+-]+)"),
("P1", r"power per electron at kappa = 1: ([0-9.]+) W"), ("Earth", r"the Earth.*?kappa <= ([0-9.e+-]+)"),
("Sun", r"the Sun.*?kappa <= ([0-9.e+-]+)"))}
gw = nums["GW_lock"] * np.sqrt(7e-16 / 3e-15)
say(f" B6 trial 11: LEP {nums['LEP']:.3e}, Co-60 {nums['Co60']:.3e}, GW170817 {nums['GW_lock']:.3e} -> x sqrt(7e-16/3e-15) = {gw:.3e}, GRB {nums['GRB1']:.3e}")
check("B6 K5's four numbers (1.672e-2, 1.284e-3, 1.277e-4, 1.481e-16)", abs(nums['LEP']/1.672e-2-1) < 1e-3 and abs(nums['Co60']/1.284e-3-1) < 1e-3
and abs(gw/1.277e-4-1) < 1e-3 and abs(nums['GRB1']/1.481e-16-1) < 1e-3)
say(f" trial 11 also has T3 (labelled conditional): P = {nums['P1']} W per electron at kappa = 1; Earth's heat flow kappa <= {nums['Earth']:.2e}; Sun {nums['Sun']:.2e}")
# B7. Under E1 matter's electrons are ordinary QED charges in the field eps E_orb (lock Q1), so T3 is not conditional.
# Recompute P1 from constants and the T3 bounds with kappa = eps; then the record's laboratory-spectrum bound (Picture A §4).
D_SP = 6.37403e-13; R_ORB = 0.302916 * D_SP
E_orb = (1 / D_SP**3) * e * 2 * R_ORB / eps0
sigma_T = K.physical_constants["Thomson cross section"][0]
P1 = sigma_T * c * eps0 * E_orb**2 # rotating field, |E| = E_orb at all times
Ne_earth = 5.972e24 / (2 * K.physical_constants["atomic mass constant"][0])
eps_earth = np.sqrt(47e12 / (Ne_earth * P1))
say(f" B7 E_orb = {E_orb:.3e} V/m; Larmor power of a free electron in eps E_orb: {P1:.1f} eps^2 W (trial 11's {nums['P1']} W)")
check("B7 P1 = 128.6 W at kappa = 1 reproduces", abs(P1 / 128.6 - 1) < 2e-3, f"({P1:.1f})")
say(f" Earth's electrons {Ne_earth:.2e}, heat flow 47 TW [S, from memory in trial 11] -> eps <= {eps_earth:.1e} (trial 11's {nums['Earth']:.2e})")
# the laboratory spectrum (the record, Picture_A_locked_frames §4, read at source there: arXiv:1403.1724, 3.85 counts/day in the 511 keV peak,
# 0.90 kg Ge, photopeak efficiency ~0.3): emission by the crystal's own electrons below ~2e-20 W/g
rate = 3.85 / 86400; eff = 0.3; mass_g = 900.0; ne_g = 2.65e23 # electrons per gram of Ge (the record's figure; Z/A = 32/72.63 -> 2.65e23)
P_per_g = rate / eff * 511 * keV / mass_g
eps_lab_classical = np.sqrt(P_per_g / (ne_g * P1))
eps_lab_classical_64 = np.sqrt(P_per_g / (ne_g * 64.0))
say(f" laboratory: emission limit {P_per_g:.1e} W/g (the record's 2e-20); with {P1:.0f} W: eps <= {eps_lab_classical:.1e}; with the record's 64 W: {eps_lab_classical_64:.1e} (record: 5e-23, rounded up)")
say(" the record's recoil-line reading (383 keV = 3/4 m_e c^2, the kinematics for a k = 0 quantum of energy m_e c^2 absorbed by an electron at rest):")
Eg = (4 * 1 - 1) / (4 * 1) * 511.0
check("B7 recoil photon energy (s - m^2)/(2 sqrt s) with sqrt s = 2 m_e is 3 m_e/4 = 383.2 keV", abs(Eg - 383.25) < 0.1, f"({Eg:.1f} keV)")
say(" the record quotes g <~ 1e-22 from the same spectrum's continuum at 383 keV (Picture A §4). Under E1 g = kappa = eps.")
say(f" So under E1 the bound on eps is about 1e-22 (recoil line) to 1e-20 (Earth's heat), not 1.5e-16: tighter by {1.5e-16/1e-22:.0e} to {1.5e-16/eps_earth:.0e}.")
loop_min = (4 * np.pi * alpha) / (12 * np.pi**2)
say(f" the one-loop minimum {loop_min:.1e} is then {loop_min/1e-22:.0e} (recoil line) or {loop_min/eps_earth:.0e} (Earth) times the bound, not 5e12.")
# B8. (g-2)_e from a 511 keV vector coupling eps e to the electron [S: the one-loop vector formula, from memory]
# Delta a = (alpha eps^2 / 2 pi) F(r), F(r) = int_0^1 2x(1-x)^2 / ((1-x)^2 + x r^2) dx, r = m_V/m_e; F(0) = 1, F(r>>1) -> 2/(3 r^2)
Fr = lambda r: quad(lambda t: 2 * t * (1 - t)**2 / ((1 - t)**2 + t * r**2), 0, 1)[0]
check("B8 the (g-2) kernel's limits: F(0) = 1 and F(100) = 2/(3 x 10^4) to 1%", abs(Fr(1e-6) - 1) < 1e-4 and abs(Fr(100.0) / (2 / 3e4) - 1) < 0.01)
F1 = Fr(1.0)
eps_g2 = np.sqrt(1e-12 / (alpha / (2 * np.pi) * F1))
say(f" B8 F(m_V = m_e) = {F1:.3f}; with |Delta a_e| < 1e-12 [I, from memory: the a_e experiment-theory comparison], eps < {eps_g2:.0e}: far weaker")
# B9. the massive mode's k = 0 quantum has energy w_a/sqrt(1-eps^2) = 511.0 keV = m_e c^2: trial 11's 'quantum of mass m_e and no momentum'
say(f" B9 massive mode at k = 0: {511.0/np.sqrt(1-EPS**2):.6f} keV = m_e c^2 ({me*c**2/keV:.3f} keV): trial 11's field quantum is this mode's rest quantum")
# B10. independent K1/K2 numerics (my own random points)
rng = np.random.default_rng(1701)
worst_det = worst_pf = 0.0
for _ in range(2000):
ep = 10**rng.uniform(-6, -0.3); w2 = rng.uniform(0.01, 100.0)
Mn = lambda xx: np.array([[xx, ep * xx], [ep * xx, xx + w2]])
xm = -w2 / (1 - ep**2)
worst_det = max(worst_det, abs(np.linalg.det(Mn(xm))) / w2**2)
xx = rng.uniform(-50, 50)
if abs(xx) > 1e-3 and abs((1 - ep**2) * xx + w2) > 1e-3:
direct = np.linalg.solve(Mn(xx), np.array([1.0, 0.0]))[0]
worst_pf = max(worst_pf, abs((1 / xx + ep**2 / ((1 - ep**2) * xx + w2)) / direct - 1))
check("B10 det vanishes at the massive root (2000 points, eps down to 1e-6) to 1e-10", worst_det < 1e-10, f"(worst {worst_det:.1e})")
check("B10 partial fractions = direct solve at 2000 random points, to 1e-9", worst_pf < 1e-9, f"(worst {worst_pf:.1e})")
nfail = sum(1 for _, ok in checks if not ok)
say(f"\nChecks: {len(checks)-nfail} of {len(checks)} pass.")
with open(os.path.join(HERE, "check_trial16_out.txt"), "w", encoding="utf-8") as fh:
fh.write("\n".join(out) + "\n")