TFPT scientific source excerpt Original repository path: experiments/theory-contracts/constant-triangulation-20261103/evaluate_original_joint_source.py Original file SHA-256: ae52b4a2c1ac7c0b86eb44a6907a33893ec0e0ffb7b536b8345d8e6541c57a8b Inclusive original lines: 1-129 Line numbers below refer to the original source. This bounded excerpt is source evidence; it is not a new proof/checker run. Conversation metadata and personal execution details are omitted where indicated. 000001 | from pathlib import Path 000002 | import hashlib,json 000003 | import sympy as s 000004 | import mpmath as m 000005 | 000006 | m.mp.dps=160 000007 | [OMITTED: non-scientific conversation or execution metadata] 000008 | paths={ 000009 | 'primitive':'documents/archive--tfpt-45--source_extracts--01_boundary_kernel_source/sections/001-section-primitive-core-and-carrier-interface-handoff.tex', 000010 | 'geometric':'documents/archive--tfpt-45--source_extracts--05_metrology_source/sections/001-subsection-from-bridge-to-geometric-completion.tex', 000011 | 'local':'documents/archive--tfpt-45--source_extracts--05_metrology_source/sections/002-subsection-closed-texorpdfstring-41-41-chain-after-famil.tex', 000012 | 'planck':'documents/archive--tfpt-45--source_extracts--05_metrology_source/sections/004-subsection-absolute-spectral-planck-closure.tex', 000013 | 'ir':'documents/archive--tfpt-45--source_extracts--05_metrology_source/sections/006-subsection-infrared-seam-and-sector-bifurcation.tex', 000014 | 'qft':'documents/archive--tfpt-45--source_extracts--04_qft_source/sections/007-subsection-renormalized-physical-and-scheme-readout-laye.tex', 000015 | } 000016 | texts={k:(root/p).read_text() for k,p in paths.items()} 000017 | assert r'\rho(U_\Sigma)=\phibase\,q_\star^{31}' in texts['ir'] 000018 | assert r'q_\star:=\deltatop e^{-2\alpha_\star}' in texts['ir'] 000019 | assert r'-\log\!\bigl(1-\rho(U_\Sigma)\bigr)' in texts['ir'] 000020 | assert r'\frac{\rho_\star}{2\pi^2}' in texts['planck'] 000021 | assert r'S_{\mathrm{adm}}[\varphi]' in texts['qft'] 000022 | 000023 | # Existing TFPT resummed alpha contract, no experimental alpha fitted here. 000024 | c3=1/(8*m.pi); delta=48*c3**4 000025 | def F(alpha): 000026 | q=delta*m.exp(-2*alpha) 000027 | ph=1/(6*m.pi)+q*(1-q)**(-m.mpf(5)/4) 000028 | return alpha**3-2*c3**3*alpha**2-m.mpf(4)/5*41*c3**6*m.log(1/ph) 000029 | alpha=m.findroot(F,(m.mpf('0.007'),m.mpf('0.0075'))) 000030 | assert abs(F(alpha))