The Great Convergence — how four forty-year lineages met in the ledger
For forty years, four groups of stubborn people worked in separate rooms: the logicians trying to make statute executable, the ontologists trying to recover event-based accounting, the standard-setters turning financial disclosures into structured data, and the compiler engineers proving properties over silicon and code. This week, a single field note on Prolog's compiler moment showed us those four rooms have opened into one hall — and placed an emergent discipline of deterministic accounting and tax squarely on the field.
The field note that lit up the sonar
Earlier this week, we published a short post on LinkedIn: For forty years, Prolog had a usability problem, not a capability problem.
The trigger was operational, not theoretical. Over the preceding week at LodgeiT Labs, we mapped our internal architecture across 373 typed nodes in a closed 12-type ontology covering 115 repositories, services, and statutory rule lineages, then wired an independent verification agent to audit the entire graph in LogicalEnglish2 and SWI-Prolog. Humans signed off on plain-English structural laws; the agent handled extraction, identifier hygiene, and parser quirks; SWI-Prolog traversed the graph in roughly two seconds, caught eight real repository links hiding inside operational subtrees with a step-by-step because proof tree for each, and ran seeded counterfactual faults on every pass to prove the alarms actually ring when a rule breaks.
We did not boost the post. Yet 85% of its impressions travelled outside our network, and the names appearing in the thread and inbound follower roster forced us to stop and map the topology of who is actually paying attention.
First into the comments was Jacinto Dávila, the computational logician who co-created Logical English alongside Robert Kowalski and Miguel Calejo (who has written most of the LogicalEnglish2 code), and co-built the Apache 2.0 LogicalEnglish2 reasoner:
"Agents didn't AND WILL NOT make Prolog and Logical English obsolete—they finally unlocked their compiler toolchain. Where probably right isn't good enough, formal logic is becoming the verifiable CPU underneath our AI workflows."
Right beneath Dávila came Charles Hoffman, CPA — the father of XBRL and architect of the Object Management Group's Standard Business Report Model (SBRM).
Then came the quiet inbound follows from across computer science and computational law: Jean Rohmer from the French birthplace of industrial Prolog and deductive databases at Bull CEDIAG; Kave Eshghi, who co-authored the foundational 1989 abductive logic programming paper with Kowalski at Imperial College; Torbjörn Lager, Professor Emeritus at Gothenburg and co-creator with Jan Wielemaker of Pengines and SWISH for SWI-Prolog; Michael A. Covington, whose Prolog Programming in Depth and Natural Language Processing for Prolog Programmers trained a generation of engineers; Dan Brickley, co-creator of FOAF, W3C RDF Schema co-editor, and founder of Schema.org; STMicroelectronics compiler chief Christophe Monat; SiFive formal silicon verification engineer Saptarshi Sarkar; and statutory reasoning pioneers Jason Morris (Blawx), Tom Barraclough (Brainbox Institute and New Zealand's Legislation-as-Code studies), and Ciarán McGonagle (ISDA Smart Derivatives Contracts and the Common Domain Model).
Forty-eight hours later, Charles Hoffman shared a new essay, Trust with Accountability, Explainability, and Quality, with the open correspondence list he keeps: some sixty people across digital reporting, free to comment or leave. He argues that the exact accountability architecture built for financial reporting is the missing antidote to AI's epistemic risk, reducing uncertainty until "trust becomes rational rather than merely hopeful." Being on that list is not an endorsement of anyone's work, ours included. But the list itself reads like a living institutional memory of digital accounting, including Barry Melancon (AICPA's thirty-year CEO), William E. McCarthy (creator of the REA accounting ontology), Alan Teixeira (Deloitte Global Director of IFRS Research and former IASB Senior Technical Director), Mike Willis (Founding Chairman of XBRL International and SEC DERA Associate Director), David Blaszkowsky (Founding Director of the SEC Office of Interactive Disclosure), J. Louis Matherne and David Shaw at FASB, John Turner (CEO of XBRL International), Campbell Pryde (CEO of XBRL US), Dave McComb and Cheryl Dunn at Semantic Arts, and Willi Brammertz of ACTUS.
When those two circles overlap on the same week, something larger than a blog post is happening. Four forty-year research programmes are converging on a single architectural problem.
Why the "just scale the prompt" era hit a wall in November 2026
For the past three years, the prevailing bet in enterprise software was that larger context windows and chain-of-thought scaffolding would eventually turn probabilistic language models into trustworthy accountants and tax advisers.
In November 2026, that bet ran head-first into dynamical systems mathematics and empirical statutory benchmarks.
As we examined in Riddled basins, University of Sydney physicists Pulin Gong and Andrew Ly published a landmark study in Nature Machine Intelligence (Gong & Ly, 2026; University of Sydney summary) analysing roughly 500,000 neural networks. They showed that the parameter basins governing neural outcomes form interleaved "fat" fractals: increasing initialization precision ten billion times yielded zero measurable gain in reproducibility, and flipping a single bit routed training into a different internal configuration in roughly 48% of cases. Pair that geometric limit with the causal reasoning results we covered in Mind the Causal Ladder — where latent neural world models fail Pearl's Level 3 counterfactual queries — and the empirical tax benchmarks cited in our November 15 submission to the OECD Law as Code consultation: frontier models got fewer than a third of 51 complete tax returns right on TaxCalcBench, and reached only 44.4% when writing statutory rules on the fly in DeonticBench.
In the discussion that followed, Dudley Gould of the ICAEW Data Analytics Community diagnosed the category error cleanly: asking how to stuff an entire general ledger into a million-token LLM context window confuses narrative fluency with deterministic calculation. Accounting reconciliations and statutory tax assessments do not tolerate "probably right." A cent off is a failed reconciliation; one unverified edge case in Division 36 or Division 7A is a misstated return signed under personal professional liability.
You cannot prompt-engineer your way out of a riddled basin. You have to collapse the fractal at a deterministic firewall before it touches the books.
The four rooms of the Great Convergence
Once you recognise that AI agents belong in front of formal logic as its compiler — rather than in place of formal logic as an oracle — forty years of seemingly separate work snaps into a single blueprint. Each of the master nodes watching this space built a load-bearing piece of that machine:
-
Marseille, London, and Gothenburg — The Logic and Compiler Room (1972–2026). After Alain Colmerauer's group birthed Prolog in Marseille and Jean Rohmer drove industrial deductive inference and semantic networks at Bull CEDIAG, Robert Kowalski and Marek Sergot demonstrated in 1986 that complex legislation (The British Nationality Act) could be executed directly as a logic program. In 1989, Kave Eshghi and Kowalski showed how negation-as-failure and abduction could infer missing hypotheses under integrity constraints (Abduction Compared with Negation by Failure). Michael A. Covington bridged Prolog to natural language parsing, while Torbjörn Lager and Jan Wielemaker turned SWI-Prolog into stateless, web-callable query engines through Pengines and SWISH. Earlier this month, Kowalski and Jacinto Dávila's
LogicalEnglish2architecture paper completed the modern bridge: a fresh meta-interpreter emitting navigable natural-language justification and failure trees, wired directly to the Model Context Protocol (MCP) so AI agents can compile, verify, and query controlled English without bespoke glue. -
East Lansing, Fort Collins, and the W3C — The Event and Ontology Room (1982–2026). Five centuries ago, Luca Pacioli described three books of account: the memoriale (the raw narrative of what happened in the trade), the journal, and the ledger. Because hand-keying rich narrative was expensive and abstracting debits and credits was cheap, accounting software kept the caches and threw away the truth. In 1982, William E. McCarthy at Michigan State University formalised the recovery of that primary economic reality in the REA (Resources-Events-Agents) ontology (now ISO/IEC 15944-4). While Dan Brickley gave the open web its graph primitives through W3C RDF Schema, FOAF, and Schema.org, Dave McComb (creator of Semantic Arts' minimalist
gistupper ontology), Cheryl Dunn (co-author with McComb of The Future of Accounting), and longtime PwC R&D fellow Alan Morrison showed how semantic graphs replace ten-million-line ERP codebases. What stalled REA and event-native accounting for decades was never the ontology — it was capture friction. Frontier language models just killed the hand-keying cost of the memoriale. -
Washington, Norwalk, London, and Zurich — The Structured Reporting Room (1998–2026). Starting when Charles Hoffman built the first XBRL prototypes in 1998 with Barry Melancon's backing at the AICPA, a generation of standard-setters turned corporate reporting into verifiable mathematical structures: Mike Willis as Founding Chairman of XBRL International and later at the SEC, David Vun Kannon leading design of the XBRL 2.1 Specification, David Blaszkowsky standing up the SEC Office of Interactive Disclosure and co-architecting the global Legal Entity Identifier, J. Louis Matherne and David Shaw stewarding the US GAAP Taxonomy and XBRL Standards Board at FASB, Alan Teixeira shaping IFRS at the IASB and Deloitte, John Turner (from APRA's pioneering Australian XBRL rollout to CEO of XBRL International), Campbell Pryde at XBRL US, Jeff Naumann at Deloitte, Dean Ritz at Workiva, Marc Joffe in public-sector credit transparency, Jason Meyers at Auditchain, and Willi Brammertz standardising algorithmic cash-flow contracts through ACTUS. Hoffman's SBRM distilled that entire arc into a formal logical model of a financial report executable in Prolog.
-
Ottawa, Wellington, London, and Paris — The Computable Law Room (2018–2026). Legal technologists including Jason Morris (encoding statutes visually in
s(CASP)via Blawx), Tom Barraclough (co-authoring New Zealand's Legislation-as-Code reports and buildingDocRef), and Ciarán McGonagle (translating derivatives agreements into ISDA's Common Domain Model) pushed machine-consumable rules from academic curiosity into active OECD consultation.
Look closely at the gap that kept those four rooms apart. Most Law-as-Code projects modelled social benefits or personal eligibility, where inputs are simple household facts. Business tax is structurally harder: tax law acts on accounts. If you feed an exact statutory rule in Logical English from a set of books that does not balance — or from a balance sheet with an unanchored off-ledger omission — Prolog will hand you a precise wrong tax figure with an airtight deductive proof attached. Conversely, structured financial reporting validates internal roll-ups after the close, without compiling enacted tax legislation or proving cryptographic control over declared external assets.
How LodgeiT stepped onto the field: welding the stack end to end
We did not approach this convergence as an academic lab or a horizontal AI startup. LodgeiT is a live Australian tax compliance and Standard Business Reporting platform run from Perth by a practising accountant and registered tax agent — someone who actually signs returns and answers when a figure is wrong.
That operational constraint forced LodgeiT Labs to build across the weld line where the four rooms meet. Each layer of our open-source architecture answers a specific failure mode identified by those lineages:
| Stack Layer | LodgeiT Labs Substrate | Lineage Answered | What It Enforces in Practice |
|---|---|---|---|
| 1. Shared Activity & Reality Anchor | The Scene Protocol & Proof-of-Control | Pacioli's memoriale, McCarthy's REA, Eshghi & Kowalski (1989) | Treats ledgers as cached projections of shared trade scenes (abduce(journals, feeds, policy) over Xero/QBO/MYOB mirrors) and binds disclosed reserves or nodes via Nostr NIP-46 remote signing so validation is not blind to external control. |
| 2. Proven Books of Account | SBRM Prolog Engine | Charles Hoffman's SBRM & XBRL verification | Runs general ledgers and opening balances through five deterministic Prolog checks (accounting equation, equity roll-forward, cash roll-up, cash roll-forward, cash consistency) with a strict "no plugs" rule. |
| 3. Executable Statute & Refusals | LogicalEnglish2 Rules & Calculator Constellation |
Kowalski & Dávila, Morris, OECD Law as Code | Encodes directly from enacted Australian statute (ITAA 1997 Div 36, CGT Event A1, Div 7A, 19-category FBT) over HTTP and MCP, returning only a proven exact-decimal figure with SHA-256 rate-table manifests, named missing facts, or a typed refusal_class. |
| 4. Adversarial Human Accountability | Funded Review Bounties | Hoffman's Accountability Loop & Barraclough | Pays tax practitioners identical fees (A$400–A$2,400 across 16 published bounties) whether they return ACCEPT, FIX, or REJECT, keeping review verdicts strictly separate from cryptographic practitioner signatures. |
| 5. Self-Policing Memory & Metering | Brain Pattern & L402 over Lightning | Lager's Pengines, Brickley's Graphs, Formal Verification | Audits 373 typed architectural nodes in SWI-Prolog with counterfactual fault injection and settles machine-to-machine solver calls via macaroon-authenticated Bitcoin Lightning pre-images rather than revocable corporate stablecoins. |
Where this stands — without theatrical polish
In an industry addicted to demos that hide plugs behind clean UIs, the only flex worth making is telling the exact truth about what works today, what is under adversarial review, and what remains unbuilt. In our November 15 Phase 2 submission to the OECD Law as Code secretariat, we drew three bright lines:
- Working and live: Our SBRM Prolog accounting engine is operational and reachable by agents; run against three published listed-company PDF annual reports, it reconciled one in full and surfaced an internal inconsistency inside the published report itself. Our Calculator Constellation (Division 7A, depreciation, hire purchase, 19-category FBT) is live over REST and MCP with SHA-256 rate manifests and typed HTTP 400 refusals. Proof-of-Control signs and verifies end to end across public Nostr relays, and L402 metering gates compute at sub-cent granularity.
- Published and under review: Our Logical English statutory files — Division 36 tax losses (
div36_rev3.le: 61 rule clauses, 48 scenarios, 321 passing tests) and CGT Event A1 (v1.2: 114 rules, 62 scenarios, 163 passing tests) — are open on the public record. On our first Division 36 file, five out of five paid practitioner reviewers returnedFIXverdicts reading the Logical English directly without a programmer beside them; on the second, a reviewer caught eight findings including two wrong edge-case figures, now fixed and locked behind regression tests. Zero files carry a practitioner signature today, and every page says so plainly, because "reviewed by experts" is the phrase most easily stretched in legal tech. - Designed, not yet built: The live automated join — where a Logical English tax rule draws its assessable income and deduction inputs exclusively from SBRM-proven books with line-level provenance attached — is designed and not yet wired in production. In The Scene Protocol, our nightly replay-diffs currently run across both sides of our own exchange stack; true adverse-party trust minimisation waits for L4 interchange between independent operators. And turning a messy client question into atomic facts is still performed by a language model — which means that intake boundary is where errors now gather, and where our deterministic firewall concentrates its refusals.
One to two hops from the canon — and why the Great Game is wide open
There is an old assumption in software that foundational shifts in institutional infrastructure only happen in San Francisco, London, New York, or Paris.
Mapping the graph behind this week's LinkedIn post and Hoffman's accountability circle dismantled that illusion in real time. Through our upstream work with Robert Kowalski, Jacinto Dávila and Miguel Calejo on LogicalEnglish2 (where LodgeiT sits in the copyright notice alongside the language's creators) and our active seat in Charles Hoffman's SBRM community, a practice-born engineering lab in Western Australia sits one to two hops from Marseille and Imperial College Prolog, one hop from W3C RDF and Schema.org, one hop from the originators of REA and gist, and one hop from the people who built XBRL and steward taxonomies at FASB, the SEC, and XBRL International.
That proximity was not bought with venture marketing. It happened because everyone in those four rooms recognises the same structural truth when they see it running in code: fluent probabilistic agents did not make formal logic, double-entry algebra, or semantic ontologies obsolete. Agents finally absorbed the authoring and capture tax that held all three back for forty years.
Prolog is the verifiable CPU for institutional knowledge. Logical English and SBRM are its human-auditable intermediate representations. Shared economic scenes and cryptographic signatures are its reality anchors. And an emergent approach to accounting and tax — where every figure arrives with its deductive proof, its provenance hash, or an honest refusal — is no longer a paper proposal. It is in the arena, running live tests in public, within a hop or two of the people who built the canon.