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

check_trial14.py

In the investigation at sim/models_AB/check_trial14_fable/check_trial14.py · last changed in commit eb6a522, 16 November 2026 · 11,432 bytes · the folder as a zip


"""Fifteenth review: independent recomputation for trial 14 (finer layers and Aspden's cell energy), the arithmetic behind the
answers of 16 November (section 10.13 of the charging-quons paper), and a few variants the lock did not run.
Written from Aspden's equations as Part 1 section 3 states them and from the register's closed forms (M17, M24), not from the
trial scripts. Run: ~/aspden-review-venv/bin/python3 check_trial14.py
"""
import numpy as np
import mpmath as mp
from scipy import constants as C
from scipy.optimize import brentq

mp.mp.dps = 30
out = []
def say(s=""):
    print(s); out.append(s)

# ---------------- constants (CODATA via scipy) ----------------
c, e, eps0, hbar, me = C.c, C.e, C.epsilon_0, C.hbar, C.m_e
mec2_eV = me * c**2 / e
mmu_eV = C.physical_constants["muon mass energy equivalent in MeV"][0] * 1e6
mmu_over_me = C.physical_constants["muon-electron mass ratio"][0]
alpha_codata = C.fine_structure
k_coul = 1 / (4 * np.pi * eps0)

# ---------------- Aspden's chain, Part 1 section 3 ----------------
N = 1843
r = hbar / (2 * me * c)                        # step 1: orbit radius
r_over_d = 0.75 * (8 / N) ** (1 / 6)           # step 2
d = r / r_over_d
b = d**3 / (96 * np.pi * r**2)                 # step 4: b = d^3/(96 pi r^2)
inv_alpha_A = 144 * np.pi * r_over_d           # step 6 (also 108 pi (8/N)^(1/6))
alpha_A = 1 / inv_alpha_A
q2_A = alpha_A * hbar * c                      # Aspden's q^2/(4 pi eps0), J m
say("Fifteenth review: independent numbers for trial 14 and section 10.13")
say(f"r = {r:.5e} m; r/d = {r_over_d:.8f}; d = {d:.5e} m; b = {b:.5e} m; b/d = {b/d:.8f}")
say(f"1/alpha (Aspden) = {inv_alpha_A:.7f}  (108 pi (8/N)^(1/6) = {108*np.pi*(8/N)**(1/6):.7f});  CODATA 1/alpha = {1/alpha_codata:.7f}")

# Thomson energy of the quon, 2 q^2 / 3 b, with Aspden's alpha and with CODATA's
U_q_A = (2 / 3) * q2_A / b / e                              # eV
U_q_codata = (2 / 3) * k_coul * e**2 / b / e
U_q_N = mec2_eV / N ** (1 / 3)                              # POC 7.28: m_e c^2 / N^(1/3)
say(f"U_q = 2q^2/3b: {U_q_A:.4f} eV (Aspden's alpha); {U_q_codata:.4f} eV (CODATA alpha); m_e c^2/N^(1/3) = {U_q_N:.4f} eV; "
    f"ratio Aspden/N-form - 1 = {U_q_A/U_q_N - 1:.1e}")

# Cell energy from (7.3) directly: E0 = (1/2 pi) q^2 d^3 / b^4  (Gaussian q^2 -> e^2/4 pi eps0)
E0_73 = q2_A * d**3 / (2 * np.pi * b**4) / e               # eV
E0_729 = (3 / (4 * np.pi)) * (108 * np.pi) ** 3 * N ** (-4 / 3) * mec2_eV
E0_Q = 944784 * np.pi**2 / N ** (4 / 3) * mec2_eV          # the register's Q = 944784 pi^2 / N^(4/3)
say(f"E0 from (7.3) in SI: {E0_73:.6e} eV = {E0_73/mec2_eV:.7f} m_e c^2; from (7.29): {E0_729/mec2_eV:.7f}; "
    f"from 944784 pi^2/N^(4/3): {E0_Q/mec2_eV:.7f}; (7.3)/(7.29) - 1 = {E0_73/E0_729 - 1:.1e}")
