Skip to content

test: add formal verification of the leaderless signaling protocol - #4

Merged
h4x3rotab merged 3 commits into
mainfrom
formal/leaderless-signaling
Oct 26, 2026
Merged

h4x3rotab merged 3 commits into
mainfrom
formal/leaderless-signaling

Conversation

@h4x3rotab

@h4x3rotab h4x3rotab commented Oct 25, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Formal-verification-only follow-up to merged implementation PR #3. This PR now targets main; its diff contains only the verification package, CI, documentation links, and ignore rules.

  • Add the protocol/ TLA+ models, negative controls, reachability witnesses, and pinned TLC runner.
  • Add the Lean signaling-state convergence proof, axiom audit, concrete infinite cold-start witness, and reproducible proof runner.
  • Add verification CI, evidence reports, documentation links, and model/cache ignore rules.

No runtime code or deployment configuration changes relative to implementation PR #3. This branch is synchronized with #3's native single-apply deployment and inline-env coordinator module; the formal package itself and signaling runtime hashes remain unchanged from the originally checked combined source.

Evidence and claim boundaries

The package previously passed 35/35 TLC expectations and 104 Lean kernel-checked declarations, with no placeholders or custom axioms. Its CI jobs also passed on the original combined PR; this split reruns them independently.

The unbounded theorem proves signaling-state convergence, mutual credential knowledge, and stable-epoch candidate dissemination. Premises include authenticated honest fixed membership, fresh identifiers, unbounded counters, finite external resets, fair processing/publication, and recurring timely common-broker lease windows. Protocol-induced renegotiation termination is derived, not assumed.

It does not prove Go implementation refinement, attestation/crypto correctness, finite timeout resets, NAT mapping usability, bounded latency, or ICE connection success. The finite composed-recovery TLA+ checks and the unbounded Lean specification are separate evidence; no equivalence is claimed.

See protocol/README.md and protocol/proof/README.md for exact model bounds, assumptions, and proof scope.

@h4x3rotab
h4x3rotab changed the base branch from leaderless-signaling to main October 26, 2026 04:02
@h4x3rotab
h4x3rotab merged commit 78321ff into main Oct 26, 2026
2 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