Skip to main content
The engine is the same everywhere; only where it runs changes. Choose with [verify] runner or --runner.

local

theformalera.toml
The engine needs Lean 4 (lake) and the built spec workspace. Results are cached in .theformalera/cache. Cache that directory, .theformalera/lemmas/local and ~/.cache/theformalera between CI runs; the GitHub Action does this for you.

cloud

theformalera.toml
The CLI lowers each kernel locally and uploads a request (theformalera.request/v1) with the TTIR of every configuration, the annotations and the resolved spec nodes. It then polls the job and writes the returned certificates to .theformalera/proofs. Requests are limited to 64 MiB. Cloud verification counts against your plan’s quota; when the quota is exhausted, the run fails with cloud verification quota exhausted for this billing period.

on-prem

theformalera.toml
The CLI posts the same request to $THEFORMALERA_ENGINE_URL/v1/solve and waits for the response. To also keep specs and lemmas in-house, run a self-hosted Hub; see Self-hosting.

Timeouts

[verify] timeout_per_kernel (default 15m; accepts 90s, 15m, 1h) bounds the Lean check of each kernel locally. In cloud and on-prem mode, the whole run may take timeout_per_kernel × number of kernels. A proof check that exceeds its budget is UNKNOWN · TIMEOUT.