Check an orbit yourself: the exact part of the three-body check, for any language with exact fractions Web page: https://gocheckyourself.org/tools/orbit-check.html (it runs the same steps in your browser). This guide lets a person or a program redo the check without that page. It is Check 11 of the three-body check guide (Check 6 for the control), written out with the numbers a correct run must reproduce. Numbers. Every number in the certificate files is a pair [m, e] meaning m * 2^e, with m a whole number written as text. An interval is [[m, e], [m, e]]. Use exact arithmetic throughout. The expected values below are written as 'm*2^e' with m odd (or '0'): divide out factors of 2 before you compare. Files. Each orbit's files are listed, with sizes and fingerprints, in its JSON file: m31-16: https://gocheckyourself.org/data/files/three-body/checks/orbit-check-m31-16.json (9.5 MB of certificate files) m97-80: https://gocheckyourself.org/data/files/three-body/checks/orbit-check-m97-80.json (6.4 MB of certificate files) m3-2: https://gocheckyourself.org/data/files/three-body/checks/orbit-check-m3-2.json (13.2 MB of certificate files) fig8-11: https://gocheckyourself.org/data/files/three-body/checks/orbit-check-fig8-11.json (16.0 MB of certificate files) Steps for the three orbits at masses 1, 1, m3 (setup: G = 1, zero angular momentum, q1 = (-1, 0), q2 = (1, 0), q3 = (0, 0), v1 = v2 = (vx, vy), v3 = -(2/m3)(vx, vy)): 1. fingerprints. Compute the SHA-256 of orbit.json, shooting-nodes.json, stability.json and certificate/krawczyk-bound.json and compare each with its line in certificates/SHA256SUMS.txt (lines read ' *certificates/'). Pass if all four equal. 2. krawczyk. Read certificate/krawczyk-bound.json: dimension n, R = [m, e], F = n intervals [[m,e],[m,e]], DG = list of [row, column, interval], preconditioner = list of {path, sha256, bytes}. For each block check its byte count and SHA-256, gunzip it, parse JSON {start, rows} and place rows start.. as rows of the n x n matrix C (entries [m, e]). Every [m, e] means the exact number m * 2^e. For each row i in exact arithmetic: lo_i, hi_i = the ends of sum_j C_ij * F_j (use the lower end of F_j when C_ij >= 0 for lo, the upper end otherwise; the reverse for hi); a_i = max(|lo_i|, |hi_i|). For each column j: (C DG)_ij ends lo, hi likewise from the DG entries of column j (zero if none); with d = 1 if i = j else 0, add max(|d - hi|, |d - lo|) to b_i. t_i = a_i + R * b_i. Pass if max_i t_i < R and max_i b_i < 1; also n equals orbit.json krawczyk_dimension and R equals orbit.json box_radius exactly. Meaning: exactly one zero of the multiple-shooting equations lies in the box (F and DG taken as given). 3. period. tau = shooting-nodes.json tau; low = 2 (tau - R), high = 2 (tau + R); stated = 2 * orbit.json half_period_centre. Pass if low < stated < high; orbit.json vx_centre, vy_centre equal shooting-nodes.json vx, vy exactly. 4. stability. M = stability.json monodromy_symplectic_formula (8 x 8 intervals). With interval arithmetic (a product of intervals is [min, max] of the four end products): trace = sum M_ii; trace_of_square = sum_ij M_ij * M_ji; S = trace - 4; D = 2 * trace_of_square - S * S; margin_upper = (4 - S_hi)^2 - D_hi; margin_lower = (S_lo + 4)^2 - D_hi. Pass if the verdict is decided: linearly stable if D_lo > 0, 4 - S_hi > 0, margin_upper > 0, S_lo + 4 > 0 and margin_lower > 0 (both pair sums u = (S +/- sqrt D)/2 strictly inside (-2, 2)); linearly unstable if trace_hi < -8; otherwise not decided. Also: the mass string is the same in orbit.json masses[2], shooting-nodes.json mass and stability.json mass. 5. clearance. orbit.json clearance_lower (a decimal string). Pass if positive. Meaning: taken as stored: no recomputation. The control (an orbit from a published equal-mass list, which follows the figure-eight word 11 times) has no stability file. Steps: fingerprints: SHA-256 of orbit.json and krawczyk/krawczyk-bound.json against certificates/SHA256SUMS.txt. Pass if both equal. krawczyk: As for the unequal-mass orbits, on krawczyk/krawczyk-bound.json and its blocks. Pass if max_i t_i < R and max_i b_i < 1. period: orbit.json T = [low, high] (stored; taken as given for this orbit). Pass if low <= high. clearance: orbit.json clearance_lower = [m, e]. Pass if positive. Expected values, Orbit check: masses 1, 1, 31/16: 1. R = 2381705131771844658952024253687413258170012010700203819930387084675118819289982315155262834978860451629506630799413*2^-463 2. max_i a_i (residual_max) = 20777038231696760519526374533305946673006289673371837457760624847777986870940080525782729111349495427945426185978474823846583831413278070296422121156977390215997480421442166834573*2^-763 3. max_i b_i (contraction_norm) = 421098165248548905085405041277034278687484556775604309931324827055567281913034135547514453742573284764037937218387100843693410924167338075616083576981593619348600461193673478508075847310385538205176190708246928363365*2^-763 4. max_i t_i (row_max) = 1002931661152672035073725081038121154840784786474498537510409091735811888659933797202463082365436801002516060282536987454874316772776635694243419279746327315367525287790130132776130861170563670183528309968058895047073348701641215718291278181337285201911165482495502578966358084563606974235685577843096646621667599897503968704970729*2^-1226 5. period low = 150291191287395353173008675924049412158121324688976829465714194733021755680526136484024105083306324964203731921536308850506566392429890482123*2^-462 6. period high = 150291191287395353173008680687459675701810642593025336840540711073045777080933776344798274433543963544168362232061978808227469651443152080949*2^-462 7. trace low = 4207447436784866829*2^-62 8. trace high = 4207448218823972493*2^-62 9. D low = 6103247554507250642302226602439449501*2^-126 10. D high = 6112268294085069602573583293414280861*2^-126 Verdict: linearly stable. Period between 12.620470039092353217701598684982 and 12.620470039092353217701599084982 (30 places, cut toward zero). Expected values, Orbit check: masses 1, 1, 97/80: 1. R = 2381705131771844658952024253687413258170012010700203819930387084675118819289982315155262834978860451629506630799413*2^-463 2. max_i a_i (residual_max) = 5558406734191770296340149856387443040345129064911451268713409794337834693149566189931396020306456909526014737735017120665486359639383989755206812982067236268914234216273740357954283*2^-762 3. max_i b_i (contraction_norm) = 2847678507336104831729959616550822342510864949835380934574735353276869737797025968138884420232887876430671808314819258081697552072511728790773247981456139405959435777119054673615372892283484854876171446901531423171*2^-761 4. max_i t_i (row_max) = 6782330580751216682083576769927023046674680804971352066006466450945015437047353683849766022013901375292579969862759486951379250227306987684643574399717277953055832837416553567968570411985925820950049915242576127444415849627612493104001216227908923767749537971523160409873058483111140045684215148012873387223675540092896828079455*2^-1224 5. period low = 159825154352637421108781771391262376233825831156587110122048972791615434432753231390383179533122765430574863208218131889082974517338140815307*2^-462 6. period high = 159825154352637421108781776154672639777515149060635617496875489131639455833160871251157348883360404010539493518743801846803877776351402414133*2^-462 7. trace low = 101904873750991882475*2^-64 8. trace high = 101904874032484612683*2^-64 9. D low = 17403486447589466908616530179502030366073*2^-133 10. D high = 17403565651221820475483721391924599781753*2^-133 Verdict: linearly stable. Period between 13.421069822672562887342725949256 and 13.421069822672562887342726349256 (30 places, cut toward zero). Expected values, Orbit check: masses 1, 1, 3/2: 1. R = 2381705131771844658952024253687413258170012010700203819930387084675118819289982315155262834978860451629506630799413*2^-463 2. max_i a_i (residual_max) = 21767607704672857197499474143682613073736649244387278353706449598199054685257074073174674380086407104440978023388281463887124326438189339306382522951206128246821401265747908647805*2^-757 3. max_i b_i (contraction_norm) = 138631432926164510319200202191559896816789609576616809567334031520896589285878585324228891539348762142302723185012533866120631085808375008015108112306344915183526382697273280454043838124689679498880277580811522506604381*2^-763 4. max_i t_i (row_max) = 330179195225163469432189499872005815599329984612196999745697603794523705965159287021816888558153027682430788325612133424932589365916977672926560062009525817682154150737562751816495287448236929700540278969852856096676175925384980568429608731619208216943052132179298610648043102120352505712212682797573844977003611737715295114983747137*2^-1226 5. period low = 110024343037052005709438075714673256986367201008264383735337222261111909782146395637563768992924120182879158250737034967287529107876195839947*2^-462 6. period high = 110024343037052005709438080478083520530056518912312891110163738601135931182554035498337938343161758762843788561262704925008432366889457438773*2^-462 7. trace low = -533536307119769593348265830874357*2^-100 8. trace high = -533536307119769593345682026910197*2^-100 9. D low = 295943857473678009566514815183871472383217623580687086951521461193*2^-200 10. D high = 295943857473678009602723726282750141947213342877958214736565674441*2^-200 Verdict: linearly unstable. Period between 9.239123816742213152892055889607 and 9.239123816742213152892056289607 (30 places, cut toward zero). Expected values, Orbit check: control, masses 1, 1, 1, figure-eight word 11 times: 1. R = 29771314147148058236900303171092665727125150133752547749129838558438985241124778939440785437235755645368832884992663*2^-460 2. max_i a_i (residual_max) = 3839155607521802060705619895282621866334587192435843216383952672781887503643288023714852805396996477655745132849066466500214805267916471142561630361395004346373718213621838748209999397855*2^-766 3. max_i b_i (contraction_norm) = 1567779656495161730335391685932938791032411066411552839501239657625052721898541444217391470829449417846830931255454564680182954240768550418795106746064388389471598773816696447341154979824162164196501205947035022732697*2^-767 4. max_i t_i (row_max) = 46674883526366861814500664389759752248253719993614874919952407471817259149596503973345113407874332190039467358396232730182506415735754635078891219763545919804432955323947295011267461163634689425507658289229384701674365174827470659474094484248330478648748753224436071369167791433316913427896157856171856960719714902574679785727115071*2^-1227 5. period low = 83231258946833550175902537486753002941888243061563282270169397759839353694204082902545630871675576252323659122445231222339500595893931611497*2^-459 6. period high = 83231258946833550175902597029381297238004716862169624455500852010139621199299581162222747749646058501881538004016105693850791333559701596823*2^-459 Period between 55.913728588166260077883177886902 and 55.913728588166260077883217886902 (30 places, cut toward zero). What this checks: the files are the published files; the strict Krawczyk inclusion, so the multiple-shooting equations have exactly one solution in the box; the period interval; and, for the orbits at unequal masses, the stability verdict from the saved full-period matrix. What it takes as given: that the saved enclosures F, DG and M come from a correct validated integration of the equations of motion (that integration is not shipped), and the stored lower bound on the closest approach of two bodies. Linear stability means that small nudges do not grow in the straight-line approximation. It says nothing about very long times.