from research import *
names=['Adam','Seth','Enosh','Kenan','Mahalalel','Jared','Enoch','Methuselah','Lamech']
mt_b=[130,105,90,70,65,162,65,187,182];lx_b=[230,205,190,170,165,162,165,187,182]
mt_L=[930,912,905,910,895,962,365,969,777];lx_L=[930,912,905,910,895,962,365,969,753]
s=begin(485,'Local repartitions explain LXX mode divergence','Which Adam–Noah row operations generate regular and cumulative differences?',{'names':names,'MT_b':mt_b,'LXX_b':lx_b,'MT_L':mt_L,'LXX_L':lx_L},['File18 §2.1.3 rows1228–1237, §4.1 rows1697–1706'])
running=0;r=[]
for n,b,B,l,L in zip(names,mt_b,lx_b,mt_L,lx_L):
    running+=B-b;r.append({'row':n,'delta_b':B-b,'delta_remainder':(L-B)-(l-b),'delta_L':L-l,'running_regular_delta':running})
finish(s,{'rows':r,'Creation_to_Noah_MT':sum(mt_b),'Creation_to_Noah_LXX':sum(lx_b),'lifespan_delta':sum(lx_L)-sum(mt_L)},
 'Six +100 begetting moves each trade 100 from the remainder and conserve lifespan. Lamech is a separate −24 lifespan change with begetting182 fixed. One source row structure therefore produces two different chronological projections.',
 'Apply the same row accounting to SP, including its completed-year boundary.',{'six_repartitions':sum(x['delta_b']==100 for x in r)==6,'regular600':sum(lx_b)-sum(mt_b)==600,'cumulative_minus24':sum(lx_L)-sum(mt_L)==-24})
