pp in front of the
command you were going to type anyway:
pp’s exit code, so scripts, Makefiles and editors that shell out
to lake keep working.
Why
Formal verification needs a lot of CPU and memory, but only in bursts. A Mathlib-sized build wants many cores and tens of gigabytes for a few minutes, then nothing for an hour while you think. Buying or renting a machine sized for the burst means paying for it while it idles. ProofPod bills per second for what a command actually uses:- CPU and memory limits are ceilings, not purchases.
--cpu 16 --memory 64Gcosts nothing by itself. You pay for the core-seconds and GiB-seconds consumed underneath. - The memory of preloaded Mathlib is free. Lean memory-maps compiled libraries instead of copying them. ProofPod meters what your command allocates, not the library pages it maps. A file that imports all of Mathlib shows about 8 GB resident and is billed for about 0.36 GB.
- Idle time is free. The sandbox stays warm for two minutes after a command so the next one starts fast. You are not charged for that.
- Storage is free for now, and prebuilt Mathlib never counts as your storage.
How it works
- Environments. Each Lean + Mathlib version pair is built once and reused by
everyone. Your project’s packages are linked to the prebuilt copies when the
revisions in your
lake-manifest.jsonmatch, so Lake finds them up to date. - Workspaces. Each project has a persistent cloud workspace holding its sources and its own build outputs. Incremental builds stay incremental.
- Two-way sync. Only changed files travel, in either direction, and a local file is never overwritten if you edited it in the meantime.
What does not change
- Your project. There is nothing to add to your lakefile and no configuration file to write.
- Your editor. The Lean language server keeps running on your machine.
- Your commands. Everything after
pp leanorpp lakeis passed through untouched.
Next
Quickstart
Install, sign in, first build.
What runs where
Which commands go to the cloud and why.
Billing
Exactly what is metered.