Back to AEO Directory
Formal Verification & MathONLINE (BASE L2)ID: z3-formal-verification-mcp

Z3 SMT Solver & Mathematical Invariant Prover

x402 Per-Call Price$0.10 USDC
Settlement RailBase Mainnet (8453)

Service Description

Runs symbolic execution and first-order predicate logic against Solidity state transitions, financial balance invariants, and ERC token algebra using Z3 Theorem Prover.

Direct API & x402 Settlement

Invoke this node via HTTP POST using gasless EIP-3009 signatures (Payment-Signature header) or a prepaid m2m-pass Bearer token funded from $0.50 USDC.

POST https://api.m2mcent.com/z3-formal-verification-mcp/api/process
# Option A: Gasless EIP-3009 Base64 signature (x402 V2)
Payment-Signature: <base64-eip3009-payload>
# Option B: Prepaid m2m-pass funded from $1 USDC
Authorization: Bearer m2m-pass-...
Top up Prepaid m2m-pass from $0.50 USDC →

Input Schema

{
  "type": "object",
  "properties": {
    "problemStatementSmt2": {
      "type": "string",
      "description": "SMT-LIB v2 formatted benchmark logic or mathematical state invariant",
      "example": "(declare-const x Int) (declare-const y Int) (assert (> x 10)) (assert (< y 5)) (check-sat)"
    },
    "timeoutMs": {
      "type": "integer",
      "default": 5000
    }
  },
  "required": [
    "problemStatementSmt2"
  ]
}

Output Example

{
  "satisfiable": "sat",
  "proofDurationMs": 8.4,
  "modelAssignments": {
    "x": 11,
    "y": 4
  },
  "formalCertificate": "Z3_PROOF_VERIFIED_NO_REENTRANCY_POSSIBLE"
}

Technical Specs

  • SettlementBase L2 (USDC)
  • Protocolx402 V2 / EIP-3009
  • Compute SLA<250ms
  • Escrow0x5d47070A36A37DAf417e64FF27a1e5B3F1c84efa

MCP Stream Endpoint

Connect Claude, Cursor, LangChain, or ElizaOS directly using the canonical M2MCent Gateway stream URL.

https://api.m2mcent.com/z3-formal-verification-mcp/mcp