Does light charge the quons? › Files cited on the page › the trials
aether_units.py
"""aether_units.py - Aspden's smallest units rebuilt and tested, step by step.
Companion paper: "Aspden's Aether from the Bottom Up, Part 1: The Smallest Units" (aetherscience.org/aspden-aether-units/).
Each block below is one entry (U01, U02, ...) in the test register; the printed lines are quoted there.
Sources for Aspden's equations: The Physics of Creation (2003) ch. 7, eqs (7.1)-(7.29) (POC); Physics Unified (1980)
ch. 6, eqs (128)-(160) (PU); Physics without Einstein (1969) ch. 6, eqs (6.39)-(6.75) (PWE); Wireless World 88, 37 (1982).
Units: SI. Aspden writes Gaussian formulas; q^2 in his formulas becomes e^2/(4 pi eps0) here.
"""
from mpmath import mp, mpf, pi, sqrt, quad, findroot, diff
mp.dps = 30
# ---------- constants (CODATA 2022 unless stated) ----------
e, me, c, hbar = mpf('1.602176634e-19'), mpf('9.1093837139e-31'), mpf('299792458'), mpf('1.054571817e-34')
eps0 = mpf('8.8541878188e-12'); h = 2*pi*hbar
q2 = e**2/(4*pi*eps0) # Gaussian q^2 in SI units (J m)
keV = mpf('1.602176634e-16'); MeV = 1000*keV; GeV = 1000*MeV
mec2 = me*c**2
ainv = mpf('137.035999177') # CODATA 2022, uncertainty 0.000000021
m_mu = mpf('206.7682827') # muon/electron mass ratio, CODATA 2022
hc_MeVm = 2*pi*hbar*c/MeV # h c in MeV m
def E_of_lambda(lam): return hc_MeVm/lam # photon energy (MeV) for wavelength lam (m)
def show(tag, text, val=None, unit="", digits=8):
v = "" if val is None else mp.nstr(val, digits)
print(f" {tag:5s} {text:<78s} {v:>16s} {unit}")
# Aspden's adopted lattice ratio (PU eq 156, POC 7.24/7.26 with N = 1843)
N = 1843
rd = mpf(3)/4*(mpf(8)/N)**(mpf(1)/6)
rd_lattice = mpf('0.3028737692') # zero-energy value with no integer step (main paper sec 5.2)
print("U01 Orbit radius r = hbar/(2 m_e c) [POC 7.1; input taken from the electron, not derived]")
r = hbar/(2*me*c)
show("1", "r = hbar/(2 m_e c)", r, "m")
show("2", "Dirac zitterbewegung amplitude hbar/(2 m_e c) (same expression)", hbar/(2*me*c), "m")
show("3", "range of QED vacuum polarization (Uehling potential ~ exp(-2 m_e c x/hbar)): hbar/2m_e c", hbar/(2*me*c), "m")
print("\nU02 Orbital angular frequency Omega = (c/2)/r [POC 7.1, speed c/2 per frame, relative speed c]")
Om = (c/2)/r
show("1", "Omega", Om, "rad/s")
show("2", "hbar Omega / (m_e c^2) (= 1: the electron Compton angular frequency)", hbar*Om/mec2)
show("3", "Dirac zitterbewegung angular frequency 2 m_e c^2/hbar, divided by Omega", 2*mec2/hbar/Om)
print("\nU03 Lattice spacing d [POC 7.24 with N = 1843; PU 156]")
d = r/rd
a = 2*q2/(3*mec2) # electron Thomson charge radius (POC/PU use E = 2e^2/3a)
re_ = q2/mec2 # classical electron radius
show("1", "r/d = (3/4)(8/1843)^(1/6)", rd, "", 10)
show("2", "d = r/(r/d)", d, "m")
show("3", "d/a (Aspden: 108 pi = 339.29; holds when 1/alpha = 144 pi r/d)", d/a)
show("4", "108 pi", 108*pi)
show("5", "d/r_e (= 72 pi = 226.19)", d/re_)
show("6", "Aspden 2001 (Fifth Question): cube side 6.374e-11 cm -> in m", mpf('6.374e-13'), "m")
print("\nU04 Quon mass from the force balance [POC 7.5-7.6, 7.25]")
sigma = e/d**3 # continuum charge density: one quon charge per cell (POC 7.7)
k_rest = sigma*e/eps0 # Gaussian 4 pi sigma q -> SI sigma q / eps0 (force per unit displacement)
m0_balance = k_rest*2*r/(Om**2*r) # m0 Omega^2 r = (4 pi sigma q)(2r)
m0_725 = mpf(4)/9*rd**2*me # (7.25)
show("1", "m0 from force balance m0 Omega^2 r = 4 pi sigma q (2r) [m_e units]", m0_balance/me, "", 10)
show("2", "m0 from (7.25) m0/m_e = (4/9)(r/d)^2 [m_e units]", m0_725/me, "", 10)
show("3", "ratio (identity: should be 1)", m0_balance/m0_725, "", 12)
m0 = m0_725
show("4", "m0 c^2", m0*c**2/keV, "keV")
print("\nU05 Quon charge radius b and the Thomson-type mass [POC 7.2, 7.4, 7.15, 7.26]")
b = d*(1/rd)**2/(96*pi) # (7.15) b/d = (d/r)^2/(96 pi), from (7.4) + (7.6)
m0_thomson_half = q2/(3*b*c**2) # (7.4) half the Thomson mass 2q^2/3bc^2
show("1", "b = d (d/r)^2/(96 pi)", b, "m")
show("2", "b/d (POC: 0.035)", b/d)
show("3", "m0 from (7.4) q^2/(3 b c^2), divided by m0 from (7.25) (identity: 1)", m0_thomson_half/m0, "", 12)
show("4", "quon Thomson energy 2q^2/3b", 2*q2/(3*b)/keV, "keV")
Nval = (b/a)**3
show("5", "(b/a)^3 = (9/8)^3 (d/r)^6 with his r/d (1843 by construction)", Nval, "", 10)
show("6", "(9/8)^3 (d/r)^6 with the pure-lattice r/d (POC: 1844.53)", (mpf(9)/8)**3*(1/rd_lattice)**6, "", 8)
# Step 7: the mass factor. Aspden takes m0 c^2 = f x (Thomson energy 2q^2/3b) with f = 1/2 (buoyancy). b scales with f, so the
# finite-size term (d/r)^4/4608 pi scales with (2f)^2 and N with (2f)^3. Re-solve the zero-energy lattice and apply his integer rule.
Lsum = mpf('2.3136987')
for f, lab in ((mpf('0.5'), "f = 1/2 (Aspden)"), (mpf(1), "f = 1 (full Thomson mass)"), (mpf('1.25'), "f = 5/4 (sphere plus fluid added mass)")):
x = findroot(lambda x: 8*pi*x**2 - Lsum + (2*f)**2/(4608*pi*x**4), mpf('0.3'))
Nf = (mpf(9)/8)**3*(2*f)**3/x**6
No = int(Nf) if int(Nf) % 2 == 1 else int(Nf) - 1
xN = ((mpf(9)/8)**3*(2*f)**3/No)**(mpf(1)/6)
show("7", f"{lab}: N before rule, odd N, 1/alpha, ppm vs measured",
None, f"{mp.nstr(Nf,7)} {No} {mp.nstr(144*pi*xN,10)} {mp.nstr((144*pi*xN/ainv-1)*10**6,5)} ppm")
print("\nU06 Photon unit: 27 quons, moment of inertia 36 m0 d^2 = 4 h r/(c pi) [POC 7.19-7.24; PWE 6.59-6.61]")
show("1", "36 m0 d^2 / (4 h r/(c pi)) (identity once r/d fixes m0: 1)", 36*m0*d**2/(4*h*r/(c*pi)), "", 12)
show("2", "1/alpha = 144 pi (r/d) with N = 1843 (PU 157: 137.035915)", 144*pi*rd, "", 12)
show("3", "measured 1/alpha (CODATA 2022)", ainv, "", 12)
show("4", "difference, ppm", (144*pi*rd/ainv - 1)*10**6, "ppm", 4)
show("5", "photon-unit size 3d", 3*d, "m")
print("\nU07 Number and mass density of the quon lattice [PWE p.117: 3.87e30 per cc, 144 g/cc]")
n = 1/d**3
show("1", "quons per m^3 = 1/d^3", n, "m^-3", 4)
show("2", "per cm^3", n/10**6, "cm^-3", 4)
show("3", "mass density m0/d^3", m0/d**3/1000, "g/cm^3", 4)
show("4", "continuum charge density sigma = e/d^3", sigma, "C/m^3", 4)
print("\nU08 Energy per lattice cell, the 'virtual muon pair' [POC 7.3, 7.27-7.29; PU 159-160]")
E0 = mpf(3)/(4*pi)*(108*pi)**3*mpf(N)**(-mpf(4)/3)*mec2
E0_73 = d**3*q2/(2*pi*b**4) # (7.3) E0 = (1/2 pi) q^2 d^3 / b^4
show("1", "E0 from (7.29) [m_e c^2 units] (PU 160: 412.665816)", E0/mec2, "", 10)
show("2", "E0 from (7.3) with b, d above, divided by (7.29) (identity: 1)", E0_73/E0, "", 10)
show("3", "two muon masses [m_e units]", 2*m_mu, "", 10)
show("4", "E0 / (2 m_mu) - 1, ppm", (E0/mec2/(2*m_mu)-1)*10**6, "ppm", 5)
show("5", "E0", E0/MeV, "MeV", 6)
print("\nU09 Energy density of the aether compared with the observed dark-energy density")
u = E0/d**3
G = mpf('6.67430e-11'); H0 = mpf('67.4')*1000/mpf('3.0856775814913673e22'); OmL = mpf('0.6847') # Planck 2018
rho_L = OmL*3*H0**2/(8*pi*G)*c**2
show("1", "E0/d^3", u, "J/m^3", 4)
show("2", "dark-energy density Omega_L 3 H0^2 c^2/(8 pi G) (Planck 2018: H0 67.4, Omega_L 0.6847)", rho_L, "J/m^3", 4)
show("3", "ratio", u/rho_L, "", 3)
show("4", "for scale: (200 MeV)^4/(hbar c)^3, a QCD-scale vacuum estimate", (200*MeV)**4/(hbar*c)**3, "J/m^3", 3)
print("\nU10 Natural frequency of a quon displaced against the continuum")
# Both frames orbit with radius r about their common centre, so their inertias per cell are equal (M_G = m0) and the
# relative coordinate X = x_E - x_G obeys X'' = -k (1/m0 + 1/M_G) X. A circular orbit in a linear restoring force
# is itself the free oscillation, so its angular frequency is the natural frequency.
p_nat = sqrt(k_rest*(1/m0 + 1/m0))
show("1", "natural frequency sqrt(k (1/m0 + 1/M_G)) with M_G = m0, divided by Omega (expect 1)", p_nat/Om, "", 12)
show("2", "hbar x natural frequency", hbar*p_nat/keV, "keV", 8)
show("3", "if the continuum did not move (M_G infinite): sqrt(k/m0) x hbar", hbar*sqrt(k_rest/m0)/keV, "keV", 6)
print("\nU11 Static polarization of the quon lattice [POC ch. 6: displacement current = quon displacement]")
E_test = mpf(1) # 1 V/m
X = e*E_test*(2/m0)/p_nat**2 # static relative displacement
P = n*e*X
show("1", "static P / (eps0 E) (=1: quon displacement alone gives exactly the vacuum D = eps0 E)", P/(eps0*E_test), "", 12)
show("2", "the same with M_G = 10 m0 (the identity does not depend on the inertias)",
n*e*(e*E_test*(1/m0+1/(10*m0))/(k_rest*(1/m0+1/(10*m0))))/(eps0*E_test), "", 12)
print("\nU12 Frequency response if the quons alone carry the displacement current (single displacement)")
# Reading B: D = P only, eps_r(w) = Om^2/(Om^2 - w^2). Reading A: a bare vacuum plus the quons, eps_r = 1 + Om^2/(Om^2-w^2),
# with the bare speed set so that radio waves still travel at c (c_bare = c sqrt 2).
def epsB(w): return Om**2/(Om**2 - w**2)
def epsA(w): return 1 + Om**2/(Om**2 - w**2)
def vg(eps, w0, cb):
k = lambda w: w*sqrt(eps(w))/cb
return 1/diff(k, w0)
for EkeV in (mpf('0.002'), mpf(1), mpf(10), mpf(100), mpf(300)):
w = EkeV*keV/hbar
show("B", f"reading B, photon {mp.nstr(EkeV,3)} keV: 1 - v_group/c", 1 - vg(epsB, w, c)/c, "", 4)
show("B", "reading B: eps_r < 0 (no propagating wave) for every photon energy above", hbar*Om/keV, "keV", 6)
show("A", "reading A: stop band from (keV)", hbar*Om/keV, "keV", 6)
show("A", " to (keV)", hbar*Om*sqrt(2)/keV, "keV", 6)
for EkeV in (mpf(100), mpf(1000), mpf(6e6)):
w = EkeV*keV/hbar
show("A", f"reading A, photon {mp.nstr(EkeV,3)} keV: v_group/c", vg(epsA, w, c*sqrt(2))/c, "", 7)
w662 = mpf('661.657')*keV/hbar
kappa = (w662/c)*sqrt(-epsB(w662))
show("B", "reading B: 1/e decay length of a 661.7 keV (Cs-137) wave", 1/kappa, "m", 4)
wA = w662
kappaA = (wA/(c*sqrt(2)))*sqrt(-epsA(wA))
show("A", "reading A: 1/e decay length of a 661.7 keV wave (inside the stop band)", 1/kappaA, "m", 4)
print("\nU13 Lab speed of GeV photons: Alvaeger et al. 1964, photons > 6 GeV, c' = (2.9977 +/- 0.0004)e8 m/s")
cm, sc = mpf('2.9977e8'), mpf('0.0004e8')
show("1", "measured / c", cm/c, "", 6)
show("2", "reading A prediction / c", sqrt(2))
show("3", "reading A excluded by (sigma)", (sqrt(2)*c - cm)/sc, "sigma", 4)
print("\nU14 GRB 090510: keV-MeV and 31 GeV photons arrive within 0.859 s after crossing z = 0.903")
H = lambda z: H0*sqrt(mpf('0.3153')*(1+z)**3 + OmL)
tL = quad(lambda z: 1/((1+z)*H(z)), [0, mpf('0.903')])
K1 = quad(lambda z: (1+z)/H(z), [0, mpf('0.903')])
lim = mpf('0.859')/K1
show("1", "lookback (light-travel) time to z = 0.903, Planck 2018 flat LCDM", tL/(mpf('3.15576e7')*10**9), "Gyr", 4)
show("2", "allowed |delta v|/c = 0.859 s / (1+z)-weighted distance (Abdo et al. 2009, Table 2, limit (a))", lim, "", 3)
w10, w300 = 10*keV/hbar, 300*keV/hbar
dvB = abs(vg(epsB, w10, c) - vg(epsB, w300, c))/c
show("3", "reading B: |v(10 keV) - v(300 keV)|/c", dvB, "", 4)
show("4", " arrival spread this would cause, in years", dvB*tL/mpf('3.15576e7'), "yr", 3)
show("5", " excess over the limit", dvB/lim, "", 3)
dvA = abs(vg(epsA, w10, c*sqrt(2)) - vg(epsA, 31*GeV/hbar, c*sqrt(2)))/c
show("6", "reading A: |v(10 keV) - v(31 GeV)|/c", dvA, "", 4)
show("7", " excess over the limit", dvA/lim, "", 3)
print("\nU15 What a plain oscillator would need to pass GRB 090510 (resonance far above 31 GeV)")
# well below resonance 1 - v_g/c ~ (3/2)(w/W)^2; the quadratic delay accumulates with (1+z)^2, so the path is weighted by (1+z)^2 (K2) and the 28 GeV photon must stay under Abdo et al.'s 0.859 s
K2 = quad(lambda z: (1+z)**2/H(z), [0, mpf('0.903')])
E_res = 28*GeV*sqrt(mpf(3)/2*K2/mpf('0.859'))
E_pl = sqrt(hbar*c**5/G)
show("1", "required resonance energy", E_res/GeV, "GeV", 3)
show("2", " in Planck energies", E_res/E_pl, "", 3)
show("3", " in electron rest energies (Aspden: exactly 1)", E_res/mec2, "", 3)
show("4", " orbit radius r that would give it, r = hbar c/(2 E_res)", hbar*c/(2*E_res), "m", 3)
print("\nU16 Lattice discreteness")
show("1", "shortest wave a lattice of spacing d carries: 2d", 2*d, "m", 4)
show("2", " photon energy with that wavelength", E_of_lambda(2*d), "MeV", 4)
show("3", " highest frequency of a nearest-neighbour lattice wave, hbar 2c/d", hbar*2*c/d/MeV, "MeV", 4)
lam_PeV = E_of_lambda(1)/mpf('1.4e9') # 1.4 PeV = 1.4e9 MeV
show("4", "LHAASO 1.4 PeV photon wavelength", lam_PeV, "m", 3)
show("5", " 2d / that wavelength", 2*d/lam_PeV, "", 3)
for lam, name in ((mpf('5e-7'), "500 nm light"), (E_of_lambda(1)/mpf('0.01'), "10 keV X-ray"), (E_of_lambda(1)/mpf('0.1'), "100 keV gamma")):
kd = 2*pi*d/lam
show("6", f"lattice-wave speed deficit (kd)^2/24 for {name}", kd**2/24, "", 3)
show("7", f" [100]-[111] direction difference (kd)^2/36 for {name}", kd**2/36, "", 3)
print("\nU17 Semiconductor light holes [Lecture 1 appendix: m0/m_e = 0.04078; Ge holes 0.04 and 0.3]")
holes = [("InSb", '0.015', "Ioffe NSM"), ("Ge", '0.043', "Ioffe NSM"), ("Ge", '0.044', "Van Zeghbroeck"),
("GaAs", '0.082', "Van Zeghbroeck"), ("Si", '0.16', "Van Zeghbroeck / NSM")]
for mat, v, src in holes:
show("1", f"{mat:5s} light hole {v} ({src}): ratio to Aspden's m0/m_e", mpf(v)/(m0/me), "", 3)
show("2", "spread of light-hole masses across these crystals (max/min)", mpf('0.16')/mpf('0.015'), "", 3)
print("\nU18 The 1969 version: r/d = 0.30292 from a 'priming energy' y = 0.000456 e^2/d [PWE 6.57-6.61, 6.74-6.75]")
# PWE: one electron per graviton (5,063 lattice particles per electron); energy (1/2) m0 (c/2)^2 per electron, doubled for the G frame
y = 2*(m0*c**2/8)/5063 / (q2/d)
show("1", "y = 2 (m0 c^2/8)/5063 in units of e^2/d (PWE prints 0.000456)", y, "", 4)
show("2", "1/alpha = 144 pi x 0.30292 (PWE 6.61: 137.038)", 144*pi*mpf('0.30292'), "", 8)
show("3", " half-width from rounding r/d to 5 digits, ppm", mpf('0.000005')/mpf('0.30292')*10**6, "ppm", 3)
show("4", " vs July 1969 value 137.03602(21) (CODATA 1969), ppm", (144*pi*mpf('0.30292')/mpf('137.03602')-1)*10**6, "ppm", 3)
print("\nU19 The 2003 k term: 8 pi (r/d)^2 = 2.31368 - (1 - 2/3k)(d/r)^4/4608 pi [POC 7.17-7.18; absent from PU 1980]")
L = mpf('2.3136987') # exact lattice term (main paper sec 5.2); POC prints 2.31368
def F_for(x, Lv): return (Lv - 8*pi*x**2)*4608*pi*x**4
for Lv, lab in ((L, "exact lattice sum"), (mpf('2.31368'), "Aspden's 2.31368")):
F = F_for(rd, Lv)
show("1", f"F = 1 - 2/3k at which the zero-energy r/d equals the N = 1843 value ({lab})", F, "", 6)
show("2", f" k at that point ({lab}; POC: 8.34)", 2/(3*(1-F)), "", 4)
show("3", "upper bound: displaced charge stays in the cell, kb <= d/2 -> k <= d/(2b)", d/(2*b), "", 4)
show("4", " F at that bound", 1 - 2/(3*d/(2*b)), "", 4)
# =====================================================================================================================
# U20-U26: where the 0.6 ppm comes from, and whether anything in Aspden's figures or reasoning can close it
# =====================================================================================================================
def chain(eps=mpf(0), cf=mpf(1), F=mpf(1), L=mpf('2.3136987'), rule=True):
"""Aspden's alpha chain with three switches. eps: fractional change to the photon-unit angular momentum relation
(h c/2 pi q^2 = 144 pi x cf (1+eps)); cf: multiplier on the restoring coefficient 4 pi sigma q; F: factor on the
finite-size term. Returns (zero-energy x0, N before rule, odd N used, 1/alpha)."""
x0 = findroot(lambda x: cf*8*pi*x**2 - L + F/(4608*pi*cf**2*x**4), mpf('0.3'))
N0 = (mpf(9)/8)**3*(1+eps)**3/x0**6
if not rule:
return x0, N0, None, 144*pi*x0*cf*(1+eps)
No = int(N0) if int(N0) % 2 == 1 else int(N0) - 1
xN = ((mpf(9)/8)**3*(1+eps)**3/No)**(mpf(1)/6)
return x0, N0, No, 144*pi*xN*cf*(1+eps)
def ppm(v): return (v/ainv - 1)*10**6
print("\nU20 The 0.6 ppm is one number: every identity among the units is exact once his own alpha is used")
a_his = 1/(144*pi*rd)
q2_his = a_his*hbar*c # the q^2 his theory implies
k_his = (q2_his*4*pi)/d**3 # 4 pi sigma q with q^2 -> his value (Gaussian form in SI: q2*4pi/d^3)
m0_bal_his = k_his*2*r/(Om**2*r)
show("1", "his 1/alpha divided by measured 1/alpha", (1/a_his)/ainv, "", 12)
show("2", "m0 (force balance, measured e^2) / m0 (7.25) [U04]", m0_balance/m0_725, "", 12)
show("3", "m0 (force balance, his alpha) / m0 (7.25)", m0_bal_his/m0_725, "", 15)
b_his = q2_his/(3*m0_725*c**2)
show("4", "b from (7.4) with his alpha / b from (7.15)", b_his/b, "", 15)
show("5", "E0 from (7.3) with his alpha / E0 from (7.29)", d**3*q2_his/(2*pi*b**4)/E0, "", 15)
print("\nU21 His printed figures re-checked")
show("1", "N with r/d = 0.302874 (POC: 'approximately 1844.53')", (mpf(9)/8)**3/mpf('0.302874')**6, "", 7)
show("2", "1/alpha = 108 pi (8/1843)^(1/6) (PU 157: 137.035915)", 108*pi*(mpf(8)/1843)**(mpf(1)/6), "", 10)
show("3", "E0 = (3/4 pi)(108 pi)^3 1843^(-4/3) (PU 160: 412.665816)", mpf(3)/(4*pi)*(108*pi)**3*mpf(1843)**(-mpf(4)/3), "", 10)
show("4", "lattice term: his hand sum 2.31368 vs exact Ewald 2.3136987, difference", mpf('2.3136987') - mpf('2.31368'), "", 3)
show("5", " 1/alpha with his hand sum and with the exact sum, after the integer rule", chain(L=mpf('2.31368'))[3], "", 10)
show("6", " (exact sum)", chain()[3], "", 10)
show("7", "b/d (POC p.109 prints 0.035)", b/d, "", 5)
show("8", "k b/d with k = 8.34: POC says 'more than 0.29d'", mpf('8.34')*b/d, "", 4)
print("\nU22 What correction would close the gap (final 1/alpha depends only on N and two relations)")
gap = 1 - ainv/(1/a_his) # fractional shortfall of his 1/alpha (negative)
eps_need = findroot(lambda e: chain(eps=e)[3] - ainv, mpf('4e-7'))
show("1", "required change to the photon-unit relation, eps (1/alpha moves by 1.5 eps)", eps_need*10**6, "ppm", 5)
show("2", "required change to the size relation N = (9/8)^3 (d/r)^6, delta (1/alpha moves by delta/6)", -6*gap*10**6, "ppm", 5)
show("3", " equivalently the N that would give measured alpha", mpf(N)*(1 + 6*gap), "", 8)
show("4", "required change to the orbit radius r = hbar/2 m_e c (enters N as its cube)", -2*gap*10**6, "ppm", 5)
for Fv in (mpf('0.93'), mpf('0.95'), mpf(1), mpf('1.02')):
show("5", f"finite-size factor F = {mp.nstr(Fv,3)}: odd N, 1/alpha (lattice details only pick the integer)", None,
f"{chain(F=Fv)[2]} {mp.nstr(chain(F=Fv)[3],12)}")
show("6", "today's uncertainty of 1/alpha, ppm (a real fix must land within this)", mpf('0.000000021')/ainv*10**6, "ppm", 3)
print("\nU23 The restoring coefficient 4 pi sigma q (Gaussian)")
# In an unbounded medium a uniform displacement P of the lattice relative to the continuum has no static surface charge;
# Maxwell's equations with uniform fields (curl B = 0) give dE/dt = -4 pi J, i.e. E = -4 pi P: the k -> 0 plasma mode,
# for any direction of displacement. So the force per unit displacement is 4 pi sigma q, as Aspden uses.
show("1", "his coefficient (unbounded medium, Maxwell displacement current): 1/alpha", chain(cf=mpf(1))[3], "", 10)
show("2", "electrostatic sphere coefficient 4 pi/3 instead: odd N, 1/alpha", None, f"{chain(cf=mpf(1)/3)[2]} {mp.nstr(chain(cf=mpf(1)/3)[3],8)}")
show("3", "cylinder (axis normal to the orbit plane) 2 pi instead: odd N, 1/alpha", None, f"{chain(cf=mpf(1)/2)[2]} {mp.nstr(chain(cf=mpf(1)/2)[3],8)}")
print("\nU24 The photon unit's moment of inertia 36 m0 d^2: what it leaves out")
ws = Om/4 # spin rate: radiates at four times its spin, at Omega
v1, v2 = ws*d/c, ws*sqrt(2)*d/c
show("1", "spin rate Omega/4; speed of the 12 quons at distance d, as a fraction of c", v1, "", 5)
show("2", "speed of the 12 quons at distance d sqrt 2", v2, "", 5)
g = lambda v: 1/sqrt(1 - v**2)
eps_rel = (12*g(v1)*1 + 12*g(v2)*2)/36 - 1
show("3", "angular momentum increase if mass rises with speed (PU ch. 4; TU08 exempts the quons)", eps_rel*100, "%", 4)
eps_self_u = 27*mpf(2)/5*(b/d)**2/36
eps_self_f = 27*(b/d)*(mpf('0.5') - b/d)/36 # Thomson field mass q^2/(3 b c^2) spread as E^2 outside b, out to d/2
eps_cont = 27*(2*(3*d)**2/12)/(36*d**2) # continuum mass m0 per cell, uniform through the 3d cube, co-rotating
for e_, lab in ((eps_rel, "speed-dependent mass"), (eps_self_f, "quons spin with the unit (field mass out to d/2)"),
(eps_self_u, "quons spin with the unit (uniform-mass spheres)"), (eps_cont, "continuum co-rotates")):
x0_, N0_, No_, ai_ = chain(eps=e_)
show("4", f"{lab}: change to I, then odd N and 1/alpha", None, f"{mp.nstr(e_*100,4)} % N {No_} 1/alpha {mp.nstr(ai_,8)}")
show("5", "the change actually needed, eps", eps_need*100, "%", 4)
print("\nU25 The 2003 k computed from Aspden's own description (displaced charge spread through the cell)")
cube = 2*(3*mp.log((1+sqrt(3))/sqrt(2)) - pi/4) # mean of d/R over a cube of side d about its centre (POC 7.12: 2.380077382)
bd = b/d
inv_mean = (cube - 2*pi*bd**2)/(1 - 4*pi/3*bd**3) # mean of d/R over the cell outside the quon's void
k_calc = 1/(bd*inv_mean)
F_calc = 1 - 2/(3*k_calc)
show("1", "mean of d/R over the cube (POC 7.12 prints 2.380077382)", cube, "", 11)
show("2", "k = d/(b x mean of d/R outside the void)", k_calc, "", 5)
show("3", "F = 1 - 2/3k", F_calc, "", 6)
x0c, N0c, Noc, aic = chain(F=F_calc)
show("4", "N before rule, odd N, 1/alpha with the integer rule", None, f"{mp.nstr(N0c,7)} {Noc} {mp.nstr(aic,10)}")
show("5", "pure lattice with this k (no integer rule): 1/alpha, ppm", None,
f"{mp.nstr(chain(F=F_calc, rule=False)[3],10)} {mp.nstr(ppm(chain(F=F_calc, rule=False)[3]),4)} ppm")
show("6", "pure lattice with Aspden's F = 1, for comparison: 1/alpha, ppm", None,
f"{mp.nstr(chain(rule=False)[3],10)} {mp.nstr(ppm(chain(rule=False)[3]),4)} ppm")
print("\nU26 Small numbers of about the right size (shown to make the point that matching is not fixing)")
alpha = 1/ainv
for e_, lab in ((alpha**3, "eps = alpha^3"), (1/mpf(N)**2, "eps = 1/N^2"), (alpha**2/(4*pi**2), "eps = (alpha/2 pi)^2")):
v = chain(eps=e_)[3]
show("1", f"{lab} = {mp.nstr(e_*10**6,4)} ppm: 1/alpha, residual ppm, residual in today's sigma", None,
f"{mp.nstr(v,12)} {mp.nstr(ppm(v),3)} ppm {mp.nstr((v-ainv)/mpf('0.000000021'),4)} sigma")