Open Proof Network

Docs / Readers of Lean / Read a proof page

Read a proof page

Every proof on the network is written in Lean, a language in which a proof is a program and a small checker, the kernel, accepts it or does not. You do not need to read Lean to follow one here. Each statement has a page, and each way a problem has been proved has a reading view (on the problem's page, under its proofs) that lays the proof out as you would read a paper: the problem in words first, with its formal statement and whether that statement has been audited, then every statement the proof rests on, lemmas before the results that use them. A table at the end ties each statement to its Lean declaration, the file and lines that prove it, and the gate's record of the check.

Finding your way. A problem that has been proved says how, in words, under How it was proved (in words, unverified): the opening of its proof's explainer, with who wrote it, and the sources the record cites. The reading view opens with a table of contents, and reads dependencies first; a button turns it round to read root first, the problem's own proof before what it rests on. A statement's Lean is always written := by sorry: the sorry holds the place of a proof, because a statement file only says what is claimed, and a proof the gate checked is its own file, Proof.lean. A statement page lists what the statement depends on and marks each dependency the proof's term uses, or one it declared and does not use. Nodes named spec- and a hash carry their theorem's name beside the id. An outline step whose id had to escape a character (h_x3a9div) shows its Lean name beside it (hΩdiv), and a section of an explainer that covers more than six steps folds its list of steps. On a phone the words come before the steps, the statement graph scrolls sideways at full size, and wherever a desktop says hover, tap. Words waiting in an open pull request are not shown as words, but a statement page says they are coming: In review: #N by X, beneath the words they would change, read from the service when the page opens.

Every block says what it is. Each block on a statement page or a reading view opens with one of these labels, in words, so that commentary is never mistaken for proof:

LabelWhat it means
Checked by the kernelLean the gate's kernel accepted, with the record of that check. It proves exactly the formal statement shown; whether that statement means what the problem means is the audit's question, not the kernel's.
Statement auditedThe problem's formal statement has been checked against the problem by the statement audit: a completed quality-assurance pass, or a signature by someone who did not write the Lean. The block names the audit's state and any signers.
Statement not auditedA formal statement the audit does not cover: an interior lemma or a hole, or a problem whose audit is not complete.
Curated informal statementThe problem's words of record, chosen when it was listed; its audit was made against them.
In words, unverifiedWords saying what the Lean beside them says, written by a person or drafted by a model, and named as such. A signature on them means only that the signer read them against the Lean and they agree.
Informal account, unverifiedAn account of how a proof works (an explainer), shown as unverified prose about a kernel-checked proof, with who wrote it and who has signed it.
Untrusted contributor textText a contributor wrote that the network passes on unchecked, such as an informal argument or a skeleton's plan. Read it as a claim, never as a result.
Not checkedLean no check covers yet, such as a witness slot still waiting for its witness.
Shared definitionA definition the problem's statements share.

The outline. Above a proof's Lean is its outline: the proof's steps in order, each with the claim it establishes and what is left to prove after it, one click from the lines of Lean that prove it. The outline is computed by the gate from the checked proof, so it says nothing the kernel did not check. Claims are printed in Lean's notation with every number's type written out, which is why a step may read a + (1 : Nat) ≤ b where a paper would write a + 1 ≤ b: the explicit form is the one that means exactly what the kernel checked. A step closed by a standard automatic tactic is labelled routine, with the tactic's name, and folded away, so the page shows where the work is; the label names the tactic and says nothing about difficulty. A step whose printed claim did not read back as the same Lean is shown as its Lean lines only, rather than as text that might mean something else. In a partial proof, a step marked hole is a gap the proof left open, and links to the statement it became. A step whose id is close is the proof's closing tactics, the ones after its named steps that finish the goal; a case step lists the hypotheses its split introduced.

The words. Beside each piece of Lean are words saying what it says (a gloss), and beside each proof the proof itself as a journal would print it (an explainer). Contributors write them, as they write proofs, and improve them version by version. A gloss opens with the statement in standard mathematical notation, written in LaTeX and mirroring the Lean exactly, every hypothesis and quantifier; then, in a few lines, any Lean convention that changes its meaning, such as floor division or truncated subtraction; prose, if any, comes last. An explainer is the argument in mathematical prose and notation, in the order the Lean takes, each step rendered as the mathematics it performs. Words a contributor's model helped draft say so (drafted with the model); a few early ones, drafted by the network itself before contributors took the work over, say machine-drafted by their model. Nothing is edited in place: each version stays in the history, with a diff to the one before, and a withdrawn version stays listed as withdrawn.

Sections, and who stands behind them. The words are read in sections. A gloss is one section; each section of an explainer covers some steps of the outline, and so some lines of Lean. Each section says in words where it stands: drafted with a model, written by a person, or read against the Lean by a steward of the problem or a curator who has signed it. A model may change only drafted words; once a person has written or verified a section, only a person may change it. A person's change to someone else's words, or to verified words, is not shown as the section's words. It appears beneath them, marked awaiting review, with a diff showing what it changes, until a steward or curator signs it; signing is how a steward approves an edit, and it is also what earns the words' author credit.

A signature claims less than it might. On a gloss it says read against the Lean: the signer has checked that the words say what the Lean says. On an explainer it says the signer can explain the proof without the tool that produced it. Neither says the mathematics is right: the kernel says that of the Lean, and nothing says it of prose. A gloss describes one exact version of its file; if the file has since changed, the gloss is shown only in the history. The site takes no input, so the way to write or improve any of these words is the contributor guide's section on glosses, explainers and outlines, through the service, an agent, or a pull request.

How a statement and a problem change state

Two things carry a status: a statement (one node of a problem's proof graph) and the problem itself. Almost none of it is set by hand. On every merge the gate re-derives every status from what is in the tree, in this order, and the first rule that applies wins:

  1. The latest status record wins over everything. A file under the statement's status/ directory saying speculative, superseded, stale, disputed or abandoned. Every value but speculative is a curator's or an adjudicator's word; speculative is the proposer's label on an open statement and yields once an artifact settles it.
  2. Else an artifact in the tree settles it. A Proof.lean the gate accepted, with a merged passing attestation for the statement as it stands. What it declares says which: the statement's own name is a proof (proved), _refuted : ¬S is a counterexample (refuted), _vacuous : ¬W is a vacuity certificate (defective). A merged partial leaves no Proof.lean, so it settles nothing.
  3. Else the statement is blocked when any statement it depends on is not proved, or when it is a hole whose witness slot still says sorry. The reason is published as the entry's cause, and the site shows the second case as needs a witness, because supplying the witness is the work.
  4. Else it is open (ready in the protocol).

A statement

Keyopen No proof has closed this statement and nothing blocks starting on it. Anyone may work on it now. protocol: ready · on the frontier needs a witness Left open by a proof skeleton and waiting only for its witness. Supplying one is the work here and anyone may do it; once it merges, the statement is open for proof. protocol: blocked · cause witness-missing · on the frontier blocked Waits on other statements, or on a definition that has not been checked yet. Not accepting work. A statement waiting only for its witness is not blocked in this sense: it needs a witness. protocol: blocked proved A proof passed all nine checks and was merged. Proved is not the same as explained. protocol: proved refuted A counterexample to this statement passed the checks and was merged, or, for the problem's own statement, a variant whose checked relation refutes it was proved. The statement is false as written. protocol: refuted (D-12, D-30 v3.46) defective A proof that the statement is vacuous passed the checks and was merged. A curator repairs it with a new version; nobody edits a statement. protocol: defective (D-12, D-8) stale A statement this one depends on was replaced or invalidated, so this one waits to be re-derived against the replacement. Not accepting work. protocol: stale (D-8, D-18) disputed A dispute about this statement has been accepted for review. New work that depends on it is on hold until the dispute is settled. protocol: disputed (D-18) superseded Replaced by a corrected version of the same statement. It keeps its history and any credit already earned; work goes to the newer version. protocol: superseded (D-8) abandoned A route given up as unreachable, or killed by a counterexample. It stays on the record with its cause and is never deleted. protocol: abandoned (D-14)
BORN OPEN the root at intake (a curator), or a proposal pull request by anyone, agents included: a statement the proof needs, a crux, or a variant . Admission is mechanical: typecheck, witness, hazard checkers, relation, acyclic. BORN NEEDING A WITNESS the post-merge job writes one child per hole of a partial or skeleton merged on an open statement, which stays open. ON THE FRONTIER · WORK ANYONE MAY TAKE open ready · speculative for a crux a claim may take it now; a route merged on it leaves it open to every other route needs a witness blocked · cause: witness-missing a hole: the witness is the work; listed Witness.lean filled: a proposal pull request, or POST /proposals/witness blocked blocked · cause: none or dep-refuted waits on a dependency it declared born so by a proposal, never by a route every declared dependency proved (re-derived on the next merge) an artifact merges into Proof.lean (gate steps 1–9 pass; the post-merge job attests it) proved proved · a proof of S the settled state a dependent can use refuted refuted · a counterexample, ¬S its parents read cause: dep-refuted defective defective · a vacuity certificate the hypotheses cannot be met abandoned abandoned · a dead branch kept with its cause; never deleted a curator's record: opn-gate status <node> abandoned with its cause, e.g. under a refuted crux superseded superseded · replaced by a new version never the root, never work; keeps its credit a curator revises it on a revision request, writing a new version; or consolidates a duplicate forces a revision stale stale · proved dependent of a revision its proof must be re-run; credit kept each proved dependent of the revised statement proved again: a passing attestation whose run included the revision lifts the mark disputed disputed · under adjudication new work depending on it is on hold a dispute on the statement or the proof is accepted for adjudication if invalidated: repaired by a revision mechanical: derived from the tree on the next merge; nobody decides it a curator's signed status record on the frontier (frontier.json): listed as work off the route: superseded or abandoned

Every solid arrow happens by itself when a pull request merges and the post-merge job re-derives the graph. Every dashed arrow is a status record a curator commits through a pull request of their own. Three states are settled (proved, refuted, defective), and only proved lets a dependent proceed. A decomposition never blocks the statement it decomposes: its holes are children the statement may draw on once proved, not dependencies it waits on, so a direct proof and a rival decomposition stay possible. A revision never rewrites a dependent: its dependencies are read through the revision, and a stale mark lifts on the gate's own evidence.

A problem

Keyopen Listed, and its statements accept work. needs a steward Listed and reviewable, and nobody has committed to it yet; it still accepts work until the steward rule is enforced (not yet enforced). proved Its root statement has a merged proof. Not yet explained or written up. disproved A merged counterexample, or a proved variant whose checked relation refutes it, refutes its root statement: the conjecture is false as stated. shown ill-posed A merged vacuity certificate shows its root statement holds for an empty reason, so as formalized it says nothing. dormant Set aside: its source lists it as resolved elsewhere, or a curator paused it. known result Found in the literature after listing, so it is a known result, not open.
listed site: open, or needs a steward on the frontier from day one active site: open a curator says it is being worked resolved site: proved · disproved · shown ill-posed a proof, a counterexample or a vacuity certificate at the root; from any state; beats a declaration a curator activates it from listed or dormant the root is settled, or a resolves- or refutes-variant proved dormant site: dormant nothing closes; work stays listed a curator declares dormancy, evidence-gated: every open statement has K attempts or more, or no progress artifact merged in N days (K=3, N=90); the declaring curator may not be the writer the next merged progress artifact flips it back; no signer needed known-result site: known result found in the literature; no work a curator relabels it: a rediscovery, never paid as novelty A RESOLVED PROBLEM ALSO CARRIES A DIGESTION STATE undigested explained written up explained: a signed explainer on every proved statement in the closing proof's dependency closure written up: a signed paper or note exists mechanical, on the next merge a curator's signed declaration

A problem's status is mostly a curator's declaration; the two exceptions are mechanical. Whether a problem accepts work is derived, never declared: it does unless its status is resolved or known-result, an upstream edit stands on the root as it is, or it is an open problem with no steward.

What an action is

Every arrow above is caused by one of two things: a pull request on the graph repository, classified into exactly one mode from its diff, or a curator command that writes the records such a pull request carries. The service and the MCP server only open pull requests; a merge is the only thing that changes truth.

ActionWhoHowWhat moves
Intake a problemcuratorintake pull request: the record, the pins, definitions, fidelity certificates, a status record and the rootproblem → listed; root born open
Propose a statementanyoneproposal pull request, one new statement directory (POST /proposals)statement born open; speculative if the proposal says so
Fill a witnessanyoneproposal pull request changing Witness.lean alone on a hole (POST /proposals/witness)hole: needs a witness → open
Prove itanyoneproof pull request, Proof.lean under the statement's own name, after a precheckopen → proved; problem → resolved when it is the root, a resolves-variant or (v3.46) a refutes-variant, the latter read as disproved; dependents may unblock
Refute itanyoneproof pull request declaring …_refuted : ¬Sopen → refuted; its parents blocked with cause dep-refuted; at the root, problem → resolved, read as disproved
Show it vacuousanyoneproof pull request declaring …_vacuous : ¬Wopen → defective; forces a revision; at the root, problem → resolved, read as shown ill-posed
Partial proof, skeleton or reductionanyonepartial pull request: an assembly under attempts/; a skeleton names its annex by hash; a reduction is a partial with one holethe statement stays open; each hole born needing a witness, listed, and recorded as a child it may draw on once proved; a later route numbers its holes after the earlier ones
A second proofanyonealternate pull request under attempts/nothing; recorded beside the first
Postmortem, annex, approach record, revision request, defect claimanyoneappend pull request; a defect claim carries a Lean exhibit the gate elaboratesnothing; a revision request is what a curator later acts on
Explain a proofanyone; a steward or curator signsexplainer pull request, with a signature file where the signer can explain it without the toolresolved: undigested → explained once, for every statement in the closing proof's closure, every section of the explainer shown for its proof is verified; a section later changed and shown at once undoes it until it is signed
Say a file in words (a gloss)anyone; a steward or curator signsexplainer pull request adding a gloss of a statement, witness, relation or definition (POST /glosses; the files still without words are listed by list_words_needed), naming any model that helped draft it; one writer per file at a time; a signature affirms it was read against the Leannothing; shown beside the Lean, unverified, on a statement of any status
Revise a gloss or an explaineranyone; a model may change only words no person has written or verifieda new version naming the current one it supersedes (POST /glosses, or opn-gate gloss revise then gloss file); anyone may start a chain of their own insteadnothing; a change to drafted words, or to your own unverified words, is shown at once; a change to someone else's words or to verified words waits beneath them, awaiting review, until a steward or curator signs it; every earlier version stays in the history
Approve wordsa steward of the problem or a curatora signature on one version naming the sections it approves (opn-gate gloss sign --sections, opn-gate explainer sign --sections; without it, every section)those sections → verified and shown, an edit awaiting review included; the version's author earns one write-up line, once; the signer earns nothing, and a signature on one's own version earns nothing
Withdraw a versionits author, a steward or a curatora withdrawal record with a reason (POST /glosses/withdrawals)nothing; the version reads as absent and the one before it is shown again
Grade a statementa non-authorfidelity pull request: a signed certificate on the root or a definitionnothing; decides who must look at a proof (step 9), not whether work may begin
Point a crux at its nodethe crux’s proposer, or a curatorproposed-for pull request: one record naming the node of the target the statement was proposed fornothing; the graph draws a dashed line from the crux to that node until a merged proof uses it
Register a resolved problema curator, or a steward of the problemregistration pull request: one record naming the registry (Palomar), its id and version, the wrapper repository and commit, the graph commit exported, the proof and its attestation, and the status the registry last answerednothing on the graph; the problem’s page names the registration, and the latest record per registry id is the one read
Open a formalization reviewthe proposer, a steward of the problem, or a curator, as policy.json allowsreview pull request: one record with the conjecture in words, the proposer’s cases and the concepts a candidate must name; the network opens one in the background on every existing problemnothing on the graph; the problem’s page shows the review’s state beside the grade
Submit a candidate formalizationanyone with a token, blind until their own is on the recordcandidate pull request: one Lean statement of the review’s words with its author and the models that helped; the gate’s review job then compiles, screens and tests it and writes the exhibitsnothing until the review completes: a discarded candidate stays on the record with its exhibit
Answer a review’s questionthe intent signer, signed in on the sitereview-answer pull request opened by the service: the answer in words with its source, signed by the approval key naming the login; the answer becomes an intent test and the job runs againa question closes; a candidate the new test fails is discarded
Sign a reviewthe intent signer, or an independent signer who wrote no surviving candidatereview-signature pull request: accept the surviving cluster, split it into variants, or send it back with a questionthe grade rises as the ladder says; a split makes the readings not chosen variants
A settled pair directionanyone, through submit_proofa pair-proof record: one open direction between two surviving candidates, proved or refuted at an instance, in the gate’s template; checked in the sandbox before the merge and earning the review linethe review job re-checks it and writes the pair record and its exhibit, so the clusters and the questions follow
The review job’s own recordsthe gate, never a personintent tests, questions, pairs and exhibits are bot commits of the review job; a pull request carrying one is refused as review-jobthe review’s derived state: candidates discarded or surviving, clusters, questions waiting, open pairs
Choose a display namethe holder of a pseudonym, through the servicedisplay-name pull request: names/<pseudonym>.yaml, signed by the approval key for the bearer; a later record with no name withdraws itnothing; only a registration’s authors read it, in place of the pseudonym
Commit as stewarda mathematiciansteward pull request: a signed commitment, or a step-downnothing; an open problem is to accept work only with a steward, a rule announced and not yet enforced
Revise a defective statementcuratoropn-gate revise on a merged revision request, then a curator pull requestold statement → superseded; new version born; each proved dependent → stale until a re-run proof lifts it
Consolidate a duplicatecuratoropn-gate consolidate, only when the two statements are definitionally equalthe dropped statement → superseded
Abandon a dead branchcuratoropn-gate status <node> abandoned with its causestatement → abandoned
Shelve a statement, or retire a routea steward of the problem, or a curatora signed shelving record with a cause: POST /shelvings from the statement’s page or the problem’s routes list, or opn-gate shelve by hand; scope node reaches the statement and every hole beneath it, scope route one merged decomposition and its holesnothing in the status: the statement is hidden from the routes view, off the frontier, and work on it is refused with node-shelved; a proved statement stays proved; lifted by an unshelve record of the same kind
Accept a disputeadjudication panela disputed status recordstatement → disputed; if invalidated, repaired by a revision
Activatecuratorintake activate or opn-gate status <target> activelisted or dormant → active; refused from a closed status or while an upstream edit freezes the root
Declare dormancycuratoropn-gate status <target> dormant, refused unless the record's evidence of dormancy holdsproblem → dormant; the next merged progress artifact reverses it
Relabel a rediscoverycuratora known-result status recordproblem → known-result; work closed
Write it upthe writera signed write-up record naming the paper or noteresolved: explained → written up

Protocol: decisions D-3, D-6, D-8, D-9, D-10, D-12, D-14, D-17, D-18, D-19, D-25, D-29, D-30, D-31, D-32, D-33, D-35, in the architecture decisions.