E0 = E0_729
say(f"E0 = {E0/1e6:.4f} MeV; E0/d^3 = {E0*e/d**3:.4e} J/m^3")
# the identity E0 = (3/4 pi)(d/b)^3 U_q : the cell volume over the charge sphere's volume
ratio_vol = d**3 / (4 * np.pi * b**3 / 3)
say(f"d^3 / (4 pi b^3/3) = {ratio_vol:.3f};  E0/U_q = {E0/U_q_A:.3f};  (3/4pi)(d/b)^3 = {3/(4*np.pi)*(d/b)**3:.3f}")
# energy density inside the quon's sphere against the energy density of its surface field
u_in = U_q_A * e / (4 * np.pi * b**3 / 3)
E_b = k_coul * e / b**2
u_surf = 0.5 * eps0 * E_b**2
say(f"Thomson energy density inside the quon {u_in:.4e} J/m^3; energy density of its surface field (eps0/2) E_b^2 = {u_surf:.4e}; "
    f"ratio = {u_in/u_surf:.3f} (exactly 4 for 2q^2/3b)")

# ---------------- Q1: one finer layer ----------------
say("\nQ1. One finer layer of ratio s (spacing d/s, radius b/s, s^3 finer quons per cell of Aspden's)")
def E_C1(s, frac=1.0):      # each finer quon carries e: Thomson energy 2e^2/(3 b/s) = s U_q, times s^3
    return frac * s**3 * (s * U_q_A)
def E_C2(s, frac=1.0):      # the s^3 finer quons carry e together: each e/s^3 at radius b/s
    return frac * s**3 * (2 / 3) * q2_A * (1 / s**3) ** 2 / (b / s) / e
for frac, nm in ((1.0, "Thomson"), (0.5, "half (inertia, I3)"), (0.75, "external field energy q^2/2b"), (0.6, "uniform ball 3q^2/5b")):
    s_star = brentq(lambda s: E_C1(s, frac) - E0, 1, 200, xtol=1e-13)
    say(f"   C1, {nm:28s}: s* = {s_star:.6f}  (closed form (E0/(f U_q))^(1/4) = {(E0/(frac*U_q_A))**0.25:.6f})")
s1 = (E0 / U_q_A) ** 0.25; s1h = (2 * E0 / U_q_A) ** 0.25
say(f"   s*^2 = {s1**2:.4f}, s*^3 = {s1**3:.3f}, s*^4 = {s1**4:.3f} = E0/U_q")
say(f"   C2: E = U_q/s^2 (check s=2: {E_C2(2)/E0:.4e} E0; s=1 would be U_q = {U_q_A/E0:.4e} E0): falls with s, never E0")
say(f"   {'s':>7s} {'C1 Thomson/E0':>14s} {'C1 half/E0':>12s} {'C2/E0':>11s}")
for s in (3, 9, 27, 13.6, 13.6257, 27.25, 13, 14, 28, 8, 10):
    say(f"   {s:7.4f} {E_C1(s)/E0:14.5g} {E_C1(s,0.5)/E0:12.5g} {E_C2(s)/E0:11.3e}")
best = sorted((abs(E_C1(s, f) / E0 - 1), s, f) for s in range(2, 31) for f in (1.0, 0.5))
say(f"   closest whole numbers 2..30: " + "; ".join(f"s={s} f={f}: {E_C1(s,f)/E0-1:+.4%}" for _, s, f in best[:3]))
say(f"   with the external-field energy (f = 0.75): s = 9 gives {E_C1(9,0.75)/E0-1:+.3%}; with the ball's 3q^2/5b (f = 0.6): s = 9 gives {E_C1(9,0.6)/E0-1:+.3%}")
say(f"   C2 largest over 2..30: {max(E_C2(s) for s in range(2,31))/E0:.3e} E0 (s = 2)")
tot = 0
for K in (1, 2, 3):
    tot += E_C1(3**K); say(f"   U44 ladder, levels 1..{K} present (3, 9, 27): {tot/E0:.4f} E0 = {tot:.4e} eV")

# ---------------- Q2: ladder in equilibrium ----------------
say("\nQ2. A ladder in equilibrium: each layer's energy density = the internal density of the quons of the layer above")
# layer 1 density: s^4 U_q / d^3 must equal E0/d^3 -> s = s*. Layer 1's quons have internal density s^4 x the quon's -> layer 2 holds s*^4 E0, etc.
g = s1**4
for frac, ss in ((1.0, s1), (0.5, s1h)):
    gg = ss**4; tot = 0
    rows = []
    for K in range(1, 6):
        tot += E0 * gg ** (K - 1); rows.append(f"K={K}: {tot/E0:.4e} E0 (d/{ss**K:.4g})")
    closed = E0 * (gg**5 - 1) / (gg - 1)
    say(f"   f = {frac}: step ratio {ss:.6f}, growth x{gg:.6g} per step; " + "; ".join(rows) + f"; sum/closed - 1 = {tot/closed-1:.1e}")
