# Check it yourself: fifteen periodic three-body orbits, and sixteen more

This guide gives a written check for each claim in the book: the file format, the condition to test, the answer you should get, and a standard public tool or a few lines of code you can write yourself. Existence, the Morse indices and the other stability verdicts rest on CAPD-based computations whose full files are too large to ship; their results are stated here and are not recomputed by these checks. The Morse acceptance files are withheld for another reason, in the certificate summary's words: The acceptance files carry internal file locations, so they are not shipped; they are available on request, and their fingerprints are given here so that a copy can be matched exactly. This project's own programs are withheld for a different reason, in the check guide's words: How I direct this work, and my own tools, are not part of this book. It uses no program of ours; Python's fractions module and a SHA-256 tool are enough. Each recipe also comes as a [step-by-step page](https://gocheckyourself.org/data/recipes/three-body-REPLICATE.md) with commands for Windows, macOS and Linux and the exact output to expect.

### What's in this book

Counts are computed from the book's orbit statement file, its file lists and its Lean file; none is estimated.

| Status | Count |
| --- | --- |
| Proved and checked in Lean | 1 file (Sonny, 2026), 7 theorems in 12 declarations, the 7 theorems depending on no axioms: the conditional KAM implication and exact endpoint arithmetic for moth I; no orbit result is Lean-proved |
| Written proofs | 0 |
| Computed or certified (computer-assisted) | existence for 29 distinct orbits (13 from the 2013 table with 15 rows, 10 from published lists, 6 figure-eight-power orbits), plus the figure-eight as a known case; Morse index certified for 13 orbits (15 rows); linear stability for 20 orbits (9 stable, 11 unstable) ; for the Morse indices, in the certificate summary's words: No separately written end-to-end checker from the orbit to the saved matrix exists.|
| Conditional | KAM for moth I, on four premises |
| Open | Morse index and KAM for the sixteen newer orbits; formal identity of the six figure-eight-power orbits with catalogue entries; a search of the rigorous-numerics literature for prior certificates |

| Item | Count |
| --- | --- |
| Linear stability NOT SHOWN | 3 (Hristov lists #29, #67, #87) |
| Linear stability NOT SHOWN, multipliers COMPUTED, not certified | 6 (the figure-eight-power orbits) |
| Partial second computation of the 2013 rows | 9 of 15 rows (8 orbits) certified, 8 linear verdicts agree, none opposes, 6 rows NOT SHOWN |
| Chapters | 4 |
| Certificate files | 186 (including the fingerprint list, the Morse-index acceptance summary and the list of renamed or edited certificate files) |
| Written check recipes | 11, including the fingerprint check |
| Lean files | 1 |
| Files in this folder | 236 |

## What is claimed

The question these claims answer: for each row of the 2013 table of periodic orbits of three equal masses, is the orbit really there, how does it bend, is it linearly stable, and, for moth I, do invariant tori surround it?

The fifteen rows of Table I in Šuvakov and Dmitrašinović (2013) describe thirteen distinct periodic orbits of three equal masses (rows II.C.3a and II.C.3b are one orbit at two scales; so are II.C.2a and II.C.2b). For each row:

| Claim | Result | Status |
| --- | --- | --- |
| Existence: a true periodic orbit lies in a small exact box near the reported start, free of collisions, with the stated minimal period and the 2013 shape word | 15 of 15 | Certified (computer-assisted) |
| Morse index (fixed period, centre of mass fixed, counted in two symmetry sectors, plus and minus) | 15 of 15 certified | Certified (computer-assisted) for all 15 rows; for butterfly IV one block needed an extra exact step (see Morse-index evidence) |
| Linear stability (planar, fixed energy, zero angular momentum, modulo time shift and rotation) | 15 of 15: 7 stable, 8 unstable | Certified (computer-assisted) |
| KAM stability of moth I: invariant two-tori accumulate at the orbit | moth I only | Accepted, conditional on four premises (below) |

The per-row values are in the statement files. The figure-eight is earlier published work and is not a claim here: its existence was proved by Chenciner and Montgomery (2000), after Moore's numerical discovery (1993); its rigorous linear stability is by Kapela and Simó (2007), and its KAM stability by Kapela and Simó (2017). It is run through the same tests as a known case.

Sixteen more orbits (chapter 4). These are orbits that other people had found by numerical search and listed; what is claimed is our own certificate for each.

| Claim | Result | Status |
| --- | --- | --- |
| Existence of a periodic orbit in an exact box (about 2 × 10⁻²⁵ wide in each velocity for the ten orbits from published lists; about 2 × 10⁻²³ for the six figure-eight-power orbits), collision-free, with the stated least period and, for the ten, the published crossing word | 16 of 16 | Certified (computer-assisted) |
| Linear stability of the ten orbits from published lists | 7 of 10: 3 stable, 4 unstable; 3 NOT SHOWN | Certified (computer-assisted) for the 7; NOT SHOWN for Hristov lists #29, #67, #87 |
| Linear stability of the six figure-eight-power orbits | NOT SHOWN; multipliers COMPUTED only (largest moduli about 4 to 87,000) | The computed numbers indicate instability; not certified; further research is recommended |
| Equal-phase choreography excluded at one third of the period (six figure-eight-power orbits) | 5 of 6; the repeat-10 orbit with period 77.4246 is NOT SHOWN | Certified (computer-assisted) for the 5 |
| The 30 orbits (13 in the 2013 table, 10 and 6 here, and the figure-eight) are pairwise different | 30 distinct orbits in 32 boxes | Certified by disjoint exact intervals of the quantity T²|E|³ |
| Apparent match of the six with published catalogue rows | 6 of 6 | Computed, numerical; formal identity OPEN |
| Morse index, KAM | none for the sixteen | Not computed |

A second computation with different software (Arb in place of CAPD) was run on the same 15 rows, starting from the middle of each box. It certified an orbit inside the book's box for 9 of the 15 rows (8 distinct orbits, since II.C.2a and II.C.2b are one orbit), and its linear verdict agrees with the book's for 8 of them (for moth III the stability test did not finish). It found no opposing verdict. For the other 6 rows (butterfly II, bumblebee, butterfly IV, yarn, and yin-yang II at both scales) the test did not finish, which is NOT SHOWN and is not a disproof. This is a partial confirmation. The row table is in the second-computation file (see the file list in the last section).

Morse-index evidence. Two summary files are shipped. The acceptance summary covers all fifteen rows and the figure-eight. For each it gives the plus and minus values, the route of the computation in plain words, and the SHA-256 fingerprint and size of the acceptance file that the computation wrote. All fifteen rows were accepted by one of three interval routes (with one added exact step for butterfly IV): a comparison of the second variation with lower and upper operators followed by exact interval inertia (nine rows), a direct interval computation along the orbit (three rows), or a high-precision residual check of the saved interval form (the two yin-yang II rows and butterfly IV). For butterfly IV, one 2 x 2 block in the minus sector was too close to singular for the standard inertia test and was decided by an exact pivot-sign step (every pivot strictly signed, so the count holds for every symmetric matrix in the block); with it a different preconditioner was used for the interval elimination. Both changes run only where the standard test refused, both were reviewed line by line, and the computation was rerun in a pinned Linux setting with the original library builds, reproducing 121 = 60 + 61 and both residual bounds bit for bit. Two of the 147 orbit segments behind butterfly IV did not finish on the original machine within its time cap; they were computed locally with the same program, with only the time cap changed, and two separate local runs agree byte for byte. Later, the changed inertia code (with the exact pivot-sign step and the exact preconditioner seed) was run on the three known-answer controls, figure-eight (index 2), moth I (index 9) and yin-yang II 3a (index 53); all three matched, with the same residual bounds as the earlier runs of the unchanged code (control runs available on request). The extra exact step was not needed on any control block, so those runs show that the changed code still gives the known answers; they do not exercise the extra step itself. The minus sector of butterfly IV still rests on that one near-singular block. The acceptance files (about 40 MB in all) carry internal file locations and are available on request; their fingerprints are in the summary. The witness summary covers the finite arithmetic witnesses behind five of the indices: figure-eight (1 + 1), moth I (4 + 5), yin-yang II at both scales (26 + 27 each) and butterfly IV (60 + 61). For each sector it gives the residual bound (below 1 in every case) and the number of negative directions found by an exact elimination of the saved interval matrix. The full witnesses (about 405 MB for the small orbits, 34 GB for yin-yang II and 6.4 GB for butterfly IV) are not shipped for size and are available on request. Limits: every route shares one ODE code and one inertia code, so they are not independent of each other; no separately written end-to-end checker from the orbit to the saved matrix exists; and for moth I an additional direct interval check of the saved form did not finish (it is neither a confirmation nor a refutation).

## Status

- Existence and linear stability: certified (computer-assisted), 15 of 15.
- Morse index: certified (computer-assisted) for all 15 rows. For the Morse indices, in the certificate summary's words: No separately written end-to-end checker from the orbit to the saved matrix exists. For butterfly IV (121 = 60 + 61) one near-singular block in the minus sector was decided by an extra exact step; see Morse-index evidence above.
- Moth I KAM: accepted, conditional on four stated premises:
  1. the existence and collision-free certificates for moth I, which come from this book's own existence computation of the fifteen rows, are sound;
  2. the flow, derivative, interval-time and event computations of the CAPD/MPFR solver are sound;
  3. the build and the solver are correct (a second solver, using Arb through python-flint with no CAPD code, puts the twist determinant inside the stated interval);
  4. the classical local KAM theorem for analytic symplectic maps (admitted mathematics, in the form used by Kapela and Simó, 2017).
- Support for premise 2: a separate native test of the solver's restart path with interval times, run against exact rational reference values, passed. It supports premise 2 and does not remove it.
- No other row has a KAM result. The unstable rows cannot have one.
- The sixteen orbits of chapter 4: existence, collision exclusion and least period certified for all sixteen; linear stability certified for 7 of the ten orbits from published lists. The certificates are our own computation. The published lists pointed the way to these orbits; their data files are not redistributed here, they carry no stated licence, and rights in them remain with their authors. Anyone who wants to compare with the published rows should take the rows from the authors. The rounded published periods quoted in the ten-orbit file are locators for the list entries, not copies of the files.
- Lean. One short Lean 4 file (toolchain pinned beside it; no outside libraries) proves the conditional implication "if the seven stated hypotheses hold and a KAM criterion is supplied as an argument, then invariant tori follow", that the twist determinant alone does not supply the six other hypotheses, and some exact endpoint arithmetic on moth I's twist determinant (positive denominators, endpoint order, a negative upper endpoint, two outward bounds). Lean does not check the KAM theorem itself, the numbers (they are copied in as integers), the link between saved files and those integers, or the ODE enclosures.
- Reading status: this work has not yet been read by anyone outside this project.

## Commands

Everything below uses standard tools: a SHA-256 program, Lean, and a few lines of code in any language with exact rational arithmetic (Python's fractions module is enough). Run from the book folder.

```
sha256sum -c certificates/SHA256SUMS.txt          # Linux
shasum -a 256 -c certificates/SHA256SUMS.txt   # macOS
CertUtil -hashfile <file> SHA256                  # Windows, one file at a time
cd lean
lake build                                        # needs the Lean version in lean/lean-toolchain, for example through elan
```

### Number formats used in the certificate files

- An exact fraction is written as a string such as "-12345/6789" or as an integer string. An interval is a pair [lo, hi] with lo ≤ hi.
- A dyadic number is a pair [m, e] of an integer string and an integer, meaning m × 2^e. A dyadic interval is a pair of dyadic numbers. In the moth I files a dyadic endpoint is written {"m": "...", "e": ...} with the same meaning.
- Interval arithmetic is exact: [a, b] + [c, d] = [a + c, b + d]; [a, b] − [c, d] = [a − d, b − c]; a product is the minimum and maximum of the four endpoint products. A strict claim such as "inside (−1, 1)" means the whole interval is inside.

### Check 1. The files are the ones we published

Compute the SHA-256 of every file listed in certificates/SHA256SUMS.txt (each line is a hash, a space, a star and a path relative to the book folder). Every value must match exactly. Expected: all listed files match.

### Check 2. Existence boxes and the 2013 table

Files: the existence boxes file (16 entries, the figure-eight and the 15 rows) and the orbit statement file (key "table_2013" holds the published vx, vy and T as decimal strings).

For each entry: "velocity_box_exact" has intervals vx and vy; "period_box_exact" and half_period_box_exact are intervals. Test that the period interval equals twice the half-period interval, that collision_free, minimal_period_checked and shape_word_matched are true, and that every interval is narrower than 10⁻²¹. For each table row, the midpoint of the vx box and of the vy box must be within one unit of the last printed digit of the published value. Also compute, with the exact interval arithmetic above, the quantity

  Q = T² · (5/2 − 3(vx² + vy²))³

(that is T²|E|³ for energy E = −5/2 + 3(vx² + vy²)). The two Q intervals for yin-yang II rows II.C.3a and II.C.3b must overlap, at about 14017.5797.

Expected: all 16 boxes well formed; velocities of all 15 rows agree with the 2013 table; the certified periods differ from the 2013 periods by between 1.467 × 10⁻⁴ and 2.0 × 10⁻³ (butterfly I −9.25 × 10⁻⁴, moth I +4.05 × 10⁻⁴, butterfly IV −9.46 × 10⁻⁴, yin-yang II rows −4.73 × 10⁻⁴ and +3.98 × 10⁻⁴).

### Check 3. Linear stability of yin-yang II, from the saved final matrices

Files: for each of the two scales, a "reversible" file and a "quotient" file. No differential equation is integrated.

Route 1. The reversible file holds cosine_matrix_exact, a 2 × 2 matrix of intervals. With t = c00 + c11 and d = c00·c11 − c01·c10 (interval arithmetic) test: t² − 4d > 0, 1 − t + d > 0, 1 + t + d > 0, and −2 < t < 2 on the whole interval. These say that the quadratic c² − tc + d has two real, distinct roots strictly inside (−1, 1). The stored cosine_eigenvalues_exact must be two disjoint intervals inside (−1, 1).

Route 2. The quotient file holds full_quotient_exact, a 4 × 4 matrix M of intervals. Let a = trace M, b = the sum over i < j of (M_ii·M_jj − M_ij·M_ji), and c = b − 2. Test: a² − 4c > 0, 4 − 2a + c > 0, 4 + 2a + c > 0, and −4 < a < 4. The stored pair_trace_parameters_exact, each halved, must each meet one of the stored cosine eigenvalue intervals.

Expected at both scales: both routes pass and agree; the two cosines are about −0.0322 and 1 − 2.30 × 10⁻⁹ (within 2.31 × 10⁻⁹ of 1, the figure used elsewhere in this book). That is, the orbit is linearly stable, though only barely.

### Check 4. Moth I: the finite KAM conditions

Files: four files in the final torsion folder (the one with eight section nodes): the node list, the determinant and eigenvalue file, the divisor file and the normal-form file. In these files each endpoint is {"m", "e"}.

- Nodes: the selected nodes are 0 to 7 and no fallback entry is present.
- Twist: the real part of complex_determinant is an interval entirely below zero. Expected: [−1230.08884821, −1230.08833806].
- No low-order resonance: the divisor file lists divisors, each with a component i (0 to 3), a multi-index alpha of four non-negative integers, and a complex divisor (real and imaginary intervals). Call a divisor structural if sum(alpha) = 3 and, for some j in {0, 1}, alpha_k = [k = i] + [k = j] + [k = j + 2] for k = 0 to 3 (zero-based positions). For every non-structural divisor the modulus must exceed 10⁻¹⁰, taking the smallest possible modulus over the box. Expected: 112 of 112 non-structural divisors separated from zero; 8 structural divisors, which are allowed to contain zero.
- Cubic normal form: for every component i and every alpha of total degree 2 or 3 that is not structural and is present in the normal-form file, the real and imaginary intervals of the coefficient must both be exactly [0, 0]. Expected: 112 of 112.
- Ellipticity: the four stored eigenvalues each have a real-part interval strictly inside (−1, 1).

Expected: all conditions hold. The eigenvalues of the return map are about 0.5410529 ± 0.8409886i and −0.9986992 ± 0.0509891i. An earlier set of the same type (one section node only, with broad derivative enclosures) is also in the folder as an earlier result. Its twist interval is [−2.0 × 10¹¹⁸, 2.0 × 10¹¹⁸] and contains zero, so it does not meet the conditions and is not used for any result.

The determinant and normal-form files of both sets carry a field named KAM_accepted with the value false. That is expected and is not a refusal: the programs that wrote these files check the finite conditions only and never apply the KAM theorem, so they never set that field to true. The conditional acceptance is the separate step of applying the theorem to the conditions checked here, under the four premises in the Status section.

### Check 5. Ten orbits from published lists

File: the ten-orbit file, with ten orbits. Each has box (intervals vx, vy, T as exact fractions), "collision_distance_lower", and gates.

- Each box is narrower than 10⁻²⁴ in every coordinate, the quantity Q computed as in Check 2 is defined (energy negative), and "collision_distance_lower" is positive.
- The stored gates are all true: strict_krawczyk_inclusion, minimal_period_excluded and shape_word_matches_published; contraction_norm_upper_approx < 1; max_K_over_R_approx < 1; collision_clearance_lower_approx > 0.
- Linear verdict, for the seven orbits that have a derivative-factor file. The factors file holds 64 matrices of size 8 × 8 (51 for Li–Liao I.A_3; dyadic intervals), the factors of the flow from section to section. Form the monodromy A as follows. If the file has "basis" (one point matrix p_i for each factor), set P = I and B = I and for each factor f_i in order compute H = I + p_i⁻¹ (f_i P − p_i) (exact inverse, interval arithmetic), set B = H B and P = p_i, and finally A = P B. If there is no basis, A = f_n ⋯ f_2 f_1, where n is the number of factors. Then let K be the 4 × 4 matrix with rows (2,0,1,0), (0,2,0,1), (1,0,2,0), (0,1,0,2), O the 8 × 8 block matrix [[0, K], [−K, 0]], and Oi the block matrix [[0, −K⁻¹], [K⁻¹, 0]]. Let S be the 8 × 8 matrix with S[i][(i+2) mod 4] = −1 and S[i+4][4+(i+2) mod 4] = +1 for i = 0 to 3. Set M = S · (Oi · Aᵀ · O) · S · A, a = trace(M) − 4, b = ½(a² − trace(M²) + 4), and Δ = a² − 4(b − 2). If Δ > 0 the two cosine roots are (a ± √Δ)/4. The orbit is stable if the roots are disjoint and both strictly inside (−1, 1); unstable if one lies entirely outside [−1, 1]. Rounding every product outward to a grid of 2⁻³⁸⁴ keeps the arithmetic rigorous.

Expected: 3 stable (Hristov lists #5, #9, #10), 4 unstable (the four Li–Liao orbits), 3 NOT SHOWN (Hristov lists #29, #67, #87, which have no factors file). The cosine roots are about: Hristov #5 0.999964 and 0.477474; Li–Liao I.B_7 1.380195 and −0.263404; Li–Liao I.A_3 42.448493 and 0.080117; Hristov #9 −0.185911 and −0.248670; Li–Liao II.C_2 29.6485 and −99.8885; Hristov #10 0.983494 and 0.408735; Li–Liao II.C_61 472.8949 and 9.734249.

### Check 6. The strict Krawczyk inclusion, for two orbits

Folders: one for the Li–Liao I.A_3 orbit (dimension 403) and one for the orbit that follows the figure-eight word 11 times (dimension 507). Each holds a certificate file (dimension n, a radius R, the residual F as n intervals, the derivative enclosure DG as a list of [row, column, interval] entries, and a list of gzip-compressed preconditioner blocks with their SHA-256 hashes and sizes) and the blocks themselves (JSON with "start" and "rows"; rows are lists of dyadic numbers).

Verify each block's size and SHA-256, assemble the n × n matrix C, then in exact arithmetic compute, for each row i, the value |(C·F)_i| / R + Σ_j |I − C·DG|_ij (the largest absolute value over the interval entries of each term), and the infinity norm of I − C·DG. Strict inclusion holds if the largest row value is below 1 and the norm is below 1. That gives exactly one zero of the shooting equations in the box. The check takes F and DG as given; whether they enclose the differential equation is outside its scope.

Expected: strict inclusion true. For dimension 403 the contraction norm is about 1.28 × 10⁻¹⁸; for dimension 507 about 2.02 × 10⁻¹⁵.

### Check 7. Six figure-eight-power orbits

Each orbit folder holds an orbit file (dyadic intervals vx, vy, T, E, Q, "clearance_lower"; a syzygy string; figure_eight_word_power k; "least_period") and a one-third-period file.

- The box is narrower than 10⁻²² in vx, vy and T. The Q interval computed from the box as in Check 2 lies inside the stored Q interval, and the stored E contains −5/2 + 3(vx² + vy²). "clearance_lower" is positive and "least_period" is true.
- The syzygy string is "312" repeated 2k times (length 6k), with k the repeat count.
- Q is disjoint from k² times the Q of the figure-eight, so the orbit is not the figure-eight run k times.
- The one-third-period file gives flow_endpoint (eight dyadic intervals: x and y of bodies 1 and 2, then their velocities; body 3 follows from the centre of mass), the initial velocity intervals, and two flags that must be true (strict_taylor_interior, full_terminal_interval_covered). Build the state of all three bodies at T/3 and compare it, component by component with interval subtraction, with the start state after each of the two cyclic relabellings of the bodies (1→2→0 and 2→0→1; the start state has positions (−1,0), (1,0), (0,0) and velocities (vx,vy), (vx,vy), (−2vx,−2vy)). If, for both relabellings, at least one of the 12 differences excludes zero, an equal-phase choreography is excluded.

Expected: all six boxes pass; the equal-phase choreography is excluded for 5 of 6 and not decided (NOT SHOWN) for the orbit that repeats the figure-eight word 10 times with period 77.4246. The repeat counts and periods are: 17 (116.2207), 18 (85.4935), 11 (55.9137), 10 (77.4246), 9 (74.7343), 10 (72.9163).

### Check 8. The 30 orbits are pairwise different

Compute Q for all 32 boxes: the 16 existence boxes, the 10 boxes of the ten-orbit file and the 6 figure-eight-power boxes. Two orbits that are the same up to scale, rotation, time shift, relabelling or reversal have the same Q, so disjoint Q intervals show that the orbits differ. Expected: exactly two pairs of Q intervals overlap, namely rows II.C.2a and II.C.2b, and rows II.C.3a and II.C.3b, which are declared to be one orbit at two scales each. Hence 32 boxes are 30 distinct orbits.

### Check 9. Morse-index summaries

The witness summary file lists five orbits. For each, the two sector counts of negative directions must add up to the total index, must equal the plus and minus values in the orbit statement file, and every stored bound must be below 1. Expected: figure-eight 1 + 1, moth I 4 + 5, yin-yang II (both scales) 26 + 27, butterfly IV 60 + 61.

The acceptance summary file lists sixteen entries, the figure-eight and the fifteen rows. For each, plus and minus must add up to the total and must equal the values in the orbit statement file, and every SHA-256 must be 64 hexadecimal digits. Expected: 16 of 16 consistent and all 16 entries accepted.

Both checks test consistency only. They do not recheck a witness or an acceptance file.

### Check 10. The Lean file

Run lake build in the lean folder. Expected: the build completes, printing seven lines of the form below, one for each of the seven theorems (the file has 7 theorems in 12 declarations), each saying that it does not depend on any axioms.

```
info: KAMBinding.lean:41:0: 'MothKAM.applyCriterion' does not depend on any axioms
info: KAMBinding.lean:42:0: 'MothKAM.determinantAloneDoesNotFillTheGate' does not depend on any axioms
info: KAMBinding.lean:43:0: 'MothKAM.endpointDenominatorsPositive' does not depend on any axioms
info: KAMBinding.lean:44:0: 'MothKAM.endpointOrder' does not depend on any axioms
info: KAMBinding.lean:45:0: 'MothKAM.strictNegativeUpper' does not depend on any axioms
info: KAMBinding.lean:46:0: 'MothKAM.outwardLower' does not depend on any axioms
info: KAMBinding.lean:47:0: 'MothKAM.outwardUpper' does not depend on any axioms
Build completed successfully (3 jobs).
```

### Check 11. Three orbits at unequal masses

Folders: certificates/unequal-masses/masses-1-1-3-2, masses-1-1-31-16 and masses-1-1-97-80. Setup: masses 1, 1 and m3 (3/2, 31/16 or 97/80), G = 1, zero angular momentum; q1 = (−1, 0), q2 = (1, 0), q3 = (0, 0); v1 = v2 = (vx, vy), v3 = −(2/m3)(vx, vy). Each folder holds:

- certificate/krawczyk-bound.json and its preconditioner blocks: the strict Krawczyk inclusion for the multiple-shooting equations, in the format of Check 6 (dimension n, radius R, residual F, derivative enclosure DG, block list with SHA-256 and sizes).
- shooting-nodes.json: the centre of the certified box: vx, vy, the half-period tau and the shooting nodes (time t; state q1x, q1y, q2x, q2y, v1x, v1y, v2x, v2y). Every coordinate of the box is this centre plus or minus R.
- stability.json: the saved interval enclosures of the half-period map A, the reversor R, the form Omega and the full-period matrix M = R Omega⁻¹ Aᵀ Omega R A (8 × 8, dyadic intervals).
- orbit.json: the setup, the box centre and radius, the stored lower bound on the closest approach of two bodies (clearance_lower) and the syzygy word.

Tests:

1. Fingerprints: every file matches certificates/SHA256SUMS.txt (as in Check 1).
2. Existence: run Check 6 on certificate/krawczyk-bound.json. Strict inclusion must hold. As in Check 6, F and DG are taken as given.
3. Period: the least period lies in 2(tau − R, tau + R), computed exactly from shooting-nodes.json and the certificate's R.
4. Linear stability, from M in stability.json (no differential equation is integrated): with exact interval arithmetic let S = trace M − 4 and D = 2 trace(M²) − S². The four multipliers other than the four neutral ones (energy and rotation) form the reciprocal pairs with sums u = (S ± √D)/2. Both pairs lie on the unit circle (stable) if D > 0 and both u lie strictly inside (−2, 2). Some multiplier has modulus above 1 (unstable) if trace M < −8, because a real 8 × 8 matrix whose multipliers all have modulus at most 1 has |trace| ≤ 8.
5. clearance_lower is positive (taken as stored, as in Check 5).

Expected:

| Orbit | n | Contraction norm (about) | Period | trace M (about) | u (about) | Verdict |
| --- | --- | --- | --- | --- | --- | --- |
| masses 1, 1, 3/2 | 451 | 2.857 × 10⁻¹² | 9.23912381674221315289… | −420.88593420278 | −427.01598, 2.13005 | unstable (trace below −8) |
| masses 1, 1, 31/16 | 379 | 8.680 × 10⁻¹⁵ | 12.62047003909235321770… | 0.9123448 | −1.67780, −1.40985 | stable |
| masses 1, 1, 97/80 | 307 | 2.348 × 10⁻¹⁶ | 13.42106982267256288734… | 5.5242743 | 0.130025, 1.394249 | stable |

The period intervals are 2 × 10⁻²⁵ wide. The stored closest-approach lower bounds are 0.0076462 (3/2), 0.0402700 (31/16) and 0.0777375 (97/80). For the 3/2 orbit the multiplier with u near −427.016 is about −427.01364, the growth factor of Theorem 44.

Other checks of these orbits (not part of this recipe):

- An independent ordinary numerical integration of the full equations (all three bodies explicit), written separately, from the box centre: a Taylor series method at 40 significant digits returns to the start after one certified period to within 7.3 × 10⁻³⁷ (3/2) and 2.4 × 10⁻³⁸ (97/80); an explicit Runge–Kutta 8(5,3) method at tolerances 10⁻¹³ and 10⁻¹⁴ finds the return times 9.2391238167331, 12.620470039089 and 13.421069822669 (within 1.1 × 10⁻¹¹ of the certified periods) and closest approaches 0.0076990, 0.0408045 and 0.0792388, each above the certified lower bound. These are COMPUTED.
- A second interval check of the instability of the 3/2 orbit, written separately: its own validated Taylor integration of the flow and its derivative at 100 bits (outward-rounded arithmetic on mpmath's binary floats, in place of Arb at 384 bits), over the 57 segments of the certified box, then an exact-fraction product of the 57 segment derivatives with a rigorous error bound. It gives trace M in [−420.88611, −420.88576], below −8, so a multiplier has modulus above 1; this interval contains the value above. Proved (computer-assisted).

Time and memory: tests 2 to 5 take about two to four minutes per orbit in plain Python with exact fractions, under 100 MB.

## Expected output

In short, using the sections above: the fingerprints all match (Check 1); 16 boxes are well formed and 15 rows agree with the 2013 table (Check 2); yin-yang II is stable at both scales (Check 3); the finite KAM conditions hold for moth I with twist determinant in [−1230.08884821, −1230.08833806] (Check 4); the ten-orbit file gives 3 stable, 4 unstable and 3 NOT SHOWN (Check 5); the two Krawczyk inclusions are strict (Check 6); the six figure-eight-power boxes pass and 5 of 6 exclude the equal-phase choreography (Check 7); 30 pairwise distinct orbits in 32 boxes (Check 8); both Morse summaries are consistent (Check 9); the Lean build prints seven lines "does not depend on any axioms" (Check 10); the three unequal-mass orbits pass, with verdicts unstable (3/2), stable (31/16) and stable (97/80) (Check 11).

## Time and memory

With exact fractions in a compiled or interpreted language, every check above except the linear verdicts of the ten-orbit file takes seconds and under 100 MB. The linear verdicts of the ten-orbit file (Check 5) multiply 8 × 8 matrices of very long numbers and take about half a minute with under 500 MB in Python. The two Krawczyk checks take a few seconds each. The Lean build takes a few seconds.

## What is not claimed

- These are periodic orbits, not choreographies. Only the specific orbits at the reported starts are covered, not whole families.
- No KAM result for any orbit except moth I, and that one is conditional on the four premises. The KAM conclusion is that invariant tori accumulate at the orbit; no size of torus and no stronger confinement is claimed.
- The checks above recheck the final exact arithmetic (stability of yin-yang II, the finite KAM conditions for moth I, the table comparison, the distinctness of the orbits). Existence, the Morse indices and the other stability verdicts rest on CAPD-based computations whose full files are too large to ship; their results are stated here and are not recomputed by these checks. The Morse acceptance files are withheld for another reason, in the certificate summary's words: The acceptance files carry internal file locations, so they are not shipped; they are available on request, and their fingerprints are given here so that a copy can be matched exactly. This project's own programs are withheld for a different reason, in the check guide's words: How I direct this work, and my own tools, are not part of this book.
- Every row shares one CAPD-based ODE code, so an error in that code would touch every row. The second solver covers moth I's KAM inputs, and the second computation covers 9 of the 15 rows.
- Morse indices depend on the function space. These are fixed-period indices in two symmetry sectors and cannot be compared directly with indices in other spaces (for example the choreography space used for the figure-eight by Fukuda, Fujiwara and Ozaki).
- Two stable orbits are only barely stable: a reduced cosine within 2.31 × 10⁻⁹ of 1 (yin-yang II) and within 3.8 × 10⁻²³ of 1 (butterfly IV). The verdicts hold at the computed widths.
- For the sixteen orbits of chapter 4: no Morse index and no KAM statement. The end-to-end checker certifies all sixteen inside the book's boxes. The checks recheck the boxes, the exact invariants, the distinctness, the seven linear verdicts from saved derivative factors and, for two orbits, the strict Krawczyk inclusion; they take the flow enclosures, and for the other fourteen orbits the existence gates (Krawczyk inclusion, least period, crossing word), as stored. The large matrices of the existence test (12 to 73 MB per orbit, about 436 MB for the sixteen) are shipped for two orbits only, as worked examples (Li–Liao I.A_3 and the orbit that repeats the figure-eight word 11 times); for the other fourteen they are available on request.
- The six figure-eight-power orbits are apparently the same as entries in published catalogues. That is a numerical match to the digits printed there, not a proof of identity, and we did not obtain the earliest publication date of each entry. We did not search the interval-arithmetic literature for earlier certificates of the sixteen; the catalogues and papers we compared are numerical.
- The second computation is partial (9 of 15 rows). Its conversion of the free-group word to a crossing word has not been reviewed, so its shape-word step is not claimed.
- Lean covers only the conditional implication and exact endpoint arithmetic described above. It does not cover any orbit result. The Lean file was checked by a build and its axiom report; no second kernel was run on it.
- The only claim is that the certificates support the stated values. Anyone can recheck the parts shipped here.

How I direct this work, and my own tools, are not part of this book. The files listed above ship; the files named there as not shipped are available on request. In this book the Lean part is one short file: it proves the conditional KAM implication and exact endpoint arithmetic for moth I, and no orbit result.

Supporting records are available on request.

## Where to go next

- Which of the four premises behind the moth I result is the hardest to examine, and what would it take to remove it? The question is taken up in [Moth I](chapters/03-moth-i.md).
- How are the sixteen further orbits different from the fifteen rows, and what is still missing for them? See [Sixteen more orbits](chapters/04-sixteen-more-orbits.md).
