TFPT scientific source excerpt Original repository path: experiments/theory-contracts/historical-dynamics-source-recovery-20261103/three_hypotheses_source_F.py Original file SHA-256: c20ecdc0177114742c428709e03ff542537ebc3e140d8a6c367f08c499dcf4e0 Inclusive original lines: 1-85 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 | """First full-product identity needed by the three original-source hypotheses. 000002 | 000003 | The actual original constructor and all symbolic Y/MR are retained. No new 000004 | physical measure, regulator profile or spectral model is selected. 000005 | """ 000006 | import ast 000007 | import hashlib 000008 | import json 000009 | from pathlib import Path 000010 | import sympy as s 000011 | 000012 | [OMITTED: non-scientific conversation or execution metadata] 000013 | source = repo / 'experiments/theory-contracts/craig-original-source-bridge-20261103/actual_product_pairing.py' 000014 | assert hashlib.sha256(source.read_bytes()).hexdigest() == '6acaa9bc2c7a157a30730d7d6de75e944266afbf69b18a31c6fba654b8bd1c04' 000015 | nodes = [] 000016 | for node in ast.parse(source.read_text()).body: 000017 | if isinstance(node, ast.Assign) and any(isinstance(t, ast.Name) and t.id == 'Mass' for t in node.targets): 000018 | break 000019 | nodes.append(node) 000020 | env = {'__file__': str(source), '__name__': 'original_constructor_only'} 000021 | exec(compile(ast.Module(body=nodes, type_ignores=[]), str(source), 'exec'), env) 000022 | gam = [s.SparseMatrix(g) for g in env['gam']] 000023 | g5, C, KF, gF, Phi = [s.SparseMatrix(env[k]) for k in ['g5', 'C', 'KF', 'gF', 'Phi']] 000024 | I96 = s.SparseMatrix(s.eye(96)) 000025 | R = s.kronecker_product(C, KF) 000026 | G = s.kronecker_product(g5, gF) 000027 | sv = s.symbols('S1:5', real=True) 000028 | W = sum((s.Rational(3, 4)*s.I*sv[mu]*s.kronecker_product(gam[mu]*g5,I96) for mu in range(4)),s.SparseMatrix(384,384,{})) 000029 | D = s.kronecker_product(g5, Phi) + W 000030 | P = s.kronecker_product(s.eye(4), Phi*Phi) + s.Rational(9,16)*sum(x*x for x in sv)*s.eye(384) 000031 | checks = {} 000032 | def zero(M): 000033 | return all(s.expand(x) == 0 for x in s.SparseMatrix(M).todok().values()) 000034 | def ck(name, val): 000035 | assert val, name 000036 | checks[name] = True 000037 | 000038 | ck('whole_original_zero_momentum_real_torsion_square', zero(D*D-P)) 000039 | ck('whole_original_zero_momentum_hermitian', zero(D.H-D)) 000040 | ck('actual_full_J_reality', zero(R*D.conjugate()-D*R)) 000041 | for e in [-1,1]: 000042 | ix = [i for i in range(384) if G[i,i] == e] 000043 | iy = [i for i in range(384) if G[i,i] == -e] 000044 | M = (R.H*D).extract(ix,ix) 000045 | P_e = P.extract(ix,ix) 000046 | ck(f'whole_original_M_skew_{e}', zero(M.T+M)) 000047 | ck(f'whole_original_P_equals_MdaggerM_{e}', zero(M.H*M-P_e)) 000048 | # The actual antiunitary switches the total Weyl fibers and commutes with P. 000049 | U = R.extract(iy,ix) 000050 | ck(f'actual_J_fiber_unitarity_{e}', zero(U.H*U-s.eye(192))) 000051 | ck(f'actual_J_fiber_P_intertwining_{e}', zero(U*P_e.conjugate()-P.extract(iy,iy)*U)) 000052 | ck(f'full_trace_is_twice_actual_Weyl_trace_{e}', s.expand(s.trace(P)-2*s.trace(P_e)) == 0) 000053 | ck(f'linear_original_M_has_no_bare_second_torsion_contact_{e}', all(zero(M.diff(x,y)) for x in sv for y in sv)) 000054 | 000055 | # The coefficient follows from |Pf M|^4=det(M^dagger M), not a guessed 000056 | # multiplicity of physical particles. The full ordinary spin trace doubles 000057 | # the actual Weyl trace by the checked antiunitary intertwiner above. 000058 | pf_trace_weight = s.Rational(1,4)*s.Rational(1,2) 000059 | ck('actual_full_product_Pfaffian_log_heat_weight_one_eighth', pf_trace_weight == s.Rational(1,8)) 000060 | d, chi, eps = s.symbols('d chi eps', positive=True) 000061 | a2 = s.Rational(9,32)*d/s.pi**2 000062 | geom_S2 = -6*chi**2*a2 000063 | fermion_positive_proper_time_S2 = pf_trace_weight*a2/eps 000064 | ck('ordinary_geometric_and_fermion_uv_S2_signs_differ', geom_S2.is_negative and fermion_positive_proper_time_S2.is_positive) 000065 | 000066 | # The exact original heat-profile response is not a finite contact 000067 | # polynomial: every Taylor coefficient of F is nonzero. This is a support 000068 | # test of the already computed kernel, not a new physical heat-atom choice. 000069 | a = s.symbols('a') 000070 | moments = [s.integrate((a*(1-a))**n,(a,0,1)) for n in range(6)] 000071 | ck('original_F_form_factor_moments', moments == [s.factorial(n)**2/s.factorial(2*n+1) for n in range(6)]) 000072 | ck('original_F_second_derivative_is_nonlocal_before_truncation', all(x != 0 for x in moments)) 000073 | 000074 | out = { 000075 | 'result_id':'TORSION20261104F', 'passed':len(checks), 'checks':checks, 000076 | 'actual_matrix_scope':'Existing ordinary Spin4/full96 total Weyl product, full symbolic Yukawa and Majorana, constant real torsion and Phi for the matrix check. Eeps is not Padm.', 000077 | 'analytic_extension':'For the actual J-real selfadjoint Gamma-odd operator with compatible paired domains, MdaggerM=D² restricted to Eeps and J intertwines the two fibers. Domain and selector transport remain required.', 000078 | 'fermion_absolute_effective_action':'-log|Pf M|=-(1/4)Tr_Eeps log(MdaggerM)=-(1/8)Tr_full log(D²), when the paired-domain and full-product hypotheses hold; phase retained separately.', 000079 | 'ordinary_positive_proper_time_uv_diagnostic':{'fermion_coefficient':str(fermion_positive_proper_time_S2),'geometric_coefficient':str(geom_S2),'not_a_selection_of_a_physical_regulator':True,'not_a_no_go_for_all_original_regulated_sources':True}, 000080 | 'original_nonlocal_weight_contact':'An actual full spectral-profile second variation need not be supported at coincident points. F_xy cannot in general be removed as a local contact in the full-source spectral response.', 000081 | 'fundamental_solution_achieved':False, 'full_Sadm_derived':False, 000082 | 'physical_Htrpos_derived':False, 'common_physical_spectrum_computed':False, 000083 | } 000084 | Path(__file__).with_name('three-hypotheses-source-F.json').write_text(json.dumps(out,ensure_ascii=False,indent=2)+'\n') 000085 | print(json.dumps({k:out[k] for k in ['result_id','passed','fermion_absolute_effective_action','ordinary_positive_proper_time_uv_diagnostic','fundamental_solution_achieved']},ensure_ascii=False))