FORMAL VERIFICATION / METHOD GUIDE

Business rules, checked
across every allowed input.

Short answer: unit tests and random samples only inspect isolated inputs. By expressing bounded linear business rules in a compact specification language, a CDCL(T) SMT solver over exact rationals checks the entire declared domain at once—returning either a domain-wide verdict or a re-checked counterexample.

Why ad-hoc tests miss stacked rule bugs

Pricing tables, promo engines, tax brackets and IAM policies accumulate exceptions over time. Two rules that each look safe individually can combine on one rare combination of age, cart total, membership flag and tier to exceed a cap or leak access. Sampling 50 or 5,000 random points leaves continuous and boundary combinations untested, and tells you nothing about dead rules or silent overlaps.

Compact syntax, exact rational arithmetic

Rather than sending deeply nested JSON abstract syntax trees, verify_policy accepts a concise text syntax (typically 3× fewer tokens than an equivalent JSON AST) specifying bounded int, real, bool and enum inputs, sequential or first_match evaluation, rules (=, +=, -=, *= by a constant), assume clauses and assert invariants. Rust solves the resulting constraints using exact arbitrary-precision rationals with infinitesimals for strict inequalities—no floating-point rounding enters the solver or the independent counterexample re-check.

A recorded public call

On 26 November 2026 through the public MCP endpoint (release 0.20.0), checking a sequential discount policy (senior +20 and vip_perk +25 against assert cap40: discount <= 40) returned overall_status = "issues_found" and cap40: violated in 5 SMT queries: age = 65, amount = 100, vip = true, tier = pro fires senior and vip_perk to produce discount = 45 (re-checked by the separate exact evaluator: true). Coverage status was gap_found (inputs and full response).

Four checks in one call

Limits

Sources

Try the live verify_policy demo · Read the engine contract · Connect with ?profile=verify

First published 26 November 2026 · Last updated 26 November 2026