Does light charge the quons? › Files cited on the page › check_trial21_fable/
r27_compare.py
#!/usr/bin/env python3
"""r27, compare phase (after reading the trial's script, output, K3 post hoc check and results paper).
P1. K3's failure: recompute the committed equality point and the corrected one.
P2. The '90 % of the static gain' ground mass: the script's 9 (G-1)^2 kappa/2 against 9 (G-1)^2 for a ground of the SAME rotors.
P3. The one-medium loophole the theorem's wording must exclude: a gear referenced to an internal flywheel gives G^2 K above
omega_f = sqrt(K (G-1)^2 / I_f); with the photon-mass bound on hbar omega_f, what inertia (and what flywheel) that needs.
P4. The anisotropy factor: 3 beta x^2 (one direction against rest) and 6 beta x^2 (between opposite directions).
"""
import numpy as np
from scipy import constants as C
print("P1. K3 equality point")
KA, KB, a = 1.3, 2.9, 1.7
f = lambda b: (a + b) ** 2 * KA * KB / (a ** 2 * KB + b ** 2 * KA) - (KA + KB)
print(f" committed b = a KA/KB = {a*KA/KB:.4f}: K_eff - (KA+KB) = {f(a*KA/KB):.4f} (the post hoc check says -1.6986)")
print(f" corrected b = a KB/KA = {a*KB/KA:.4f}: residual = {f(a*KB/KA):.1e} (post hoc: -8.9e-16)")
print(" identity: (KA+KB)(a^2 KB + b^2 KA) - (a+b)^2 KA KB = (a KB - b KA)^2:",
np.allclose((KA + KB) * (a**2 * KB + 0.77**2 * KA) - (a + 0.77)**2 * KA * KB, (a * KB - 0.77 * KA)**2))
print("\nP2. Ground mass for 90 % of the static gain, K_g >= 9 (G-1)^2 K")
for name, kap, fiso, G in (("ring one axis", 2.0, 1.0, 2.8284), ("disc one axis", 1.0, 1.0, 4.0), ("sphere one axis", 0.4, 1.0, 6.3246),
("ring iso", 2.0, 1/3, 4.8990), ("disc iso", 1.0, 1/3, 6.9282), ("sphere iso", 0.4, 1/3, 10.9545)):
same = 9 * (G - 1) ** 2 # ground rotors of the same shape: K_g/K = m_g/m
rings = 9 * (G - 1) ** 2 * kap / 2 # ground of c/2 rings (K_g = 2 m_g v^2 per axis-family) under a medium of shape kappa
print(f" {name:16s}: same rotors m_g/m >= {same:7.1f}; ring ground m_g/m >= {rings:7.1f} (script prints the latter, labelled 'the same rotors')")
print("\nP3. One-medium gear referenced to an internal flywheel")
hbar, c, eV = C.hbar, C.c, C.e
m_gamma_eV = 1e-18 # photon-mass bound, Particle Data Group (memory): m_gamma < 1e-18 eV
w_f = m_gamma_eV * eV / hbar
print(f" K_eff(omega) = G^2 K omega^2/(omega^2 - omega_f^2), omega_f^2 = K (G-1)^2/I_f: a massive photon with hbar omega_f = m_gamma c^2.")
print(f" PDG bound (memory) m_gamma < 1e-18 eV -> omega_f < {w_f:.2e} rad/s.")
G = 2 * np.sqrt(2)
for R_el in (8.5e-28, 1e-15):
# element mass m with a ring rotor K = 2 m v^2 = m c^2/2; flywheel inertia needed I_f >= K (G-1)^2/omega_f^2 = M_f R_f^2
K_over_m = c**2 / 2
If_over_m = K_over_m * (G - 1) ** 2 / w_f ** 2
print(f" I_f/m >= {If_over_m:.2e} m^2; a flywheel of radius {R_el:.1e} m (the element's size) would need mass {If_over_m/R_el**2:.1e} times the element's;"
f" with the element's mass its radius would be {np.sqrt(If_over_m):.1e} m")
print(" So in one medium a gear's internal reference cannot be housed in the element: the theorem's practical content stands,")
print(" but its statement needs 'below the mechanism's internal resonances' (or 'long-wave'), as V1's wording has and the bottom line's 'at all' has not.")
print("\nP4. Anisotropy factor at 28 GeV, hbar omega_max = 2.31e20 eV, beta = 370 km/s / c")
beta = 370e3 / c; x2 = (28e9 / 2.31e20) ** 2
print(f" one direction against rest: 3 beta x^2 = {3*beta*x2:.1e} (the script's); between opposite directions: 6 beta x^2 = {6*beta*x2:.1e}")