Skip to main content

dof prove

Runs all 4 Z3 SMT theorems and reports results.
JSON output:

dof verify-states

Verifies 4 state invariants via TransitionVerifier across all 9 transition types.
JSON output:

dof verify-hierarchy

Verifies the SYSTEM > USER > ASSISTANT hierarchy across 42 patterns.

regression-baseline / regression-check

Capture a baseline and check for regressions:
Use in CI:

Python API


Formal Verification

Theory behind Z3 proofs and invariants

Z3 API Reference

Z3Verifier and TransitionVerifier API