PHI Volume X — public source reproduction

Requirements: Python 3, pdflatex/TeX Live with Latin Modern, AMS and the
layout packages named in tex/preamble.tex, qpdf, and PyMuPDF. requirements.txt
records the Python versions used. NumPy and Matplotlib are needed only to
regenerate the supplied figures; fonttools and Pillow support the independent
figure audit and its contact sheet. Third-party programs and font files are not bundled.
TOOLCHAIN.json records the actual packaging environment.

From the extracted archive root:
  python3 verify.py
  python3 code/rebuild.py

The helper selects this archive's intended edition. It runs three pdflatex
passes, rejects unresolved references and overfull boxes, creates a dark
presentation, runs qpdf, checks page bounds, and compares extracted theme
text. Its executed commands and results are written to build/production_checks.json.
It makes no network requests and runs no proof assistant or CAS.

To also embed the exact original downloaded source ZIP in the rebuilt PDFs:
  python3 code/rebuild.py --source-archive /path/to/PHI_X_Public_Sources_and_Checks.zip

The archive is verified and its edition must match the selected PDF edition.
Without this option the rebuilt PDFs have no attachments; the report says so.
The internal source package also supports --edition all to typeset both
entry points without attachments. Public and internal source archives must
never be interchanged as PDF attachments.

Optional figure regeneration:
  python3 code/figures.py

Optional independent production audit and statement-register reproduction:
  python3 code/check_figures.py
  python3 code/record_statements.py

The figure audit creates new review renderings; visual inspection is a
separate step and is not automatically repeated by its numerical checks.

Regeneration changes immutable input bytes and can invalidate source hashes;
retain the original ZIP and repeat production/visual review for new outputs.
Figure plots are sampled illustrations of stated formulas, not experiments
or certificates of continuous-domain claims. Inspect the final reading size
in both themes after any source, font, toolchain or figure change.
