One source → every target — proved, simulated, and (where it exists) measured.
Program cards come first: each is one kernel built for one board, and every row on it is read from that program's own records. The cards after them are the original zoo, each true of what it lists (its emitted targets, proofs and simulation) and unchanged by any program card.
A program is one kernel compiled for one platform into one directory that builds with make, checks itself with make check against the kernel's exact real value on recorded inputs, and reproduces itself with make reproduce. Each card keeps the kernel's mathematical evidence apart from the program's integration evidence, and shows only what the program's records say.
Each card below was produced by one command (make all) from a single EML
source. From that one source Forge emits every target it can — general-purpose software,
GPU shaders, LLVM IR, machine-checked proofs (Lean / Coq / Isabelle), safety-critical
(Ada / SPARK, AUTOSAR, AADL, ROS2), a smart contract, a zk circuit, and — for the RC
filter, which is an actual circuit — a SPICE netlist, a KiCad schematic, and a JLCPCB fab bundle.
Alongside the code sits a contract proof whose axiom footprint is clean of sorryAx, a
simulation whose measured quantity satisfies the proved bound, and links to the raw evidence.
This page is a generated view of that evidence — nothing is hand-authored; a proof that
weren't clean, or a sim check that didn't hold, would show in red. (FPGA RTL — Verilog/VHDL/Chisel —
appears wherever a source carries an @target(fpga) clock annotation: the aerospace
actuator guard emits synthesizable Verilog/VHDL/Chisel for the Arty A7, the scalar Kalman filter
below runs bit-exact at 100 MHz on a real Arty A7-100T (whole-design, all three of its
anchors closing), and the other estimation kernels run bit-exact under Verilator. The plain scalar
controllers don't ask for it, so they emit none — the tool skips what a source doesn't request rather
than fake it.)
Those contract proofs are sorryAx-clean but not axiom-free — they stand on
MachLib's small axiomatic real-number base, kept Mathlib-free for build speed. That base is machine-checked consistent: of its 156 trusted axioms, 124 are modelled in Mathlib's ℝ — 107 witnessed by typecheck, 14 interpreted carrier or function symbols, 3 Lean's own (propext, Classical.choice, Quot.sound). The remaining 32 are float-bridge rows: claims that a concrete IEEE-754 operation rounds within a stated bound, which Mathlib cannot model because it has no IEEE-754 semantics. Those are validated by measurement and are never counted as witnessed.
A machine-checked ledger pins every axiom a shipped theorem reaches inside that set, and its teeth
have caught real defects twice: a genuinely unsound axiom (an open-interval Rolle, now retired and
machine-checked false), and — on 2026-09-11 — the decimal-literal family, which every
certificate carrying a 100.0 depended on while sitting outside the trusted set,
because the footprint is indexed on MachLib's own theorems and none of those needs a literal. Found
by reading a generated certificate's #print axioms; promoted and witnessed the same day.
The exact reals are proved; the float rounding is now proved too —
conditionally: the emitted C for a controller's arithmetic — the PID datapath among them, and a
tanh-saturated variant — carries a machine-checked forward-error bound (re-derivable with
make verify-grounding) against those exact reals, but only when the run stays
float-safe: every intermediate sum, difference and product is a finite float, and no product's exact
value is a nonzero number below the smallest normal double (DBL_MIN, about
2.2·10−308). MachLib proves those conditions hold for PID inputs inside a stated bounded
domain (finite, at most B in magnitude with 60·B ≤ DBL_MAX, each either 0
or at least δ with 0.025·δ ≥ DBL_MIN); outside it no bound is claimed. The bound rests on a disclosed, named model of
IEEE-754 binary64, restated on 2026-09-14 after a measurement showed the earlier, unconditional model
false of real doubles: each basic op correctly rounded when its result is finite (for a product, when
the exact product is also 0 or at least DBL_MIN), and each libm primitive within a stated bound on finite inputs
(tanh within 2u, twice the unit roundoff, so the tanh variant's
rounding term is 2u, not u). That model is the honest floor —
un-witnessable inside Lean, since Float is opaque — so the bit-exactness of a specific
chip's libm behind the silicon / bit-exact badges stays measured, not
proved; grounding it further is a Flocq-scale project.
A few cards are proof-first kernels rather than emitted controllers: a closed-loop
safety envelope, a pure-math finiteness theorem (iterated-exponential Khovanskii), and two
verified finance kernels — an amortization schedule that reconciles to the penny and a 30E/360
day-count whose coupon periods compose exactly, both in exact integers. They earn a place because the
same discipline carries beyond control code: a machine-checked contract (clean of sorryAx)
paired with a runtime witness that satisfies it.
Reproduction tiers: LOCAL one command, no heavy toolchain · TOOLCHAIN re-derive with Lean / Vivado · REPLAY captured on real hardware, replayed from evidence. 8 controllers + 4 theorems · 4 with real-hardware evidence.

