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

check_E2_E3.py

In the investigation at sim/models_AB/check_trial15_fable/check_E2_E3.py · last changed in commit e082911, 18 November 2026 · 7,907 bytes · the folder as a zip


"""Sixteenth independent review: the author seat's E3 and E2 claims (18 November 2026).

E3: trial 13's harmonic hold (spinless Salpeter, H = sqrt(P^2 + M^2) + K r^2/2) in the ultra-relativistic closed forms
    (Airy), plus my own finite-M Salpeter solver (momentum-space finite differences with Richardson extrapolation, written
    from the operator, not from the trial's code), for the confinement energy at a spread b, at N's spread, and the spread
    that gives the cell energy; its first dipole excitation and share.
E2: the continuum's stiffness on one displaced quon, e^2/(3 eps0 d^3), against the collective m0 Omega^2, and both against
    the holds trial 13 needs.
Run: ~/aspden-review-venv/bin/python3 check_E2_E3.py   (numpy, scipy). A few seconds.
"""
import numpy as np
from scipy import constants as Kc
from scipy.special import airy, ai_zeros
from scipy.integrate import quad
from scipy.linalg import eigh_tridiagonal
from scipy.optimize import brentq

def hdr(s): print("\n" + "=" * 100 + "\n" + s + "\n" + "=" * 100)

c, e, eps0, hbar = Kc.c, Kc.e, Kc.epsilon_0, Kc.hbar
HC = hbar * c / e                       # eV m
D = 6.37403e-13                         # m, Aspden's spacing (the record's)
M0 = 20839.2                            # eV, the quon's rest energy (the record's)
ME = Kc.m_e * c ** 2 / e                # eV
E_CELL = 412.6658 * ME                  # eV
N_D = 1 / D ** 3
# trial 13's holds (its output file)
K_N, K_a, K_e = 1.2030e36, 1.4256e46, 2.0626e47
CONF_a = 1.5252e11

hdr("E3 (1). Ultra-relativistic closed forms of the harmonic Salpeter hold")
a1 = -ai_zeros(1)[0][0]
print(f"  first zero of Ai: -a1 = {-a1:.9f}")
# ground state chi(t) = Ai(t - a1), t = P / A^(1/3), A = K (hbar c)^2 / 2.  <r^2> = (hbar c)^2 int chi'^2 dP / int chi^2 dP
IAi2, _ = quad(lambda s: airy(s)[0] ** 2, -a1, np.inf, limit=400)
IAip2, _ = quad(lambda s: airy(s)[1] ** 2, -a1, np.inf, limit=400)
R = IAip2 / IAi2
print(f"  int Ai^2 = {IAi2:.10f} (identity Ai'(-a1)^2 = {airy(-a1)[1]**2:.10f}); int Ai'^2 = {IAip2:.10f}; ratio R = {R:.8f}")
# so E_UR = a1 A^(1/3) and u = hbar c A^(-1/3) sqrt(R/3):   E_UR x u = a1 hbar c sqrt(R/3)
EU = a1 * HC * np.sqrt(R / 3)
print(f"  E_UR x u = a1 hbar c sqrt(R/3) = {EU:.6e} eV m")
# the l = 1 ultra-relativistic eigenvalue: -chi'' + (2/t^2) chi + t chi = c1 chi
def l1_eig(n, tmax=40.0):
    h = tmax / n; t = h * np.arange(1, n + 1)
    d = 2 / h ** 2 + 2 / t ** 2 + t; off = -np.ones(n - 1) / h ** 2
    return eigh_tridiagonal(d, off, select="i", select_range=(0, 0))[0][0]
def l0_eig(n, tmax=40.0):
    h = tmax / n; t = h * np.arange(1, n + 1)
    d = 2 / h ** 2 + t; off = -np.ones(n - 1) / h ** 2
    return eigh_tridiagonal(d, off, select="i", select_range=(0, 0))[0][0]
