Maintained procedure · manual/workflows/index.mdMarkdown source at d23f2aea9f24
On this page

Using the manual

This manual assumes basic Lean familiarity. Its workflows use the current checkout and ordinary editor, Git, Python and Lake commands. Start with installation and the complete first-client exercise, then choose the model appropriate to your claim. The manual entry page links the current maintenance and build procedures.

Reading route#

  1. Get oriented and build: imports, namespaces, the checkout’s toolchain and the first validation loop.
  2. Choose a model and state a contract: encodings, resource measures, uniformity and the bridge needed to move between models.
  3. Prove deterministic resource bounds: plain polynomial-time proofs, composition, loops and an NP-completeness client.
  4. Work with randomized and oracle programs: free syntax, semantics, native efficiency and oracle costs.
  5. Find and apply a result: source search, the results inventory, hypotheses and model-specific theorem routes.
  6. Diagnose proof and build failures: failed automation, missing imports, stale outputs, exhausted file handles and semantic mismatches.
  7. Contribute and review: placement, source credit, validation, review and upstream coordination.
  8. Coordinate implementation and review: participant ownership, isolated work, evidence and review handoffs.

For human direction of agents, use the separate Agent Operator’s Manual.

The reference chapters follow these workflows and describe each model, its theorem routes and its design. The history part preserves the original survey and development study.

Known limitations#

Examples are contextual excerpts from source clients, with their unique text checked against the current source; open the linked client for its complete imports and local context. The editorial checks do not independently compile rearranged snippets. The quoted Lean clients are by Samuel Schlesinger, under the source repository’s Apache 2.0 license. Desktop transcript records remain unavailable in the historical dataset. The source inventory and review do not certify every mathematical definition or proof.

Use this book by task#

Read the opening workflows once, then use the model chapters as a reference. For a first deterministic proof, follow getting started, model selection and deterministic workflows. For a randomized or oracle routine, continue to the probabilistic chapter. For a circuit, finite-model or RAM application, begin with the model-selection table and follow its checked client and bridge. Use the troubleshooting chapter at the first unexplained obligation, and the contribution and coordination chapters when preparing a change or handing work to another person or agent.

The reference chapters record model descriptions, theorem boundaries, design rationale and source credit, and the model map relates the models. The history is a dated observational record: it explains earlier decisions and failures but is not a substitute for the current contribution policy. Its survey front matter links supporting scripts and data, and the original paper plan preserves the earlier academic framing.

Maintained pages published here