Skip to the content.

← Command reference · CLI overview

lean-pkg formalization

formalization.yaml (v0.4, what Palomar reads): render it from the registry and the repo at HEAD; anchor the companion to one arXiv version.

Usage

lean-pkg formalization [--json] COMMAND

Subcommands

Details

formalization.yaml (mathlib-initiative v0.4, what Palomar reads): formalization render renders it from the registry and the repo at HEAD (formalization NAME is the same), and formalization anchor binds the companion to one posted arXiv version, and formalization kept prints the canonical kept view and its SHA-256. See formalization.yaml.

Exit codes

0 success (dry runs and no-ops included), 1 refused or failed, 2 usage error; see Exit codes.

JSON output

Top-level keys of --json, as recorded in the golden contract (tests/golden/json-keys.json):