c0s = [l0_eig(n) for n in (20000, 40000)]; c1s = [l1_eig(n) for n in (20000, 40000)]
c0 = (4 * c0s[1] - c0s[0]) / 3; c1 = (4 * c1s[1] - c1s[0]) / 3
print(f"  l = 0 eigenvalue by finite differences {c0:.7f} (Airy a1 {a1:.7f}); l = 1 eigenvalue c1 = {c1:.7f}; (c1 - a1)/a1 = {(c1-a1)/a1:.6f}")
print(f"  trial 13's ratio dE1/E0 at K_N: 2.9274e7/(6.6876e7 + 20839) = {2.9274e7/(6.6876e7+M0):.6f}")

def ur_conf(u):            # confinement energy at spread u, ultra-relativistic, minus the rest energy
    return EU / u - M0
def ur_K(u):
    A13 = EU / (a1 * u)    # A^(1/3) = E_UR / a1
    return 2 * A13 ** 3 / HC ** 2

hdr("E3 (2). My own finite-M Salpeter solver (momentum-space finite differences, Richardson over three grids)")
def salpeter(K, M=M0, n=4000, l=0):
    A = 0.5 * K * HC ** 2
    ps = max(A ** (1 / 3), (A * M) ** 0.25); Pmax = 30 * ps; h = Pmax / n
    P = h * np.arange(1, n + 1); W = np.sqrt(P ** 2 + M ** 2)
    d = 2 * A / h ** 2 + W + (2 * A / P ** 2 if l == 1 else 0.0); off = -A / h ** 2 * np.ones(n - 1)
    w, v = eigh_tridiagonal(d, off, select="i", select_range=(0, 0))
    chi = v[:, 0] / np.sqrt(h)
    chi_ext = np.concatenate([[0.0], chi, [0.0]])
    r2 = HC ** 2 * np.sum(np.diff(chi_ext) ** 2 / h)
    return w[0], np.sqrt(r2 / 3)
def salpeter_rich(K, M=M0, l=0):
    vals = np.array([salpeter(K, M, n, l) for n in (2000, 4000, 8000)])
    # second-order Richardson on the last two
    return 4 / 3 * vals[2] - 1 / 3 * vals[1]
def K_for_spread(u):
    f = lambda lk: salpeter_rich(np.exp(lk))[1] - u
    return np.exp(brentq(f, np.log(1e30), np.log(1e45), xtol=1e-10))

for label, ufrac in (("b (Fable: 0.0361356 d, Aspden's x)", 0.0361356), ("b (Qwen: 0.036146 d, the F = 1 root)", 0.036146),
                     ("N's spread 0.00551496 d", 0.00551496)):
    u = ufrac * D
    conf_ur = ur_conf(u); K_ur = ur_K(u)
    K_fm = K_for_spread(u); E0_fm, u_fm = salpeter_rich(K_fm)
    print(f"  spread {label}: u = {u:.4e} m")
    print(f"     UR closed form: K = {K_ur:.4e} eV/m^2, confinement {conf_ur/1e6:.3f} MeV = {conf_ur/E_CELL:.4f} E_cell, E_cell/conf = {E_CELL/conf_ur:.2f}")
    print(f"     finite-M solver: K = {K_fm:.4e} eV/m^2, confinement {(E0_fm-M0)/1e6:.3f} MeV (spread back {u_fm/D:.6f} d)")

hdr("E3 (3). The spread that gives exactly the cell energy, its first dipole excitation and share")
E_UR_star = E_CELL + M0
u_star = EU / E_UR_star
K_star = ur_K(u_star)
A13 = E_UR_star / a1
dE1_star = (c1 - a1) * A13
share_star = N_D * e / (eps0 * K_star)
print(f"  E_cell = {E_CELL/1e6:.3f} MeV; u* = {u_star:.4e} m = {u_star/D:.6f} d; K* = {K_star:.4e} eV/m^2")
print(f"  first dipole excitation (UR) = (c1 - a1) A^(1/3) = {dE1_star/1e6:.2f} MeV; by scaling trial 13's K_N numbers: "
      f"{2.9274e7 * E_UR_star/(6.6876e7+M0)/1e6:.2f} MeV; inside 0.2 MeV to 28 GeV: {0.2e6 <= dE1_star <= 28e9}")
