Work

Re-certifying the Tempo Cadence Kernel of Viridis OS: A Lean Proof of its Six-Part Cost-Model Core

Year: 2026
Type: preprint
Abstract: Working paper, not peer reviewed. Nothing in this record is field-validated. Scope and novelty. Project P2 re-proves the formal cores of Viridis OS decision kernels so that anyone can re-check them with the current public Lean 4 toolchain. These are classical, elementary results, not new theorems: the first, Carbon Continuity, is the 2x2 case of the Collatz-Wielandt characterisation of the Perron root of a nonnegative matrix (A. Berman and R. J. Plemmons, Nonnegative Matrices in the Mathematical Sciences, SIAM 1994, doi:10.1137/1.9781611971262). Each result holds only inside its stated model. It says nothing about coefficient values for any site, whether deployed kernel code implements the rule faithfully, or any carbon-credit or treatment outcome. This note re-certifies the Tempo kernel of Viridis OS, which recommends a monitoring cadence (the interval between stewardship visits). The result certifies the mathematics the kernel applies and not any field input or stewardship outcome. Given a haste cost h > 0 and a neglect cost n > 0, the kernel assumes that the cost per unit time of visiting every t > 0 time units is Sigma(t) = h/t + n t. The cost model and its two coefficients are inputs that a user declares; nothing here shows that they describe any stewardship programme. Until now, the kernel's formal assurance rested on a single receipt from the retired Comparator verifier, for a Lean module StewardshipTempo whose source is not on file in the canon repository. A sealed statement, P2.Tempo, was therefore reconstructed from the kernel's reference runner and from the theorem signatures of a deposited file as relayed by a web tool. We give a Lean proof of that statement under Lean v4.28.0 and a pinned Mathlib. It has six parts, one for each theorem named in the registry: (1) Sigma is strictly convex on (0, inf); (2) Sigma(t) >= 2 sqrt(hn) for t > 0; (3) the floor is attained at t* = sqrt(h/n); (4) t* is the only positive cadence attaining it; (5) (u + 1/u)/2 = cosh(log u) for u > 0, so the normalised cost Sigma(t)/(2 sqrt(hn)) equals the haste-neglect tax cosh(log(t/t*)); (6) the normalised cost also equals cosh(log(t*/t)), and the tax is at least 1 and equals 1 exactly at t*. The proof substitutes h = s^2, n = r^2 and rests on the gap identity Sigma(t) - 2sr = (s - rt)^2/t; strict convexity is proved from the definition. Only the axioms propext, Classical.choice and Quot.sound are used; no automated prover was used. The six parts settle that the runner's optimum, floor, normalised cost and tax are mutually consistent consequences of the declared model. They do not settle the form of the model, the values or units of h and n, the runner's floating-point tolerance, or whether the deployed code matches the runner. Lean proofs for four other kernels from earlier sessions are retained. Verification. a Lean 4 proof of P2.Tempo, a statement fixed before the proof attempt, machine-checked against Mathlib and replayed through the Lean kernel using only the standard axioms Run record, certification page and reproducible package: https://github.com/jdhart81/viridis-research/tree/main/runs/2026-11-21_P2 AI use: this version was drafted by an AI research agent (Claude, by Anthropic) running the Viridis research engine. Formal claims are checked by the Lean 4 kernel, empirical claims by re-running their analysis in a sandbox, and all are labelled by an automated verifier. The agent may call the Aristotle prover (Harmonic) for help with proof search; a proof counts only if the Lean kernel accepts it. Justin D. Hart directs the research and is the accountable author. No AI system is listed as an author or contributor, which Zenodo does not allow.
Language: English
Subfield: Software
Open Access status: green
OpenAlex ID: W7238875047
Cites:
Cited by:
Related to: