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

relay_one_speed.py

In the investigation at sim/models_AB/relay_one_speed.py · last changed in commit fbd0332, 18 November 2026 · 7,981 bytes · runnable copies in the scripts zip


"""Trial 17: one invariant speed for Doug's relay (18 November 2026).

Lock: papers/Lock_relay_one_speed_2026-11-18.md, committed with this script before the run. Every choice is the lock's.
The relay (section 8.6): the quons supply 1 - f of eps0 by an electric response and none of mu0; the space between them is a vacuum with
constants f eps0 and mu0, so its own light speed is c_b = c/sqrt(f). Reading R-i: a particle's limiting speed is c_b. Reading R-ii: a
particle's inertia is its own field's, dressed by the relay while its field's spectrum lies below the hold (order of magnitude).
Run: python3 relay_one_speed.py   (numpy, scipy). A second.
"""
import numpy as np
import scipy
from scipy import constants as K

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}")

c = K.c
alpha = K.fine_structure
me_eV = K.physical_constants['electron mass energy equivalent in MeV'][0] * 1e6
r_e = K.physical_constants['classical electron radius'][0]
hbarc_eVm = K.hbar * K.c / K.e
# Inputs as the record has them [I]
E_LEP = 104.5e9            # eV, LEP's electrons (Part 1B section 5)
B_CG = 5e-13               # Coleman and Glashow, c_e - c_gamma (tracker log, 7 November, at source)
B_SG = 1.3e-15             # Stecker and Glashow 2001, electron above light (tracker 2b, confirmed at source)
V_LAB = 369.82e3           # m/s, Planck 2018 dipole (Part 1)
CAV = (("Herrmann et al. 2009", 1e-17), ("Nagel et al. 2015", 1e-18))   # Part 1B's table, rotating cavities (order of magnitude)
HOLD13 = 67e9              # eV, trial 13's minimum hold for light

say("Trial 17: one invariant speed for Doug's relay. Lock: papers/Lock_relay_one_speed_2026-11-18.md")
say(f"scipy {scipy.__version__}; m_e c^2 = {me_eV/1e6:.9f} MeV; r_e = {r_e:.10e} m; 1/alpha = {1/alpha:.9f}")

def cb_of(f):
    return c / np.sqrt(f)
def excess(s):
    """(c_b - c)/c for a quon share s = 1 - f, without cancellation: 1/sqrt(1 - s) - 1."""
    return np.expm1(-0.5 * np.log1p(-s))

# ---------------- code checks ----------------
say("\nCode checks")
worst = 0.0
for f in (0.085, 0.25, 0.5, 0.9, 1 - 1e-6):
    worst = max(worst, abs(1 / np.sqrt(f * K.epsilon_0 * K.mu_0) / cb_of(f) - 1))
check("K1 c_b = 1/sqrt(f eps0 mu0) equals c/sqrt(f), to 1e-12", worst < 1e-12, f"(worst {worst:.1e})")

def E_th(s, E0):
    """Energy (eV) at which a particle with limiting speed c_b moves at exactly c. Under R-i its measured rest energy E0 is m c_b^2,
    and gamma_b = 1/sqrt(1 - c^2/c_b^2) = 1/sqrt(s) at v = c, so E_th = E0/sqrt(s) (s the quons' share)."""
    return E0 / np.sqrt(s)
def speed_at(E_eV, s, E0):
    """Speed (in units of c) of a particle of energy E with limiting speed c_b: v = c_b sqrt(1 - (E0/E)^2)."""
    return np.sqrt(1 - (E0 / E_eV) ** 2) / np.sqrt(1 - s)
k2 = max(abs(speed_at(E_th(s, me_eV), s, me_eV) - 1) for s in (0.75, 0.5, 0.1, 0.01))
check("K2 at E_th = m_e c^2/sqrt(share) (the measured rest energy taken as m c_b^2) the particle moves at exactly c, to 1e-12",
      k2 < 1e-12, f"({k2:.1e})")

def trip_ratio_steps(f, v):
    """Round-trip times in the relay's frame, step by step, then the laboratory's proper times (contraction and dilation with c_b)."""
    cb = cb_of(f); L0 = 1.0
    g_inv = np.sqrt(1 - (v / cb) ** 2)
    # transverse arm: light at speed c in the relay frame must keep up with the moving mirror: (c T)^2 = (v T)^2 + L0^2
    T_perp = 2 * L0 / np.sqrt(c ** 2 - v ** 2)
    # longitudinal arm, contracted with c_b: chase out, meet back
    L = L0 * g_inv
    T_par = L / (c - v) + L / (c + v)
    return (T_par * g_inv) / (T_perp * g_inv)
def trip_ratio_closed(f, v):
    cb = cb_of(f); beta = v / cb; n = cb / c
    return np.sqrt(1 - beta ** 2) / np.sqrt(1 - (n * beta) ** 2)
k3a = max(abs(trip_ratio_steps(f, v) / trip_ratio_closed(f, v) - 1) for f in (0.25, 0.5, 0.9) for v in (1e5, 3e6, 3e7))
def anis(s, v):
    """t_par/t_perp - 1 without cancellation: the ratio squared is 1 + s u/(1 - u), u = (v/c)^2 (since n beta = v/c, beta^2 = (1 - s) u)."""
    u = (v / c) ** 2
    return np.expm1(0.5 * np.log1p(s * u / (1 - u)))
