Does light charge the quons? › Files cited on the page › check_trials25-27_fable/
a2_charge.py
"""A2 (blind): one held charge alone on a band, wp2 = 0.5 and 0.25, wb2 = 0.36 - wp2/3, 64^3 box, dt = 0.1.
Thirty-fifth reviewer, 25 November 2026. Imports engine.py; the analysis is my own.
By hand [D], units d = c = eps0 = 1, q = 1, m = 1/wp2. The dipole's own field on its band (outline 9.2, which I take as the
engine's measured self-field and re-check here through the frequency): E_self/P = -1/3 + m_em w^2 + i w^3/(6 pi) + ...,
m_em = (2/3) G(0) = (2/3)(0.252731) = 0.168487 (G(0): the lattice Coulomb potential of a unit charge at its own corner).
Free motion: -w^2 P = -wb2 P + wp2 E_self => w^2 (1 + m_em wp2) = wb2 + wp2/3 - i wp2 w^3/(6 pi).
without the field's inertia: w0 = sqrt(wb2 + wp2/3) = 0.6 for both wp2 (that is why wb2 = 0.36 - wp2/3)
with it: w1 = 0.6/sqrt(1 + 0.168487 wp2)
energy loss by radiation: Gamma_E = -d ln U/dt = wp2 w1^2/(6 pi (1 + 0.168487 wp2)) (= Larmor power / stored energy)
The run's clock frequency w relates to the lattice frequency by Om = (2/dt) sin(w dt/2); at w = 0.58, dt = 0.1 the difference is 1.4e-4 relative.
"""
import subprocess, sys, time
import numpy as np
sys.path.insert(0, "/home/doug/aetherscience.org/aspden-investigation/sim/m8_engine")
import engine as eng
print("git HEAD:", subprocess.run(["git", "rev-parse", "HEAD"], capture_output=True, text=True,
cwd="/home/doug/aetherscience.org/aspden-investigation").stdout.strip())
print("clock:", time.strftime("%Y-%m-%d %H:%M:%S %Z"))
M_EM = (2 / 3) * 0.252731
def prony_damped(x, dt, nfreq, t0=0.0):
"""Linear prediction with complex roots: returns (w, gamma, amplitude) per mode, largest amplitude first."""
order = 2 * nfreq
rows = len(x) - order
A = np.array([x[i:i + order] for i in range(rows)])
coef, *_ = np.linalg.lstsq(A, x[order:order + rows], rcond=None)
roots = np.roots(np.concatenate([[1.0], -coef[::-1]]))
n = np.arange(len(x))
V = np.array([r ** n for r in roots]).T
amp, *_ = np.linalg.lstsq(V, x.astype(complex), rcond=None)
out = []
for r, a in zip(roots, amp):
w = abs(np.angle(r)) / dt
if w < 1e-9:
continue
out.append((w, -np.log(abs(r)) / dt, abs(a)))
out.sort(key=lambda z: -z[2])
# keep one of each conjugate pair
kept = []
for z in out:
if not any(abs(z[0] - k[0]) < 1e-9 for k in kept):
kept.append(z)
return kept
N, dt = 64, 0.1
shape = (N, N, N)
c = N // 2
for wp2 in (0.5, 0.25):
wb2 = 0.36 - wp2 / 3
occ = np.zeros((3, *shape)); occ[0, c, c, c] = 1
L = eng.Lattice(shape, dt, wb2=wb2, wp2=wp2, occ=occ)
P0 = 1e-3
L.P[0, c, c, c] = P0
L.E = eng.static_field_of(L.P)
print(f"\n=== wp2 = {wp2}, wb2 = {wb2:.6f} ===")
print(f"static self-field on the band / P = {L.E[0, c, c, c] / P0:.9f}; by hand -(1/3)(1 - 1/N^3) = {-(1 - 1 / N**3) / 3:.9f}")
w0 = np.sqrt(wb2 + wp2 / 3)
mp = M_EM * wp2
w1 = w0 / np.sqrt(1 + mp)
G_pred = wp2 * w1**2 / (6 * np.pi * (1 + mp))
print(f"by hand: w0 (no field inertia) = {w0:.6f}; w1 (with it, m_em wp2 = {mp:.6f}) = {w1:.6f}; Gamma_E = {G_pred:.6f}; Q = w1/Gamma_E = {w1 / G_pred:.1f}")
steps = 620
P, Um, Utot = [], [], []
U0 = L.energy()
for i in range(steps):
P.append(L.P[0, c, c, c])
Um.append(0.5 * (wb2 * L.P[0, c, c, c] ** 2 + L.V[0, c, c, c] ** 2) / wp2)
if i % 100 == 0:
Utot.append((L.t, L.energy() / U0))
L.step()
P = np.array(P); Um = np.array(Um); t = dt * np.arange(steps)
print("total energy in the box / its start, at t =", ", ".join(f"{a:.0f}: {b:.6f}" for a, b in Utot))
sel = (t >= 10) & (t <= 60) # before the light comes back round the 64-cell box (t = 64), after the start-up burst
modes = prony_damped(P[sel], dt, 2)
w, g, a = modes[0]
Om = 2 / dt * np.sin(w * dt / 2)
print(f"run (Prony on P, t in [10, 60]): w = {w:.6f}, amplitude decay gamma = {g:.6f}, energy decay 2 gamma = {2 * g:.6f}")
if len(modes) > 1:
print(f" second mode found: w = {modes[1][0]:.4f}, gamma = {modes[1][1]:.4f}, relative amplitude {modes[1][2] / a:.2e}")
print(f"inertia read from the run: 0.36/Om^2 - 1 = {0.36 / Om**2 - 1:.6f} (by hand m_em wp2 = {mp:.6f}; ratio {(0.36 / Om**2 - 1) / mp:.4f})")
# energy decay from the envelope of the matter energy (peaks of P^2 + V^2/wb2 ~ a running maximum over a period)
per = int(round(2 * np.pi / w / dt))
env_t, env_u = [], []
for s in range(int(10 / dt), int(60 / dt) - per, per):
env_t.append(t[s:s + per].mean()); env_u.append(Um[s:s + per].mean())
slope = np.polyfit(env_t, np.log(env_u), 1)[0]
print(f"energy decay from the matter energy's period means, t in [10, 60]: -d ln U_m/dt = {-slope:.6f} (by hand {G_pred:.6f}; ratio {-slope / G_pred:.4f})")
print(f"w run / w1 by hand = {w / w1:.5f}; w run / w0 = {w / w0:.5f}")
print("clock:", time.strftime("%Y-%m-%d %H:%M:%S %Z"))