Formal Verification & Security Model
trusted-ts pairs audited workspace unsafe discipline (unsafe_op_in_unsafe_fn = "deny", clippy::undocumented_unsafe_blocks = "deny", zero unsafe in parser, compiler, Z3 verifier, JSON parser, or OSV auditor) with layered mechanized proofs:
1. Verus Unbounded Kernel Proofs (143 Verified, 0 Errors)
Section titled “1. Verus Unbounded Kernel Proofs (143 Verified, 0 Errors)”Proves functional correctness, absence of arithmetic overflow, and memory bounds across Meter, NaN-boxed Value (Tag::Set and Tag::Map isolation), power-of-two Buddy allocators (arena.rs), Region, Object/Array/Str, and Map.
2. Lean 4 Soundness Proofs (0 sorryAx)
Section titled “2. Lean 4 Soundness Proofs (0 sorryAx)”Audited automatically by lean/AxiomAudit.lean:
NanBox.lean,Crossing.lean,StackSafety.lean, andPreemption.lean- 5 meta-theorems in
Verify.lean:rollback_preserves_invariantinductive_vc_soundtaint_crossing_noninterferencehoare_loop_sound(/** @invariant ... */)cps_frame_isolation_sound
3. Kani Bounded Model Checking (18 / 18 Harnesses Verified)
Section titled “3. Kani Bounded Model Checking (18 / 18 Harnesses Verified)”Verifies NaN-boxing, buddy coalescing, heap_and_stack_never_alias, 64-bit x86_64/aarch64 seccomp BPF specs (never_list_is_always_refused_with_enosys), Map/Array/Object layouts, operand-stack safety, bounded Thompson NFA compilation (<= 256 states), tts_kernel::crypto SHA-256/HMAC/ct_eq, and strict Base64 round-trips.
4. @tsmodel Protocol Specs (6 / 6) & Incremental Z3 (tts prove)
Section titled “4. @tsmodel Protocol Specs (6 / 6) & Incremental Z3 (tts prove)”tts prove runs persistent incremental Z3Session workers (--jobs=1..64) discharging init_invariant, loop_invariant, handle_no_panic, inductive_invariant, and phantom __label crossing taint flows—caching only VERIFIED SHA-256 results (--cache) and emitting deterministic --json, SARIF 2.1.0 (--sarif), and Markdown Proof & Capability Certificates (--cert).