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

compare_trial23.py

In the investigation at sim/matter_light/check_trial23_fable/compare_trial23.py · last changed in commit 18036a6, 23 November 2026 · 19,525 bytes · the folder as a zip


#!/usr/bin/env python3
"""Trial 23, comparison stage of the 29th reviewer (task T1).

Written AFTER the trial's lock, script, output, post hoc checks, results paper and the pack's file 2
were opened. Everything here is post hoc and is the reviewer's own. It tests points that came up in
the comparison; it imports nothing from the trial.

Run: OMP_NUM_THREADS=1 ~/aspden-review-venv/bin/python3 compare_trial23.py > compare_trial23_out.txt 2> compare_trial23_err.txt
"""
import math
import subprocess
import sys

import numpy as np
import scipy
import scipy.constants as C
from scipy.integrate import quad

c, e, eps0, hbar, me, kB, G = C.c, C.e, C.epsilon_0, C.hbar, C.m_e, C.k, C.G
alpha = C.alpha
eV = e
a0 = C.physical_constants["Bohr radius"][0]
u = C.physical_constants["atomic mass constant"][0]
pc = 3.0856775814913673e16
hbarc_eVm = hbar * c / eV
MEc2 = me * c**2 / eV                       # eV
H0 = 67.4e3 / (1e6 * pc)
Om = 0.3153
rho_crit = 3 * H0**2 / (8 * math.pi * G)
lP = math.sqrt(hbar * G / c**3)
mP = math.sqrt(hbar * c / G)
rhoP = c**5 / (hbar * G**2)
LAM = 589.3e-9

NCHK = [0, 0]


def head(s):
    print()
    print("=" * 100)
    print(s)
    print("=" * 100)


def check(name, ok, detail=""):
    NCHK[0] += 1
    NCHK[1] += 1 if ok else 0
    print("   CHECK %s: %s %s" % ("pass" if ok else "FAIL", name, detail))


try:
    headc = subprocess.run(["git", "rev-parse", "HEAD"], capture_output=True, text=True, check=True).stdout.strip()
except Exception as ex:                      # pragma: no cover
    headc = "unknown (%s)" % ex
print("Trial 23, comparison stage of the 29th reviewer. Post hoc, the reviewer's own.")
print("git HEAD: %s ; python %s ; numpy %s ; scipy %s" % (headc, sys.version.split()[0], np.__version__, scipy.__version__))

# ----------------------------------------------------------------------------------------------------
head("1. K6: the trial's 0.07407 photons per formation length at n - 1 = 2.7e-16 is float64 roundoff")
per_Lf_exact = 4 * math.pi * alpha * LAM * (1 / 300e-9 - 1 / 600e-9)
print("   exact value 4 pi alpha lam (1/300nm - 1/600nm) = %.6f" % per_Lf_exact)
for n1 in (2.7e-4, 2.7e-9, 2.7e-13, 2.7e-16, 2.6886e-16, 2.7e-19):
    s2_sub = 1.0 - 1.0 / (1.0 + n1) ** 2                 # the trial's line 147
    s2_dir = n1 * (2 + n1) / (1 + n1) ** 2               # direct
    per_sub = 2 * math.pi * alpha * (1 / 300e-9 - 1 / 600e-9) * s2_sub * LAM / n1
    per_dir = 2 * math.pi * alpha * (1 / 300e-9 - 1 / 600e-9) * s2_dir * LAM / n1
    print("   n-1 = %.4e : by subtraction %.5f ; computed directly %.6f ; ratio %.4f" % (n1, per_sub, per_dir, per_sub / per_dir))
s2 = 1.0 - 1.0 / (1.0 + 2.7e-16) ** 2
check("the trial's failing K6 figure 0.07407 is reproduced by the subtraction",
      abs(2 * math.pi * alpha * (1 / 300e-9 - 1 / 600e-9) * s2 * LAM / 2.7e-16 - 0.07407) < 5e-5)
print("   Where the subtraction starts to lose three digits: n - 1 near 1e-13 (eps/1e-3 = 2.2e-13). Below 1.1e-16 it gives 0.")

# ----------------------------------------------------------------------------------------------------
head("2. The space rows are neutral hydrogen; real space gas is ionized (free electrons give n < 1)")
k589 = 2 * math.pi / LAM
om589 = c * k589
per_e = -e**2 / (2 * eps0 * me * om589**2)               # n - 1 per free electron per m^3
alpha_H = 4.5 * a0**3 * 4 * math.pi * eps0
per_H = alpha_H / (2 * eps0)
print("   per free electron: n - 1 = %.4e m^3 ; per H atom (static 4.5 a0^3): %+.4e m^3 ; ratio %.2f"
      % (per_e, per_H, -per_e / per_H))
