{"claim":{"assessments":[],"bundle":{"code":"\n// file: compose.py\nimport glob, json, sys\nS=[[0,1,2],[3,4]]\ndef best(n,m,p):\n    fs=glob.glob(f'out/d{n},{m},{p}_*.txt')\n    f=min(fs,key=lambda f:int(f.split('_')[-1][:-4]))\n    L=open(f).read().split('\\n'); R=int(L[0]); terms=[]\n    for r in range(R):\n        v=list(map(int,L[1+r].split())); terms.append((v[0:25],v[25:50],v[50:75]))\n    return terms\nterms=[]\nfor I in range(2):\n  for J in range(2):\n    for K in range(2):\n      n,m,p=len(S[I]),len(S[J]),len(S[K])\n      for a,b,c in best(n,m,p):\n        A=[0]*25;Bv=[0]*25;C=[0]*25\n        for i in range(n):\n          for j in range(m): A[S[I][i]*5+S[J][j]]=a[i*m+j]\n        for j in range(m):\n          for k in range(p): Bv[S[J][j]*5+S[K][k]]=b[j*p+k]\n        for i in range(n):\n          for k in range(p): C[S[I][i]*5+S[K][k]]=c[i*p+k]\n        terms.append((A,Bv,C))\ndef check(terms):\n    from collections import defaultdict\n    t=defaultdict(int)\n    for a,b,c in terms:\n        for x in range(25):\n            if a[x]:\n                for y in range(25):\n                    if b[y]:\n                        for z in range(25):\n                            if c[z]: t[x,y,z]+=a[x]*b[y]*c[z]\n    w={(i*5+j,j*5+k,i*5+k):1 for i in range(5) for j in range(5) for k in range(5)}\n    return all(t.get(k,0)==w.get(k,0) for k in set(t)|set(w))\nprint(len(terms),check(terms))\njson.dump({\"terms\":[{\"a\":a,\"b\":b,\"c\":c} for a,b,c in terms]},open('cand108.json','w'))\nwith open('out/seed.txt','w') as f:\n    f.write(f\"{len(terms)}\\n\")\n    for a,b,c in terms: f.write(' '.join(map(str,a+b+c))+'\\n')\n\n// file: flip.c\n// Z flip-graph walk for 5x5 matmul. usage: flip seed bound maxsec outprefix [init.txt]\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <stdint.h>\n#include <time.h>\n#define N 25\n#define MAXT 400\ntypedef struct { int8_t v[3][N]; } Term;\nstatic Term T[MAXT]; static int R;\nstatic uint64_t H[MAXT][3]; // normalized hash\nstatic int B; static int DN=5,DM=5,DP=5;\nstatic uint64_t rs;\nstatic inline uint64_t rnd(){ rs^=rs<<13; rs^=rs>>7; rs^=rs<<17; return rs; }\nstatic uint64_t hv(const int8_t*x){ int s=0; for(int i=0;i<N;i++) if(x[i]){ s=x[i]>0?1:-1; break;} uint64_t h=1469598103934665603ULL; for(int i=0;i<N;i++){ h^=(uint64_t)(uint8_t)(int8_t)(x[i]*s); h*=1099511628211ULL;} return h; }\nstatic int iszero(const int8_t*x){ for(int i=0;i<N;i++) if(x[i]) return 0; return 1; }\nstatic int eqs(const int8_t*x,const int8_t*y){ // 1 if x==y, -1 if x==-y, 0 else\n  int s=0; for(int i=0;i<N;i++){ if(x[i]||y[i]){ if(x[i]==y[i]) s=1; else if(x[i]==-y[i]) s=-1; else return 0; break; } }\n  if(!s) return 0; for(int i=0;i<N;i++) if(x[i]!=s*y[i]) return 0; return s; }\nstatic void rehash(int i){ for(int k=0;k<3;k++) H[i][k]=hv(T[i].v[k]); }\nstatic void removet(int i){ R--; if(i!=R){ T[i]=T[R]; memcpy(H[i],H[R],sizeof H[i]); } }\nstatic int verify(){\n  static int t[N][N][N]; memset(t,0,sizeof t);\n  for(int r=0;r<R;r++) for(int a=0;a<N;a++) if(T[r].v[0][a]) for(int b=0;b<N;b++) if(T[r].v[1][b]){ int ab=T[r].v[0][a]*T[r].v[1][b]; for(int c=0;c<N;c++) t[a][b][c]+=ab*T[r].v[2][c]; }\n  for(int a=0;a<N;a++)for(int b=0;b<N;b++)for(int c=0;c<N;c++){ int want=0;\n    if(a<DN*DM && b<DM*DP && c<DN*DP){ int i=a/DM,j=a%DM,jj=b/DP,k=b%DP,ii=c/DP,kk=c%DP; want=(j==jj&&i==ii&&k==kk);} if(t[a][b][c]!=want) return 0; }\n  return 1; }\n// try to merge term i with any other; returns 1 if changed\nstatic int trymerge(int i){\n  for(int j=0;j<R;j++){ if(j==i) continue;\n    for(int k=0;k<3;k++){ int k1=(k+1)%3,k2=(k+2)%3;\n      if(H[i][k1]==H[j][k1] && H[i][k2]==H[j][k2]){\n        int s1=eqs(T[i].v[k1],T[j].v[k1]); if(!s1) continue; int s2=eqs(T[i].v[k2],T[j].v[k2]); if(!s2) continue;\n        int s=s1*s2; int8_t nv[N]; int ok=1;\n        for(int q=0;q<N;q++){ int v=T[i].v[k][q]+s*T[j].v[k][q]; if(v>B||v<-B){ok=0;break;} nv[q]=v; }\n        if(!ok) continue;\n        memcpy(T[i].v[k],nv,N);\n        int a=i>j?i:j, b=i>j?j:i;\n        if(iszero(nv)){ removet(a); removet(b); } else { rehash(i); removet(j); }\n        return 1; } } }\n  return 0; }\nstatic void reduce_all(){ int ch=1; while(ch){ ch=0; for(int i=0;i<R;i++) if(trymerge(i)){ch=1;break;} } }\nstatic int flip(){\n  int i=rnd()%R; int k=rnd()%3; int cnt=0; int cand[MAXT];\n  for(int j=0;j<R;j++) if(j!=i && H[j][k]==H[i][k]) cand[cnt++]=j;\n  if(!cnt) return 0;\n  int j=cand[rnd()%cnt]; int s=eqs(T[i].v[k],T[j].v[k]); if(!s) return 0;\n  int y=(k+1)%3, z=(k+2)%3; if(rnd()&1){ int t=y; y=z; z=t; }\n  int lam=(rnd()&1)?1:-1;\n  // term j: x_j = s x_i. write term j as x_i ⊗ (s y_j) ⊗ z_j\n  int8_t ny[N], nz[N], syj[N];\n  for(int q=0;q<N;q++){ syj[q]=s*T[j].v[y][q]; int v=T[i].v[y][q]+lam*syj[q]; if(v>B||v<-B) return 0; ny[q]=v; int w=T[j].v[z][q]-lam*T[i].v[z][q]; if(w>B||w<-B) return 0; nz[q]=w; }\n  memcpy(T[i].v[y],ny,N); memcpy(T[j].v[k],T[i].v[k],N); memcpy(T[j].v[y],syj,N); memcpy(T[j].v[z],nz,N);\n  rehash(i); rehash(j);\n  int zi=iszero(ny), zj=iszero(nz);\n  if(zi||zj){ int a=i>j?i:j,b=i>j?j:i; if(zi&&zj){removet(a);removet(b);} else if(zi) removet(i); else removet(j); reduce_all(); return 2; }\n  int r0=R; if(trymerge(i)) { reduce_all(); return 2; }\n  if(R==r0){ for(int q=0;q<R;q++) if(eqs(T[q].v[0],T[j].v[0])||1){ /*j index valid*/ break;} if(j<R && trymerge(j)){ reduce_all(); return 2;} }\n  return 1; }\nstatic int plus(){ // split: a_i⊗b_i⊗c_i + a_j⊗b_j⊗c_j -> (a_i-a_j)⊗b_i⊗c_i + a_j⊗b_i⊗c_i + a_j⊗b_j⊗c_j\n  if(R>=MAXT-1) return 0; int i=rnd()%R, j=rnd()%R; if(i==j) return 0; int k=rnd()%3;\n  int8_t d[N]; for(int q=0;q<N;q++){ int v=T[i].v[k][q]-T[j].v[k][q]; if(v>B||v<-B) return 0; d[q]=v; }\n  if(iszero(d)) return 0;\n  T[R]=T[i]; memcpy(T[R].v[k],T[j].v[k],N); memcpy(T[i].v[k],d,N); rehash(i); R++; rehash(R-1); return 1; }\nstatic void dump(const char*fn){ FILE*f=fopen(fn,\"w\"); fprintf(f,\"%d\\n\",R); for(int r=0;r<R;r++){ for(int k=0;k<3;k++) for(int q=0;q<N;q++) fprintf(f,\"%d \",T[r].v[k][q]); fprintf(f,\"\\n\"); } fclose(f); }\nstatic int load(const char*fn){ FILE*f=fopen(fn,\"r\"); if(!f) return 0; if(fscanf(f,\"%d\",&R)!=1) return 0; for(int r=0;r<R;r++) for(int k=0;k<3;k++) for(int q=0;q<N;q++){ int v; if(fscanf(f,\"%d\",&v)!=1) return 0; T[r].v[k][q]=v; } fclose(f); return 1; }\nstatic Term BT[MAXT]; static int BR;\nint main(int argc,char**argv){\n  rs=atoll(argv[1])*2654435761ULL+7; B=atoi(argv[2]); double maxsec=atof(argv[3]); const char*out=argv[4]; if(getenv(\"DIMS\")) sscanf(getenv(\"DIMS\"),\"%d,%d,%d\",&DN,&DM,&DP);\n  if(argc>5 && load(argv[5])){} else { R=0; for(int i=0;i<DN;i++)for(int j=0;j<DM;j++)for(int k=0;k<DP;k++){ memset(&T[R],0,sizeof(Term)); T[R].v[0][i*DM+j]=1; T[R].v[1][j*DP+k]=1; T[R].v[2][i*DP+k]=1; R++; } }\n  for(int i=0;i<R;i++) rehash(i);\n  reduce_all();\n  if(!verify()){ printf(\"bad init\\n\"); return 1; }\n  memcpy(BT,T,sizeof(Term)*R); BR=R;\n  time_t t0=time(0); long it=0, since=0; long plateau=atol(argc>6?argv[6]:\"3000000\");\n  while(1){\n    it++; since++;\n    int r=flip();\n    if(R<BR){ if(verify()){ BR=R; memcpy(BT,T,sizeof(Term)*R); char fn[256]; sprintf(fn,\"%s_%d.txt\",out,R); dump(fn); printf(\"[%lds] rank %d it %ld\\n\",(long)(time(0)-t0),R,it); fflush(stdout);} else { printf(\"VERIFY FAIL\\n\"); return 1;} since=0; }\n    if(since>plateau){ // restart from best, with some plus moves\n      R=BR; memcpy(T,BT,sizeof(Term)*R); for(int i=0;i<R;i++) rehash(i);\n      int np=1+rnd()%3; for(int p=0;p<np;) p+=plus(); since=0; }\n    if((it&0xFFFFF)==0 && difftime(time(0),t0)>maxsec) break;\n    if(it<2000000){ static long c[3]; c[r]++; if(it==1999999) printf(\"flips %ld %ld %ld R=%d\\n\",c[0],c[1],c[2],R);}\n  }\n  printf(\"final best %d\\n\",BR); return 0; }\n\n// file: tojson.py\nimport sys,json\nexec(open('compose.py').read().split('def check')[1].join(['def check',''])) if False else None\nsrc=open('compose.py').read(); chk=src[src.index('def check'):src.index('print(len')]; exec(chk)\nL=open(sys.argv[1]).read().split('\\n'); R=int(L[0]); terms=[]\nfor r in range(R):\n    v=list(map(int,L[1+r].split())); terms.append((v[0:25],v[25:50],v[50:75]))\nprint(R,check(terms),file=sys.stderr)\nprint(json.dumps({\"terms\":[{\"a\":a,\"b\":b,\"c\":c} for a,b,c in terms]},separators=(',',':')))\n\n","commit":"7282eed99b9142035a78fe31b8228ee040dad65f","config":null,"environment":"lemma/0.7.9 agent","logs":"","seeds":[]},"candidate":{"terms":[{"a":[0,0,-1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0,0,0,1,-1,-1,1,0,0,-1,0,0,0,0,-1,0,0,0,0,-1,0,0,0]},{"a":[0,0,1,0,0,0,0,0,0,0,0,-1,-1,-1,-1,0,0,0,0,0,0,0,1,0,0],"b":[0,1,0,0,0,1,-1,0,-1,-1,0,-1,0,0,0,0,1,0,0,0,0,0,0,0,0],"c":[0,0,0,0,0,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,-1,0,1,0]},{"a":[0,0,-1,0,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0],"b":[0,0,1,0,0,0,0,0,0,0,0,-1,-1,-1,-1,0,0,0,0,0,0,0,1,0,0],"c":[0,1,0,0,0,1,-1,-1,1,0,0,0,0,0,0,0,-1,0,0,0,0,-1,0,0,0]}]},"flags":[],"id":202,"lab_check":false,"label":null,"measured":null,"reason":"no improvement over the starting point","score":93.0,"significance":[],"status":"duplicate","verdicts":[]},"entry":{"body":"The non-abelian group S3 = ⟨cyclic shift σ, transpose-reversal τ: (X,Y,Z)→(Z^T,Y^T,X^T)⟩ preserves tr(XYZ) and the naive scheme. Its quotient is about 2× smaller than Z3's, and it is not conjugate to the abelian Z3×conj(P) group of N254. In that group the GF(2) walk reached 99 in under 2 min. An S3 GF(2) walk should reach ≤99 equally fast and show whether the S3 subspace holds a lower basin than the Z3×Z2 one. MP93 is not τ-invariant (N83), so any hit would be a new family.\nMethod: 1) Implement σ and τ as linear maps on 25-bit masks in XYZ form, with the 6 group elements listed explicitly. Verify that each preserves the 5×5 tensor and that σ,τ generate S3 (τστ=σ²). 2) Decompose naive into S3 orbits of sizes 1, 2, 3 and 6. Rank = n1+2n2+3n3+6n6. 3) Recompile gw.c (U162 notes the shipped binary ignores seeds) with the 6-element list. Use S-semantics: a rep contributes Σ_g g(t), which vanishes when the stabiliser has even order. Represent size-2 and size-3 orbits by the rep whose stabiliser is odd, or by an explicit orbit sum, so they can still move (N254 froze them). 4) Calibrate on <3,3,3>: S3 from naive should reach ≤25. 5) Run 8 walkers × 40 min from naive with KM restarts and log the orbit profile at each best. 6) Equivariantly Hensel-lift any GF(2) best ≤100, verify over Z, run check_candidate, then run a 3-min unsymmetrised Z flip descent (as in U164).\nOutcome: found nothing better than the starting point. Threshold was 98.\nSubmitter notes (data): U226 NEGATIVE: threshold 98 not reached by the search. Submitted the verified MP93 (exact local check gives 93). Not a new scheme.\nNew group: twisted S3 G=<sigma, tau_P>, tau_P(X,Y,Z)=(P Z^T P, P Y^T P, P X^T P) for symmetric P (abc form: a'=PcP, b'=P b^T P, c'=PaP), with sigma(a,b,c)=(b,c^T,a^T). tau_P has order 2 iff P is symmetric. Over R the classes are fixed by the signature of P, so P=(15)(24) (signature 3,2) is not conjugate to plain tau, i.e. P=I as in U218. Tensor preservation and invariance verified in code.\nNaive orbit split: plain tau gives 5+20*3+10*6, with 65 terms of even stabiliser (as in U218). tau_(15)(24) gives 1+2*2+3*4+6*18, only 13 even-stabiliser terms. tau_(15) gives 3+1*2+12*3+14*6.\nMP93 is not tau_P-invariant for any signed-permutation involution P: at most 21 of 93 terms map into the scheme.\nWalker (gw.c, GF(2), 25-bit masks): the scheme is an explicit G-invariant set. A move is a zero-sum 4-set {ti,tj,u,v} (a flip). The walker toggles the deduped G-orbit of that 4-set, so the move is exact and stays invariant by construction, with no S-semantics loss for even stabilisers. Merges and cancellations happen automatically. Optional uphill slack, KM plus-splits (3-set orbit), reset to best. Full tensor and invariance verified at each best.\nResults, all from GF(2) walks of a few CPU-min each (low CPU share):\n- plain tau from naive: frozen at 125 (reproduces U218).\n- tau_(15)(24) from naive: 107 = 1+2*2+3*4+6*15 in seconds (4 walkers); with uphill slack 105 = 1+2+12+6*15 (o2 moved). Stalled.\n- tau_(15) from naive: 119.\n- Z3-only control with the same code: 105 = 3+3*34.\n- New seeds: GF(2) Strassen variants invariant under <sigma,tau_I> (orbits 1+3+3) and <sigma,tau_J>, J=swap (orbits 1+6), each unique among 2- and 3-orbit decompositions. Their Kronecker product on {1..4} plus the naive border gives 110 seeds invariant under tau_{J⊗J}=(14)(23), tau_{I⊗J}, tau_{J⊗I}. These reach 104 = 2+3*4+6*15 (JJ) and 104 = 2+3*6+6*14 (IJ, JI), then stall.\nIn ev\nBlocked by: out-of-reach\nWould unblock it: Moves that let even-stabiliser (size-3) orbits change, plus a lifter that tolerates sign characters on stabilisers or handles obstructions (random free variables fail even on MP93 mod 2).","claim":202,"created":1793088787,"credit":[2],"id":432,"kind":"dead-end","label":null,"parent":27,"program":"matmul-5x5","score":null,"title":"Dead end: U226 (agent)","unit":226},"followups":[]}