say(f"   layers 1 and 2 (Thomson): {(1+g)*E0/1e12:.4f} TeV")

# ---------------- variants the lock did not run (post hoc, reviewer's) ----------------
say("\nVariants (reviewer's, post hoc)")
m0c2 = U_q_A / 2                                                      # the quon's inertia, I3
KE_orbit_per_cell = lambda s: s**3 * (s * m0c2) * (0.5 * 0.25)        # s^3 quons of mass s m0 at v = c/2: (1/2) m v^2 = m c^2/8
s_star_with_orbit = brentq(lambda s: E_C1(s) + KE_orbit_per_cell(s) - E0, 1, 100)
say(f"   (i) adding the finer quons' c/2 orbit kinetic energy (s^4 m0 c^2/8 per cell = {KE_orbit_per_cell(1)/U_q_A:.4f} U_q at s=1): s* -> {s_star_with_orbit:.4f} "
    f"({(s_star_with_orbit/s1-1)*100:+.2f}%)")
# (ii) finer quons in Aspden's own equilibrium with ONE common medium density E0/d^3: internal density e_s^2/b_s^4 must equal e^2/b^4 -> e_s = e/s^2
E_C3 = lambda s: s**3 * (2 / 3) * q2_A * (1 / s**2) ** 2 / (b / s) / e
say(f"   (ii) C3: finer quons sharing Aspden's one medium density (charge e/s^2, radius b/s): energy per cell = {E_C3(5)/U_q_A:.6f} U_q at s=5, "
    f"{E_C3(50)/U_q_A:.6f} U_q at s=50: U_q for every s, i.e. {U_q_A/E0:.3e} E0; never E0")
# (iii) applying Aspden's own rule (7.3) to the finer layer: its cell energy per Aspden cell = s^3 x (3/4pi)(d/b)^3 x s U_q = s^4 E0
say(f"   (iii) Aspden's rule (7.3) applied to the finer layer itself gives s^4 E0 per cell of Aspden's: >= E0 for every s >= 1, = E0 only at s = 1 (this is Q2's step)")
# (iv) the muon pair as a finer layer: 2 quons per cell, each m_mu c^2
s_count = 2 ** (1 / 3); s_energy = mmu_eV / U_q_A
say(f"   (iv) two muons per cell as a self-similar copy would need s = 2^(1/3) = {s_count:.3f} by count but s = m_mu c^2/U_q = {s_energy:.0f} by energy: no copy fits")
# (v) ratio of P's precision: the lock's 0.2 ppm
P_meas = C.physical_constants["proton-electron mass ratio"][0]

# ---------------- Q3: the wins, from the register's closed forms (M17, M24) ----------------
say("\nQ3. The wins")
Qm = mp.mpf(944784) * mp.pi**2 / mp.mpf(N) ** (mp.mpf(4) / 3)
Pm = Qm / (mp.sqrt(mp.mpf(3) / 2) - 1)
Tm = 2 * Qm * (3 + mp.sqrt(mp.mpf(3) / 2)) - mp.mpf(15) / 8
xm = mp.findroot(lambda y: 3 * y**4 + y**3 - 1, 0.7)
gm = Tm / xm
e_esu = e * c * 10; me_g = me * 1e3
sqrtG_cgs = 4 * mp.pi * (mp.mpf(e_esu) / mp.mpf(me_g)) * gm ** (-4) / (108 * mp.pi) ** 3
G_SI = sqrtG_cgs**2 * mp.mpf("1e-3")
say(f"   1/alpha = {mp.nstr(108*mp.pi*(mp.mpf(8)/N)**(mp.mpf(1)/6), 12)}; Q = {mp.nstr(Qm, 12)}; P = {mp.nstr(Pm, 13)} (measured {P_meas:.8f}: {float(Pm/P_meas-1)*1e6:+.3f} ppm)")
say(f"   T = {mp.nstr(Tm, 11)}; x = {mp.nstr(xm, 11)}; g = {mp.nstr(gm, 10)}; G = {mp.nstr(G_SI, 8)} m^3 kg^-1 s^-2 (CODATA {C.G:.5e}: {float(G_SI/C.G-1)*1e6:+.0f} ppm)")
say(f"   does any layer enter? no: the chain is N -> r/d -> b/d -> 1/alpha, Q, P, T, g, G; E0 is Q m_e c^2 by (7.29)")