print("   n - 1 = 0 when n_e / n_H(neutral) = %.4f, i.e. %.2f%% of all hydrogen nuclei ionized"
      % (-per_H / per_e, 100 * (-per_H / per_e) / (1 - per_H / per_e)))
rows = (("interstellar, the trial's 1e6 H atoms per m^3 with the trial's own 3e4 electrons per m^3 (its radio row)", 1e6, 3e4),
        ("interplanetary at 1 AU, 5e6 electrons per m^3, fully ionized (from memory)", 0.0, 5e6),
        ("interplanetary, the trial's 1e5 H atoms, plus 5e6 electrons (from memory)", 1e5, 5e6),
        ("intergalactic, 0.25 nuclei per m^3, fully ionized (from memory: neutral fraction below 1e-4 since z = 6)", 0.0, 0.25))
for lab, nH, ne in rows:
    print("   %-104s n - 1 = %+.3e" % (lab + ":", nH * per_H + ne * per_e))
print("   So where the trial prints 'L_f = 4.6 pc in interstellar gas', real interstellar gas at 589 nm has n < 1: no optical Cherenkov light.")

# ----------------------------------------------------------------------------------------------------
head("3. 'Air packed 2,700 times denser than at 1 atm, about twice liquid water's' (results line 96)")
sig = 1 / 0.5893
nm1_std = (5792105.0 / (238.0185 - sig**2) + 167917.0 / (57.362 - sig**2)) * 1e-8     # 15 C, 101325 Pa (Ciddor, from memory)
N_std = 101325.0 / (kB * 288.15)
N_20 = 101325.0 / (kB * 293.15)
nm1_20 = nm1_std * N_20 / N_std
for lab, N, nm1 in (("15 C", N_std, nm1_std), ("20 C", N_20, nm1_20)):
    n2 = (1 + nm1) ** 2
    y_air = (n2 - 1) / (n2 + 2)                          # Lorentz-Lorenz y = N alpha / (3 eps0)
    ratio = 0.5 / y_air                                  # n^2 = 4 needs y = 1/2
    Nneed = ratio * N
    rho = Nneed * 28.9647 * u
    Nw = 998.2 / (18.01528 * u)
    print("   air at 1 atm, %s: y = %.5e ; n = 2 needs %.0f times that density: %.3e molecules/m^3 = %.2f x water's molecules ;"
          " mass density %.0f kg/m^3 = %.2f x water's" % (lab, y_air, ratio, Nneed, Nneed / Nw, rho, rho / 998.2))
print("   without the local field (n^2 - 1 = N alpha/eps0 = 3) it would be %.0f times" % (3 / ((1 + nm1_std) ** 2 - 1)))

# ----------------------------------------------------------------------------------------------------
head("4. A 4 km radiator at 1 Pa (results line 52)")
N_1Pa = 1.0 / (kB * 293.15)
nm1_1Pa = nm1_20 * N_1Pa / N_20
Lf = LAM / nm1_1Pa
rate = 2 * math.pi * alpha * (1 / 300e-9 - 1 / 600e-9) * nm1_1Pa * (2 + nm1_1Pa) / (1 + nm1_1Pa) ** 2
gth = (1 + nm1_1Pa) / math.sqrt(nm1_1Pa * (2 + nm1_1Pa))
print("   n - 1 = %.4e ; L_f = %.2f m ; 4 km = %.1f formation lengths ; %.2f photons (300-600 nm) at beta = 1 ;"
      " threshold gamma %.4e (electron %.2f GeV)" % (nm1_1Pa, Lf, 4000 / Lf, 4000 * rate, gth, gth * MEc2 / 1e9))

# ----------------------------------------------------------------------------------------------------
head("5. A finite radiator: a slab of gas in vacuum crossed by a fast charge (Ginzburg-Frank form, small angles)")
print("   d2N/(dw dOmega) = (alpha/(pi^2 w)) th^2 [1/(g + th^2 - 2 delta) - 1/(g + th^2)]^2 4 sin^2((w L/4c)(g + th^2 - 2 delta)),")
print("   g = 1/gamma^2, delta = n - 1. With W = (g + th^2)/(2 delta), W0 = (gamma_th/gamma)^2, x = L/L_f:")
print("   N per unit ln(w) = (alpha/pi) Int_W0^inf (W - W0) 4 sin^2(pi x (W - 1)) / (W^2 (W - 1)^2) dW ; Frank-Tamm: 4 pi alpha x (1 - W0).")


