Research and code
We publish the code and repositories we use for NPA research on GitHub.
NPA / Checking proof certificates
NPA is a Math Lab project about checking proof certificates independently. See what makes a certificate acceptable, follow the checks in order and explore the code and related material.
We checked these Git tags on July 2, 2026. The latest we found were npa v0.2.0, npa-std v0.1.0 and npa-mathlib v0.1.30. For the version a package uses, check that repository's README.
Public code and records
See which material is public, what records back the verification and when we checked each detail.
We publish the code and repositories we use for NPA research on GitHub.
We checked the public sources on July 2, 2026. Some details also come from the reviewed source snapshot from June 21, 2026.
The record keeps each canonical .npcert, the certificate_hash, export_hash and axiom_report_hash, and the results from the checkers.
On July 2, 2026, each of the npa, npa-std and npa-mathlib LICENSE files showed Apache-2.0.
What to use each tool for
NPA researches independent certificate checks. Use Lean or Rocq to develop proofs in those environments, and use the browser example to walk through the checking steps. We checked the public tags, licenses and repository visibility on July 2, 2026.
Trust boundary
See what gets sent to the checker and which results you can use as evidence.
First build a proof candidate and put the certificate in its canonical form. Hand it to an independent checker, whose results provide the evidence.
Building a candidate can use parsers, elaborators, tactics, automation, searches, plugins, AI, source and replay files, theorem indexes, publication plans, CI status, release pages and registry records. NPA bases its verdict on the independent check of the resulting certificate.
Walk through the checks
Follow the order of the checks in this browser example. It shows how a checker can work from a certificate without the original proof files.
An example command to check certificates
npa package verify-certs --root . --checker reference --json
Walkthrough status
Ready to show how a certificate is checkedStart the walkthrough to see each check in order.
What we've verified
Each statement about NPA has a source and a note about what we checked. See when a detail needs to be checked again.
| What we say | How we describe it | What we've checked | Where it comes from | Checks before publishing |
|---|---|---|---|---|
| CL-001 | NPA audits the certificate in its canonical .npcert format and the steps used to check it. | Confirmed in public sources | S01 / 2026-07-02 | Check this again when the README changes. |
| CL-002 | On July 2, 2026, the latest Git tag we found for NPA was v0.2.0. Each related package lists its own versions and toolchain pins in its README. | Public records checked again | S01 / S02 / 2026-07-02 | Name the repository whenever you give a tag. |
| CL-003 | Our archived verification record uses Rust 1.95.0. The version tells you which toolchain we used for that check. | Checked for this snapshot | S01 / 2026-07-02 | Check the version again if you publish it. |
| CL-004 | NPA studies how to check certificates independently. To develop proofs in Lean or Rocq, use the environment for the tool you work with. | Scope confirmed | S01 / S03 / S05 / 2026-07-02 | Keep the description of each tool's role visible. |
| CL-005 | Finite Field publishes npa-std and npa-mathlib as separate repositories for theorem packages. | Confirmed in public sources | S01 / S02 / 2026-07-02 | Check that both repositories are public if publication is delayed or the repositories change. |
| CL-006 | The LICENSE files in npa, npa-std and npa-mathlib each list Apache-2.0. | Confirmed in public sources | S01 / S02 / 2026-07-02 | Check each LICENSE file again for major releases. |
Where to find the code
Explore the code and related material here. Follow the GitHub links for the latest versions and changes.
4 repositories
finitefield-org
Tools for making and checking proof certificates.
finitefield-org
The standard theorem package for NPA source proofs.
finitefield-org
Research code for a formal mathematics library.
finitefield-org
The organization where Math Lab publishes its code.
GitHub is the source for the public code. We checked the licenses, tags, public visibility and release wording on July 2, 2026.
Tools for working with proofs
Lean and Rocq help you write proofs and verify programs. NPA studies certificate checking. See which part of the work each tool handles.
| What to compare | Lean | Rocq | NPA |
|---|---|---|---|
| What it is | An open-source language for writing programs and proofs. | An interactive theorem prover with a long history of research. | A research project and tools for checking proof certificates. |
| What people use it for | Doing mathematics, checking software and writing programs. | Doing mathematics, writing specifications, checking programs and extracting programs from proofs. | Studying ways to check certificates independently and keep the trusted part of the system small. |
| How checks work | Lean checks proofs with its kernel and the tools around it. | Rocq checks proofs using its kernel and developments it has already checked. | NPA hands a canonical .npcert file to an independent checker. |
| Why we include it here | A reference for learning how Lean works, comparing tools and exploring how they could work together. | A reference for learning and comparison, and for writing specifications or mathematics in a formal language. | Finite Field's research into the systems that check certificates. |
| What to keep in mind | Writing proofs takes specialist knowledge. | Writing proofs takes specialist knowledge. | The current research focuses on checking certificates independently. For writing proofs, use an environment suited to your work, such as Lean or Rocq. |
Sources
Follow the links to public code, official proof tool documentation and company information behind this page.
Start with the NPA repository for its purpose, checks, v0.2.0 tag, commands, source layout and license.
Read the source S02We used GitHub to check repository visibility, tags, releases and the public Math Lab code on July 2, 2026.
Read the source S03Lean's website explains what it's for. We checked it on July 2, 2026.
Read the source S04The Lean reference explains dependent type theory and the kernel. We checked it on July 2, 2026.
Read the source S05The Rocq Prover website explains what it's for. We checked it on July 2, 2026.
Read the source S06Learn what Finite Field does on the company website.
Read the sourceFAQ
Find out what NPA checks, which parts you can try and where to see the supporting records.
Read about Finite FieldWhat proof checking can teach us about daily work
For a business system, agree on what the system should produce, how to check it and which records to keep. Decide when someone needs to make a correction or give approval.