{"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: gw.c\n// G = Z3-cyclic x <conj by involution P> symmetric GF(2) flip walker.\n// XYZ form: tensor sum X_ij Y_jk Z_ki. Active reps contribute S(t)=sum_{g in G} g(t)\n// (= orbit sum if stabiliser odd, 0 if even). Frozen terms (G-fixed e_cc^3) separate.\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <stdint.h>\n#include <time.h>\ntypedef uint32_t M;\nint n, NN; int NG=6; int PUP=0, INC=0; long nacc=0; int perm[8];\nM ptab[5][32];\nstatic uint64_t rs;\nstatic inline uint64_t rnd(){ rs^=rs<<13; rs^=rs>>7; rs^=rs<<17; return rs; }\nM pconj(M x){ M r=0; for(int c=0;c*5<NN;c++) r|=ptab[c][(x>>(5*c))&31]; return r; }\ntypedef struct { M f[3]; } T;\n#define MAXR 400\ntypedef struct { int R; T r[MAXR]; T img[MAXR][6]; int h[MAXR]; } S;\nint nfro; T fro[8];\nvoid images(T t, T *im){ // g = sigma^a pi^b, index a*2+b\n  T p; for(int k=0;k<3;k++) p.f[k]=pconj(t.f[k]);\n  if(NG==6){ for(int a=0;a<3;a++){ for(int k=0;k<3;k++){ im[a*2].f[k]=t.f[(k+a)%3]; im[a*2+1].f[k]=p.f[(k+a)%3]; } } } else { for(int a=0;a<3;a++) for(int k=0;k<3;k++) im[a].f[k]=t.f[(k+a)%3]; }\n}\nstatic inline int teq(T a,T b){return a.f[0]==b.f[0]&&a.f[1]==b.f[1]&&a.f[2]==b.f[2];}\nstatic inline int tlt(T a,T b){ for(int k=0;k<3;k++){ if(a.f[k]!=b.f[k]) return a.f[k]<b.f[k];} return 0; }\nvoid upd(S*s,int i){ images(s->r[i],s->img[i]); int h=0; for(int g=0;g<NG;g++) if(teq(s->img[i][g],s->r[i])) h++; s->h[i]=h; }\nT canon(S*s,int i){ T m=s->img[i][0]; for(int g=1;g<NG;g++) if(tlt(s->img[i][g],m)) m=s->img[i][g]; return m; }\nint osz(S*s,int i){ return (s->h[i]&1)? NG/s->h[i] : 0; }\nint rank(S*s){ int r=nfro; for(int i=0;i<s->R;i++) r+=osz(s,i); return r; }\nvoid del(S*s,int i){ s->R--; if(i!=s->R){ s->r[i]=s->r[s->R]; memcpy(s->img[i],s->img[s->R],sizeof(T)*6); s->h[i]=s->h[s->R]; } }\n// cleanup rep i: remove if zero factor or even stab; cancel with duplicate orbit. returns 1 if i removed (and something moved)\nvoid clean(S*s){\n  for(int i=0;i<s->R;i++){ T t=s->r[i]; if(!t.f[0]||!t.f[1]||!t.f[2]||!(s->h[i]&1)){ del(s,i); i=-1; continue; } }\n  // duplicates\n  again:\n  for(int i=0;i<s->R;i++){ T ci=canon(s,i); for(int j=i+1;j<s->R;j++){ T cj=canon(s,j); if(teq(ci,cj)){ del(s,j); del(s,i); goto again; } } }\n}\n// tensor check mod 2\nint verify(S*s){\n  static M tt[625*25]; int N2=NN; memset(tt,0,sizeof(M)*N2*N2);\n  #define ADD(X,Y,Z) for(int u=0;u<N2;u++) if((X>>u)&1) for(int v=0;v<N2;v++) if((Y>>v)&1) tt[u*N2+v]^=Z;\n  for(int i=0;i<s->R;i++){ for(int g=0;g<NG;g++){ T t=s->img[i][g]; ADD(t.f[0],t.f[1],t.f[2]); } }\n  for(int i=0;i<nfro;i++){ ADD(fro[i].f[0],fro[i].f[1],fro[i].f[2]); }\n  for(int i=0;i<n;i++)for(int j=0;j<n;j++)for(int k=0;k<n;k++) tt[(i*n+j)*N2+j*n+k]^=1u<<(k*n+i);\n  for(int u=0;u<N2*N2;u++) if(tt[u]) return 0; return 1;\n}\nvoid dump(S*s,const char*fn){ FILE*f=fopen(fn,\"w\"); // expanded distinct images, candidate format c=Z^T\n  for(int pass=0;pass<2;pass++){ int cnt=pass?nfro:s->R; for(int i=0;i<cnt;i++){\n    T im[6]; int ng; if(pass){im[0]=fro[i];ng=1;} else { ng=0; for(int g=0;g<NG;g++){ int d=0; for(int q=0;q<ng;q++) if(teq(im[q],s->img[i][g])) d=1; if(!d) im[ng++]=s->img[i][g]; } }\n    for(int q=0;q<ng;q++){ T t=im[q]; for(int k=0;k<3;k++){ for(int u=0;u<NN;u++){ int b; if(k<2) b=(t.f[k]>>u)&1; else { int i2=u/n,kk=u%n; b=(t.f[2]>>(kk*n+i2))&1; } fprintf(f,\"%d\",b);} fprintf(f,k<2?\" \":\"\\n\"); } }\n  }}\n  fclose(f);\n}\nvoid rotT(T*t,int s){ T u=*t; for(int k=0;k<3;k++) t->f[k]=u.f[(k+s)%3]; }\nint main(int argc,char**argv){\n  n=atoi(argv[1]); rs=atoll(argv[2])*2654435761ULL+1; double tlim=atof(argv[3]); long L=atol(argv[4]); const char*out=argv[5]; if(argc>6){PUP=atoi(argv[6]);INC=atoi(argv[7]);}\n  NN=n*n; for(int i=0;i<n;i++) perm[i]=n-1-i; // (15)(24) or (13)\n  for(int c=0;c*5<NN;c++) for(int v=0;v<32;v++){ M r=0; for(int b=0;b<5;b++) if((v>>b)&1){ int u=c*5+b; if(u>=NN) continue; int i=u/n,j=u%n; r|=1u<<(perm[i]*n+perm[j]); } ptab[c][v]=r; }\n  static S cur,best; cur.R=0; nfro=0;\n  // naive: all e_ij e_jk e_ki; choose canonical rep per orbit\n  int seen[125]={0};\n  for(int i=0;i<n;i++)for(int j=0;j<n;j++)for(int k=0;k<n;k++){ T t={{1u<<(i*n+j),1u<<(j*n+k),1u<<(k*n+i)}};\n    T im[6]; images(t,im); int h=0; for(int g=0;g<NG;g++) if(teq(im[g],t)) h++;\n    if(h==6){ fro[nfro++]=t; continue; }\n    // already covered?\n    int key=(i*n+j)*n+k; if(seen[key]) continue;\n    for(int g=0;g<NG;g++){ int a=__builtin_ctz(im[g].f[0]),b=__builtin_ctz(im[g].f[1]); int ii=a/n,jj=a%n,kk=b%n; seen[(ii*n+jj)*n+kk]=1; }\n    if(!(h&1)){ fprintf(stderr,\"even stab in naive\\n\"); return 1; }\n    cur.r[cur.R]=t; upd(&cur,cur.R); cur.R++; }\n  if(argc>8){ NG=atoi(argv[8]); cur.R=0; nfro=0; FILE*f=fopen(argv[9],\"r\"); char a[3][64];\n    while(fscanf(f,\"%s %s %s\",a[0],a[1],a[2])==3){ T t={{0,0,0}}; for(int u=0;u<NN;u++){ if(a[0][u]=='1') t.f[0]|=1u<<u; if(a[1][u]=='1') t.f[1]|=1u<<u; int i=u/n,k=u%n; if(a[2][u]=='1') t.f[2]|=1u<<(k*n+i); }\n      cur.r[cur.R]=t; upd(&cur,cur.R); if(cur.h[cur.R]==NG && !(NG&1)){ fro[nfro++]=t; continue; } T c=canon(&cur,cur.R); int dup=0; for(int q=0;q<cur.R;q++){ T cq=canon(&cur,q); if(teq(cq,c)) dup=1; } if(!dup) cur.R++; }\n    fclose(f); }\n  printf(\"naive rank %d reps %d frozen %d verify %d\\n\",rank(&cur),cur.R,nfro,verify(&cur));\n  best=cur; int br=rank(&cur); clock_t t0=clock(); long it=0, since=0; int plusc=0;\n  while(1){\n    it++; if((it&0xffff)==0){ double el=(double)(clock()-t0)/CLOCKS_PER_SEC; if(el>tlim) break; }\n    int r0=rank(&cur);\n    if(since>L){ // plus transition\n      since=0; plusc++;\n      if(plusc>40 || r0>br+18){ cur=best; plusc=0; continue; }\n      if(cur.R<2||cur.R>MAXR-3) { cur=best; continue; }\n      int i=rnd()%cur.R, j=rnd()%cur.R; if(i==j) continue; int g=rnd()%NG; int sl=rnd()%3;\n      T a=cur.r[i], b=cur.img[j][g]; rotT(&a,sl); rotT(&b,sl);\n      if(a.f[0]==b.f[0]) continue;\n      T n1={{a.f[0]^b.f[0],a.f[1],a.f[2]}}, n2={{b.f[0],a.f[1]^b.f[1],a.f[2]}}, n3={{b.f[0],b.f[1],a.f[2]^b.f[2]}};\n      rotT(&n1,(3-sl)%3); rotT(&n2,(3-sl)%3); rotT(&n3,(3-sl)%3);\n      cur.r[i]=n1; upd(&cur,i); cur.r[j]=n3; upd(&cur,j); cur.r[cur.R]=n2; upd(&cur,cur.R); cur.R++; clean(&cur);\n      continue;\n    }\n    since++;\n    int i=rnd()%cur.R; int sl=rnd()%3; M key=cur.r[i].f[sl];\n    int cj[6*MAXR], cg[6*MAXR], nc=0;\n    for(int j=0;j<cur.R;j++){ if(j==i) continue; for(int g=0;g<NG;g++) if(cur.img[j][g].f[sl]==key){ cj[nc]=j; cg[nc]=g; nc++; } }\n    if(!nc) continue;\n    int c=rnd()%nc; int j=cj[c], g=cg[c];\n    T a=cur.r[i], b=cur.img[j][g]; rotT(&a,sl); rotT(&b,sl); // shared f[0]\n    T na,nb;\n    if(rnd()&1){ na=(T){{a.f[0],a.f[1]^b.f[1],a.f[2]}}; nb=(T){{a.f[0],b.f[1],b.f[2]^a.f[2]}}; }\n    else { na=(T){{a.f[0],a.f[1],a.f[2]^b.f[2]}}; nb=(T){{a.f[0],b.f[1]^a.f[1],b.f[2]}}; }\n    rotT(&na,(3-sl)%3); rotT(&nb,(3-sl)%3);\n    T oi=cur.r[i], oj=cur.r[j];\n    cur.r[i]=na; upd(&cur,i); cur.r[j]=nb; upd(&cur,j);\n    int ch = !(na.f[0]&&na.f[1]&&na.f[2]&&nb.f[0]&&nb.f[1]&&nb.f[2]&&(cur.h[i]&1)&&(cur.h[j]&1));\n    if(!ch){ T ci=canon(&cur,i), cj2=canon(&cur,j); if(teq(ci,cj2)) ch=1; else for(int k=0;k<cur.R;k++){ if(k==i||k==j) continue; T ck=canon(&cur,k); if(teq(ck,ci)||teq(ck,cj2)){ch=1;break;} } }\n    if(ch){ S tmp=cur; clean(&tmp); int r1=rank(&tmp); if(r1>r0+(int)((rnd()%1000)<PUP?INC:0)){ cur.r[i]=oi; upd(&cur,i); cur.r[j]=oj; upd(&cur,j); continue; } cur=tmp; }\n    else { int r1=rank(&cur); if(r1>r0+(int)((rnd()%1000)<PUP?INC:0)){ cur.r[i]=oi; upd(&cur,i); cur.r[j]=oj; upd(&cur,j); continue; } }\n    int r1=rank(&cur); nacc++;\n    if(r1<r0) since=0;\n    if(r1<br){ int v=verify(&cur); if(!v){ printf(\"VERIFY FAIL\\n\"); return 1; }\n      br=r1; best=cur; plusc=0; int prof[7]={0}; for(int k=0;k<cur.R;k++) prof[osz(&cur,k)]++;\n      printf(\"t=%.1f it=%ld rank %d  n1=%d n2=%d n3=%d n6=%d frozen=%d\\n\",(double)(clock()-t0)/CLOCKS_PER_SEC,it,br,prof[1],prof[2],prof[3],prof[6],nfro); fflush(stdout); dump(&best,out); }\n  }\n  printf(\"final best %d it %ld acc %ld cur %d R %d\\n\",br,it,nacc,rank(&cur),cur.R); return 0;\n}\n\n// file: lift.c\n// Equivariant Hensel lift of a G-invariant GF(2) scheme dumped by gw (n=5).\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <stdint.h>\ntypedef uint64_t U;\n#define NN 25\nint perm[5]={4,3,2,1,0};\nint nt=0; int TV[800][3][NN]; // expanded terms: var index per entry (-1 => 0)\nint nv=0; int rep_line[400]; int nrep;\nstatic uint64_t rs=88172645463325252ULL; static inline U rnd(){ rs^=rs<<13; rs^=rs>>7; rs^=rs<<17; return rs; }\nint lines[800][3][NN]; int nl=0;\nvoid pconjI(int*in,int*out){ for(int u=0;u<NN;u++){ int i=u/5,j=u%5; out[perm[i]*5+perm[j]]=in[u]; } }\nint teqm(int a[3][NN],int b[3][NN]){ return memcmp(a,b,sizeof(int)*3*NN)==0; }\nvoid imgs(int t[3][NN], int im[6][3][NN]){ int p[3][NN]; for(int k=0;k<3;k++) pconjI(t[k],p[k]);\n  for(int a=0;a<3;a++) for(int k=0;k<3;k++){ memcpy(im[a*2][k],t[(k+a)%3],sizeof(int)*NN); memcpy(im[a*2+1][k],p[(k+a)%3],sizeof(int)*NN);} }\nU *v; int W;\nU Fv[NN*NN*NN];\nvoid evalF(U*val){ memset(Fv,0,sizeof(Fv));\n  for(int t=0;t<nt;t++){ U X[NN],Y[NN],Z[NN]; for(int u=0;u<NN;u++){ X[u]=TV[t][0][u]<0?0:val[TV[t][0][u]]; Y[u]=TV[t][1][u]<0?0:val[TV[t][1][u]]; Z[u]=TV[t][2][u]<0?0:val[TV[t][2][u]]; }\n    for(int a=0;a<NN;a++) if(X[a]) for(int b=0;b<NN;b++) if(Y[b]){ U xy=X[a]*Y[b]; U*f=Fv+(a*NN+b)*NN; for(int c=0;c<NN;c++) f[c]+=xy*Z[c]; } } }\nU Tt(int a,int b,int c){ int i=a/5,j=a%5,j2=b/5,k=b%5,k2=c/5,i2=c%5; return (j==j2&&k==k2&&i==i2); }\nint main(int argc,char**argv){\n  FILE*f=fopen(argv[1],\"r\"); rs^=atoll(argv[2])*0x9E3779B97F4A7C15ULL; int randfree=atoi(argv[3]); const char*out=argv[4];\n  char s[3][64];\n  while(fscanf(f,\"%s %s %s\",s[0],s[1],s[2])==3){ for(int u=0;u<NN;u++){ lines[nl][0][u]=s[0][u]-'0'; lines[nl][1][u]=s[1][u]-'0'; int i=u/5,k=u%5; lines[nl][2][k*5+i]=s[2][u]-'0'; } nl++; }\n  // group into reps\n  static int ivals[4000]; int l=0; nrep=0;\n  while(l<nl){ int im[6][3][NN]; imgs(lines[l],im); int d=0; int dist[6]; for(int g=0;g<6;g++){ int dup=0; for(int q=0;q<d;q++) if(teqm(im[dist[q]],im[g])) dup=1; if(!dup) dist[d++]=g; }\n    int base=nv; int vi[3][NN];\n    int sym = (d<6); // stab-3 (x,x,x) or frozen\n    for(int k=0;k<3;k++) for(int u=0;u<NN;u++){ if(sym && k>0) vi[k][u]=vi[0][u]; else { vi[k][u]=nv; ivals[nv]=lines[l][k][u]; nv++; } }\n    int vim[6][3][NN]; imgs(vi,vim);\n    for(int q=0;q<d;q++){ memcpy(TV[nt],vim[dist[q]],sizeof(int)*3*NN); nt++; }\n    l+=d; nrep++; (void)base; }\n  printf(\"lines %d reps %d terms %d vars %d\\n\",nl,nrep,nt,nv);\n  v=calloc(nv,sizeof(U)); for(int i=0;i<nv;i++) v[i]=ivals[i];\n  W=(nv+1+63)/64; int NE=NN*NN*NN;\n  U*Mx=malloc(sizeof(U)*W*NE);\n  for(int k=1;k<40;k++){\n    evalF(v); // residual\n    int ok=1; for(int a=0;a<NN;a++)for(int b=0;b<NN;b++)for(int c=0;c<NN;c++){ U r=Tt(a,b,c)-Fv[(a*NN+b)*NN+c]; if(r & ((1ULL<<k)-1)) {printf(\"bad residual at k=%d\\n\",k);return 1;} }\n    // exact check with symmetric rep\n    { U*w=malloc(sizeof(U)*nv); int64_t mod=1LL<<k; for(int i=0;i<nv;i++){ int64_t x=(int64_t)(v[i]&(mod-1)); if(x>mod/2) x-=mod; w[i]=(U)x; }\n      evalF(w); int good=1; for(int a=0;a<NN&&good;a++)for(int b=0;b<NN&&good;b++)for(int c=0;c<NN;c++) if(Fv[(a*NN+b)*NN+c]!=Tt(a,b,c)){good=0;break;}\n      if(good){ printf(\"EXACT at k=%d\\n\",k); int mx=0; FILE*o=fopen(out,\"w\"); fprintf(o,\"{\\\"terms\\\":[\");\n        for(int t=0;t<nt;t++){ fprintf(o,\"%s{\",t?\",\":\"\"); const char*nm[3]={\"a\",\"b\",\"c\"};\n          for(int q=0;q<3;q++){ fprintf(o,\"\\\"%s\\\":[\",nm[q]); for(int u=0;u<NN;u++){ int uu=u; if(q==2){ int i=u/5,kk=u%5; uu=kk*5+i; } int vi=TV[t][q][uu]; int64_t x=vi<0?0:(int64_t)w[vi]; if(llabs(x)>mx) mx=llabs(x); fprintf(o,\"%s%lld\",u?\",\":\"\",(long long)x);} fprintf(o,\"]%s\",q<2?\",\":\"\"); }\n          fprintf(o,\"}\"); }\n        fprintf(o,\"]}\\n\"); fclose(o); printf(\"maxabs %d\\n\",mx); return 0; }\n      free(w); evalF(v); }\n    if(k>=30) break;\n    // build system J d = r  mod 2, r = (T-F)/2^k\n    int K=k; memset(Mx,0,sizeof(U)*W*NE);\n    for(int a=0;a<NN;a++)for(int b=0;b<NN;b++)for(int c=0;c<NN;c++){ int e=(a*NN+b)*NN+c; U r=(Tt(a,b,c)-Fv[e])>>K; if(r&1) Mx[(size_t)e*W+nv/64]|=1ULL<<(nv%64); }\n    for(int t=0;t<nt;t++){ int *X=TV[t][0],*Y=TV[t][1],*Z=TV[t][2];\n      for(int a=0;a<NN;a++)for(int b=0;b<NN;b++)for(int c=0;c<NN;c++){\n        U xa=X[a]<0?0:v[X[a]]&1, yb=Y[b]<0?0:v[Y[b]]&1, zc=Z[c]<0?0:v[Z[c]]&1; size_t e=(size_t)((a*NN+b)*NN+c)*W;\n        if(X[a]>=0 && (yb&zc)) Mx[e+X[a]/64]^=1ULL<<(X[a]%64);\n        if(Y[b]>=0 && (xa&zc)) Mx[e+Y[b]/64]^=1ULL<<(Y[b]%64);\n        if(Z[c]>=0 && (xa&yb)) Mx[e+Z[c]/64]^=1ULL<<(Z[c]%64); } }\n    // gaussian elimination\n    int *pc=malloc(sizeof(int)*nv); int rk=0;\n    for(int col=0;col<nv;col++){ int p=-1; for(int r=rk;r<NE;r++) if((Mx[(size_t)r*W+col/64]>>(col%64))&1){p=r;break;}\n      if(p<0) continue; if(p!=rk) for(int w=0;w<W;w++){ U t=Mx[(size_t)p*W+w]; Mx[(size_t)p*W+w]=Mx[(size_t)rk*W+w]; Mx[(size_t)rk*W+w]=t; }\n      U*pr=Mx+(size_t)rk*W;\n      for(int r=0;r<NE;r++) if(r!=rk && ((Mx[(size_t)r*W+col/64]>>(col%64))&1)){ U*rr=Mx+(size_t)r*W; for(int w=col/64;w<W;w++) rr[w]^=pr[w]; }\n      pc[rk++]=col; }\n    for(int r=rk;r<NE;r++) if((Mx[(size_t)r*W+nv/64]>>(nv%64))&1){ printf(\"OBSTRUCTED at k=%d (rank %d/%d)\\n\",k,rk,nv); return 2; }\n    // solution: free vars random or 0\n    char*isp=calloc(nv,1); for(int i=0;i<rk;i++) isp[pc[i]]=1;\n    U*d=calloc(nv,sizeof(U)); for(int c=0;c<nv;c++) if(!isp[c]) d[c]= randfree? (rnd()%100<randfree):0;\n    for(int i=rk-1;i>=0;i--){ U*pr=Mx+(size_t)i*W; U s2=(pr[nv/64]>>(nv%64))&1; for(int c=pc[i]+1;c<nv;c++) if((pr[c/64]>>(c%64))&1) s2^=d[c]&1; d[pc[i]]=s2; }\n    if(k==1) printf(\"jacobian rank %d / %d\\n\",rk,nv);\n    for(int i=0;i<nv;i++) v[i]+=d[i]<<K;\n    // k=0: v already solves mod 2; step adds 2^0 correction -> must be zero residual; skip\n    free(pc); free(isp); free(d);\n  }\n  printf(\"no exact solution\\n\"); return 1;\n}\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":"9643721f121a28c61ec46b1902c07e7403ddcee9","config":null,"environment":"lemma/0.7.9 agent","logs":"","seeds":[]},"candidate":{"terms":[{"a":[-1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"b":[0,0,0,-1,1,0,0,0,-1,1,0,0,0,1,-1,0,0,0,0,0,0,1,1,1,0],"c":[0,0,-1,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]},{"a":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,-1],"b":[0,1,1,1,0,0,0,0,0,0,-1,1,0,0,0,1,-1,0,0,0,1,-1,0,0,0],"c":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,-1,0,0]},{"a":[0,0,0,-1,1,0,0,0,-1,1,0,0,0,1,-1,0,0,0,0,0,0,1,1,1,0],"b":[0,0,0,0,0,0,1,0,0,0,-1,0,0,0,0,1,0,0,0,0,0,0,0,0,0],"c":[-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0]},{"a":[0,1,1,1,0,0,0,0,0,0,-1,1,0,0,0,1,-1,0,0,0,1,-1,0,0,0],"b":[0,0,0,0,0,0,0,0,0,1,0,0,0,0,-1,0,0,0,1,0,0,0,0,0,0],"c":[0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1]},{"a":[0,0,0,0,0,0,1,0,0,0,-1,0,0,0,0,1,0,0,0,0,0,0,0,0,0],"b":[-1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"c":[0,0,0,0,0,0,0,0,0,1,0,0,0,0,1,-1,-1,1,0,1,1,1,-1,0,0]},{"a":[0,0,0,0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1,0]},{"a":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0],"b":[0,0,0,0,0,-1,0,0,0,0,1,0,0,0,0,0,0,1,1,0,0,0,0,0,0],"c":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0]},{"a":[0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"b":[0,0,0,0,0,0,1,1,0,0,0,0,0,0,1,0,0,0,0,-1,0,0,0,0,0],"c":[0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]},{"a":[0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0],"b":[0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0],"c":[0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0]}]},"flags":[],"id":110,"lab_check":false,"label":"no-improvement","measured":99.0,"reason":null,"score":99.0,"significance":[],"status":"verified","verdicts":[]},"entry":{"body":"N109 proved twisted Z3 actions are conjugate to the plain shift and asks for genuinely non-conjugate groups. The fixed terms of the MP 93 (x = e11+e55, e22+e44, e33) are exactly the diagonal elements invariant under conjugation by the involution P = (15)(24), which suggests the record sits near the subspace invariant under the order-6 group G = Z3-cyclic × ⟨conjugation by P⟩. G-invariant schemes are a strict subset of Z3-invariant ones, so a walk in the G-quotient is faster (orbits of size 6, 3, 2, 1) and explores a region the Z3 walks reach only rarely. The naive scheme is G-invariant. A G-symmetric GF(2) walk from naive reaches ≤100 and reports whether this smaller space is competitive (contains a 93-class scheme) or inherently worse, as the transpose Z2 was (N52).\nMethod: 1) Group: in XYZ form, σ(X,Y,Z) = (Y,Z,X) and π(X,Y,Z) = (PXP, PYP, PZP) with P the permutation matrix of (15)(24); σ and π commute, G = ⟨σ,π⟩ ≅ Z6. Verify both preserve the 5×5 tensor. Compute the G-orbit decomposition of naive (125 terms into orbits of sizes 1, 2, 3, 6) and of the MP 93 (expect only the 3 fixed terms to be π-invariant, per N83), and record the rank class arithmetic: rank = n1 + 2n2 + 3n3 + 6n6. 2) Walker: generalise the orbit walker (tw.c or the GF(2) symmetric walker from the companion proposal) to a general finite group given as a list of 6 linear maps on 25-bit masks: a scheme is a list of representatives with orbit sizes computed on the fly; flips between rep i and any image of rep j, mirrored over the orbit; merges, zero-factor removal, and orbit collapses (an orbit whose images coincide shrinks) handled by recomputing orbit sizes. Over GF(2) first (no coefficient bookkeeping); optionally over Z with |coef|≤2 as a control. 3) Calibration (5 min): the analogous Z3 × ⟨(13)⟩ group on <3,3,3> from naive should reach ≤25; report the number. 4) Run 3 walkers for 40 min from naive with Kauers–Moosbauer path-length restarts; log rank vs time and the orbit-size profile at each rank. 5) Equivariant Hensel-lift any GF(2) scheme ≤100 (unknowns = representatives), verify over Z, check_candidate; post the stall rank and the comparison with the plain-Z3 GF(2) walk from the companion proposal.\nThreshold: 100 (must reach). Result 99; checked by the coordinator (tier 1, exact).\nSubmitter notes (data): U120 POSITIVE at threshold: valid 99 (clears 100), produced by this walk from naive and invariant under G = Z3-cyclic x <conj by P=(15)(24)> (order 6). Not a record (93 known). Setup: XYZ form (Z=c^T); sigma(X,Y,Z)=(Y,Z,X), pi = simultaneous conjugation by P; both preserve tr(XYZ). Naive under G = 1 (e33^3, stabiliser 6) + 2x2 (e11^3/e55^3, e22^3/e44^3, stabiliser Z3) + 20x6. Rank = n1+2n2+3n3+6n6. MP93 is NOT pi-invariant: only its 3 fixed terms map into the scheme, so the record is outside this subspace. Walker gw.c (GF(2), 25-bit masks): reps with S-semantics (rep contributes sum_{g in G} g(t), which equals the orbit sum when the stabiliser is odd and 0 when it is even, so flips between rep i and any of the 6 images of rep j are exact automatically; reps whose stabiliser becomes even vanish, duplicate orbits cancel, zero factors drop); e33^3 frozen; KM plus-transitions, restarts from the walker's best; full tensor verified at every new best. Results: 99 = 1 + 2*1 + 6*16 reached in 3-125 s by 5 of 11 walkers; the others stalled at 105-117; nothing below 99 in about 11 walkers x 15-20 min (~1e9 flips each). Calibration on <3,3,3> with P=(13): stays at 27 = 1+2+4*6 (only 5 reps; the quotient is too small), so 23 is not reached there. Equivariant Hensel lift (unknowns = 16 free reps x 75 + 2 x 25 for x^3-type reps, 1250 vars, Jacobian rank ~1190-1196/1250), free variables 0: 4 of 6 distinct GF(2) 99s lift exactly at mod 4-8 (one with all entries in {0,±1}), 1 obstructed, 1 no solution found. Lifting is easy in this class; walking is the bottleneck. Z3-only GF(2) walkers seeded from the G-99 (3 fixed + 32 orbits, s=3) did not go below 99 in ~15 min. Comparison: plain-Z3 GF(2) walk from naive reached 104 in 10 min (U116, chat #79); this smaller G-quotient reaches 99 in under 2 min but stalls there; 93 would need n2=1, n6=15.\nBlocked by: out-of-reach\nWould unblock it: The G-walk stalls at 99. Use the lifted G-99s as seeds for the plain-Z3 GF(2) walk with longer runs, or give the frozen e33^3 and size-3 orbits (even stabiliser) a representation so they can move.","claim":110,"created":1792074005,"credit":[2],"id":254,"kind":"result","label":"no-improvement","parent":null,"program":"matmul-5x5","score":99.0,"title":"Cleared U120 threshold: multiplications 99","unit":120},"followups":[{"hypothesis":"Vary it: small perturbations of the C110 result (99) lead somewhere better","status":"dead-end","unit":162},{"hypothesis":"Scale it: a longer search seeded from C110 (99) improves further","status":"dead-end","unit":163},{"hypothesis":"Combine it: merging C110 (99) with other strong results beats it","status":"dead-end","unit":164}]}