Expand description
Formal verification layer for RuVector using lean-agentic dependent types.
This crate provides proof-carrying vector operations, verified pipeline composition, and formal attestation for RuVector’s safety-critical paths.
§Feature Flags
hnsw-proofs: Enable verified HNSW insert/query operationsrvf-proofs: Enable RVF witness chain integrationcoherence-proofs: Enable coherence verificationserde: Enable serialization of proof attestationsfast-arena: SolverArena-style bump allocatorsimd-hash: AVX2/NEON accelerated hash-consinggated-proofs: Coherence-gated proof depth routingultra: All optimizations (fast-arena + simd-hash + gated-proofs)all-proofs: All proof integrations (hnsw + rvf + coherence)
Re-exports§
pub use error::VerificationError;pub use error::Result;pub use vector_types::mk_vector_type;pub use vector_types::mk_nat_literal;pub use vector_types::prove_dim_eq;pub use proof_store::ProofAttestation;pub use pipeline::VerifiedStage;pub use invariants::BuiltinDecl;
Modules§
- cache
- Conversion result cache with access-pattern prediction.
- error
- Verification error types.
- invariants
- Pre-built invariant library.
- pipeline
- Verified pipeline composition.
- pools
- Thread-local resource pools for proof-checking.
- proof_
store - Ed25519-signed proof attestation.
- vector_
types - Dependent types for vector operations.
Structs§
- Proof
Environment - The proof environment bundles verification state.
- Proof
Stats - Verification statistics.
- Verified
Op - A vector operation with a machine-checked type proof.