Does light charge the quons? › Files cited on the page › the trials

emergent_route.py

In the investigation at sim/models_AB/emergent_route.py · last changed in commit 2b4ebfc, 18 November 2026 · 7,447 bytes · runnable copies in the scripts zip


"""Trial 19: the emergent route, tested against Aspden's aether (18 November 2026).

Lock: papers/Lock_emergent_route_2026-11-18.md, committed with this script before the run. Every choice is the lock's.
Light as a neutral quantum medium's own mode (Levin and Wen; Volovik). The record's spacing bounds (the survey review section 2.2,
beta = 1/24), Doug's ladder ratios, Collins et al.'s loop shift, trial 11's exclusion of kappa = 1, and trial 9's running (one loop,
QED only, an illustration). Run: python3 emergent_route.py   (numpy, scipy). A second.
"""
import os
import re
import numpy as np
import scipy
from scipy import constants as K

out = []
def say(s=""):
    print(s); out.append(s)
checks = []
def check(name, ok, detail=""):
    checks.append((name, bool(ok)))
    say(f"   CHECK {'pass' if ok else 'FAIL'}: {name} {detail}")

hbarc = K.hbar * K.c / K.e                     # eV m
alpha = K.fine_structure
here = os.path.dirname(os.path.abspath(__file__))
say("Trial 19: the emergent route, tested against Aspden's aether. Lock: papers/Lock_emergent_route_2026-11-18.md")
say(f"scipy {scipy.__version__}; hbar c = {hbarc:.6e} eV m")

# Inputs [the record]
D_ASPDEN = 6.3740e-13                          # m, Part 1 section 3 (adopted r/d)
BOUNDS = (("the Crab's X-ray pulses (2-30 keV), beta = 1/24", 2.4e-19),
          ("GRB 090510 row (a), beta = 1/24", 2.8e-26),
          ("GRB 090510 row (e), beta = 1/24", 3.0e-27))      # the survey review section 2.2
LADDER = (("trial 14's equilibrium ladder, s* = 8.434", 8.434),
          ("trial 5, Doug's smaller copy, 13.6", 13.6),
          ("trial 5, each quon at a finer cell's centre, 27", 27.0))
XI = 8e-4                                       # Collins et al. 2004, g^2 = 4 pi alpha, Gaussian cutoff (tracker 2b; an illustration)
B_BELOW, B_ABOVE = 6e-20, 1.3e-15               # Altschul (deficit), Stecker and Glashow (excess); tracker 2b
INV_A_ASPDEN = 108 * np.pi * (8 / 1843) ** (1 / 6)
TOL = abs(INV_A_ASPDEN * alpha - 1)
KAPPA1_FACTOR = 7e15                            # section 10.8: Aspden's account as written (kappa = 1) misses the bound by 7e15

t9 = open(os.path.join(here, "model_A_out.txt"), encoding="utf-8").read()
inv_aMZ = float(re.search(r"1/alpha\(MZ\), on-shell = ([0-9.]+)", t9).group(1))
inv_aPl_9 = float(re.search(r"Lambda = Planck mass: 1/alpha =\s+([0-9.]+)", t9).group(1))
MZ, MT = 91187.6e6, 172500.0e6                  # eV, as trial 9 (from memory there)
MPL = K.physical_constants['Planck mass energy equivalent in GeV'][0] * 1e9
def inv_alpha_above_MZ(L):
    """Trial 9's running above M_Z: one loop, QED only, known fermions [M; an illustration]."""
    l1 = np.log(L / MZ)
    return inv_aMZ - (2 / (3 * np.pi)) * ((20 / 3) * l1 + (4 / 3) * max(0.0, np.log(L / MT)))

def levels(ratio, s):
    """The smallest whole n with d/s^n <= a, i.e. s^n >= ratio."""
    return int(np.ceil(np.log(ratio) / np.log(s) - 1e-12))
def levels_direct(ratio, s):
    n, x = 0, 1.0
    while x < ratio:
        x *= s; n += 1
    return n

# ---------------- code checks ----------------
say("\nCode checks")
k1 = abs((hbarc / 5.8e-27) / 3.4e19 - 1)
check("K1 hbar c/a at the survey review's beta = 1 GRB row (a) spacing, 5.8e-27 m, equals its 3.4e19 eV (to 2%)", k1 < 0.02, f"({hbarc/5.8e-27:.3e} eV)")
k2 = abs(inv_alpha_above_MZ(MPL) - inv_aPl_9)
check("K2 trial 9's running, re-coded, gives its 1/alpha at the Planck mass (62.157), to 1e-3", k2 < 1e-3,
      f"({inv_alpha_above_MZ(MPL):.4f} against {inv_aPl_9})")
