Does light charge the quons? › Files cited on the page › the trials

kinetic_mixing.py

In the investigation at sim/models_AB/kinetic_mixing.py · last changed in commit 073113b, 18 November 2026 · 8,768 bytes · runnable copies in the scripts zip


"""Trial 16: the aether's charge as a separate U(1) with kinetic mixing (E1, 18 November 2026).

Lock: papers/Lock_kinetic_mixing_2026-11-18.md, committed with this script before the run. Every choice is the lock's.
Fields A (the ordinary photon) and A_a (the aether's own), kinetic mixing eps, both massless in vacuum; the aether is a cold
plasma for its own transverse waves (hbar omega_a = 511 keV, Part 1 U34; 361 keV as a variant). Transverse plane waves,
x = k^2 - w^2 (hbar = c = 1):
    (1) x (A + eps A_a) = e J               (2) x (A_a + eps A) + w_a^2 A_a = e_a J_a,ext
Run: python3 kinetic_mixing.py   (numpy, scipy). A second.
"""
import os
import re
import numpy as np
import scipy
from scipy import constants as Kc

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 = Kc.fine_structure
WA, WA_VAR = 511.0e3, 361.3e3                       # eV: the aether's transverse plasma energy (U34), and the variant
say("Trial 16: the aether's charge as a separate U(1) with kinetic mixing. Lock: papers/Lock_kinetic_mixing_2026-11-18.md")
say(f"scipy {scipy.__version__}; 1/alpha = {1/alpha:.9f}; hbar omega_a = {WA/1e3:.1f} keV (variant {WA_VAR/1e3:.1f} keV)")

def Mop(x, eps, wa2):
    """The operator acting on (A, A_a): rows are equations (1) and (2)."""
    return np.array([[x, eps * x], [eps * x, x + wa2]], dtype=float)

def G_AA_direct(x, eps, wa2):
    return np.linalg.inv(Mop(x, eps, wa2))[0, 0]

def G_AA_pf(x, eps, wa2):
    return 1 / x + eps ** 2 / ((1 - eps ** 2) * x + wa2)

# ---------------- code checks ----------------
say("\nCode checks")
rng = np.random.default_rng(16)
worst1 = worst2 = 0.0
for _ in range(1000):
    eps = 10 ** rng.uniform(-4, -0.5); wa = rng.uniform(0.1, 10); w = rng.uniform(0.1, 20)     # eps from 1e-4: the null vector's rounding stays below 1e-12
    wa2 = wa ** 2
    # K1: the roots and their null vectors
    x2 = -wa2 / (1 - eps ** 2)
    d0 = np.linalg.det(Mop(0.0, eps, wa2)); d2 = np.linalg.det(Mop(x2, eps, wa2))
    scale = wa2 ** 2
    worst1 = max(worst1, abs(d0) / scale, abs(d2) / scale)
    n0 = np.linalg.svd(Mop(0.0, eps, wa2))[2][-1]          # null vector at x = 0
    n2 = np.linalg.svd(Mop(x2, eps, wa2))[2][-1]           # null vector at x = x2
    worst1 = max(worst1, abs(n0[1]) / np.linalg.norm(n0), abs(n2[0] / n2[1] + eps) / eps)
    # K2: partial fractions against the direct inverse, at a point off both poles
    x = (w ** 2) * rng.uniform(-0.9, 0.9) + 0.37 * wa2
    if abs(x) > 1e-6 and abs((1 - eps ** 2) * x + wa2) > 1e-6:
        worst2 = max(worst2, abs(G_AA_pf(x, eps, wa2) / G_AA_direct(x, eps, wa2) - 1))
check("K1 the modes: det = 0 at x = 0 (null vector A_a = 0) and at x = -w_a^2/(1 - eps^2) (null vector A = -eps A_a), 1000 random points, to 1e-10",
      worst1 < 1e-10, f"(worst {worst1:.1e})")
