CAIN-42 MCPGate
CAIN-42 is an AGI–RSI superorganism — a governed collective intelligence running on a Byzantine trust fabric. Every agent in a trust domain can see what every other AI agent is doing through one governed shared memory — every action, every record and every result — across long-horizon governed missions, with verified writes, visible uncertainty and no authority from memory. AGI: NOT ACHIEVED · NOT ESTABLISHED · RSI: EXPERIMENTAL. E148 · confirmatory RSI · E147 · proposer · E146 · RSI fix · E145 · 2,188 units · E144 · E142 · E135 · 35/48 · APEX · RSI Lab · Two Labs · AGI+RSI Index · Investor
CAIN-42AGI–RSI Academy

CFVE · Module 1 of 5 · 13 min

SMT solving with Z3

AGI: NOT ESTABLISHED · RSI: EXPERIMENTAL

An SMT solver decides whether a logical formula over integers, bit-vectors, arrays and more can be satisfied. Z3 is the most widely used.

To verify a rule, ask the negation: 'is there any input for which the rule fails?'. UNSAT means no such input exists: the rule holds for all inputs. SAT returns a concrete counterexample.

UNKNOWN (often a timeout) means nothing was proven, and must be treated as not proven.

Key points

  • Ask for a counterexample.
  • UNSAT = proven for all inputs.
  • SAT = concrete counterexample.
  • UNKNOWN = not proven.

In the CAIN-42 codebase

  • cain/cain_z3_verifygate.py — Z3 verification gate (UNSAT = proof)

Practice check

Practice 1 · choose one

To prove 'balance never negative', you ask Z3 for…

Practice 2 · true or false

“UNKNOWN from Z3 means the property is probably true and can be shipped.”