Skip to content

lividgreen/formal

v0.1.0Apache-2.0

The prover side of research-kit, for a project with a Lean library: the handoff a prover session gets, composed statement-first and checked, its report verified at the tree before any document moves, the prover session as an agent, and the package's declaration manifest.

land

Land a prover session's handback — verify the report at the tree (the manifest diff with formal handback, a cold read-back of every landed statement from a packet formal readback builds, the binders tiered, the guards), sweep the drift the landing caused, write the document's rows and the registration from the LANDED proof, close the records and commit with named paths. Use whenever a prover session reports back, whether the agent or the owner's own session.

Version
0.1.0
License
Apache-2.0
Compatibility
Python 3.11 or later, standard library only, for `scripts/formal.py` (`formal probe`, `init`, `check`, `handoffcheck`, `handback`, `readback`); git for the manifest diff; the prover, its build and the manifest generator `scripts/DeclManifest.lean` (Lean 4; another prover writes the same rows its own way) are the project's. Needs `formal.toml` at the project root, which `formal init` writes.
Read SKILL.md at the source

Pinned to revision cb853dced71e, so it is the text this page describes rather than whatever the author pushed since.

Files

Every link opens the file at its source, pinned to the revision this page describes.