Appendix S4 Machine-checked proofs of the static model
What is checked. The statements of Sections 3.1 to 3.5 of the main paper are formalized in Lean 4 (de Moura and Ullrich, 2021) with the Mathlib library (The mathlib Community, 2020), and their proofs are checked by Lean’s kernel: Assumptions 1 to 4, Definition 1 and the constants (3); Lemmas 1, 2, 3 and 4; Proposition 1 in discrete and continuous time; Corollaries 1 and 2; and parts (i), (ii), (iii) and (v) of Corollary 3. The formalization has 35 main theorems, named after the paper’s labels; none contains an unproved step, and each depends only on the three axioms standard in Lean’s mathematics (propositional extensionality, choice and quotient soundness). The feasible set, dominance and the frontier are defined as in Definition 1, and the frontier is derived from dominance, not defined as the graph of . The code is in the folder formal/ of the replication package, whose README maps every part of every statement to its Lean theorems and states each difference of form.
What is not checked. Part (iv) of Corollary 3, which rests on Lemma S2 and Proposition 4; the numerical examples inside the statements, which code/verify_theory.py checks numerically; and every result after Section 3.5 (the dynamic optimality of Proposition 2, the valuation, industry, entry and automation results, the accountability floor, the attainable frontier) and the lemmas and remarks of this supplement. These rest on the written proofs, the symbolic and numerical checks of verify_theory.py and the referees’ re-derivations.
Readings. Three informal phrases are given a precise reading. “To first order” in Corollaries 2 and 3 is read as a statement about the derivative of the maximal score along the direction of the change; the bracket (15) is proved exactly. In continuous time, the induced share path of Proposition 1(a) is the solution of the share equation in the sense of Carathéodory: an absolutely continuous path that satisfies the equation at almost every date, as it must when spend may jump. The formalization constructs that path from its logistic formula, proves that it has these properties for every measurable spend path with , and proves the bounds of Proposition 1(a) and (c) and Corollary 1(b) for every such solution, so their uniqueness, which is not formalized, is not needed. Limits as , and are one-sided, and the supremum of Lemma 3(c) is over . Several hypotheses are not needed: the sign of is never used, and is used only for the dominance results (Lemma 1(a) and (c), Lemma 2(a)); the formula for the maximal score holds for every real .
What the check changed. No statement in scope was found false. Two were imprecise and are corrected in the main paper: the cap condition of Lemma 2 referred to of (6), a power of a negative number when , and now sets when ; and the moving intercept of Proposition 1(c) must be a measurable path for the integral to be defined.
How it was produced and audited. An agent on claude-fable-5-1 wrote the formalization. An agent on claude-opus-5-5 that had not written it audited it twice against the paper’s statements. The first audit found that the continuous-time theorems, as first stated, assumed a share path differentiable at every date and so said nothing about spend paths with jumps; they were restated as above. The second audit confirmed the corrections and wrote instances that apply the main theorems at the paper’s illustrative values (, , , , , , ) and to a spend path with a jump, which show that their hypotheses can be met; the instances are part of the package (formal/Checks/). The construction of the induced share path and four further links between the comparative statics and the maximal score were added after the second audit, at its suggestion; the lead agent read their statements but they were not audited a third time. A machine check establishes that the proofs prove the Lean statements; that those statements say what the paper says rests on these audits and on the reader’s comparison, which the README is written to make easy.