Appendix M. Mass grand unification: geometric differentiation of lattice energy
Appendix M. Mass grand unification: Lock the mass=resistance axiom. If the canonical cell (cube) locks the independent channel count to κ_H=5 by removing one global reference degree of freedom from the 6 faces, and if the canonical cross-section of each channel is locked to π.
Lock the mass=resistance axiom. If the canonical cell (cube) locks the independent channel count to κ_H=5 by removing one global reference degree of freedom from the 6 faces, and if the canonical cross-section of each channel is locked to π.
M.0 Locked definitions (single source of truth)
Lock the mass=resistance axiom as
as shown. Here, σ_eff(X) is the dimensionless resistance (effective cross-section coefficient) of object X.
M.1 Resistance coefficients of three objects (unique definitions)
(1) H-mode
If the canonical cell (cube) locks the independent channel count to κ_H=5 by removing one global reference degree of freedom from the 6 faces, and if the canonical cross-section of each channel is locked to π, then
(2) Proton
Define the proton resistance integral as
as above, and
(3) Electron
Define the electron resistance integral over the mass-bearing Compton length (§13.5.4; not the event-rate radius rₑ=r₀δ, which governs only νₑ=1):
as above, and
M.2 Mass grand-unification theorem (same format)
Theorem M.2.1
Under the same lock version, if (AppM_Ulat)–(AppM_sigmae) hold, then
M.3 Invariants and dev definition (for cross-validation)
Define the invariants as follows.
By definition, ideally I_H=Iₚ=Iₑ=1 should hold (a channel that numerically reconfirms identical definitions).
Define the deviation of each invariant as
as above, and define the maximum deviation as
as above. The tolerance threshold dev_tol for dev_(max) is pre-locked in gate_lock.
M.4 Gate decision format
Lock the following decision formula as the standard form.
M.5 Deterministic verification script (mass-unification invariants)
# verify_appendix_M.py
# Purpose: compute U_lat, m_H, m_p, m_e and invariants I_H,I_p,I_e, dev_max, and generate Gate inputs.
import json
import hashlib
from math import pi
def sha256_file(path: str) -> str:
h = hashlib.sha256()
with open(path, "rb") as f:
while True:
b = f.read(1024 * 1024)
if not b:
break
h.update(b)
return h.hexdigest()
def read_json(path: str) -> dict:
with open(path, "r", encoding="utf-8") as f:
return json.load(f)
def main():
canon = read_json("registry/canon_lock.json")
realz = read_json("registry/realization_lock.json")
prot = read_json("registry/protocol_lock.json")
gate = read_json("registry/gate_lock.json")
snap = read_json("registry/registry_snapshot.json")
h_Js = canon["constants"].get("h_Js", 6.62607015e-34)
c_ref = realz["inputs"]["c_ref_m_s"]
a_m = realz["inputs"]["a_m"]
r_p = canon["inputs"]["r_p_m"]
assert abs(r_p/8.412e-16 - 1) < 5e-4, "canon r_p not reconciled to v0.4.1 (0.8412 fm)"
D_anch= canon["inputs"]["D_anch_m"]
assert abs(D_anch/4.852620477e-12 - 1) < 1e-6, "canon D_anch not reconciled to v0.4.1 (2*lambda_Ce=4.8526 pm)"
delta_item = canon["constants"].get("delta_rect", "1/pi^2")
delta = float(delta_item) if isinstance(delta_item, (int, float)) else 1.0/(pi**2)
GeV_to_J = prot["unit_conversions"]["GeV_to_J"]
# U_lat
U_lat_J = (h_Js * c_ref) / a_m
U_lat_GeV = U_lat_J / GeV_to_J
# m_H
m_H = U_lat_GeV / (5.0 * pi)
# proton: lambda_C, S_p, m_p
lambda_C = (pi/2.0) * r_p
S_p = lambda_C / a_m
m_p = U_lat_GeV / S_p
# electron: r_e, S, m_e
r_e = (D_anch/2.0) * delta
S = r_e / a_m
m_e = U_lat_GeV / S
# invariants
I_H = (m_H * (5.0*pi)) / U_lat_GeV
I_p = (m_p * S_p) / U_lat_GeV
I_e = (m_e * S) / U_lat_GeV
dev_H = abs(I_H - 1.0)
dev_p = abs(I_p - 1.0)
dev_e = abs(I_e - 1.0)
dev_max = max(dev_H, dev_p, dev_e)
dev_tol = gate["tolerances"]["dev_tol_max"]
status = "PASS" if dev_max <= dev_tol else "FAIL"
out = {
"registry_snapshot_id": snap["registry_snapshot_id"],
"locks": snap["locks"],
"hashes": {
"canon_lock_sha256": sha256_file("registry/canon_lock.json"),
"realization_lock_sha256": sha256_file("registry/realization_lock.json"),
"protocol_lock_sha256": sha256_file("registry/protocol_lock.json"),
"gate_lock_sha256": sha256_file("registry/gate_lock.json"),
"registry_snapshot_sha256": sha256_file("registry/registry_snapshot.json"),
},
"derived": {
"U_lat_GeV": U_lat_GeV,
"m_H_GeV": m_H,
"m_p_GeV": m_p,
"m_e_GeV": m_e,
"lambda_C_m": lambda_C,
"S_p_dimless": S_p,
"r_e_m": r_e,
"S_dimless": S,
"I_H": I_H,
"I_p": I_p,
"I_e": I_e,
"dev_max": dev_max,
"dev_tol_max": dev_tol
},
"gate_eval": {
"gate_id": "G-RATIO-MASS-UNIFICATION",
"status": status
}
}
print(json.dumps(out, indent=2, ensure_ascii=False))
if __name__ == "__main__":
main()