Repository navigation
Verus: fleet induction, transport protocol, fleet liveness (no bound) - #51
Closed
jaredLunde wants to merge 1 commit into
Closed
jaredLunde wants to merge 1 commit into
jaredLunde wants to merge 1 commit into
Conversation
…, with no bound fleet_proofs.rs: N nodes running applied::step_spec and the protocol specs over a log spec (writes, deletes, eviction, recreation); finv inductive over every action; progress by a rank. transport_proofs.rs: pointer monotone, prune never deletes the target, fetch-vs-prune, over all interleavings. Findings F1-F4 as Verus-checked concrete states. rlimit raised on one existing lemma. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Contributor
Author
|
Included in #52 (stacked; squashed together). |
jaredLunde
added a commit
that referenced
this pull request
Nov 22, 2026
…it found (pointer, restore, eviction memo, dead-stream export); v0.10.4 (#51, #52) * Verus: the fleet induction, the transport protocol and fleet liveness, with no bound fleet_proofs.rs: N nodes running applied::step_spec and the protocol specs over a log spec (writes, deletes, eviction, recreation); finv inductive over every action; progress by a rank. transport_proofs.rs: pointer monotone, prune never deletes the target, fetch-vs-prune, over all interleavings. Findings F1-F4 as Verus-checked concrete states. rlimit raised on one existing lemma. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * tests: F1, F2, F4 against a live nats-server (red before the fixes) * Fleet findings F1, F2, F4 fixed; F3 stated exactly; the proofs lose the premises that excluded them (0.10.4) F1: the pointer guard orders by (incarnation, rank); payload names carry the incarnation so prune stays sound. F2: a foreign cursor is forgotten and the restore of a fold of another incarnation is the artifact, key for key. F4: forgetting the foreign cursor forgets its eviction memo. F3: ARCHITECTURE, model_fleet and the theorem names state 'complete', not 'equals the truth at its cursor'. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * tests: a torn first checkpoint across a recreation (red before provenance) * F1 without a clock axiom (a pointer of another incarnation is replaceable; F1b reported); folds record their stream before data, so a torn first checkpoint is judged, not trusted Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * F1b: the transport proofs cover all incarnations; a dangling pointer is a detected miss (a) ended by the live exporter's round (b) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * F1b premises are theorems: export guard, lease takeover guard, converged exporter at the head; the axiom list is the environment only Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Unbounded Verus twins of tests/model_fleet.rs and tests/model.rs: fleet_proofs.rs (N nodes over applied::step_spec + protocol specs, log with eviction and recreation; invariant inductive over every action; ranking-function liveness) and transport_proofs.rs (pointer monotone, prune never deletes the target, fetch vs prune). Findings F1-F4 are Verus-checked concrete states (see ARCHITECTURE.md 'What is proven about the fleet'). Fresh-dir verify: 2159 verified + 135 verified, 0 errors. Mutations red as listed in ARCHITECTURE.md.
🤖 Generated with Claude Code