Does light charge the quons? › Files cited on the page › the trials
check_30th_findings.py
#!/usr/bin/env python3
"""The author seat's check of the thirtieth reviewer's findings on trial 22 and the write-up (tasks T2, T3). Own code; post hoc."""
import math
import subprocess
import numpy as np
from scipy.integrate import quad
print("git HEAD:", subprocess.run(["git", "rev-parse", "HEAD"], capture_output=True, text=True).stdout.strip())
me, mp, hbarc = 0.51099895e6, 938.27209e6, 1.973269804e-7
EPl = 1.220890e28
print("\nF2. R-iii: the least hold if a particle of energy E and mass M is not to radiate; E_h = sqrt(4/27) sqrt(1-f) E^2/M")
pref = math.sqrt(4 / 27)
for lab, E, M in (("40 TeV electron (detected)", 4e13, me), ("1.1 PeV electron (Crab, inferred)", 1.1e15, me), ("3.2e20 eV as a proton", 3.2e20, mp),
("3.2e20 eV as iron (56 nucleons, each E/56)", 3.2e20 / 56, mp), ("1e20 eV as a proton", 1e20, mp)):
for f in (0.0, 0.25):
v = pref * math.sqrt(1 - f) * E * E / M
print(f" {lab}, f = {f}: {v:.2e} eV = {v/EPl:.1e} Planck energies")
# the formula itself, by brute force: smallest hold for which no photon energy satisfies energy and momentum conservation
E, M = 4e13, me
eps = np.linspace(1e-4, 1 - 1e-4, 200000) * E
need = np.min(M * M / (2 * E * (E - eps)) / (eps**2 / 2)) # n(eps) - 1 = (1-f) eps^2/(2 E_h^2) must stay below M^2/(2E(E-eps))
print(f" brute force, 40 TeV electron, f = 0: least hold {1/math.sqrt(need):.3e} eV; formula {pref*E*E/M:.3e}")
g = 3.2e20 / mp
print(f" the hardest photon (2E/3) in the proton's frame: about {2*3.2e20/3/(2*g)/1e6:.0f} MeV, so the proton's parts begin to matter: an order of magnitude")
print("\nF4. R-ii: particle and light share n(E), rising with E. Emission E -> E' + eps needs p(E) <= p(E') + k(eps)")
worst = 1e9
Eh, f = 1.0, 0.25
n = lambda x: math.sqrt(f + (1 - f) / (1 - x * x))
for m in (0.0, 1e-4, 1e-2):
P = lambda e: math.sqrt(max(e * e * n(e) ** 2 - m * m, 0.0))
for E in np.linspace(0.02, 0.9, 60):
for y in np.linspace(0.01, 0.97, 60):
e1 = E * (1 - y)
if e1 <= m * 1.0001:
continue
worst = min(worst, P(E) - P(e1) - E * y * n(E * y))
print(f" smallest p(E) - p(E') - k over 10,800 cases: {worst:+.2e} (positive: the emission never conserves momentum)")
print(" and why: p = E n(E) with n rising is more than additive, p(a + b) > p(a) + p(b). A photon of energy yE is FASTER than the electron, as the reviewer says.")
E = 1.5e15
print(f" R-ii's own test: 1500 TeV electrons (Crab synchrotron, Jacobson et al.): deficit 1.5 (1-f)(E/E_h)^2 below m^2/(2E^2) gives E_h above "
f"{math.sqrt(3*0.75)*E*E/me:.1e} eV (f = 1/4); the reviewer's sqrt(1-f) E^2/m: {math.sqrt(0.75)*E*E/me:.1e}")
print("\nF5. The other side: light faster than matter, gamma -> e+ e-: delta below 2 m^2/E^2")
for E in (1.42e15, 3e13):
print(f" photon {E:.2e} eV: {2*me*me/E/E:.1e}")
print("\nT2 F3. Horizon refraction (550 nm) against the lapse rate of the lowest 11 km, surface 288.15 K, 101325 Pa, by Bouguer's integral")
R, g0, Rs, M0 = 6371e3, 9.80665, 8.31432, 0.0289644
d0 = 2.7778e-4 # n - 1 at 550 nm, 15 C, 1 atm (Ciddor, from memory)
def refr(L):
def prof(h):
if h <= 11000 and L > 0:
T = 288.15 - L * h
return (T / 288.15) ** (g0 * M0 / (Rs * L)) * 288.15 / T
if L > 0:
T = 288.15 - L * 11000
r11 = (T / 288.15) ** (g0 * M0 / (Rs * L)) * 288.15 / T
return r11 * math.exp(-g0 * M0 * (h - 11000) / (Rs * T))
return math.exp(-g0 * M0 * h / (Rs * 288.15))
n0 = 1 + d0
def f(u): # h = u^2, to remove the root at the horizon
h = u * u
rho = prof(h)
nn = 1 + d0 * rho
dn = d0 * (prof(h + 1.0) - prof(max(h - 1.0, 0.0))) / (2.0 if h > 1 else 1.0 + h)
q = (nn * (R + h)) ** 2 - (n0 * R) ** 2
return -n0 * R * dn / nn / math.sqrt(max(q, 1e-9)) * 2 * u
return quad(f, 1e-3, math.sqrt(90000), limit=800, points=[math.sqrt(11000)])[0] * 180 / math.pi * 60
for L in (9.8e-3, 6.5e-3, 3.0e-3, 0.0):
print(f" {L*1e3:.1f} K/km: {refr(L):.1f} arcmin")
print("\nT3 F10. A 3.2e20 eV proton under R-iii against Aspden's level (511 keV, share 4.8e-20): Cherenkov light just below 511 keV")
gam = 3.2e20 / mp
h1 = 4.8e-20
x2 = 1 / (1 + h1 * gam**2) # n^2 - 1 = h1 x^2/(1-x^2) > 1/gamma^2 -> 1 - x^2 < h1 gam^2 x^2
E1 = 511e3
lo = E1 * math.sqrt(1 / (1 + h1 * gam**2))
# run 1 (kept) formed 1 - 1/(n^2 beta^2) by subtraction and lost it; here n^2 - 1 and 1/gamma^2 are used directly, with t = -ln(1 - x^2)
a = 1 / (137.036 * hbarc)
val = quad(lambda t: a * E1**2 / 2 * (h1 * (1 - math.exp(-t)) - math.exp(-t) / gam**2), -math.log(1 - (lo / E1) ** 2), math.log(1 / h1))[0]
print(f" h1 gamma^2 = {h1*gam**2:.0f}; emitted from {lo/1e3:.1f} to 511 keV (cut where 1 - x^2 = h1); loss {val:.1e} eV/m; loss length {3.2e20/val/3.0857e22:.1f} Mpc")
print("\nF2 again: the same limit with softer photons (a fraction y of E): y sqrt(1-y) in place of 0.385")
for y in (2/3, 0.2, 0.05):
print(f" y = {y:.2f}: proton {y*math.sqrt(1-y)*math.sqrt(0.75)*(3.2e20)**2/mp:.1e} eV; photon in the proton's frame {y*3.2e20/(2*3.2e20/mp)/1e6:.0f} MeV")
A = 56
print(f" iron as a whole (E, 56 M): {pref*math.sqrt(0.75)*(3.2e20)**2/(A*mp):.1e} eV, but its photon is {2/3*A*mp/2/1e9:.0f} GeV in the nucleus's frame, which would break it; nucleon by nucleon: {pref*math.sqrt(0.75)*(3.2e20/A)**2/mp:.1e} eV")