Skip to content

Fix theorem harness continuation and declaration recovery - #76

Merged
LikC1606 merged 1 commit into
mainfrom
codex/harness-recovery-fixes
Dec 1, 2026
Merged

LikC1606 merged 1 commit into
mainfrom
codex/harness-recovery-fixes

Conversation

@LikC1606

@LikC1606 LikC1606 commented Dec 1, 2026

Copy link
Copy Markdown
Collaborator

A large continuation archive could exceed attachment limits before the solver started, and older Lean receipts could be rejected against the current default toolchain. Deduplicate archived sources by commit, keep oversized declaration archives intact behind an attachment index, and validate historical receipts against the original pinned dependency bytes. A startup-only run now installs the frozen continuation and rechecks saved declarations when it resumes.

Preserve indentation when checking multiline Lean declaration signatures. When Codex shutdown is already in progress, wait for it before confirming that the proof writer stopped.

Validation: 228 focused tests, type checking, and the headless build passed. A real historical continuation rechecked all 274 declarations without failures. The final build handed off a resumed run to a local Codex stub, and two previously rejected Goldbach signatures passed replay with Lean 4.36.0.

Keep oversized continuation archives recoverable, defer helper rechecks until startup-only runs resume, and read Lean receipts against their frozen toolchains.

Preserve multiline Lean declaration types and wait for Codex shutdown before confirming that the proof writer stopped.
@LikC1606
LikC1606 merged commit adc4edd into main Dec 1, 2026
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant