Skip to content

Verus: fleet induction, transport protocol, fleet liveness (no bound) - #51

Closed
jaredLunde wants to merge 1 commit into
mainfrom
jared/verus-fleet
Closed

jaredLunde wants to merge 1 commit into
mainfrom
jared/verus-fleet

Conversation

@jaredLunde

Copy link
Copy Markdown
Contributor

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

…, 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>
@jaredLunde

Copy link
Copy Markdown
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>
@jaredLunde jaredLunde closed this Nov 22, 2026
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