Evidence

s609.py

Download source fileOpen in research workspace
from research import *
s=begin(609,'Generalize allocation endpoint equivalence','How large is the junction discrepancy between whole-Key and terminal-E routes?',{'examples':[[483,F(1,6),P],[12558,F(1,26),J]]},['C568–C571; algebraic path comparison'])
rows=[]
for S,f,k in [(F(483),F(1,6),P),(F(12558),F(1,26),J)]:
 a=(1-f)*S;b=f*S;rows.append({'S':S,'prefix':a,'suffix':b,'total':a+E*b,'whole_total':k*S,'junction_gap':(k-1)*a})
finish(s,{'comparisons':rows,'general_condition':'k=1+f(E−1)','junction_gap_formula':'(k−1)(1−f)S'},'For both source partitions the endpoint agreement follows from one gain-allocation law, while the interior discrepancy is fixed by(k−1)(1−f)S. Retaining the path reveals exactly what the total-span comparison forgets.','Test why the Rounded inverse module must preserve component boundaries.',{'endpoints':all(r['total']==r['whole_total'] for r in rows),'gaps':[r['junction_gap'] for r in rows]==[F(35,6),F(525,13)]})
Edition and provenance

s609.py

SHA-256 0edefd24b9e580191508b0ef372da647ca7292a54c6fb5742c5158e8cb5b44f1

C480–C1634/Research_Cycles/C0532_C0631/evidence/s609.py