k3 = all(levels(D_ASPDEN / a, s) == levels_direct(D_ASPDEN / a, s) for _, a in BOUNDS for _, s in LADDER)
check("K3 the level counts from the logarithm equal those by direct division", k3)
check("K4 1/alpha(MZ) read from trial 9's output is 128.925", abs(inv_aMZ - 128.925) < 1e-9, f"({inv_aMZ})")

# ---------------- Q1 ----------------
say("\nQ1. Where the emergent medium must be")
q1 = []
for name, a in BOUNDS:
    ratio = D_ASPDEN / a
    ns = [levels(ratio, s) for _, s in LADDER]
    q1.append((name, a, ratio, hbarc / a, ns))
    say(f"   {name:48s}: a < {a:.1e} m; hbar c/a > {hbarc/a:.2e} eV; {ratio:.2e} times finer than Aspden's d;"
        f" levels below his at s = 8.434, 13.6, 27: {ns[0]}, {ns[1]}, {ns[2]}")

# ---------------- Q2 ----------------
say("\nQ2. One limiting speed: the loop shift xi/4 against the record's bounds")
shift = XI / 4
for name, b in (("the electron below light (Altschul)", B_BELOW), ("the electron above light (Stecker and Glashow)", B_ABOVE)):
    say(f"   {name:48s}: bound {b:.1e}; the shift {shift:.1e} must cancel to 1 part in {shift/b:.1e} ({np.log10(shift/b):.1f} orders)")
need = shift / B_BELOW

# ---------------- Q3 ----------------
say("\nQ3. Aspden's lattice inside the emergent medium")
say(f"   reading (i), a crystal of the medium's own charges (ours): kappa = 1, excluded by trial 11 by {KAPPA1_FACTOR:.0e} (section 10.8)")
say(f"   reading (ii), a second emergent charge tied to ours at the medium's scale: Aspden's 1/alpha_a = {INV_A_ASPDEN:.7f} against ours there")
q3 = []
for name, a, ratio, E, ns in q1:
    ia = inv_alpha_above_MZ(E)
    mis = INV_A_ASPDEN / ia - 1
    q3.append(mis)
    say(f"      at {E:.2e} eV ({name}): our 1/alpha = {ia:.3f} (one loop, QED only); Aspden's value against it {mis:+.3f}"
        f" = {abs(mis)/TOL:.1e} times his agreement")

# ---------------- verdict ----------------
say("\nVerdict, by the lock's rules")
gr = [x for x in q1 if x[0].startswith("GRB")]
crab = [x for x in q1 if x[0].startswith("the Crab")][0]
if min(x[2] for x in gr) >= 1e10:
    say(f"   V1: Light can be an aether's own mode only for a neutral quantum medium at least {min(x[2] for x in gr):.1e} times finer than"
        f" Aspden's lattice, at energies of {min(x[3] for x in gr):.1e} eV or more (GRB 090510; the Crab's in-band bound alone gives"
        f" {crab[2]:.1e} times finer, {crab[3]:.1e} eV): {min(min(x[4]) for x in gr)} to {max(max(x[4]) for x in gr)} levels of Doug's ladder"
        " below his at its ratios. The bottom level must be neutral, since a charged level has no gapless light mode.")
else:
    say("   V1: not met: a GRB bound allows a medium less than 1e10 times finer than Aspden's d; see Q1.")
if need > 1e10:
    say(f"   V2: Emergent matter shares light's limiting speed only through a symmetry that protects it. Loop corrections shift each species'"
        f" speed by about {shift:.0e} whatever the medium's scale; without such a symmetry the tuning is {np.log10(need):.0f} orders of magnitude.")
gr3 = [m for m, x in zip(q3, q1) if x[0].startswith("GRB")]
if min(abs(m) for m in q3) / TOL > 1e3:
    say(f"   V3: Aspden's lattice cannot be part of the emergent medium. As a crystal of the same charges it breaks R1 by {KAPPA1_FACTOR:.0e}"
        f" (trial 11); as a second charge tied at the medium's scale, its coupling would differ from ours by {min(abs(m) for m in q3):.0%} to"
        f" {max(abs(m) for m in q3):.0%} (one loop, QED only, an illustration), against an agreement of {TOL:.1e}.")
say("   V4: The emergent route keeps an aether that carries light, and it fixes alpha through its own couplings, as section 10.15 found any"
    " frame-free carrier must; but it is a different aether from Aspden's, which must still be hidden (R1 or E1), with his alpha derivation"
    " the hidden lattice's own.")
nfail = sum(1 for _, ok in checks if not ok)
say(f"\nCode checks: {len(checks)-nfail} of {len(checks)} pass.")