Organizations / Imandra

Imandra

Imandra (Aesthetic Integration) · www.imandra.ai/

Imandra builds automated reasoning for safety-critical systems. Its Imandra Protocol Language (IPL) formalizes a trading venue's Rules of Engagement as a precise, executable model — from which Imandra Connectivity derives conformance test suites, on-demand simulators, certification reports and drift monitoring. This pack captures the best practice for certifying counterparties against a FIX specification using IPL.

How the publications map to ponens policies

IPL compresses a venue's near-infinite FIX state space into a finite set of symbolic regions via the ImandraX reasoner's Region Decomposition; each region becomes one certification case the counterparty must pass. Where IPL establishes *whether* a counterparty conforms, ponens governs *that the certification process was actually followed* — the Rules of Engagement were formalized and version-pinned as an IPL model, the certification cases were generated from the model's regions (not hand-written), an appropriate subset was selected and justified (with invalid and rejection flows kept in scope), every failing case was resolved, and no counterparty reached production without a passed, reported certification.

Each stage of the Imandra Connectivity workflow — formalize the ROE, generate tests, certify (Simulator or Proxy), co-simulate against live traffic, and monitor for drift — becomes a policy group evaluated by ponens trace check over the certification trace. A divergence between the IPL specification and a live session is the observable failure the digital twin is designed to surface, raised here as an error-severity policy.

Apply Formal Methods Where It Makes Sense

Put ImandraX to work exactly where correctness is high-stakes and machine-checkable — and, once formal methods are in play, use them rigorously end to end.

A curated pack for teams adopting formal methods pragmatically. It has two halves. COVERAGE: high-stakes code (the paths a formalization-target scan flags — money math, state machines, access control, bounds) must be backed by a proof or a region decomposition in its lineage before it ships, so formal effort lands where it pays off rather than everywhere. RIGOR: once the pipeline runs, it must run properly — verification goals are formalized first, refuted goals get fixed, decompositions produce tests, and generated tests trace back to a decomposition. The 'high-stakes surface' is data-driven via the trace's high_stakes_paths, so 'where it makes sense' is decided by evidence, not hard-coded paths.

Source: Imandra — CodeLogician / SpecLogician formal-reasoning pipeline.

Rigorous pipeline 7

counterexample_triggers_fix warning

Counterexample Triggers Fix

When a verification goal is refuted (counterexample found), a fix action should follow.

G(Verify  refuted  F(EditFile))
decomposition_drives_tests warning

Decomposition Drives Tests

A region decomposition should be followed by generated tests, so the behavioral breakdown actually yields high-coverage checks rather than being left unused.

G(Decompose  F(GenerateTests))
formalization_is_analyzed warning

Formalization Is Analyzed

Every formalized model is either verified or analyzed — no model is built and left unused.

G(Formalize  F(Verify  StateSpaceAnalysis))
formalize_before_verify error

Formalize Before Verify

Verification goals must be preceded by a formalization step that produced the model being verified.

G(DefineVG  P_chain Formalize)
generated_tests_require_decomposition error

Generated Tests Require Decomposition

Generated test artifacts must derive from a Decomposition artifact in their lineage.

G(GeneratedTests  Decomposition  ancestors(derived_from))
refuted_results_must_be_reproved error

Refuted Results Must Be Re-Proved

A refuted verification result offered as evidence must ultimately be resolved into a proved/sat result — not merely edited around. This is the quality-of-evidence check behind the goal's GOVERNED axis: a criterion is MET the moment a VerificationResult exists for its component, but the result must actually establish the property to count as governed.

G(VerificationResult(refuted)  F(VerificationResult(proved  sat)))
verified_claims_are_fidelity_checked warning

Verified Claims Are Fidelity-Checked

Every verification of a model TRANSLATED FROM CODE should be backed by a passed model↔code fidelity check — a verdict is fully code-grounded only when the model provably reproduces the real code. Vacuous for spec-first / authored IML (no source to conform to).

(F SourceCode)  G(Verify  F(ConformanceResult(passed)))

FIX Certification with IPL

Best practice for certifying a counterparty against a venue's FIX specification using IPL — formalize the Rules of Engagement as an IPL model, generate the certification cases by region decomposition, certify in Simulator or Proxy mode, and monitor for drift — as computable policies over the certification trace.

Imandra Connectivity certifies a counterparty's FIX implementation against a venue's Rules of Engagement (ROE) by formalizing the ROE as an Imandra Protocol Language (IPL) model, then deriving everything downstream from it: the certification cases — generated from the IPL model by the ImandraX reasoner's Region Decomposition — plus on-demand simulators, a certification report, and continuous drift monitoring. This pack encodes the best practices of that workflow as deterministic checks over the certification trace — the ROE must be a valid, version-pinned IPL model; the certification cases must be generated from the model's symbolic regions and an appropriately selected, justified subset run (covering invalid flows and risk-prioritised regions — not every case, and not an arbitrary few); certification must run in a declared mode and produce a report; every failing region must be resolved; the model must be co-simulated against live traffic before sign-off; and no counterparty reaches production without a passed certification, after which spec-vs-system drift must surface as an observable failure. `ponens trace check` turns the per-policy verdicts into a single certification gate.

Source: Imandra Connectivity / IPL — Imandra Protocol Language for formalizing FIX Rules of Engagement (https://www.imandra.ai/connectivity, https://ipl.dev).