check("K2 partial fractions G_AA = 1/x + eps^2/((1 - eps^2) x + w_a^2) equal the direct inverse, 1000 random points, to 1e-10",
      worst2 < 1e-10, f"(worst {worst2:.1e})")
x, eps, wa2 = 0.731, 0.2, 2.9
lim1 = abs(G_AA_direct(x, 1e-13, wa2) * x - 1)
lim2 = abs(G_AA_direct(x, eps, 1e-14) * (1 - eps ** 2) * x - 1)
check("K3 limits: eps -> 0 gives 1/x; w_a -> 0 gives 1/((1 - eps^2) x), to 1e-12", lim1 < 1e-12 and lim2 < 1e-12, f"({lim1:.1e}, {lim2:.1e})")
sol = np.linalg.solve(Mop(0.53, 0.07, 1.7), np.array([0.0, 1.0]))
k4 = abs(sol[0] / sol[1] + 0.07) / 0.07
check("K4 off the light cone, an aether source gives A = -eps A_a, to 1e-12", k4 < 1e-12, f"({k4:.1e})")
t11 = open(os.path.join(os.path.dirname(os.path.abspath(__file__)), "orbit_field_kappa_out.txt"), encoding="utf-8").read()
lep = float(re.search(r"LEP .*?kappa <= ([0-9.e+-]+)", t11).group(1))
co60 = float(re.search(r"\(a\) laboratory.*?kappa <= ([0-9.e+-]+)", t11).group(1))
grb = float(re.search(r"E_gamma =\s+1\.0 MeV:.*?kappa <= ([0-9.e+-]+)", t11).group(1))
gw_lock = float(re.search(r"GW170817 .*?kappa <= ([0-9.e+-]+)", t11).group(1))
gw = gw_lock * np.sqrt(7e-16 / 3e-15)                        # section 10.8: the bound on the side where light is the slower (F3)
check("K5 trial 11's bounds from its output (LEP 1.672e-2, cobalt-60 1.284e-3, GRB 1.481e-16) and section 10.8's GW170817 (1.28e-4)",
      abs(lep - 1.672e-2) < 1e-5 and abs(co60 - 1.284e-3) < 1e-6 and abs(grb - 1.481e-16) < 1e-19 and abs(gw - 1.28e-4) < 1e-6,
      f"({lep:.3e}, {co60:.3e}, {grb:.3e}; GW {gw_lock:.3e} -> {gw:.3e})")

# ---------------- Q1: matter in the aether's field ----------------
say("\nQ1. Matter in the aether's field (R1): an ordinary charge feels -eps times the aether's field, so kappa = eps (e_a = e)")
for name, b in (("LEP", lep), ("cobalt-60 over 1 m", co60), ("GW170817", gw), ("GRB 090510", grb)):
    say(f"   {name:20s}: eps <= {b:.3e}   (order of magnitude, as section 10.8 labels it)")
EPS = grb

# ---------------- Q2: light in the aether ----------------
say("\nQ2. Light in the aether (T4): ordinary source to ordinary detector")
say("   massless pole: weight exactly 1, and in that mode A_a = 0, so the aether's charges feel no force from it")
w_mass = EPS ** 2 / (1 - EPS ** 2)
say(f"   massive pole at w^2 = k^2 + w_a^2/(1 - eps^2): weight eps^2/(1 - eps^2) = {w_mass:.3e} at eps = {EPS:.3e}")
for wa, lab in ((WA, "511 keV"), (WA_VAR, "361 keV")):
    for E in (0.1e6, 1e6, 10e6, 1e9, 31e9):
        thr = wa / np.sqrt(1 - EPS ** 2)
        if E <= thr:
            say(f"   w_a = {lab}: E = {E/1e6:9.1f} MeV: the massive mode does not propagate (below {thr/1e3:.1f} keV); share 0")
        else:
            vg = np.sqrt(1 - (wa / E) ** 2 / (1 - EPS ** 2))
            say(f"   w_a = {lab}: E = {E/1e6:9.1f} MeV: massive-mode share {w_mass:.2e}, its group speed {vg:.12f} c")