actuator_command_within_band proves the guarded actuator command is always within the certified flight-envelope band [u_min, u_max], for any controller inputs; the sim shows 0 = 0 (the raw command peaks at ±4.53 (well past the band) yet the guarded output never leaves [-1.0,1.0] — the clamp the theorem proves and the RTL/silicon runs); and the same behavior was measured on real hardware.MachLib.Finance.amortization_reconciles
MachLib.Finance.amortization_reconciles proves a fixed-rate amortization schedule's principal payments sum to EXACTLY the loan amount and the balance closes to exactly $0.00 — in integer cents, for ANY per-period interest rounding; the sim shows 0 = 0 (schedule reconciles to the penny (final balance $0.00, Σprincipal = $250,000.00, exact integer cents, never float) — AND the rounded balance provably never leaves the certified envelope around exact arithmetic: measured max drift $0.05 ≤ certified cap $5.02 = c·(gᴺ−1)/(g−1)).
catenary_within_envelope proves the reported catenary height is always inside the structural envelope [1, 20] m, for any input; the sim shows 0 = 0 (across a ±4 m span the catenary sags to 5.0 m at the low point and rises toward the 20.0 m towers, always inside [1.0,20.0] — the envelope the theorem proves, the cosh the forward-error certificate bounds).
clamp_in_unit_interval proves clamp_unit(x) is always within [-1, 1] for every input x; the sim shows 1.0 ≤ 1.0 (clamp band [-1.0, 1.0]).MachLib.Finance.days30E360_additive
MachLib.Finance.days30E360_additive proves the 30E/360 day-count is additive — splitting a coupon period at ANY intermediate date preserves the total day-count, so accrued interest composes exactly (no interest created or destroyed by moving an accrual boundary); the sim shows 0 = 0 (the 20 semiannual periods each count exactly 180 days and sum to 3600 = the direct issue→maturity count — 30E/360 is additive, so accrued interest composes exactly (total accrued $500,000.00). Honest contrast on 2020-01-15→02-28 split at 01-31: 30E/360 adds (43=43) but US 30/360 does NOT (44≠43) — why the additive convention is the right one).MachLib.ChainExp2NoZeros.chain2_khovanskii_bound_unconditional
MachLib.ChainExp2NoZeros.chain2_khovanskii_bound_unconditional proves a polynomial in the tower (x, eˣ, e^{eˣ}) that is nonzero at even one interior point has only FINITELY many zeros on (a,b) — the count derived from Rolle's theorem, not cited from Khovanskii; the sim shows 3 = 3 (count stable under 100× grid refinement ⇒ finite; e^(e^x) never vanishes so adds no zeros — consistent with the machine-checked bound).
pid_output_clamped proves the control output is always within the actuator band [OUT_MIN, OUT_MAX] = [-1, 1]; the sim shows 1.0 ≤ 1.0 (actuator band [-1.0, 1.0]); and the same behavior was measured on real hardware.
rc_time_constant_def proves the filter time constant is exactly τ = R·C; the sim shows 0.0068 ≤ 0.01 (settles to Vin within 5τ); and the same behavior was measured on real hardware.MachLib.Real.first_order_clamp_envelope
MachLib.Real.first_order_clamp_envelope proves for a first-order plant with a saturating actuator clamp (|u|≤U) and bounded disturbance (|w|≤W), the state stays within the envelope X=(U+W)/(1−a) for ALL time and ANY controller; the sim shows 0.8 ≤ 2.0 (state stays inside the proved envelope X*=(U+W)/(1−|a|) even after the injected fault — safety rides on the clamp, not on good control); and the same behavior was measured on real hardware.
sine_oscillator_amplitude_bound proves |A·sin(ωt)| ≤ A for A ∈ [0,1], ω ∈ [0, 1e4], t ≥ 0; the sim shows 0.8 ≤ 0.8 (amplitude bound |·| ≤ 0.8).
soft_actuator_within_band proves the soft-actuator output is always within the band [-1, 1], for any input; the sim shows 0 = 0 (across a ±5 error sweep the tanh output saturates smoothly and stays in [-1.0,1.0] (peak |1.0|) — the band the theorem proves, the transcendental the forward-error certificate bounds).
vibration_rms_within_range proves the reported RMS magnitude is always inside the sensor range [0, 50] m/s^2, for any input; the sim shows 0 = 0 (a swept-frequency 2-axis vibration with a burst peaking at 35.8 m/s^2 stays inside [0,50.0] throughout — the range the theorem proves, the sqrt the forward-error certificate bounds (conditional on the 0.25 noise floor keeping the argument > 0)).