def slab_ratio(x, W0):
    """Photons from the slab, over the Frank-Tamm number for the same length."""
    def f(W):
        d = W - 1.0
        s = np.where(np.abs(d) < 1e-9, (math.pi * x) ** 2, (np.sin(math.pi * x * d) / np.where(d == 0, 1, d)) ** 2)
        return (W - W0) * 4 * s / W**2
    # piece 1: W0 .. 0.5 on a logarithmic grid ; piece 2: 0.5 .. Wmax on a uniform grid ; tail analytic (mean of 4 sin^2 = 2)
    t = np.linspace(math.log(W0), math.log(0.5), 400001)
    W = np.exp(t)
    I1 = np.trapezoid(f(W) * W, t)
    Wmax = 400.0
    h = min(2e-3, 1.0 / (400.0 * max(x, 1e-9)))
    npts = int((Wmax - 0.5) / h) + 1
    if npts % 2 == 0:
        npts += 1
    W = np.linspace(0.5, Wmax, npts)
    I2 = np.trapezoid(f(W), W)
    tail = 1.0 / Wmax**2 if x * Wmax > 5 else 0.0          # Int 2 (W - W0)/(W^2 (W-1)^2) ~ 1/Wmax^2
    N = (I1 + I2 + tail) / math.pi
    return N / (4 * math.pi * x * (1 - W0))


print("   %-10s %-22s %-22s" % ("L / L_f", "gamma = 10 gamma_th", "gamma = 2 gamma_th"))
tab = {}
for x in (0.01, 0.03, 0.1, 0.3, 1.0, 3.0, 10.0, 30.0, 100.0):
    r10, r2 = slab_ratio(x, 0.01), slab_ratio(x, 0.25)
    tab[x] = (r10, r2)
    print("   %-10g %-22.4f %-22.4f" % (x, r10, r2))
check("a long slab gives the Frank-Tamm number (ratio within 5% of 1 at L = 100 L_f)", abs(tab[100.0][0] - 1) < 0.05 and abs(tab[100.0][1] - 1) < 0.05,
      "(%.4f, %.4f)" % tab[100.0])
check("a short slab gives light as L^2, not L (ratio at 0.01 L_f below 0.1)", tab[0.01][0] < 0.1 and tab[0.01][1] < 0.1,
      "(%.4f, %.4f)" % tab[0.01])
print("   So 'a radiator must be longer than lam/(n - 1)' is right for a slab: the ratio passes 1/2 between L_f/10 and L_f.")

# ----------------------------------------------------------------------------------------------------
head("6. Where the record's two spacing bounds come from (they use two different weightings)")


def Hz(z):
    return H0 * math.sqrt(Om * (1 + z) ** 3 + 1 - Om)


T0 = quad(lambda z: 1 / Hz(z), 0, 0.903)[0]
T1 = quad(lambda z: (1 + z) / Hz(z), 0, 0.903)[0]
T2 = quad(lambda z: (1 + z) ** 2 / Hz(z), 0, 0.903)[0]
print("   z = 0.903: T0 = %.4e s, T1 = Int (1+z) dz/H = %.4e s, T2 = Int (1+z)^2 dz/H = %.4e s" % (T0, T1, T2))
k28 = 28e9 / hbarc_eVm
k31 = 31e9 / hbarc_eVm
for lab, T in (("no weighting (T0)", T0), ("(1+z) (T1), the survey review's 2e-18 and 2.2e-20", T1), ("(1+z)^2 (T2), section 7.3's and U15's", T2)):
    aa = math.sqrt(8 * 0.859 / T) / k28
    ae28 = math.sqrt(8 * 0.010 / T) / k28
    ae31 = math.sqrt(8 * 0.010 / T) / k31
    print("   %-52s (a) 28 GeV: %.3e m ; (e) 28 GeV: %.3e m ; (e) 31 GeV: %.3e m ; fractions %.2e, %.2e"
          % (lab + ":", aa, ae28, ae31, 0.859 / T, 0.010 / T))
