Does light charge the quons? › Files cited on the page › check_m8_fable/

a3_emission.py

In the investigation at sim/light_ether_review/check_m8_fable/a3_emission.py · last changed in commit 18dc38d, 23 November 2026 · 4,923 bytes · the folder as a zip


#!/usr/bin/env python3
"""A3 (blind): can a body give off light in the vacuum lattice?  Units hbar = c = d = 1.
Photon: eps(k) = W(k), W(q) = 2 sqrt(sum sin^2(q_j/2)), k in the zone [-pi,pi]^3 (modes outside are the same modes).
Reading (1): matter E = sqrt(M^2 + p^2), p unbounded. Emission p -> p-k (mod 2pi) + photon k.
Reading (2): matter E = sqrt(M^2 + W(p)^2), p in the zone.  Emission p -> (p-k mod 2pi) + photon k."""
import subprocess
import numpy as np
print("git HEAD:", subprocess.run(["git", "rev-parse", "HEAD"], capture_output=True, text=True).stdout.strip())

def W(q):
    q = np.asarray(q, float)
    return 2 * np.sqrt(np.sum(np.sin(q / 2)**2, axis=-1))

# (a) phase speed over the zone: min of W(k)/|k|
n = 121
g = np.linspace(-np.pi, np.pi, n)
K = np.stack(np.meshgrid(g, g, g, indexing="ij"), -1).reshape(-1, 3)
K = K[np.linalg.norm(K, axis=1) > 1e-9]
vp = W(K) / np.linalg.norm(K, axis=1)
i = np.argmin(vp)
print(f"\n(a) phase speed W(k)/|k| over the zone: min {vp.min():.5f} c at kd = {np.round(K[i] / np.pi, 3)} pi; 2/pi = {2 / np.pi:.5f}; max {vp.max():.5f}")
print("    Reading (1): a point charge faster than 0.637 c (gamma > 1.30, electron kinetic energy > 0.15 MeV) is above the")
print("    vacuum-Cherenkov threshold for zone-boundary photons. For long waves only: threshold (kd)^2 F/24 > 1/(2 gamma^2).")

# (b) reading (2): is E(p) = E(p-k) + eps(k) ever possible (k != 0)?  Scan p, k on a grid, mod 2pi, for M = 0 and M > 0.
def E2(p, M):
    return np.sqrt(M**2 + W(p)**2)
rng = np.random.default_rng(7)
def wrap(q):
    return (q + np.pi) % (2 * np.pi) - np.pi
for M in (0.0, 0.1, 1.0):
    P = rng.uniform(-np.pi, np.pi, (200000, 3)); Kk = rng.uniform(-np.pi, np.pi, (200000, 3))
    f = E2(P, M) - E2(wrap(P - Kk), M) - W(Kk)          # emission needs f = 0; f > 0 somewhere and f < 0 elsewhere => a surface of solutions
    # also check grid of p along axis with k anywhere
    print(f"(b) reading (2), M = {M}: f = E(p) - E(p-k) - eps(k) over 2e5 random (p,k): max f = {f.max():+.4e}, min f = {f.min():+.4e}; fraction f > 1e-9: {np.mean(f > 1e-9):.3e}")
# analytic reason: componentwise |2 sin(p/2) - 2 sin((p-k)/2)| <= |2 sin(k/2)| is FALSE in general, so check the sharp cases:
p = np.array([np.pi, 0, 0]); k = np.array([np.pi / 2, 0, 0])
print(f"    1D check p = pi, k = pi/2, M = 0: f = {E2(p, 0) - E2(wrap(p - k), 0) - W(k):+.4f}")
# Scan systematically for M = 0 near the zone boundary (most dangerous)
best = -np.inf; arg = None
for px in np.linspace(0, np.pi, 61):
    for py in np.linspace(0, np.pi, 31):
        P = np.array([px, py, 0.0])
        Kk = rng.uniform(-np.pi, np.pi, (4000, 3))
        f = E2(P, 0) - E2(wrap(P - Kk), 0) - W(Kk)
        j = np.argmax(f)
        if f[j] > best: best, arg = f[j], (P, Kk[j])
print(f"    systematic scan M = 0: max f = {best:+.4e} at p = {np.round(arg[0], 3)}, k = {np.round(arg[1], 3)}  (<= 0 means no emission: light cannot be given off, nor can a photon split)")

# (c) reading (1) numbers: threshold for a particle of Lorentz factor gamma emitting a photon of energy hbar omega = x E
hbarc_eVm = 1.973269804e-7       # eV m  [S, CODATA 2018 from memory]
def d_bound_threshold(E_eV, m_eV, x=1.0, F=1.0):
    """Emission allowed when v > v_p(k): 1/(2 gamma^2) < (kd)^2 F/24 with k = x E/(hbar c). Gives the d above which a
    particle of energy E radiates photons of energy x E (classical threshold, ignores recoil)."""
    gamma = E_eV / m_eV
    kd_needed = np.sqrt(12 / (F * gamma**2))
    return kd_needed * hbarc_eVm / (x * E_eV)
print("\n(c) reading (1) vacuum-Cherenkov threshold: d above which the particle radiates photons of energy x E (F = 1, axis):")
for name, E, m in [("Fly's Eye proton 3.2e20 eV (if a proton)", 3.2e20, 938.272e6), ("electron 40 TeV (HESS-type)", 4e13, 0.511e6), ("electron 1 PeV (Crab-type)", 1e15, 0.511e6), ("LHC proton 6.8 TeV", 6.8e12, 938.272e6)]:
    print(f"   {name:42s}: x=1: d > {d_bound_threshold(E, m, 1.0):.2e} m radiates;   x=1e-3: d > {d_bound_threshold(E, m, 1e-3):.2e} m")
print("   so the absence of such radiation bounds d BELOW these values (one-sided, upper bound on d), if the charge couples")
print("   to those modes as a point charge and the emission rate above threshold is fast (Coleman-Glashow argument).")
# rough rate: Frank-Tamm with n - 1 = (omega d/c)^2 F/24, upper limit omega_max = x E/hbar: dE/dx ~ alpha F d^2 omega_max^4/(48 c^3) hbar
alpha = 1 / 137.035999
def dEdx_over_E(E_eV, d_m, x=1.0, F=1.0, L_m=3.086e19):
    om_max = x * E_eV / hbarc_eVm            # 1/m  (k_max)
    dEdx = alpha * F * d_m**2 * om_max**4 / 48 * hbarc_eVm   # eV/m  (hbar c k^4 d^2 alpha F /48)
    return dEdx * L_m / E_eV
for d in (1e-35, 1e-40, 1e-45, 1e-49):
    print(f"   classical loss estimate, 3.2e20 eV proton over 1 kpc, x = 1, d = {d:.0e} m: (dE/dx) L / E = {dEdx_over_E(3.2e20, d):.2e}")
print("   (classical Frank-Tamm, recoil ignored, order of magnitude only)")