How it works

Built on one record.

Everything on the platform writes to, or reads from, the same record. Here is what happens when a commit is checked, when an agent is asked to try a proof, when a statement quietly changes meaning, and how a blueprint reads it all back. These mirror the real services.

Verification

A commit is checked by the prover on isolated infrastructure, and the result is recorded with the manifest that produced it. Nothing enters the record on trust. The prover certifies the proof; whether the statement means what you intended is a separate question (see drift below).

Verification commit to signed record
GitHubWeb / DBWorkerProver
  1. push (HMAC verified)
  2. policy guard, enqueue [queued]
  3. claim (SKIP LOCKED) [running]
  4. clone, run checker (lake build)
  5. command runs, logs
  6. index theorems, sign attestation
  7. complete [succeeded], recompute status

Tables: build_jobs, job_command_runs, artifact_attestations. Re-check any result at /api/v1/jobs/{id}/verify.

AI workbench

An AI run is gated by project policy before it starts, dispatched through a queue, and routed to a provider you control. The output lands as a suggestion, never a silent commit, and is attributed the same way a person would be.

AI workbench policy-gated, queued, attributed
YouWebPolicyDispatchProvider
  1. queue theorem AI run
  2. check policy (repo + team)
  3. allowed + limits
  4. acquire slot, quotas, insert [queued]
  5. claim queued run (SKIP LOCKED)
  6. provider call (BYOK / local)
  7. output, or 429 / error
  8. complete / fail, or retry_at (+15s)

Providers: OpenAI, Anthropic, Google, or a local model (BYOK). Policy: ai_enabled, human_gate_required, per-hour and concurrency quotas.

Semantic drift

When a statement changes under a passing build, the indexer compares it against the last verified snapshot and writes a classified finding. The web layer composes a significance band from typed axes and folds away compiler-generated noise, so a weakened theorem does not hide behind churn.

Semantic drift classified against the last verified snapshot
WorkerDBWebYou
  1. extract head, tag origin (human / compiler)
  2. load baseline (repo + prover)
  3. compare: class, evidence, impact
  4. persist findings + policy action
  5. open changes surface
  6. load findings + stored origins
  7. compose significance, fold compiler-generated
  8. findings ranked by significance

Axes: semantic_class, origin (human_authored / compiler_generated), significance band (critical / high / notable / routine).

Blueprint as a lens

Import a LeanBlueprint project and its plan nodes bind to theorem IDs. Node status is then derived from the authoritative record: proof state plus active work, not a status anyone maintains by hand. The plan stays intent, the theorem facts stay authoritative, and the lens joins them.

Blueprint as a lens plan bound to the verified record
YouWebDB
  1. import LeanBlueprint
  2. parse nodes, edges, bindings (node to theorem)
  3. persist blueprint
  4. open project map
  5. load plan + theorem facts
  6. derive node status (proof + work state)
  7. plan over real results

Import: POST /api/v1/repos/{id}/blueprints/import/leanblueprint. Bindings: node to theorem_uid, handle, workspace doc, or work item. Edges: depends_on, proves, reduces_to.

Keyboard shortcuts