check("the survey review's pair (2.8e-26, 3.0e-27 m) is the (1+z)-weighted one at 28 GeV",
      abs(math.sqrt(8 * 0.859 / T1) / k28 / 2.8e-26 - 1) < 0.03 and abs(math.sqrt(8 * 0.010 / T1) / k28 / 3.0e-27 - 1) < 0.03)
check("section 7.3's 2.3e-26 m is the (1+z)^2-weighted one at 28 GeV", abs(math.sqrt(8 * 0.859 / T2) / k28 / 2.3e-26 - 1) < 0.03)
a_e_consistent = math.sqrt(8 * 0.010 / T2) / k28
print("   The trial pairs 2.3e-26 m (T2 weighting) with 3.0e-27 m (T1 weighting). On one footing (T2, 28 GeV) the (e) bound is %.2e m,"
      % a_e_consistent)
print("   and the density at the bound is %.2e per m^3, not 3.7e79 (%.1f times more)." % (a_e_consistent**-3, (3.0e-27 / a_e_consistent) ** 3))

# ----------------------------------------------------------------------------------------------------
head("7. Evenness: trial 20's two conditions, and what the trial's own PeV photons would need")


def mu_per_S(E, a, f):
    """Scattering rate per metre per unit structure factor, trial 20's form (point dipoles, Lorentz local field)."""
    k = E / hbarc_eVm
    h2 = 1 - f
    lf = ((1 / f + 2) / 3) ** 2
    return k**4 * h2**2 * lf * a**3 / (6 * math.pi)


cT0 = c * T0
kpc = 1e3 * pc
print("   trial 20's figures: mu per unit S at 2.3e-26 m, 28 GeV: f = 0.25: %.3e /m (its 5.89e-10) ; f = 0.085: %.3e /m (its 4.61e-9)"
      % (mu_per_S(28e9, 2.3e-26, 0.25), mu_per_S(28e9, 2.3e-26, 0.085)))
S20 = 1 / (mu_per_S(28e9, 2.3e-26, 0.25) * cT0)
k28m = 28e9 / hbarc_eVm
M20 = hbar * k28m / (2 * c * 2e-17)
print("   S(0) allowed over c T0 = %.3e m: %.2e (its 1.7e-17) ; cell mass for zero-point sound at c, S(k) = hbar k/(2 M c) < 2e-17:"
      " %.2e kg (the 23rd reviewer's 1.2e-9)" % (cT0, S20, M20))
check("trial 20's 5.89e-10 /m, 1.7e-17 and 1.2e-9 kg are reproduced", abs(mu_per_S(28e9, 2.3e-26, 0.25) / 5.89e-10 - 1) < 0.01
      and abs(S20 / 1.7e-17 - 1) < 0.05 and abs(M20 / 1.2e-9 - 1) < 0.08)


def m_osc(E2, a, h2=0.75, q=1.0):
    om2 = E2 * eV / hbar
    return a**-3 * (q * e) ** 2 / (eps0 * om2**2 * h2)


E2e = 2.6881e20
E2a = 2.6196e19
print()
print("   %-34s %-12s %-12s %-14s %-16s %-18s" % ("photon and path", "spacing (m)", "S allowed", "cell mass (kg)", "q=e osc. (kg)", "cell mass / Planck"))
cases = (("GRB 090510, 28 GeV, c T0", 28e9, cT0), ("Crab, 1.1 PeV, 1887 pc", 1.1e15, 1887 * pc), ("LHAASO, 1.42 PeV, 1.4 kpc", 1.42e15, 1.4 * kpc))
for lab, E, L in cases:
    for a in (2.3e-26, 3.0e-27, 1.69e-28):
        Sal = 1 / (mu_per_S(E, a, 0.25) * L)
        kk = E / hbarc_eVm
        M = hbar * kk / (2 * c * Sal)
        print("   %-34s %-12.2e %-12.2e %-14.2e %-16.2e %-18.2e" % (lab, a, Sal, M, m_osc(E2e, a), M / mP))
print("   (S allowed scales as 1/(E^4 L a^3); the needed cell mass as E^5 L a^3; the oscillator's own mass as 1/a^3.)")
for lab, E, L in cases:
    kk = E / hbarc_eVm
    # m_osc(a) = M_need(a):  A / a^3 = B a^3
    A = m_osc(E2e, 1.0)
    B = hbar * kk / (2 * c) * mu_per_S(E, 1.0, 0.25) * L
    a_eq = (A / B) ** (1 / 6)
    print("   %-28s the q = e oscillator is heavy enough only below a = %.2e m (mass %.2e kg = %.2f Planck masses;"
          " density %.1e kg/m^3 = %.1e of Planck's)" % (lab + ":", a_eq, m_osc(E2e, a_eq), m_osc(E2e, a_eq) / mP,
                                                         m_osc(E2e, a_eq) * a_eq**-3, m_osc(E2e, a_eq) * a_eq**-3 / rhoP))