# ---------------- the arithmetic behind the chat answers (section 10.13, items 1 to 3) ----------------
say("\nArithmetic behind the answers (section 10.13)")
n = 1 / d**3
E_orb = n * e * (2 * r) / eps0
E_orb_75 = (m0c2 * e) * (mec2_eV * e / hbar) ** 2 * r / (e * c**2)   # m0 Omega^2 r / e with Omega = m_e c^2/hbar, m0 = U_q/2c^2
E_c = me**2 * c**3 / (e * hbar)
E_c_mu = E_c * mmu_over_me**2
say(f"   E_orb = n e 2r / eps0 = {E_orb:.4e} V/m; m0 Omega^2 r/e = {E_orb_75:.4e} V/m (ratio {E_orb/E_orb_75:.6f}; Aspden's eq. 7.5 holds with his alpha)")
say(f"   Schwinger field m_e^2 c^3/(e hbar) = {E_c:.4e} V/m; E_orb/E_c = {E_orb/E_c:.4f}; muon critical field {E_c_mu:.4e} V/m; E_orb/E_c,mu = {E_orb/E_c_mu:.3e}")
say(f"   orbit field's energy per cell (eps0/2) E_orb^2 d^3 = {0.5*eps0*E_orb**2*d**3/e:.4e} eV; its quantum h-bar Omega = {mec2_eV/1e3:.3f} keV")
say(f"   field at the quon's charge-sphere surface e/(4 pi eps0 b^2) = {E_b:.4e} V/m = {E_b/E_c:.3f} E_c = {E_b/E_c_mu:.3e} E_c,mu")
say(f"   E0 = {E0/1e6:.4f} MeV; 2 m_mu c^2 = {2*mmu_eV/1e6:.4f} MeV; E0/(2 m_mu c^2) - 1 = {(E0/(2*mmu_eV)-1)*1e6:.0f} ppm = {(E0/(2*mmu_eV)-1)*100:.3f}%")
lam_mu = hbar / (mmu_eV * e / c**2 * c)      # reduced Compton wavelength of the muon
w0 = 2 * mmu_eV * e / hbar                   # h-bar w0 = 2 m_mu c^2
m_mu_kg = mmu_eV * e / c**2
share_2010 = n * e**2 / (m_mu_kg * w0**2) / eps0           # Leuchs 2010 eq. 4, one pair per cell
share_2013 = n * 2 * 0.2 * e**2 / (m_mu_kg * w0**2) / eps0 # Leuchs & Sanchez-Soto 2013 eq. 2, zeta = 0.2, reduced mass m/2
say(f"   muon reduced Compton wavelength {lam_mu:.4e} m = {lam_mu/d:.4e} d; pi alpha (lam/d)^3 = {np.pi*alpha_codata*(lam_mu/d)**3:.3e}")
say(f"   one muon pair per cell, share of eps0: 2010 form {share_2010:.3e}; 2013 form (zeta = 0.2) {share_2013:.3e}; against 6.2e-20: "
    f"{share_2013/6.2e-20:.2e} to {share_2010/6.2e-20:.2e}")
say(f"   virtual muon pair's lifetime hbar/(2 m_mu c^2) = {hbar/(2*mmu_eV*e):.3e} s; 2 m_mu c^2 / 2 eV = {2*mmu_eV/2:.3e}")
Ry = C.physical_constants["Rydberg constant times hc in eV"][0]
say(f"   hydrogen 1s-2p = (3/4) Ry = {0.75*Ry:.4f} eV; 66.74 GeV / it = {66.74e9/(0.75*Ry):.3e}; 70.69 GeV / it = {70.69e9/(0.75*Ry):.3e}")
say(f"   muon/electron mass ratio {mmu_over_me:.4f} ('about 207'); 0.92% of eps0 from muon pairs is trial 9's (not recomputed here)")
say(f"   E_orb / E_c,mu = {E_orb/E_c_mu:.2e}: 'about half a millionth' = {E_orb/E_c_mu*1e6:.2f} millionths")

open(__file__.replace(".py", "_out.txt"), "w").write("\n".join(out) + "\n")