How mechanical verification works
A drawn companion to the mechanical verification reference page. Eight scenes walk the standard: the three-part test evidence has to pass, the claim ladder and the denominator behind each tier, a metamorphic property you can check by hand, one kernel's full evidence stack, and the red controls that exist to prove the harnesses can fail. Every count on this page is a real count from the public repository. Written for auditors and engineers who have to defend a verification claim later.
What counts as mechanical
Evidence counts as mechanical here when three properties hold at once. The claim names the check that produced it, so a verdict never floats free of its instrument. The check reads artifacts committed in the public repository, so what it read can be re-read later, byte for byte. And the check is deterministic, so anyone re-running it lands on the same verdict: pass, fail, or a specific finding.
Where a human judgment genuinely remains, chiefly whether a written specification reads the regulation faithfully, the estate validates the spec instead of signing it: the spec must reproduce the kernel's committed fixtures, and where a regulator publishes worked examples, as the FRB does for Regulation Z Appendix J, the spec must reproduce those too. What survives as judgment after that is stated on the claim itself.
The claim ladder
Every formal claim carries one of three tier statements, word for word, so the strength of a claim is never implied by vocabulary. The tiers are rungs: each one buys more coverage at a higher price to reach. Select a rung to see what it establishes and which kernels stand on it today.
verified by exhaustive enumeration (all 24 inputs) or property-tested over stated ranges or machine-checked proof (Dafny). The count and the range travel inside the sentence, so nobody has to guess what was actually covered.The denominator is the claim
The practical difference between tiers is the denominator: how many inputs the evidence actually touched. The agentic readiness diagnostic enumerates every one of its 531,441 states, twelve questions with three answers each, plus fourteen boundary states checked on top. The DTI ratio calculator samples 10,000 randomized trials per property over stated ranges. Each claim is stated to its own denominator, and the tier wording says which is which.
A property you can check by hand
A metamorphic property compares outputs across a transformation of the input, with no oracle needed for the transformed case. The DTI kernel's P3 is the cleanest example: scaling income and every monthly debt by the same factor has to leave both DTI percentages unchanged, because numerator and denominator scale together. Try it: the panel runs a simplified one-line cousin of P3, the ratio itself, so you can feel the identity. The certified version runs 10,000 trials from a deterministic PRNG in the repository.
compute() over 10,000 seeded trials and checks both DTI percentages. The gap between the two is deliberate and stated, the same way every claim here states its scope.One kernel's evidence stack
The Regulation Z Appendix J APR kernel carries the estate's only machine-checked proof, and its stack shows how the layers lean on each other. Five committed vectors replay first. The property floor then runs convergence-or-report, termination, and a differential that re-derives the converged rate from the regulation's own residual. The Dafny port discharges proof obligations against a spec written from the regulation text, and the records pin the toolchain: Dafny 4.11.0 over Z3 4.12.1 and 4.14.1.
The harness has to be able to fail
A harness that has never failed a thing has never shown it can. Two pilot families answer that with red controls: committed, deliberately broken copies of real kernels, run through the same harness to prove the alarm works. The boundary-metamorphic pilot checks that kernels sharing a threshold flip verdicts at the same point and in the same direction, 234 generated cases across four relations. Its control is a scratch copy of the QM points-and-fees kernel with exactly one comparator mutation, and running the pilot against it must go red, or the harness has detected nothing.
Four commands from a fresh clone
Everything on this page reduces to commands that exit zero on pass and nonzero on any failure. Plain Node, no package installation, deterministic results: your run lands on the same verdict CI landed on for the same commit.
git clone https://github.com/PostOakLabs/ainumbers
cd ainumbers
node chaingraph/kernels/golden-parity.test.mjs # replay every golden fixture
node scripts/run-proptests.mjs # run the property floor, every kernel
node scripts/check-compute-proof-coverage.mjs --summary # receipt coverage vs its ratchet
node scripts/preflight.mjs # the full gate suite CI runs
Logic and execution are two different questions
Mechanical verification answers the logic question: does this code compute what its validated specification says, over the inputs the claim covers. The Groth16 receipts answer the execution question: was this published output actually produced by running this code. A kernel can carry either kind of evidence, both, or neither, and the payee name-match kernel is the standing example of the split: it carries a hand proof of its termination and its recurrence, and no compute receipt, because string matching costs more than in-guest proving can currently handle, and its records state both facts.
Sources: on metamorphic relations, Chen, Kuo, Liu, and Zhou, Metamorphic Testing: A Review of Challenges and Opportunities, ACM Computing Surveys, 2018. On small trusted checkers, Klein et al., seL4: formal verification of an OS kernel, SOSP 2009, project documentation at sel4.systems. Dafny: Leino, Dafny: an automatic program verifier for functional correctness, 2010, tool and documentation at dafny.org. Counts and findings on this page are from the repository's committed evidence files as of September 2026.