a_gas = (1 / (mu_per_S(1.42e15, 1.0, 0.25) * 1.4 * kpc)) ** (1 / 3)
print("   A gas-like level (S = 1) passes the 1.42 PeV photon over 1.4 kpc only below a = %.2e m (the Planck length is %.2e m)." % (a_gas, lP))
print("   Mass of the q = e oscillator at the (e) hold reaches trial 20's 1.2e-9 kg at a = %.2e m." % ((m_osc(E2e, 1.0) / 1.2e-9) ** (1 / 3)))

# ----------------------------------------------------------------------------------------------------
head("8. The 'ten holds' criterion, and a stricter one (each charge stays near its site)")
h2 = 0.75
for lab, E2 in (("(a) hold 2.62e19 eV", E2a), ("(e) hold 2.69e20 eV", E2e)):
    for reach in (0.97, 0.3, 0.1):
        xi = reach**2 * 8 * math.pi * alpha / h2                   # (x_zp/a)^2 = h2 xi / (8 pi alpha)
        a = xi * hbarc_eVm / E2
        m = m_osc(E2, a)
        rho = m * a**-3
        print("   %-20s zero-point reach %.2f of the spacing: xi = %.4f, a = %.2e m, m c^2/hold = %.3g, m = %.2e kg (%.2e Planck masses),"
              " rho = %.1e kg/m^3 (%.1e of Planck's), zero-point %.1e x critical"
              % (lab, reach, xi, a, m * c**2 / (E2 * eV), m, m / mP, rho, rho / rhoP, 1.5 * a**-3 * E2 * eV / c**2 / rho_crit))
xi10 = (4 * math.pi * alpha / (h2 * 10)) ** (1 / 3)
print("   m c^2 = 10 holds is xi = %.4f: zero-point reach %.3f of the spacing, Compton wavelength %.3f of it."
      % (xi10, math.sqrt(h2 * xi10 / (8 * math.pi * alpha)), h2 * xi10**2 / (4 * math.pi * alpha)))

# ----------------------------------------------------------------------------------------------------
head("9. The local field: does it change the trial's mass formula? (the author's first place to look)")
print("   Lorentz-Lorenz against a bare space of share f: (eps_r - 1)/(eps_r + 2) = N q^2 / (3 f eps0 m (w0^2 - w^2)), eps_r = n^2/f.")
for f in (0.25, 0.085):
    h2 = 1 - f
    E2 = 1.0
    wp2 = h2 / f                                   # N q^2/(f eps0 m) in units of the pole^2:  h2 = f wp2 / pole^2
    w0sq = 1.0 + wp2 / 3
    # check the closed form n^2 = f + h2/(1 - x^2) against Lorentz-Lorenz with own hold w0
    worst = 0.0
    for x in (0.0, 0.1, 0.5, 0.9):
        y = wp2 / (3 * (w0sq - x**2))
        n2_LL = f * (1 + 2 * y) / (1 - y)
        n2_form = f + h2 / (1 - x**2)
        worst = max(worst, abs(n2_LL / n2_form - 1))
    print("   f = %.3f: each charge's own hold = %.4f x the level's hold E2 ; n^2 from Lorentz-Lorenz equals f + h2/(1 - x^2) to %.1e ;"
          " the mass formula m = N q^2/(eps0 h2 w2^2) is unchanged when w2 is the level's own resonance" % (f, math.sqrt(w0sq), worst))
    check("one-pole form survives the local field, f = %.3f" % f, worst < 1e-12)

