Skip to content

Consolidated into #5386: exact proof workspaces and verification - #5387

Closed
williamjblair wants to merge 168 commits into
google-deepmind:mainfrom
williamjblair:codex/fc-toolkit-proof-cli
Closed

williamjblair wants to merge 168 commits into
google-deepmind:mainfrom
williamjblair:codex/fc-toolkit-proof-cli

Conversation

@williamjblair

@williamjblair williamjblair commented Sep 9, 2026

Copy link
Copy Markdown
Collaborator

Generate a workspace for an exact FC declaration, import only permitted submission files, and retain a typed verification result. Candidate code cannot choose trusted files, tool pins or verification policy.

Active draft. Depends on #5386, #5337 and leanprover/comparator#87. The upstream diff still includes prerequisites. Replay only this delivery's changes after they merge, then request review.

Operation Behavior
init TARGET --out DIR Exact retrievable source revision, pinned workspace and agent handoff
Local Linux verification Qualified executor; no automatic candidate publication
GitHub verification Explicitly committed public workspace and pinned trusted workflow
Inspect/wait/cancel Retained logs and typed success, rejection, error or cancellation

Unfinished proofs and imported assumptions remain distinct from verifier crashes and missing results. Definition holes can require semantic assessment even after kernel success. A missing workspace now returns directory_missing before target lookup.

Qualified on the fork: 94 focused tests pass. RC3 qualification records fresh macOS initialization, explicit public workspace commit/push, hosted proof success/rejection/error, and real Linux trust controls. Missing or malformed results retain unevaluated policy. No outcome is inferred from log text.

Remaining: adopt accepted dependency revisions, rerun affected qualification, and replay this delivery after prerequisites merge. The Harbor adapter remains experimental on codex/fc-toolkit-evals; it does not block the core CLI.

Roadmap: #4394. Acceptance: #5376. No upstream executor activation is authorized by this draft.

A second-pass semantic review for Formal Conjectures pull requests. It answers
one question, whether the Lean statement says what its cited source says, and
leaves style, naming and imports to CI and AGENTS.md.

The default path is one pass: bind the scope, run the focused build, read the
cited source, compare meanings, report or stop. Escalation has named triggers,
so the expensive work (whole-document reads, cross-references, Lean witnesses,
history) runs when something calls for it rather than on every file.

Findings carry a witness, what that witness shows and does not show, and the
smallest proposed change. The output is publishable to GitHub as-is, and the
review is advisory: it does not approve, merge, label, or touch a contributor
branch.

evals/evals.json records the measurement history, including a three-arm run
against no skill and against an earlier version of this skill, over eight cases
built by reverting merged fixes onto main. This skill matches the unaided
reviewer's cost and wall clock, catches a case the unaided reviewer misses, and
files a quarter as many items. The false-positive control returns CLEAN with no
findings, where both other arms file nits.

That run also records the measure the earlier iterations lacked. A suite where
every case has a planted defect rewards recall and charges nothing for a
finding that should not have been filed, so the file now reports findings filed
alongside pass rate.
The monolithic defect-classes reference becomes four rubric files -
_common, source-fidelity, statement-soundness, metadata-hygiene - the
shape TauCetiProject/TauCetiReview uses, so a finding names the kind of
defect it is, coverage is checkable per angle, and the rubrics could be
judged independently by a runner without rewriting them. SKILL.md's
compare step routes through the angles; the fast path is otherwise
unchanged.

The restructure initially regressed exactly the verification behaviours
the assertion hardening of iterations 9-11 exists to detect, and the
eval loop caught and repaired it: witnesses are checked rather than
argued, escalation is mandatory for any verdict-setting finding, a
source construction runs as a positive control when faithfulness rests
on it, and a formal_proof root link stays a finding even after private
resolution. Post-fix runs restore the ceiling on both active cases,
9/9 on 940 and 8/8 on ClaudesCycles, with each rule attributable to
the single assertion it flipped. iteration_16 records the loop.
@williamjblair

Copy link
Copy Markdown
Collaborator Author

Consolidated into #5386. On 16 September the toolkit was rebuilt on current main from the qualified integration branch. Proof workspaces, verification and the Harbor evaluation export now ship with the CLI, because they share cli.py, core.py and the release packaging. Splitting those shared files across three PRs would have meant reviewing versions that were never qualified. #5386 passes every upstream check, and the Linux proof controls and Harbor qualification passed again on the rebuilt content. The branch codex/fc-toolkit-proof-cli is kept as history.

@williamjblair williamjblair changed the title Create and verify exact proof workspaces through the CLI Consolidated into #5386: exact proof workspaces and verification Sep 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI documentation Improvements or additions to documentation javascript Pull requests that update javascript code website

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant