Skip to main content

MachineChecked

Read a mathematical paper beside its Lean formalisation.

Select a statement to inspect its Lean counterpart, proof results and correspondence reviews. MachineChecked runs locally in your Lean project and saves the links you choose.

Try the demo · Browse papers · Setup guide

Open your paper

From your Lean project's directory:

lake build
uvx machinechecked view

MachineChecked finds the paper and opens the reader. You can also name a LaTeX file, PDF or URL:

uvx machinechecked view paper/main.tex

Requires Python 3.11+, your project's Lean toolchain, and TeX Live for LaTeX or Poppler for PDFs. The web reader is included. For a persistent command, run uv tool install machinechecked; then use machinechecked directly. machinechecked --help lists the everyday commands, and machinechecked help --all every command.

The reader opens on the paper. Select a claim from the contents or the paper's margin to compare its paper passage with its Lean, side by side, the Lean row by row with its exact Lean; a definition opens beside the row that uses it. Back to paper returns to where you were reading. Follow existing \lean{...} tags, confirm a suggestion, or choose a declaration. The reader saves your choices in machinechecked.links.json. Projects with a formalization.yaml supply their paper sources and declared links automatically.

Read the evidence

A Lean proof establishes a formal proposition. A correspondence review compares that proposition and its definitions with the paper. Source checks identify the audited text; independent kernel replay checks the proof again. The reader shows each result and its provenance in Audit details.

The optional Review view guides you through three steps:

  1. Read the paper and record your interpretation.
  2. Compare the Lean statement's assumptions and conclusion; record a verdict.
  3. Read the author's review, save your report, and export it.

The maintainer evaluates reports and promotes reviews into the project's acceptance records. Review guide →

Share the reader

uvx machinechecked build                 # .machinechecked/MachineChecked.html
uvx machinechecked build --site public/  # a static site with audit.json
uvx machinechecked check                 # check linked declarations for automation

The HTML file opens directly in a browser. It includes the paper, Lean statements and audit data; review those contents before publishing. Host the site directory on GitHub Pages or another static host. Published audits carry their author's name, project commit and paper revision.

Copy link shares a claim. Report issue opens a draft in the audit's GitHub repository, with the claim identifier, declarations and commits filled in. Set that repository with --issues owner/repo.

With a coding agent

machinechecked check --json prints structured results for scripts and agents. The MachineChecked skill covers commands, status codes and evidence. Agent guide →

Full assessment

Projects with locked specifications, a claim inventory and review records can configure machinechecked.toml. Full assessment adds exact-type checks, definition-dependent reviews, witnesses, refutations and independent kernel replay. Configuration guide →

Documentation

Apache-2.0 licensed.

Metadata

Release files for machinechecked 0.1.28

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for machinechecked 0.1.28
File Size Uploaded Provenance Actions
machinechecked-0.1.28.tar.gz 1.9 MB With provenance Details for machinechecked-0.1.28.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for machinechecked 0.1.28
File Interpreter ABI Platform Actions
machinechecked-0.1.28-py3-none-any.whl Python 3 none any Details for machinechecked-0.1.28-py3-none-any.whl

Total release size: 3.9 MB

Release files / machinechecked-0.1.28.tar.gz

Download URL machinechecked-0.1.28.tar.gz
Size 1.9 MB
Tags Source
SHA-256 checksum
How to use checksums
35c89ae3d4843fa308bd48990912568ac0601a5057a4784e9e8cff4ea3bf875f
BLAKE2b-256 checksum
How to use checksums
3cc0ad3b275da0b6dabe7a75b6c1014615207dd1b44376b95474180f3c2eb9f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

Release files / machinechecked-0.1.28-py3-none-any.whl

Download URL machinechecked-0.1.28-py3-none-any.whl
Size 2.0 MB
Tags Python 3
SHA-256 checksum
How to use checksums
0ee13e1dd8c13f90498f18c726fbf0ef2153ed50cb29f766015aa48f5ce3d747
BLAKE2b-256 checksum
How to use checksums
f2c7053576c5bd7b3d2262e2ee73d33420e1aeb85a12bc334e14a84e80492cb3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

Security for machinechecked 0.1.28

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for machinechecked-0.1.28.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.28 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page