Eight Papers That Run: Case Studies of Index-Checked Scientific Documents

We wrote eight scientific papers as documents that run: softmax regression on the iris data, magnetic field lines of tori by Biot–Savart and an eighth-order Runge–Kutta method, a free-boundary Grad–Shafranov equilibrium, light around a rotating black hole, the Ricci tensor of the Kerr metric, Boozer coordinates from field lines, the covariant divergence of the stress tensor as a check of the equilibrium, and a three-dimensional equilibrium by energy minimisation. Each document holds its data files and its method section in named-tensor notation; every one of its 279 display equations is index-checked by the C++ compiler, and the document is run as written. Because nothing of the method is outside the document, each paper is checked by checking its result: against the same algorithm written separately, an exact solution, or an exactly conserved quantity, with a deliberately wrong control where a check could pass for the wrong reason. All eight agree with their references, for example the Ricci tensor vanishes in vacuum to 6.4 × 10 − 9 while its four terms are each up to 5 × 10 − 2, and the stress divergence of the equilibrium cancels to 1.2% while a 50% error in the pressure leaves 10.7%. The cases also show what the index check misses: a position update placed in the wrong iteration passed it three times and was found only by a conserved quantity. This is one of three papers that split the preprint The Equation Is the Type, version 3 (10.5281/zenodo.24762562): The Equation Is the Type: Compile-Time Checking of Named-Tensor Equations Written in LaTeX (10.5281/zenodo.24786239), Documents as Programs (10.5281/zenodo.24786242) and Eight Papers That Run (10.5281/zenodo.24786244). Source, data and scripts: github.com/uyuutosa/tensor, tag paper-split-preprint; the manuscripts are in paper/split/.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-12-03
DOI
https://doi.org/10.5281/zenodo.24786243
Citations
2
Primary Topic
Mathematics, Computing, and Information Processing
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Eight Papers That Run: Case Studies of Index-Checked Scientific Documents

Yu Sato
2 citations
Zenodo (CERN European Organization for Nuclear Research)
Mathematics, Computing, and Information Processing
preprint

Eight Papers That Run: Case Studies of Index-Checked Scientific Documents

Yu Sato
preprint en
2 citations

Abstract

We wrote eight scientific papers as documents that run: softmax regression on the iris data, magnetic field lines of tori by Biot–Savart and an eighth-order Runge–Kutta method, a free-boundary Grad–Shafranov equilibrium, light around a rotating black hole, the Ricci tensor of the Kerr metric, Boozer coordinates from field lines, the covariant divergence of the stress tensor as a check of the equilibrium, and a three-dimensional equilibrium by energy minimisation. Each document holds its data files and its method section in named-tensor notation; every one of its 279 display equations is index-checked by the C++ compiler, and the document is run as written. Because nothing of the method is outside the document, each paper is checked by checking its result: against the same algorithm written separately, an exact solution, or an exactly conserved quantity, with a deliberately wrong control where a check could pass for the wrong reason. All eight agree with their references, for example the Ricci tensor vanishes in vacuum to 6.4 × 10 − 9 while its four terms are each up to 5 × 10 − 2, and the stress divergence of the equilibrium cancels to 1.2% while a 50% error in the pressure leaves 10.7%. The cases also show what the index check misses: a position update placed in the wrong iteration passed it three times and was found only by a conserved quantity. This is one of three papers that split the preprint The Equation Is the Type, version 3 (10.5281/zenodo.24762562): The Equation Is the Type: Compile-Time Checking of Named-Tensor Equations Written in LaTeX (10.5281/zenodo.24786239), Documents as Programs (10.5281/zenodo.24786242) and Eight Papers That Run (10.5281/zenodo.24786244). Source, data and scripts: github.com/uyuutosa/tensor, tag paper-split-preprint; the manuscripts are in paper/split/.

Zenodo (CERN European Organization for Nuclear Research)
Mathematics, Computing, and Information Processing
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon