Ancillary files for "Elliptic master integrals and the one-loop cosmological wavefunction"
(Amara McCune and Matthew D. Schwartz). Python 3 (>= 3.8) with mpmath; derive_line_basis.py also needs python-flint and sympy.

README.md maps every statement in the paper that refers to ancillary material to the file that carries it, and gives the command for each check.

Top level
  LICENSE, NOTICE            MIT license and attribution notice for the code
  MANIFEST.sha256            SHA-256 checksums of every file below; run `sha256sum -c MANIFEST.sha256` here
  README.md                  the map from statements in the paper to files, with run instructions
  numerical_checks.md        the numerical tests behind the accuracies stated in the paper
  box_details.md             supporting statements about the box (section 6, appendix B)
  numerator_A.txt            the quartic numerator of the triangle integrand (section 2)

Triangle: closed forms (section 4, appendix A)
  eval_closed_form_general.py            V(X;P=X) for any triangle of site energies (one leg per site)
  eval_closed_form_offslice.py           V(X;P) for X_v > P_v as leading singularities times dilogarithms
  eval_closed_form_offslice_compact.py   compact permutation-symmetric form of V(X;P), X_v >= P_v
  eval_closed_form_V_all.py              V(X;P) over the whole region of positive site energies, with the branch assignments of section 4.5
  li2_representation.json, compact_representation.json, vertex_blocks.json   data read by the evaluators
  closed_form_V_offslice.tex, closed_form_V_offslice_compact.tex, vertex_functions_blocks.tex   the same formulas in LaTeX (fragments)
  operator_L0/operator_L0.json           exact rational coefficients of the order-20 operator L_0 (section 4.3)
  operator_L0/check_operator_L0.py       applies L_0 to the closed form and reports the residual
  line_L0_solution_basis/                the 20 solutions of L_0 on the line in multiple polylogarithms, the 14-dimensional analytic subspace,
                                         the 14 constants, and the reduction to eq. (62) (appendix A.2, A.3); see its README.md

Box (section 6, appendix B)
  box_line/                  the exact differential systems for C4 (rank 28) and psi4 (rank 34) on the equilateral line, the boundary values
                             of u and v, the singular points, the large-X series, and a stand-alone evaluator with self-test
                             (sections 6.4, 6.5; appendix B.7-B.9); see its README.md
  box_D0/                    evaluators and formulas for the threshold discontinuity D_0 (section 6.2, appendix B.3): d0_eval.py with
                             d0_closed.py (non-planar, built-in configuration), d0_eval_v2.py (stand-alone, planar and non-planar)
  box_j_invariants.tex       the three j-invariants of the box curves (appendix B.4)
  SHA256SUMS.box_line_addition   checksums of the box_line/ files (run `sha256sum -c ../SHA256SUMS.box_line_addition` inside box_line/)
