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

check_34th_findings.py

In the investigation at sim/light_ether_review/check_34th_findings.py · last changed in commit 2499e67, 23 November 2026 · 9,260 bytes


#!/usr/bin/env python3
"""The author seat's recheck of the thirty-fourth reviewer's findings (sim/light_ether_review/check_m8_fable/REPORT.md). Own code; post hoc.
Claude Opus 5.5, 23 November 2026. Run 1 (check_34th_findings_run1.py.txt, ..._out_run1.txt) sampled section O2's moving charge at two instants, so the
energy's ripple within a cell spoiled the small numbers, and kept the uniform field a lone charge's current builds in a closed box; run 2 averages over whole cells, with a longer box and a gentler start. One sentence on wheels reworded."""
import itertools
import math
import subprocess

import numpy as np

print("The author seat's recheck of the thirty-fourth reviewer's findings. Own code; post hoc.")
print("git HEAD:", subprocess.run(["git", "rev-parse", "HEAD"], capture_output=True, text=True).stdout.strip())
hbar, c, e, eps0 = 1.054571818e-34, 299792458.0, 1.602176634e-19, 8.8541878188e-12
hbarc, alpha = hbar * c / e, e * e / (4 * math.pi * eps0 * hbar * c)
npass = ntot = 0


def check(ok, text, detail=""):
    global npass, ntot
    ntot += 1
    npass += bool(ok)
    print(f"   CHECK {'pass' if ok else 'FAIL'}: {text} {detail}")


print("\nO1. Is the Galaxy's magnetic field an ill-posed example for Variant G's memory?")
print("   In the frame, a galaxy that moves through it at v carries E = -v x B with its field [S: no electric field in the moving conductor's own frame].")
B, Lg = 5e-10, 1e3 * 3.0857e16
for v in (1e5, 3.7e5, 1e6):
    print(f"   v = {v/1e3:.0f} km/s: E = vB = {v*B:.2e} V/m for L/v = {Lg/v:.2e} s: int E dt = {v*B*Lg/v:.3e} V s/m")
check(abs(B * Lg / 1.54e10 - 1) < 0.01, "int E dt = B L for any v: the outline's 1.54e10 V s/m is a real electric exposure if the Galaxy moves through the frame; not ill-posed")
print("   What the outline does leave out is the atom at rest. With the frame streaming, the Galaxy's figure is larger than a planet's: B L of the Earth is")
print(f"   {5e-5*1.3e7:.0f} V s/m. So the reviewer's relaxed 'd below 1e-24 m from planetary passages' is weaker than the outline's own.")

print("\nO2. How much does a point charge radiate when it hops?")


def cB(u):
    b = lambda a, ax: a - np.roll(a, 1, axis=ax)
    return np.stack([b(u[2], 1) - b(u[1], 2), b(u[0], 2) - b(u[2], 0), b(u[1], 0) - b(u[0], 1)])


def cF(s):
    f = lambda a, ax: np.roll(a, -1, axis=ax) - a
    return np.stack([f(s[2], 1) - f(s[1], 2), f(s[0], 2) - f(s[2], 0), f(s[1], 0) - f(s[0], 1)])


N = 32
kv = 2 * np.pi * np.fft.fftfreq(N)
Kf = np.stack(np.meshgrid(*[np.exp(1j * kv) - 1] * 3, indexing="ij"))
K2 = np.sum(np.abs(Kf) ** 2, 0)
K2[0, 0, 0] = 1


def coulomb(rho):
    r = np.fft.fftn(rho)
    V = r / K2
    V[0, 0, 0] = 0
    return -np.real(np.fft.ifftn(Kf * V, axes=(1, 2, 3)))