print(f"  share of eps0 = n e/(eps0 K*) = {share_star:.3e} (check at K_N: {N_D*e/(eps0*K_N):.3e} vs trial 13's 5.808e-08);"
      f" against 6.2e-20 (limit (e)): {share_star/6.2e-20:.1e} times; against limit (a)'s ~86 x looser bound: still ~{share_star/(6.2e-20*85.9):.0e} times")
# finite-M confirmation at K*
E0s, us = salpeter_rich(K_star); E1s, _ = salpeter_rich(K_star, l=1)
print(f"  finite-M at K*: confinement {(E0s-M0)/1e6:.3f} MeV, spread {us/D:.6f} d, first dipole excitation {(E1s-E0s)/1e6:.2f} MeV")
print(f"  'natural factors': E_cell/conf(b) = {E_CELL/ur_conf(0.0361356*D):.2f}; E_cell/conf(u_N) = {E_CELL/ur_conf(0.00551496*D):.3f};"
      f" 27 x conf(b) = {27*ur_conf(0.0361356*D)/1e6:.1f} MeV ({(27*ur_conf(0.0361356*D)/E_CELL-1)*100:+.1f}% of E_cell)")
print(f"  light's hold, limit (a): confinement {CONF_a:.4e} eV = {CONF_a/E_CELL:.1f} x E_cell")
print(f"  Aspden's b/d = 1/(96 pi x^2): at x = 0.30291588 -> {1/(96*np.pi*0.30291588**2):.7f}; at x = 0.3028737692 -> {1/(96*np.pi*0.3028737692**2):.7f}")

hdr("E2. The continuum's stiffness")
K_sph_SI = e ** 2 / (3 * eps0 * D ** 3)                  # J/m^2: uniform ball of density -e/d^3 on a point charge e
K_sph = K_sph_SI / e                                     # eV/m^2
Om = ME * e / hbar                                        # Compton angular frequency, rad/s
m0_kg = M0 * e / c ** 2
K_pl = m0_kg * Om ** 2 / e                               # eV/m^2
K_75 = 2 * e ** 2 / (eps0 * D ** 3) / e                   # Aspden's 7.5 in SI: m0 Omega^2 = 8 pi sigma q (Gaussian) = 2 e^2/(eps0 d^3)
hw_sph = hbar * np.sqrt(K_sph_SI / m0_kg) / e
print(f"  e^2/(3 eps0 d^3) = {K_sph:.4e} eV/m^2; its oscillator quantum hbar sqrt(K/m0) = {hw_sph/1e3:.1f} keV (the record's variant ii: 208.6 keV)")
print(f"  m0 Omega^2 (Omega = m_e c^2/hbar = {Om:.4e} rad/s) = {K_pl:.4e} eV/m^2; Aspden's 7.5 as 2 e^2/(eps0 d^3) = {K_75:.4e}; ratio m0 Omega^2 / sphere = {K_pl/K_sph:.4f} (8 pi / (4 pi/3) = 6)")
for lab, K in (("K_N", K_N), ("light, limit (a)", K_a), ("light, limit (e)", K_e)):
    print(f"  {lab:18s} {K:.4e}: / sphere = {K/K_sph:.2e}; / m0 Omega^2 = {K/K_pl:.2e}")
print(f"  Einstein frequency of a Wigner crystal: omega_E^2 = omega_p^2/3 with omega_p^2 = n e^2/(eps0 m0) -> hbar omega_E = {hbar*np.sqrt(N_D*e**2/(eps0*m0_kg)/3)/e/1e3:.1f} keV (same thing)")