Skip to content

formal: add replay boundary kernel - #12

Merged
doomhammerhell merged 1 commit into
mainfrom
v0.2/formal-replay-boundary
Sep 16, 2026
Merged

doomhammerhell merged 1 commit into
mainfrom
v0.2/formal-replay-boundary

Conversation

@doomhammerhell

Copy link
Copy Markdown
Owner

Closes #6.

Summary

  • adds a small Lean replay-boundary predicate over expected hashes, submitted hashes, assignment completeness, metadata well-formedness, and reported/recomputed energy equality
  • proves accepted candidates preserve energy agreement, problem-hash identity, and assignment completeness in the simplified kernel
  • adds a readable TLA+ single-candidate state sketch with submitted, verified, and rejected transitions
  • scopes formal claims to reviewable kernels, not implementation-wide correctness

Verification

  • cd formal/lean && lake build
  • bash scripts/run_audit.sh

@doomhammerhell
doomhammerhell merged commit 89314ab into main Sep 16, 2026
2 checks passed
@doomhammerhell
doomhammerhell deleted the v0.2/formal-replay-boundary branch September 16, 2026 21:18
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.

v0.2: minimal formal alignment for replay boundary

1 participant