TFPT scientific source excerpt Original repository path: experiments/theory-contracts/e-series-compiler-closure-20261023/e7_bilinear_current_descent.py Original file SHA-256: 2185854db83a9d4a0f2397786c6334115cd24f8ece3402da3d27ab4e3b0f6ef3 Inclusive original lines: 1-84 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 | """Native electromagnetic Y current recovered from the actual two-current channel. 000002 | All modes, contractions and the coefficient are fixed by the original source. 000003 | """ 000004 | import runpy,json 000005 | from fractions import Fraction as F 000006 | from contextlib import redirect_stdout 000007 | from io import StringIO 000008 | import sympy as sp 000009 | with redirect_stdout(StringIO()):s=runpy.run_path(str(__import__('pathlib').Path(__file__).with_name('e7_quartic_projector.py'))) 000010 | ch,af,G,omega,ck=(s[k] for k in ['ch','env','G','omega','ck']);af=af['af'];vac={():F(1)} 000011 | alpha=s['alpha'];ap=ch.ridx[alpha];am=ch.opp[ap] 000012 | def add(a,b,c=F(1)): 000013 | for w,v in b.items():a[w]=a.get(w,F(0))+c*v 000014 | return {w:v for w,v in a.items() if v} 000015 | def lin(terms,n,state): 000016 | out={} 000017 | for i,c in terms.items():out=add(out,af.act(i,n,state),c) 000018 | return out 000019 | Y=sp.Matrix([F(-1,3)]*3+[F(1,2)]*2+[0]*3);yc=s['env']['Ri']*Y 000020 | Yterms={240+i:F(yc[i]) for i in range(8) if yc[i]} 000021 | charges=[sum(F(ch.roots[g][i],2)*F(Y[i]) for i in range(8)) for g in G] 000022 | # Contravariant symmetric tensor B=A_Y omega. No chosen field ray x(alpha). 000023 | B=[[charges[i]*int(omega[i,j]) for j in range(56)] for i in range(56)] 000024 | phi={} 000025 | for i in range(56): 000026 | for j in range(56): 000027 | if B[i][j]:phi=add(phi,af.act(G[i],-1,af.act(G[j],-1,vac)),B[i][j]) 000028 | target=lin(Yterms,-1,af.act(ap,-1,vac)) 000029 | yhead=lin(Yterms,-1,vac) 000030 | rawdesc={w:-c for w,c in af.act(am,1,phi).items()} 000031 | factor=rawdesc[next(iter(yhead))]/yhead[next(iter(yhead))] 000032 | desc={w:c/factor for w,c in rawdesc.items()} 000033 | ck(desc==yhead,'original compact A1 annihilation recovers actual Y current') 000034 | norm=lin(Yterms,1,yhead).get((),F(0));ck(norm==F(5,6),'same Y current normalization retained') 000035 | def inner(bra,ket): 000036 | out=F(0) 000037 | for word,c in bra.items(): 000038 | st=ket;sgn=1 000039 | for n,i in word: 000040 | if i<240:j=ch.opp[i];sgn=-sgn 000041 | else:j=i 000042 | st=af.act(j,-n,st) 000043 | out+=c*sgn*st.get((),F(0)) 000044 | return out 000045 | difference=add(dict(phi),target,-factor) 000046 | ck(inner(difference,difference)==0,'bilinear equals Y times A1 head in unitary quotient, not universal PBW') 000047 | ck(inner(phi,phi)==factor*factor*norm,'actual bilinear state norm from original vacuum') 000048 | 000049 | # Full E7 generator dictionary: adjoint action on56, then the same A1 descent. 000050 | import numpy as np 000051 | idx={g:i for i,g in enumerate(G)};gen_tests=0 000052 | root_indices=[r for r in range(240) if s['ip'](alpha,ch.roots[r])==0] 000053 | physical_alpha=sp.Matrix(alpha)/2;P=sp.eye(8)-physical_alpha*physical_alpha.T/2 000054 | targets=[{r:F(1)} for r in root_indices] 000055 | for h in P.columnspace(): 000056 | hc=s['env']['Ri']*h;targets.append({240+i:F(hc[i]) for i in range(8) if hc[i]}) 000057 | for terms in targets: 000058 | A=sp.zeros(56) 000059 | for a,c in terms.items(): 000060 | for j,g in enumerate(G): 000061 | for h,v in ch.bracket(a,g).items():A[idx[h],j]+=c*v 000062 | BB=A*sp.Matrix(omega);state={} 000063 | ck(BB==BB.T,'contravariant generator tensor symmetric') 000064 | for i,j,v in [(i,j,BB[i,j]) for i in range(56) for j in range(56) if BB[i,j]]: 000065 | state=add(state,af.act(G[i],-1,af.act(G[j],-1,vac)),F(v)) 000066 | lowered={w:-c/factor for w,c in af.act(am,1,state).items()} 000067 | ck(lowered==lin(terms,-1,vac),'same fixed bilinear descent recovers every original E7 current') 000068 | gen_tests+=1 000069 | result={'claim':'MATH.ESERIES.BILINEAR.Y.CURRENT.DESCENT.20261106','definition':'A_T=actual original E7 action on56, B=A_T omega symmetric, Phi(B)=sum_ij B_ij J_i(-1)J_j(-1)Omega','source_identity':f'Phi(A_Y omega)=({factor}) J_Y(-1)J_alpha(-1)Omega in the unitary integrable quotient','descent_identity':f'J_T(-1)Omega=(-J_-alpha(1))*Phi(A_T omega)/({factor}), all133 original E7 generators including Y','original_E7_generators_recovered':gen_tests,'Y_norm':str(norm),'Tr56_Y2':str(sum(x*x for x in charges)),'Phi_norm':str(inner(phi,phi)),'universal_PBW_difference_terms':len(difference),'universal_PBW_difference_norm':str(inner(difference,difference)),'scope':'Exact native source field-state dictionary for every E7 current including original hypercharge, with actual A1 head and annihilation. Product-head identity holds in unitary quotient; annihilated current identity already holds in universal PBW degree1. No selection of a physical alpha field ray and no integrated EM fourth response derived. The bilinear uses the full56 tensor, not a single holomorphic x^4 evaluation.','checks':dict(s['env']['checks'])} 000070 | rho=sp.Matrix([F(7-2*i,2) for i in range(8)]);q=sp.ones(8,1);clocks=[] 000071 | for a in [F(1,4),F(3,4)]: 000072 | w=rho-(2*a-1)*q/2 000073 | for normal,label in [(physical_alpha,'D5-preserving'),(q/2,'Q-neutral')]: 000074 | pair_grade=16-w.dot(normal);ann_grade=-8+w.dot(normal) 000075 | ck(pair_grade+ann_grade==8,'original H8 marks cancel in Y descent') 000076 | clocks.append({'quarter':str(a),'E7_cut':label,'pair_Y_channel_grade':str(pair_grade),'A1_annihilation_grade':str(ann_grade),'recovered_Y_grade':'8'}) 000077 | for r in root_indices: 000078 | momentum=sp.Matrix(ch.roots[r])/2 000079 | ck(16-w.dot(physical_alpha+momentum)-8+w.dot(physical_alpha)==8-w.dot(momentum),'actual E7 root-clock grading intertwines A1 descent') 000080 | result['original_H8_descent_grades']=clocks 000081 | result['local_field_scope']='By the state-field correspondence in the same integrable VOA the current is the double-pole coefficient of the A1 current with the normal-ordered bilinear field. This is not multiplication by an inverse A1 field, nor a modewise product identity with contacts omitted.' 000082 | result['four_Y_leg_count']='Under this exact local field-state dictionary four Y current insertions lift to eight56 current legs and four A1 current OPE fusions; normal-ordering and source derivative contacts remain. A direct Q4=EM fourth variation does not follow.' 000083 | result['checks']=dict(s['env']['checks']) 000084 | s['OUT'].joinpath('bilinear-current-descent-results.json').write_text(json.dumps(result,indent=2)+'\n');print(json.dumps(result,indent=2))