Does light charge the quons? › Files cited on the page › the trials
lattice_dynamics.py
"""lattice_dynamics.py - Aspden's quon lattice treated as an endless crystal (Part 1, section 7, tests U27-U31).
Units for the lattice calculations: lattice spacing d = 1, charge q = 1, quon mass m0 = 1 (Gaussian), so the plasma
frequency of the quon lattice against a rigid continuum is w_p^2 = 4 pi n q^2/m0 = 4 pi. Physical conversions use
Aspden's values from aether_units.py: hbar*w_p = 361.3 keV (continuum held still), hbar*Omega = 511.0 keV.
"""
import itertools, math
import numpy as np
from scipy.special import erfc
ETA = 1.9 # Ewald splitting parameter (lattice units); results do not depend on it (checked below)
NR, NG = 5, 5 # real-space and reciprocal-space shells
R = np.array([v for v in itertools.product(range(-NR, NR + 1), repeat=3) if v != (0, 0, 0)], float)
G = 2 * np.pi * np.array([v for v in itertools.product(range(-NG, NG + 1), repeat=3)], float)
def hess_short(Rv, eta=ETA):
"""d_a d_b [erfc(eta r)/r] at each lattice vector (array n x 3 x 3)."""
r = np.linalg.norm(Rv, axis=1)
ex = np.exp(-(eta * r) ** 2) * 2 * eta / math.sqrt(math.pi)
f1 = -erfc(eta * r) / r**2 - ex / r # f'
f2 = 2 * erfc(eta * r) / r**3 + ex * (2 / r**2 + 2 * eta**2) # f''
xx = np.einsum('ni,nj->nij', Rv, Rv) / r[:, None, None] ** 2
return (f2 - f1 / r)[:, None, None] * xx + (f1 / r)[:, None, None] * np.eye(3)
H_S = hess_short(R)
def dyn(k, eta=ETA):
"""Dynamical matrix D(k) of a simple cubic lattice of point charges in a rigid uniform neutralising background:
D = (4 pi/3) I - S(k), S(k) = sum_{R != 0} d_a d_b (1/R) exp(i k.R), evaluated by Ewald summation."""
k = np.asarray(k, float)
s_real = np.einsum('n,nij->ij', np.cos(R @ k), H_S if eta == ETA else hess_short(R, eta))
K = G + k
K2 = np.einsum('ni,ni->n', K, K)
m = K2 > 1e-12
s_rec = -np.einsum('n,ni,nj->ij', 4 * np.pi * np.exp(-K2[m] / (4 * eta**2)) / K2[m], K[m], K[m])
s_self = 4 * eta**3 / (3 * math.sqrt(math.pi)) * np.eye(3)
return (4 * np.pi / 3) * np.eye(3) - (s_real + s_rec + s_self)
wp2 = 4 * np.pi
keV_p = 361.331 # hbar w_p in keV (aether_units.py U10 step 3)
keV_O = 510.999 # hbar Omega in keV
def show(tag, text, val="", unit=""):
print(f" {tag:4s} {text:<84s} {val:>18s} {unit}")
print("U27 The orbit in endless space: the uniform (k = 0) motion")
D_small = dyn([1e-4, 0, 0])
show("1", "D(k -> 0 along x) / w_p^2: longitudinal xx (expect 1), transverse yy (expect 0)",
f"{D_small[0,0]/wp2:.6f} {D_small[1,1]/wp2:.2e}")
show("2", "force on one quon from all other quons when every quon shifts by the same vector", "0 (relative positions unchanged)")
show("3", "so the restoring force on the uniform motion comes only from the continuum (U23), as Aspden uses", "")
sig_c = 6.187e17 * 2.99792458e8
show("4", "orbital current density of the two frames, sigma x (relative speed c)", f"{sig_c:.3e}", "A/m^2")
show("5", "balanced exactly by the displacement current eps0 dE/dt of the k = 0 mode, so B = 0", "")
print("\nU28 Normal modes of the endless simple cubic quon lattice (Ewald dynamical matrix, rigid continuum)")
for eta in (1.5, 1.9, 2.4):
w = np.linalg.eigvalsh(dyn([0.7, 1.3, 0.4], eta)) / wp2
show("1", f"eigenvalues w^2/w_p^2 at k = (0.7, 1.3, 0.4) with Ewald eta = {eta}", " ".join(f"{x:.6f}" for x in w))
tr = [np.trace(dyn(np.random.default_rng(i).uniform(-np.pi, np.pi, 3))) / wp2 for i in range(5)]
show("2", "sum rule: trace D(k)/w_p^2 at 5 random k (sum rule: exactly 1)", " ".join(f"{t:.6f}" for t in tr))
pts = {"G": (0, 0, 0), "X": (np.pi, 0, 0), "M": (np.pi, np.pi, 0), "R": (np.pi, np.pi, np.pi)}
path = [("G", "X"), ("X", "M"), ("M", "G"), ("G", "R"), ("R", "X")]
print(" path point w^2/w_p^2 (three branches; negative = unstable)")
worst = (1e9, None)
for a, b in path:
for t in np.linspace(0, 1, 5):
k = (1 - t) * np.array(pts[a], float) + t * np.array(pts[b], float)
if np.linalg.norm(k) < 1e-9:
k = k + 1e-4 * (np.array(pts[b], float) - np.array(pts[a], float)) / np.linalg.norm(np.array(pts[b], float) - np.array(pts[a], float) + 1e-30)
w = np.linalg.eigvalsh(dyn(k)) / wp2
if w[0] < worst[0]:
worst = (w[0], k.copy())
print(f" {a}-{b} t={t:.2f} " + " ".join(f"{x:+.5f}" for x in w))
grid = np.linspace(-np.pi, np.pi, 17)[:-1] + np.pi / 16
neg = 0; tot = 0; wmin = (1e9, None)
for kx, ky, kz in itertools.product(grid, grid, grid):
w = np.linalg.eigvalsh(dyn([kx, ky, kz])) / wp2
tot += 3; neg += int((w < 0).sum())
if w[0] < wmin[0]:
wmin = (w[0], (kx, ky, kz))
show("3", "lowest w^2/w_p^2 found (path and 16^3 Brillouin-zone grid)", f"{min(worst[0], wmin[0]):+.5f}")
show("4", " at k (units of pi/d)", " ".join(f"{x/np.pi:+.3f}" for x in (wmin[1] if wmin[0] <= worst[0] else worst[1])))
show("5", "fraction of grid modes with w^2 < 0 (unstable)", f"{neg/tot:.3f}")
wX = np.linalg.eigvalsh(dyn(pts["X"])) / wp2
show("6", "at X: branch frequencies hbar w (keV), using hbar w_p = 361.3 keV",
" ".join(f"{math.copysign(math.sqrt(abs(x)), x)*keV_p:+.1f}" for x in wX), "keV (neg = imaginary)")
show("7", "spin frequency of Aspden's photon unit, Omega/4", f"{keV_O/4:.1f}", "keV")
# body-centred cubic for comparison (Aspden: the minimum-energy, motionless structure would be bcc)
def dyn_bcc(k, eta=1.6, n=5):
a1, a2, a3 = np.array([-.5, .5, .5]), np.array([.5, -.5, .5]), np.array([.5, .5, -.5]) # cube side 1, 2 sites
A = np.array([a1, a2, a3]); vol = abs(np.linalg.det(A))
Rb = np.array([i*a1 + j*a2 + l*a3 for i, j, l in itertools.product(range(-n, n+1), repeat=3) if (i, j, l) != (0, 0, 0)])
B = 2*np.pi*np.linalg.inv(A).T
Gb = np.array([i*B[0] + j*B[1] + l*B[2] for i, j, l in itertools.product(range(-n, n+1), repeat=3)])
k = np.asarray(k, float)
s_real = np.einsum('n,nij->ij', np.cos(Rb @ k), hess_short(Rb, eta))
K = Gb + k; K2 = np.einsum('ni,ni->n', K, K); m = K2 > 1e-12
s_rec = -np.einsum('n,ni,nj->ij', 4*np.pi/vol*np.exp(-K2[m]/(4*eta**2))/K2[m], K[m], K[m])
s_self = 4*eta**3/(3*math.sqrt(math.pi))*np.eye(3)
return (4*np.pi/(3*vol))*np.eye(3) - (s_real + s_rec + s_self), 4*np.pi/vol
negb = 0; totb = 0; wminb = 1e9
for kx, ky, kz in itertools.product(grid, grid, grid):
Db, wpb = dyn_bcc([kx*2, ky*2, kz*2])
w = np.linalg.eigvalsh(Db)/wpb; totb += 3; negb += int((w < -1e-9).sum()); wminb = min(wminb, w[0])
show("8", "body-centred cubic lattice, same method: lowest w^2/w_p^2 and unstable fraction", f"{wminb:+.5f} {negb/totb:.3f}")
print("\nU29 Magnetic (Darwin) coupling between the moving quons of a spinning 3x3x3 photon unit")
# Darwin Lagrangian (Gaussian): L_ij = q^2/(2 c^2 r) [v_i.v_j + (v_i.n)(v_j.n)]; spin about z through the centre.
sites = np.array(list(itertools.product((-1, 0, 1), repeat=3)), float)
def darwin_ratio(lam=None):
s = 0.0
for i in range(27):
for j in range(i + 1, 27):
rij = sites[i] - sites[j]; r = np.linalg.norm(rij); n = rij / r
vi = np.cross([0, 0, 1], sites[i]); vj = np.cross([0, 0, 1], sites[j])
term = (vi @ vj + (vi @ n) * (vj @ n)) / r
if lam is not None:
term *= math.exp(-r / lam)
s += term
return s # in units q^2 w^2 d / c^2 ; kinetic energy is (1/2) I w^2 with I = 36 m0 d^2
bd = 0.036135562 # b/d (aether_units.py U05); q^2/(m0 c^2) = 3 b, so (q^2/c^2)/(m0 d) = 3 b/d
S0 = darwin_ratio()
show("1", "pair sum over the 351 pairs, [v_i.v_j + (v_i.n)(v_j.n)]/r (units w^2 d)", f"{S0:.4f}")
# L_D = (q^2/2c^2) w^2 d S; angular momentum dL/dw adds I_D = 2 L_D / w^2 = (q^2/c^2) d S; with q^2/c^2 = 3 b m0
# and I = 36 m0 d^2 the fractional addition is (3b/d) S / 36
eps_D = 3 * bd * S0 / 36
show("2", "added inertia I_D/I = (3b/d) S / 36, unscreened", f"{eps_D*100:.3f}", "%")
lam = math.sqrt(2) * 2 * 0.3029158782 # skin depth c/w_p = sqrt2 c/Omega = 2 sqrt2 r, in units of d
S1 = darwin_ratio(lam)
show("3", "skin depth of the surrounding lattice c/w_p (units of d)", f"{lam:.4f}")
show("4", "added inertia with the surrounding lattice screening the field (Yukawa, length c/w_p)", f"{3*bd*S1/36*100:.3f}", "%")
show("5", "change actually needed to close the 0.6 ppm gap (U22)", f"{0.41026e-4:.6f}", "%")
import io, contextlib, os, runpy
with contextlib.redirect_stdout(io.StringIO()): # Aspden's chain from aether_units.py (same folder)
chain = runpy.run_path(os.path.join(os.path.dirname(os.path.abspath(__file__)), "aether_units.py"))["chain"]
for e_, lab in ((eps_D, "unscreened"), (3 * bd * S1 / 36, "screened")):
x0_, N0_, No_, ai_ = chain(eps=e_)
show("6", f"carried through Aspden's chain ({lab}): odd N and 1/alpha", f"{No_} {float(ai_):.5f}")
print("\nU30 Speeds do not depend on the picture: 27 quons holding hbar at Omega/4")
m0 = 0.04078134634 # m0/m_e
KE = 1 / 8 # kinetic energy hbar Omega/8 in units of m_e c^2 (any circular motion: KE = L w / 2)
show("1", "kinetic energy hbar Omega/8", f"{KE*510.999:.2f}", "keV")
show("2", "rest energy of 27 quons", f"{27*m0*510.999:.2f}", "keV")
show("3", "ratio", f"{KE/(27*m0):.4f}")
show("4", "rms speed sqrt(2 KE / 27 m0), any pattern of circular motion at that frequency", f"{math.sqrt(2*KE/(27*m0)):.4f}", "c")
print("\nU31 The wave picture: spreading the same angular momentum over more quons")
for Np in (27, 1000, 10**5, 10**7):
v = math.sqrt(2 * KE / (Np * m0))
show("1", f"{Np:>9d} quons sharing it (same sum of squared radii, same I): rms speed, mass correction",
f"{v:.5f} c {0.5*v*v*1e6:.3g} ppm")
Np_need = 0.5 * 2 * KE / m0 / 0.41026e-6
show("2", "quons needed for the mass correction (v^2/2c^2) to fall below 0.41 ppm", f"{Np_need:.3g}")
show("3", " side of that cube of quons, in lattice spacings and in metres", f"{Np_need**(1/3):.0f} {Np_need**(1/3)*6.374e-13:.2e}", "m")
show("4", "Bohr radius, for scale", "5.29e-11", "m")