k3c = max(abs(anis(1 - f, v) / (trip_ratio_closed(f, v) - 1) - 1) for f in (0.25, 0.5, 0.9) for v in (3e6, 3e7))
f3 = 0.5; v3 = 1e-3 * cb_of(f3)
k3b = abs(anis(1 - f3, v3) / ((1 - f3) * (v3 / c) ** 2 / 2) - 1)
check("K3 trip times step by step equal the closed form (to 1e-12), its stable form agrees (to 1e-9), and the small-beta form (1 - f)(v/c)^2/2"
      " holds at beta = 1e-3 (to 1e-5)", k3a < 1e-12 and k3c < 1e-9 and k3b < 1e-5, f"({k3a:.1e}, {k3c:.1e}, {k3b:.1e})")
k4 = abs((hbarc_eVm / r_e) / (me_eV / alpha) - 1)
check("K4 hbar c / r_e = m_e c^2 / alpha, to 1e-9", k4 < 1e-9, f"({k4:.1e}; {hbarc_eVm/r_e/1e6:.4f} MeV)")

# ---------------- Q1 ----------------
say("\nQ1. The bare vacuum's light speed, c_b = c/sqrt(f), for the quons' share 1 - f")
for share in (1e-20, 1e-15, 1e-10, 1e-5, 0.01, 0.25, 0.5, 0.75, 0.915):
    say(f"   share {share:9.3g}: (c_b - c)/c = {excess(share):.4e}")

# ---------------- Q2 ----------------
say("\nQ2. Reading R-i (matter follows the bare vacuum): vacuum Cerenkov limits")
for share in (1e-15, 1e-11, 1e-5, 0.25, 0.75):
    say(f"   share {share:7.0e}: an electron reaches light's speed at E_th = {E_th(share, me_eV):.4e} eV")
bounds = []
s_lep = (me_eV / E_LEP) ** 2                    # E_th(s) = E_LEP; E_th rises as the share falls
bounds.append(("LEP's 104.5 GeV electrons keep their energy (Part 1B)", s_lep))
for name, b in (("Coleman and Glashow, c_e - c_gamma < 5e-13", B_CG), ("Stecker and Glashow 2001, 1.3e-15 above", B_SG)):
    bounds.append((name, -np.expm1(-2 * np.log1p(b))))      # (c_b - c)/c <= b  <=>  s <= 1 - 1/(1 + b)^2
for name, s in bounds:
    say(f"   {name:58s}: share <= {s:.3e}")

# ---------------- Q3 ----------------
say("\nQ3. Reading R-i: a laboratory moving at 369.82 km/s through the relay's frame (round trip)")
for share in (1e-12, 1e-10, 1e-5, 0.25):
    say(f"   share {share:7.0e}: anisotropy t_par/t_perp - 1 = {anis(share, V_LAB):.4e}   (small-beta form {share*(V_LAB/c)**2/2:.4e})")
for name, lim in CAV:
    s = 2 * lim / (V_LAB / c) ** 2
    bounds.append((f"{name} (order of magnitude)", s))
    say(f"   {name:58s}: share <= {s:.2e}   (order of magnitude)")

# ---------------- Q4 ----------------
say("\nQ4. Reading R-ii (inertia from the dressed field): the hold the escape needs, hbar omega_0 >= gamma m_e c^2/alpha")
for E in (E_LEP, 1e12, 1e15):
    g = E / me_eV
    need = g * me_eV / alpha
    say(f"   electrons of {E:8.2e} eV (gamma {g:.3e}): hold >= {need/1e9:.3e} GeV, {need/HOLD13:.3e} times trial 13's 67 GeV")
need_lep = (E_LEP / me_eV) * me_eV / alpha

# ---------------- verdict ----------------
say("\nVerdict, by the lock's rules")
s_min_name, s_min = min(bounds, key=lambda t: t[1])
if max(s for _, s in bounds) < 1e-10:
    say(f"   V1: An electric-only relay can carry at most {s_min:.1e} of light under one limiting speed (reading R-i; the tightest is"
        f" {s_min_name}). To carry more, its quons must supply the same share of 1/mu0 as of eps0 (the matched form of section 9.12).")
else:
    say("   V1: some bound allows a share above 1e-10; see the table.")
say(f"   V2: Reading R-ii's escape needs the relay's hold at {need_lep/1e9:.1e} GeV or more for LEP's electrons alone, {need_lep/HOLD13:.0f} times"
    " trial 13's 67 GeV, and covers only species whose inertia is their own field's: not neutrinos or the neutron, nor the proton, whose"
    " mass is mostly not electromagnetic [S].")
say("   V3: A matched medium is empty space with a rescaled charge [S]. In the form relativity allows, the aether carries light only by fixing"
    " the strength of charge; Aspden's alpha derivation reads as exactly that. Next: the charge issue.")
nfail = sum(1 for _, ok in checks if not ok)
say(f"\nCode checks: {len(checks)-nfail} of {len(checks)} pass.")