rho = np.zeros((N, N, N)); rho[5, 5, 5] = 1; rho[5 + N // 2, 5, 5] = -1
E0 = coulomb(rho)
rho1 = np.zeros((N, N, N)); rho1[6, 5, 5] = 1; rho1[5 + N // 2, 5, 5] = -1
E1 = coulomb(rho1)
hop = np.zeros_like(E0); hop[0, 5, 5, 5] = -1           # J along +x for one hop: D falls by one notch on that band
dU = 0.5 * np.sum((E0 + hop) ** 2) - 0.5 * np.sum(E0**2)
stay = 0.5 * np.sum(E1**2) - 0.5 * np.sum(E0**2)
check(abs(dU - 1 / 3) < 2e-3, "a sudden hop puts (1/3) kappa s0^2 into the bands (the band goes from +1/6 to -5/6 of a notch)", f"({dU:.4f}; of it {stay:+.4f} is the Coulomb step)")
print(f"   The reviewer's text says 'about kappa s0^2/2'; its own output says 0.334. The radiated energy per sudden hop is {dU-stay:.4f} kappa s0^2 = {(dU-stay)*4*math.pi*alpha:.4f} hbar c/d.")


def moving(v, T=110.0, dt=0.05, width=1):
    """A charge carried smoothly along x at v (linear weights over 'width' cells), starting from its own static field. Returns the field energy gained per cell crossed."""
    n = 256
    E = np.zeros((3, n, 12, 12)); H = np.zeros_like(E)
    kvx, kvy = 2 * np.pi * np.fft.fftfreq(n), 2 * np.pi * np.fft.fftfreq(12)
    Kg = np.stack(np.meshgrid(np.exp(1j * kvx) - 1, np.exp(1j * kvy) - 1, np.exp(1j * kvy) - 1, indexing="ij"))
    k2 = np.sum(np.abs(Kg) ** 2, 0); k2[0, 0, 0] = 1

    def dens(x):
        r = np.zeros(n)
        for j in range(width):
            xx = x + j / 1.0
            i = int(math.floor(xx)); f_ = xx - i
            r[i % n] += (1 - f_) / width; r[(i + 1) % n] += f_ / width
        return r
    rh = np.zeros((n, 12, 12)); rh[:, 6, 6] = dens(5.0)
    V = np.fft.fftn(rh) / k2; V[0, 0, 0] = 0
    E[:] = -np.real(np.fft.ifftn(Kg * V, axes=(1, 2, 3)))
    x = 5.0
    U = []
    ramp = 25.0
    for s in range(int(T / dt)):
        t = s * dt
        vv = v * min(1.0, t / ramp) ** 2 * (3 - 2 * min(1.0, t / ramp))
        H -= dt * cF(E)
        x2 = x + vv * dt
        dr = dens(x2) - dens(x)                        # J from continuity: J_{i+1/2} = -sum_{<=i} drho/dt, localized
        E += dt * cB(H)
        cum = np.zeros(n)
        i0 = int(math.floor(x)) - 2
        acc = 0.0
        for q in range(width + 6):
            i = (i0 + q) % n
            acc += dr[i]
            cum[i] = -acc
        E[0, :, 6, 6] -= cum
        x = x2
        U.append(0.5 * np.sum(E**2) + 0.5 * np.sum(H**2) - 0.5 * E[0].mean() ** 2 * E[0].size)      # less the uniform field a lone charge's current builds in a closed box
    return np.array(U), v


print("   A point charge carried smoothly (linear weights), not in jumps: field energy gained per cell crossed, after a smooth start, in kappa s0^2:")
for v in (0.3, 0.5, 0.8, 0.95):
    U, _ = moving(v)
    cell_ = int(round(1 / v / 0.05))
    a, b = int(45 / 0.05), int(100 / 0.05)
    gain = U[b:b + cell_].mean() - U[a:a + cell_].mean()
    print(f"      v = {v:.2f} c: {gain/(v*55):+.6f} a cell")
print("   (Two ways: above 2c/pi = 0.637 c the charge outruns light at the zone's edge, ordinary Cherenkov light of the lattice; at any speed it shakes the lattice once a cell, the washboard.)")
for w in (4, 12):
    U, _ = moving(0.95, width=w)
    cell_ = int(round(1 / 0.95 / 0.05))
    a, b = int(45 / 0.05), int(100 / 0.05)
    gain = U[b:b + cell_].mean() - U[a:a + cell_].mean()
    print(f"      v = 0.95 c, the charge spread along x over {w} cells: {gain/(0.95*55):+.6f} a cell")
print("   So O2 is right that the classical model radiates from a point charge and that only a spread charge is safe. The outline says the first half itself. Quantum, the recoil forbids it:")
print("   the photon would carry 2 hbar c/d, far more than the body has. The outline's kick sentence is about that quantum body; as a statement about its classical charge it is wrong.")

print("\nO4, O9. The quantum of the free spin for any notch")
for s0 in (2 * math.pi, 0.5, 12 * alpha):
    # cell of six wheels turned by one notch each must change nothing: s0 Q = 2 pi hbar n
    Q = 2 * math.pi / s0                               # n = 1, units hbar
    I = 4 * math.pi * alpha / s0**2                    # units hbar d/c   (I = mu0 d e^2/s0^2)
    Om = Q / 6 / I
    print(f"   notch {s0:.4f} rad: six wheels carry {Q:.4f} hbar (n = 1); spin rate {Om:.4f} c/d; rim speed at r = d/2 {Om/2:.4f} c; charge x flux out of the cell = s0 Q = {s0*Q/(2*math.pi):.3f} x 2 pi hbar")
check(abs((2 * math.pi / (12 * alpha)) / 6 / (4 * math.pi * alpha / (12 * alpha) ** 2) - 1) < 1e-9, "rim speed c/2 at r = d/2 is a whole quantum for notch 12 alpha = 0.0876 rad (n = 1), not 0.74 rad")
print("   Dirac's condition (charge x pole = 2 pi hbar n) holds for EVERY notch, because e = g s0 d and the pole is Q/(g d). So 'Dirac's condition fixes s0 = 2 pi' (O9) is not right; nor is 0.74 rad")
print("   (O4), which takes Q in whole units of hbar. At one notch a turn the two counts coincide, as the reviewer says. The outline's free notch stays free.")
I3 = 4 * math.pi * alpha / (2 * math.pi) ** 2
print(f"   A caution for my own F4: at one notch a turn and L = hbar/2 a wheel as wide as the cell would have a rim at {0.5/I3*0.5:.0f} c. For a rim at c/2 its radius is alpha d/pi and its mass I/r^2 =")
print(f"   {I3/(alpha/math.pi)**2:.0f} hbar/(c d): a rest energy of 431 hbar c/d, against 2 hbar c/d for the top of light's band along an axis. An odd wheel.")

print("\nR2 (with the proposer's checkpoint, section 9). Free slips: which side is 137 on?")
bw = alpha / math.pi
print(f"   Kogut and Susskind's form with the wheel's angle in units of notch/2 pi: 1/g_w^2 = kappa (s0/2 pi)^2/(hbar c/d) = 4 pi alpha/(4 pi^2) = alpha/pi = {bw:.5f}, for any notch.")
print(f"   The slips are that theory's 'monopoles'. They stay rare only for 1/g_w^2 above about 1 (Wilson's 1.011): alpha above about {math.pi*1.0111:.1f}. Ours is {math.pi*1.0111/alpha:.0f} times too small.")
check(abs(math.pi * 1.0111331 / alpha / 435 - 1) < 0.01, "so if a slip costs nothing beyond the band's energy, slips fill the vacuum and light has a mass: F9, now with a number")

print("\nR3. Kislat and Krawczynski 2015 (arXiv:1505.02669), read at source: the abstract and text are about NON-birefringent, direction-dependent dispersion of gamma rays (d = 6, 25 coefficients,")
print("   Fermi-LAT, 25 AGN). The reviewer, from memory, took it for the birefringence paper (that is 1701.00437, d = 5, optical polarization). The row stands.")
print("\nO6. The corner entry:", f"{2*math.sqrt(3)*hbarc/1.42e15:.2e} m (right).")
print(f"\nChecks: {npass} of {ntot} pass.")