spec show
--lean also prints the Op Spec’s Lean 4 definition.
<model>@<version>:<layer-path>), and the model must be locked in the current project. To browse a model without a project, use theformalera-conformance spec <model> or the Spec Hub pages.
spec new
torch.export program. Engineering nodes (KV cache, device and dtype moves, memory-only views, backend branches) are stripped. Recognised subgraphs become Op Spec instances, and anything else is marked -- REVIEW:. See Write and check a spec.
It reports how many graph nodes it read, how many Op Spec instances it produced, how many engineering nodes it stripped, and how many need review:
spec check
.):
lake build: types, dimensions and every proof;lake env lean Audit.lean, if present: every audited theorem uses onlypropext,Classical.choiceandQuot.sound;- if the
theformalera-specexecutable is built: for each model, the graph’s inputs are all produced by another node, a graph input or a cache value.
