Skip to main content

A directory mirror

Point projects at it with THEFORMALERA_HUB (or hub = "file:///…" in theformalera.toml):
With a file:// Hub:
  • no token is needed; THEFORMALERA_ORG names your organisation (default local-org) and THEFORMALERA_PLAN your plan (default enterprise);
  • the lemma libraries are directories in the store; deposits go to lemmas/inbox/ and are admitted by theformalera-hub lemmas admit;
  • cloud verification is not available: use runner = "local".
theformalera.lock pins package digests. A lock written against one Hub only works with a Hub that serves the same package. After pointing a project at a different Hub, run theformalera pull --update, or delete the lock and pull again.

Run the API

Then set hub = "http://<host>:8700" in projects. Issue tokens with:
For cloud-style solving, run one or more workers next to it. They take jobs from the store’s queue and run the engine:

Render the website

The site has a page per model (Lean definitions, rendered formulas, the compute graph and the trust status), a page per node, and a page per lemma.