MathCase

Review a saved proof attempt

Read what the model tried and what Lean reported. The files stay in your browser. This page makes no model calls and runs no proof code.

Start with the claim

In your notebook, choose “Save the whole claim.” Open that file here to compare its statement with the saved run.

No case loaded.

Statement and file fingerprint
Exact Lean statement
—
Exact statement SHA-256
—

Add the saved run

Choose the summary from the same run. You’ll see the recorded attempts, outcomes, costs, and any failures.

No run loaded.

Read the model’s attempts

Choose the response files from this run to read the model’s drafts. A draft appears only when its file fingerprint matches the recorded attempt.

No provider response files loaded.

How to create a run on your own machine

Start with a target you have permission to use. Review the exact statement and spending limits first. Keep credentials in your local environment and run candidate code only in the pinned Lean sandbox.

The MathCase command requires an owner grant, input clearance, a specific provider and model, approved prices, and a hard spending cap. This version accepts HTTPS provider endpoints only. Local HTTP Ollama endpoints are unsupported.

Replace the placeholders before running this template in Bash. In PowerShell, put the arguments on one line and omit the backslashes.

mathcase solve-provider --dispatch \
  --problem <cleared-problem.json> \
  --owner-authorization <owner-grant.json> \
  --input-clearance <item-clearance.json> \
  --provider <approved-provider> --protocol <protocol-id> --model <exact-model-id> \
  --base-url <approved-endpoint> --api-key-env <ENVIRONMENT_VARIABLE_NAME> \
  --input-price-micros-per-million <reviewed-rate> \
  --output-price-micros-per-million <reviewed-rate> \
  --per-call-ceiling-micros <cap> --run-ceiling-micros <cap> \
  --max-provider-calls 1 \
  --run-id <unique-run-id> --output <new-result.json> \
  --cost-journal <local-cost-ledger.jsonl> --provider-evidence-dir <local-call-evidence> \
  --lean-snapshot-manifest <pinned-snapshot.json> \
  --lean-sandbox-image sha256:<approved-image-digest> --lean-receipt-root <local-receipts>

Do not paste API keys, owner grants, clearance files, local paths, or raw request/response files into a public page. A visitor controls provider dispatch and spend.