Created
December 14, 2025 04:03
-
-
Save BrianMartell/dc0c4038eb8ce0ea7f0f38fe1bd7756d to your computer and use it in GitHub Desktop.
PUH-BrianMartell puh_standard_model_e8_projection_simulation.py- Updated Py Code
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import numpy as np | |
| import matplotlib.pyplot as plt | |
| # PUH v11: SM E8 Projection Sim — Rep Cycle | |
| dim = 248 | |
| roots = 240 | |
| gens = 3 | |
| omega = np.exp(2j * np.pi / 3) | |
| # T eigenvalues for SU(3) cycle | |
| eigs = np.array([1, omega, omega**2]) | |
| # Projection to 3 gens: Average over orbits | |
| proj = np.mean(eigs) * np.ones(gens) # Complex average 0 for θ_QCD=0 | |
| # Mass dilution m = roots / dim * m_Pl | |
| m_pl = 1.22e19 # GeV | |
| m_quark = (roots / dim) * m_pl / gens # Toy per gen | |
| plt.figure(figsize=(10,6)) | |
| plt.subplot(1,2,1) | |
| plt.plot([1,2,3], np.real(eigs), 'o-', label='T Eigenvalues', color='cyan') | |
| plt.axhline(0, color='red', ls=':', label='Average=0 (θ_QCD=0)') | |
| plt.xlabel('Gen Index'); plt.ylabel('Re[λ]') | |
| plt.title('PUH v11: Triality Cycle — Phase Average') | |
| plt.subplot(1,2,2) | |
| bar_width = 0.8 | |
| plt.bar(['m_Pl', 'Diluted m (per gen)'], [m_pl, m_quark], color=['red', 'gold'], width=bar_width) | |
| plt.ylabel('Mass (GeV)'); plt.title('Knot Dilution Projection') | |
| plt.yscale('log') | |
| for i, val in enumerate([m_pl, m_quark]): | |
| plt.text(i, val, f'{val:.2e}', ha='center') | |
| plt.tight_layout() | |
| plt.savefig('puh_standard_model_e8_projection_simulation.png', dpi=300) | |
| plt.show() | |
| print(f"Projected m_quark ~{m_quark:.2e} GeV — SM scale from E8.") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment