feat: formal verification with lean-agentic dependent types#206
Merged
Conversation
Introduces ruvector-verified and ruvector-verified-wasm crates providing proof-carrying vector operations with sub-microsecond overhead. Includes ADR-045, 10 exotic application examples (weapons filter, medical diagnostics, financial routing, agent contracts, sensor swarm, quantization proof, verified memory, vector signatures, simulation integrity, legal forensics), rvf-kernel-optimized example, CI workflow, and root README integration. Co-Authored-By: claude-flow <ruv@ruv.net>
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.
Summary
ruvector-verified— proof-carrying vector operations with lean-agentic dependent types (~500ns dimension proofs, 82-byte attestations, 3-tier gated routing, FastTermArena dedup, ConversionCache, thread-local pools)ruvector-verified-wasm— WASM bindings for browser/edge formal verification (published to crates.io + npm as@ruvnet/ruvector-verified-wasm)examples/verified-applications— 10 exotic domain examples with 33 tests: weapons filter, medical diagnostics, financial routing, agent contracts, sensor swarm, quantization proof, verified memory, vector signatures, simulation integrity, legal forensicsexamples/rvf-kernel-optimized— verified + hyper-optimized Linux kernel RVF with proof-carrying ingest pipelinebuild-verified.ymlfor automated build/test of verification cratesNew Crates
ruvector-verifiedruvector-verified-wasmPerformance
ProofEnvironment::new()prove_dim_eq()verify_batch_dimensions()FastTermArena::intern()hitcreate_attestation()Test plan
cargo test -p ruvector-verified(all pass)cargo test -p ruvector-verified-wasm(all pass)cargo test -p verified-applications(33 tests pass)cargo check -p rvf-kernel-optimized🤖 Generated with claude-flow