FRCM Pi D R6 reciprocal-loop candidate diagnostic.py
#!/usr/bin/env python3 """FRCM Pi D R6 reciprocal-loop candidate diagnostic. Runs ten simultaneous transitions at 60 decimal digits using fixed B_G. This is a candidate iteration, not a lag test, physical-time model, or lock test. It writes a timestamped JSON result and SHA-256 sidecar. """ from datetime import datetime, timezone import hashlib import json from pathlib import Path import mpmath as mp # Runtime and output location mp.mp.dps = 60 TRANSITIONS = 10 CHECK_TOL = mp.mpf("1e-45") # __file__ exists when run as a .py file; Colab/Jupyter cells usually lack it. if "__file__" in globals(): OUT_DIR = Path(__file__).resolve().parent else: OUT_DIR = Path.cwd() RUN_ID = datetime.now(timezone.utc).strftime("%Y%m%dT%H%M%SZ") JSON_PATH = OUT_DIR / f"R6_RECIPROCAL_LOOP_CANDIDATE_{RUN_ID}.json" HASH_PATH = OUT_DIR / f"R6_RECIPROCAL_LOOP_CANDIDATE_{RUN_ID}.json.sha256" def mat(rows): "...