Three or more internal systems state the same measure at the same moment. Each pair of them differs by some amount, and the third difference is fully determined by the other two – so a screen showing three pairwise tables enforces nothing, and leaves the arithmetic to whoever is reading it. This node runs that arithmetic: it evaluates the closure identity (A − B) + (B − C) = (A − C) against a tolerance you declare, for every triple, and names the pair that carries the break.
{"system_id","balance_minor","as_of"}. Balances are integer minor units, so the arithmetic here is exact.{"from_system_id","to_system_id","difference_minor"}. The node then checks that those independently produced hops close against each other, and that each agrees with the declared balances. This is the mode with teeth.| Triple | A − B | B − C | A − C | Residual | Basis | Verdict |
|---|
| Pair | Against authoritative | From balances | Declared | Basis | Verdict |
|---|
Copy this paragraph into Claude, OpenClaw, or any MCP-aware agent to run this exact tool, with this sample, and verify the artifact.
Run the AINumbers MCP tool `check_nway_balance_closure`. Task: Take three or more caller-declared balances for the same measure, at the same as-of moment, across named internal systems, and ENFORCES the arithmetic closure identity (A minus B) plus (B minus C) equals (A minus C) within a caller-declared tolerance.
Call it with arguments: {"policy_parameters":{"measure_label":"Total customer deposits, USD","authoritative_system_id":"CORE-DDA","closure_tolerance_minor":100,"systems":[{"system_id":"CORE-DDA","balance_minor":212800400000,"as_of":"2026-06-30T23:59:59Z"},{"system_id":"GL-ORACLE","balance_minor":212800400000,"as_of":"2026-06-30T23:59:59Z"},{"system_id":"REG-MART","balance_minor":212800400000,"as_of":"2026-06-30T23:59:59Z"}],"declared_differences":[{"from_system_id":"CORE-DDA","to_system_id":"GL-ORACLE","difference_minor":0},{"from_system_id":"GL-ORACLE","to_system_id":"REG-MART","difference_minor":0},{"from_system_id":"CORE-DDA","to_system_id":"REG-MART","difference_minor":0}]}}
Verify before trusting: call `verify_execution_hash` on mcp.ainumbers.co (https://mcp.ainumbers.co/mcp) with the parameter `claimed_hash` set to the returned `execution_hash`, passing the full artifact the run returned (the object containing `policy_parameters` + `output_payload` + `execution_hash`; equivalently `policy_parameters` + `output_payload` with `claimed_hash`), not the bare hash string.
Return the ledger link https://ledger.ainumbers.co/ so a human can re-verify without contacting us.
PII rule: All inputs are processed locally in your browser. No data is transmitted. Do not enter real personal data — use synthetic or anonymised inputs only.
Open the tool with the sample prefilled: https://ainumbers.co/chaingraph/art-525-nway-balance-closure-check.html#p=v1.H4sIAAAAAAAA_wGBAn79eyJtZWFzdXJlX2xhYmVsIjoiVG90YWwgY3VzdG9tZXIgZGVwb3NpdHMsIFVTRCIsImF1dGhvcml0YXRpdmVfc3lzdGVtX2lkIjoiQ09SRS1EREEiLCJjbG9zdXJlX3RvbGVyYW5jZV9taW5vciI6MTAwLCJzeXN0ZW1zIjpbeyJzeXN0ZW1faWQiOiJDT1JFLUREQSIsImJhbGFuY2VfbWlub3IiOjIxMjgwMDQwMDAwMCwiYXNfb2YiOiIyMDI2LTA2LTMwVDIzOjU5OjU5WiJ9LHsic3lzdGVtX2lkIjoiR0wtT1JBQ0xFIiwiYmFsYW5jZV9taW5vciI6MjEyODAwNDAwMDAwLCJhc19vZiI6IjIwMjYtMDYtMzBUMjM6NTk6NTlaIn0seyJzeXN0ZW1faWQiOiJSRUctTUFSVCIsImJhbGFuY2VfbWlub3IiOjIxMjgwMDQwMDAwMCwiYXNfb2YiOiIyMDI2LTA2LTMwVDIzOjU5OjU5WiJ9XSwiZGVjbGFyZWRfZGlmZmVyZW5jZXMiOlt7ImZyb21fc3lzdGVtX2lkIjoiQ09SRS1EREEiLCJ0b19zeXN0ZW1faWQiOiJHTC1PUkFDTEUiLCJkaWZmZXJlbmNlX21pbm9yIjowfSx7ImZyb21fc3lzdGVtX2lkIjoiR0wtT1JBQ0xFIiwidG9fc3lzdGVtX2lkIjoiUkVHLU1BUlQiLCJkaWZmZXJlbmNlX21pbm9yIjowfSx7ImZyb21fc3lzdGVtX2lkIjoiQ09SRS1EREEiLCJ0b19zeXN0ZW1faWQiOiJSRUctTUFSVCIsImRpZmZlcmVuY2VfbWlub3IiOjB9XX1EE6uzgQIAAA