Skip to main content
Z3 is the theorem prover used in safety-critical systems — aerospace certification, nuclear reactor safety, cryptographic protocol analysis. DOF uses Z3 to prove governance invariants mathematically. Not monitored. Proven.

The 4 SMT Theorems


8 State Invariants (TransitionVerifier)

core/transitions.py verifies state transitions across all 9 transition types:

9 Transition Types

Results saved to logs/z3_proofs.json.

The Z3 Gate

File: core/z3_gate.py — neurosymbolic interface between LLM proposals and formal proofs.

ProofResult States


42 Hierarchy Patterns

HierarchyZ3 verifies that SYSTEM > USER > ASSISTANT holds under:
  • 6 override patterns
  • 11 escalation patterns
  • 25 additional hierarchy patterns

Cryptographic Proof Chain


Verify On-Chain (Anyone)


On-Chain Attestations

Full deployment table — 9 chains

Z3 API Reference

Z3Verifier and Z3Gate full API