AxiomCode Verify an artefact

How it works

Three steps. Every one of them checkable.

1. Submit the artifact

Paste Lean 4 code into the web verifier or POST it to the REST API with your API key. What you submit is hashed (SHA-256) the moment it arrives — that hash becomes part of the certificate, so the verdict can never drift away from the code it describes. When every proof slot is busy, your submission joins a first-in-first-out queue and the response tells you your position — nobody jumps the line, and you can check your place at any time.

2. The engine checks the proof — for real

The verification engine runs the actual Lean toolchain (lake build) against your artifact in an isolated project. It is deliberately adversarial toward sloppy proofs:

  • Vacuous builds rejected. A target that compiles nothing is not a proof of anything.
  • sorry and admit rejected. Placeholders are not proofs.
  • Broken proofs rejected. If the toolchain reports an error, the verdict is FAILED, with the log attached.
  • Unfinished work reported honestly. A non-compiling or vacuous attempt that completes the proof run returns FAILED — never a pass. A request that ends before a verdict — payment required, a timeout, or a concurrency refusal — is reported as an error, not as a verdict.

A pass means one thing: the toolchain compiled your artifact and the proof checked. The full transcript ships with the verdict.

3. The certificate seals the evidence

On PASSED — and on a FAILED paid verification too — the certification authority issues a signed certificate recording the verdict. The certificate credentials the code — our assessment that the artifact was built to its specification, as mechanically checked — and we hold no responsibility beyond this assessment. It contains:

FieldMeaning
artifact_sha256Hash of exactly the code that was checked
verdictPASSED, with the toolchain transcript reference
toolchainLean / lake versions that ran the check
issuerAxiomCode CA
serialUnique serial number
validity90-day window (notBefore / notAfter)
signatureCA signature over all of the above

Check any certificate: the revocation list and the CA’s public keys are published openly, so anyone can validate a certificate offline against the published keys — no trust in our server required. With an API key, the certificate checker does it in one call. You’ll get VALID, REVOKED, or EXPIRED — with the reason. Revocation is published, not hidden: if a toolchain bug ever invalidates a verdict, the serial goes on the public revocation list.

Interfaces

  • Humans: the web verifier, the certificate checker, and the Ask shell — chat and voice in front of the same service; the assistant explains, the service decides.
  • Applications: the REST API with API-key auth and metering.
  • Agents: the REST API is agent-shaped (one key, JSON in, signed evidence out). A hosted MCP endpoint is live at https://api.axiom-code.com/mcp/ — the same API key, the same queue, seven tools (verify, job_status, check_certificate, revoked, health, usage_report, pricing); an MCP server also ships in the AxiomCode repository for local use. Plus llms.txt and machine-readable service info.