lim_a, lim_e = 5.3e-18, 6.2e-20
eps_a, eps_e = np.sqrt(lim_a / (1 + lim_a)), np.sqrt(lim_e / (1 + lim_e))
say(f"   light's bound on eps (a lagging share below limit (a) {lim_a:.1e} or (e) {lim_e:.1e}): eps < {eps_a:.2e} (a), {eps_e:.2e} (e)")
say("   (conservative: those limits bound a change of the whole signal's speed; here the main signal is not slowed at all)")
say(f"   Q1's bound ({EPS:.2e}) is stronger than light's by {eps_e/EPS:.1e} to {eps_a/EPS:.1e}")

# ---------------- Q3: the wins ----------------
say("\nQ3. The wins")
say(f"   the aether's self-interaction is rescaled by 1/(1 - eps^2): a change of {EPS**2:.2e} at eps = {EPS:.2e}")
inv_alpha_A = 108 * np.pi * (8 / 1843) ** (1 / 6)
ratio = np.sqrt((1 / alpha) / inv_alpha_A)                  # e_a/e needed for alpha_a = alpha
say(f"   Aspden's chain gives the aether's own coupling: 1/alpha_a = {inv_alpha_A:.7f}; measured 1/alpha = {1/alpha:.9f}")
say(f"   the win holds for ordinary charge only if e_a = e; with the two independent, they must agree to {abs(ratio-1):.1e} (e_a/e = {ratio:.9f})")
say("   kinetic mixing leaves e_a and e independent; so does it for the orbit at the electron's Compton frequency (I1a)")

# ---------------- Q4: naturalness ----------------
say("\nQ4. How natural so small an eps is: one loop of heavy states with both charges, eps ~ (e e_a/12 pi^2) ln(M1^2/M2^2)")
for Lg in (1, 3, 10):
    e1 = (4 * np.pi * alpha) / (12 * np.pi ** 2) * Lg        # e e_a = e^2 = 4 pi alpha (Heaviside-Lorentz)
    say(f"   ln(M1^2/M2^2) = {Lg:2d}: eps ~ {e1:.2e}, {e1/EPS:.1e} times the bound")

# ---------------- verdict ----------------
say("\nVerdict, by the lock's rules")
if eps_e > EPS:
    say("   V1: Under kinetic mixing T4 holds automatically: the aether is exactly transparent to the massless mode, and ordinary light is that"
        f" mode up to a share of order eps^2 ({w_mass:.1e} at the bound). Light's own bound on eps ({eps_e:.1e} to {eps_a:.1e}) is weaker than Q1's.")
else:
    say("   V1: light's bound is stronger than Q1's; T4 constrains eps directly.")
say(f"   V2: kappa = eps; R1 becomes the bound eps < {EPS:.1e} (order of magnitude, from trial 11).")
say(f"   V3: the wins change by {EPS**2:.1e}. The alpha win holds for ordinary charge only if e_a = e (to {abs(ratio-1):.0e}), which kinetic mixing"
    " does not supply; nor does it supply the orbit's link to the electron's mass (I1a). That is the model's cost.")
loop_min = (4 * np.pi * alpha) / (12 * np.pi ** 2) * 1
if loop_min / EPS > 1e3:
    say(f"   V4: a one-loop eps (~{loop_min:.0e} and up) exceeds the bound by {loop_min/EPS:.0e} or more. So small a mixing needs either no states"
        " carrying both charges (eps = 0: an exactly hidden aether sector, R1 and T4 exact) or special structure. E1 parametrizes R1 and T4; it does"
        " not derive them.")
nfail = sum(1 for _, ok in checks if not ok)
say(f"\nCode checks: {len(checks)-nfail} of {len(checks)} pass.")