# ----------------------------------------------------------------------------------------------------
head("10. The (k a)^2 law of a cubic lattice of point dipoles (Draine and Goodman 1993, coefficients FROM MEMORY)")
b1, b2, b3 = -1.8915316, 0.1648469, -1.7700004
print("   [from memory, not read at source] a cubic lattice of dipoles matches a continuum of index m when")
print("   alpha = alpha_CM / (1 + (alpha_CM/d^3)[(b1 + m^2 b2 + m^2 b3 S)(k d)^2 - (2/3) i (k d)^3]), S = sum_j (a_j e_j)^2,")
print("   b1 = %.7f, b2 = %.7f, b3 = %.7f. For fixed dipoles the index then departs from Clausius-Mossotti by a (k d)^2 term:" % (b1, b2, b3))
for f in (0.25, 0.085):
    epsr = 1 / f
    Y0 = (epsr - 1) / (epsr + 2)
    for S, lab in ((0.0, "along a cube axis"), (0.5, "along a face diagonal, field along the other")):
        B = b1 + epsr * b2 + epsr * b3 * S
        dn2 = f * 3 / (1 - Y0) ** 2 * Y0 * (3 * Y0 / (4 * math.pi)) * B * f      # coefficient of (k d)^2 in n^2 ; k_bare = sqrt(f) k
        cn = dn2 / 2
        print("   f = %.3f, %-45s n - 1 = %+.4f (k d)^2 ; n_g - 1 = %+.4f (k d)^2 ; against the record's +1/24 and +1/8: %.2f"
              % (f, lab + ":", cn, 3 * cn, 3 * cn / 0.125))
print("   If these coefficients are right: the grain term of a dipole relay is an ADVANCE (limit (a) cannot be used on it), of about the")
print("   record's size along a cube axis at f = 0.25, and it differs between directions and polarizations (space would be birefringent")
print("   at order (k d)^2, the record's own 'further test, not computed', section 8 line 601).")
kL = (300e3 / hbarc_eVm) * 1887 * pc
print("   Order of magnitude only: polarized 300 keV light from the Crab (from memory) keeps its plane if dn (k L) < 1, k L = %.1e:" % kL)
for cb in (0.03, 0.1):
    d = math.sqrt(1 / (kL * cb)) / (300e3 / hbarc_eVm)
    print("      split coefficient %.2f: spacing below %.1e m" % (cb, d))

# ----------------------------------------------------------------------------------------------------
head("11. A conservative bound on an advance (limit (a) is for a delay only)")
A_unit = 2.07258e17                                    # s per unit h1 (my blind result; the trial's 2.073e17)
print("   Abdo et al.: the 31 GeV photon at T0 + 0.829 s; 'After T0+0.9 s the signal in GBM is too weak'; T90 (50-300 keV) = 2.1 s.")
for lab, tend in (("low-energy light ends at T0 + 0.9 s", 0.9), ("T0 + 2.1 s (T90 counted from T0; generous)", 2.1)):
    A = tend - 0.829
    print("   %-48s advance below %.3f s: h1 < %.2e" % (lab + ":", A, A / A_unit))
print("   Table 2's own advance limits: (e) 10 ms: h1 < %.3e ; (f) 19 ms: h1 < %.3e. The trial's '4.1e-18 by (a)' = 0.859 s / %.4e s"
      % (0.010 / A_unit, 0.019 / A_unit, A_unit))
print("   is the right size for a careful advance bound only by accident: (a) is the time since the first low-energy light, which limits a delay.")

# ----------------------------------------------------------------------------------------------------
head("12. Small numbers in the results paper")
print("   intergalactic n - 1 = 0.25 x %.4e = %.4e (the paper prints 1.1e-30 in two places; the output 1.05e-30)" % (per_H, 0.25 * per_H))
print("   K6 post hoc: 0.090029, 0.090066, 0.090066 -> to three figures 0.0900, 0.0901, 0.0901 (the paper prints 0.0901 three times)")
print("   number density at 3.0e-27 m: %.3e per m^3 = %.1e x nuclear matter's 0.16 per fm^3 ; %.1e per Planck volume"
      % (3.0e-27**-3, 3.0e-27**-3 / 0.16e45, 3.0e-27**-3 * lP**3))
print("   rest-mass density at the classical edge (a = 1.69e-28 m, (e) hold, q = e): %.2e kg/m^3 = %.1e of Planck's ; zero-point %.1e x critical"
      % (m_osc(E2e, 1.691e-28) * 1.691e-28**-3, m_osc(E2e, 1.691e-28) * 1.691e-28**-3 / rhoP,
         1.5 * 1.691e-28**-3 * E2e * eV / c**2 / rho_crit))
print("   hold with Abdo's own 28.0 GeV for limit (e) (the hold is proportional to the photon's energy): %.3e eV x 28/31 = %.3e eV"
      % (E2e, E2e * 28.0 / 31.0))

print()
print("Checks: %d of %d pass." % (NCHK[1], NCHK[0]))