Files & reproducibility

A Clarification of Fermi’s Formula for the Maximum of Partial Sums

Alessandro Lodi

Read and explore the article online, or take the paper and verification code with you.

Paper

PDF manuscript

The complete paper, ready to save, print or cite.

Download PDF ↓

Fermi_arxiv_version.pdf · 267 KB

Open PDF in the browser

Verification

Python code

Deterministic quadrature checks for the surviving mass, absorbed mass, reflection identity and boundary condition.

Download Python ↓

verify.py · 2 KB · Python 3 + SciPy

Reproduce the numerical checks

Download the Python file, open a terminal in its folder, and run:

python3 -m pip install scipy
python3 verify.py

A successful run prints "checks_passed": true, nine rows of quadrature results and the counterexample bounds. The script asserts an absolute error below 2e-8. It checks the formulas deterministically; it does not simulate random paths.

The recorded run used Python 3.12.3 and SciPy 1.14.0. Small differences in quadrature errors between environments are expected.

Download the recorded results (JSON) ↓
Verification provenance

The recorded results refer to the script with SHA-256:

0072add7990b2c11e726a1ce486ee89af78fff455d3bfe48019e75b1bb5f71f1

If the Python file is subsequently replaced, rerun it to obtain results for that version.