From 1c66de1d82a4af3e2889946cabc7f57240e1b73c Mon Sep 17 00:00:00 2001 From: Fabio Anza Date: Sun, 25 Oct 2026 12:55:47 +0000 Subject: [PATCH] Recommend the default prover and document the production time cap --- README.md | 4 ++-- skill/SKILL.md | 2 +- src/commands/prove.ts | 7 ++++--- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 340f9e8..6f955f0 100644 --- a/README.md +++ b/README.md @@ -184,14 +184,14 @@ agentic-physics prove thm.lean -d "…" --mode interactive # ask me before pr agentic-physics prove thm.lean -d "…" --mode automated # the decomposing prover ``` -- **Default.** The prover writes whole proofs, with the kernel's feedback, while a tactic search races it. When the writer needs an intermediate lemma, it proves that lemma as a sub-run on its own. +- **Default (recommended starting point).** The prover writes whole proofs, with the kernel's feedback, while a tactic search races it. It handles multi-step statements too: when the writer needs an intermediate lemma, it proves that lemma as a sub-run on its own. - **`--mode interactive`.** Like the default, but before proving such a lemma the run pauses and asks you. `status` shows the question; answer it with one of: ```bash agentic-physics answer run_… accept # prove the lemma first, then go on agentic-physics answer run_… steer "use the work–energy theorem instead" agentic-physics answer run_… stop ``` -- **`--mode automated`.** The decomposing prover: a blueprint of subgoals, proved one by one, revised when one fails, for up to 16 minutes. Use it for statements that need several steps. +- **`--mode automated`.** An alternative prover that builds a blueprint of subgoals, proves them one by one, and revises the blueprint when one fails. Production allows up to 60 minutes. Choose it when you want this decomposition workflow; after a failure, inspect the reason and the statement before retrying or switching modes. Your runs, from every place you prove (the console, VS Code, the desktop app, this CLI): diff --git a/skill/SKILL.md b/skill/SKILL.md index 5e59b8e..5aca5e1 100644 --- a/skill/SKILL.md +++ b/skill/SKILL.md @@ -44,7 +44,7 @@ EOF - **5 — still running.** `agentic-physics status --wait 540`. - **6 — the run asks a question** (only with `--mode interactive`). Show the user the question and the options. Answer with `agentic-physics answer accept`, `stop`, or `steer ""` once they decide, or when they told you to decide. - **3** — not signed in (see above). **1** — an error; the message says which. -4. **After a failure, think before retrying.** A statement can be false as written, miss a hypothesis, or need a simpler lemma proved first. `--mode automated` runs the decomposing prover (subgoals, revisions, up to 16 minutes) for statements that need several steps. +4. **After a failure, think before retrying.** A statement can be false as written, miss a hypothesis, or need a simpler lemma proved first. Start with the default mode: it can prove multi-step statements and proves needed lemmas as sub-runs. Use `--mode automated` when you specifically want the alternative blueprint-and-subgoal prover; production allows it up to 60 minutes. A failure alone is not a reason to switch modes. ## Talking to the agent diff --git a/src/commands/prove.ts b/src/commands/prove.ts index 9bc6851..ec43dcf 100644 --- a/src/commands/prove.ts +++ b/src/commands/prove.ts @@ -94,9 +94,10 @@ Options: --mode M interactive: when the prover needs an intermediate lemma it pauses and asks you (see \`answer\`). automated: the decomposing prover — a blueprint of - subgoals, retried and revised, up to 16 minutes. - Default: neither; needed lemmas are proved on their - own as sub-runs, nothing is asked. + subgoals, retried and revised, up to 60 minutes + in production. An alternative to the default. + Default (recommended): whole proofs and tactic + search; needed lemmas are proved as sub-runs. ${WAIT_HELP.replace("WAIT", String(DEFAULT_WAIT))} -o, --output F Write the proof to F, a new .lean file, if the kernel accepts one. An existing file is never overwritten.