Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Prior Art: Interoperable-Tooling Research Programs in Other Disciplines

Part of the Research Program for AI as Babel Fish for Structural Economics. The patterns this program is pursuing — a declarative model language, a typed core, swappable numerical methods, multi-backend interoperability, reproducible archives, and community governance — are not new to science. Several mature fields have run essentially the same program for decades. This document catalogs the strongest analogues and extracts concrete specifics worth adopting.

The program is organized into three working groups: WG1 (Language, Calculus & Formal Semantics), WG2 (Methods, Backends & Verification), and WG3 (AI Assistance, Reproducibility & Standards). The “Most informs” column below maps each analogue onto them.

At a glance

Click any ecosystem to see it. The six marked get a full treatment below; the rest are strong corroborating analogues surveyed here.

FieldEcosystemWhat it standardizesMost informs
OptimizationJuMP + MathOptInterfacesolver-independent model + solver-abstraction “bridges”WG2
Cyber-physical engineeringModelica + FMI (280+ tools)equation-based model + tool-neutral model-exchange containerWG2, governance
★ StatisticsStan / PyMCmodel (log-density) separated from inference algorithmWG2
Quantum chemistryMolSSI: QCSchema + QCEngine + QCArchiveJSON IR + execution adapter + at-scale run platformWG1, WG2, org model
★ Math formalizationLean + mathlib (live stats)formal specification language + community library + FRO fundingWG1, WG3, governance, registries
★ AstronomyAstropy + affiliated packagescommunity core + ecosystem governancegovernance, registries
★ Quantum simulation/computingOpenQASM + QIR + PennyLane + QuTiPportable circuit language + LLVM-based IR + device-agnostic backendsWG1, WG2, governance
★ AI-for-science / formalizationPhysLean · PIML/SciML · symbolically grounded AIformally encoded laws of a field + law-constrained AI reasoningWG1, WG3
★ Cross-subfield integrationESMF · OpenKIM · OPTIMADE · ASE · OpenFermionshared representation / component registry / coupling / bridges across traditionsWG1, WG2, WG3

0. The most important pattern: programs that wrote a document, organized a community, and won funding

Several of these efforts began exactly the way this program is starting — as a written research-program / strategic-plan document that pulled in institutions and then attracted large grants. There is even a funding mechanism built around the genre: NSF’s SI2 / S2I2 program (solicitation) funds research-software ecosystems in two stages — a Conceptualization Award (~1 yr) whose deliverable is literally “a strategic plan for ... a sustained software infrastructure” (in other words, NSF will pay you to write the research program), then an Implementation Award for the institute that executes it. The strategic-plan document is the instrument that both organizes collaborators and wins the implementation grant.

Worked examples (document → community → money):

Honest staging. These describe the end state of a coalition, not its first year; this program is at a much earlier stage (a small core team with prototypes). The realistic sequence: Year 1 — publish this document and a short concept paper (core team + a few collaborators), debut it at a workshop, and stand up an annual pre-SCE meeting; target a planning/conceptualization-scale grant. Years 2–3 — turn early adopters into co-authors of a Community White Paper spanning a few subfields, with the author list visibly growing. Years 3–5 — with a real multi-institution community, pursue the implementation-scale vehicle (an NSF software institute and/or an FRO), making the standard and the organization reinforce each other (MolSSI ↔ QCSchema). The document and a small, credible author group come first; the big coalition is the program’s product, not its precondition.


1. Statistics — model vs. inference, cleanly separated (Stan / PyMC)

A Stan program defines a log-probability function and its gradients; the inference algorithm is a swappable backend consuming that object — NUTS (MCMC), L-BFGS (optimization), variational inference, etc. The model logic is independent of the execution engine. This is the cleanest possible statement of the program’s math-vs-numerics separation (WG2): specify what the model is, then choose how to solve it without touching the model. The “single core object that many algorithms consume” pattern is exactly Bellman-core (WG1) feeding methodization (WG2). Stan and PyMC also stake out the two ends of a design tension WG1 must settle: a standalone DSL (Stan; maximal expressive power, steeper learning curve) vs. embedding in Python (PyMC; lower barrier).


2. Math formalization — the closest formal-methods precedent (Lean FRO + mathlib)

The Lean Focused Research Organization (July 2023, under Convergent Research) runs a focused 5-year mission to improve Lean’s “critical systems — scalability, usability, documentation, automation for formal encoding — while guiding [it] toward long-term self-sustainability.” Its community library, mathlib, now spans 130,000+ definitions contributed by 770+ people — a vivid picture of what a community formal corpus can become. This is a direct precedent for the program’s FRO funding path and for WG1’s formal-semantics layer, and the structure is instructive:


3. Astronomy — community ecosystem governance (Astropy)

Astropy is a community core package plus an ecosystem of “affiliated packages” that share its goals and build on its infrastructure, with a formal review process for affiliation. Governance is a do-ocracy codified in APE 0 (an “Astropy Proposal for Enhancement,” modeled on Python PEPs): a 5-member Coordination Committee, Voting Members, and an Ombudsperson. It is a NumFOCUS fiscally sponsored project. Because Econ-ARK is already a NumFOCUS project, this model is the most directly transplantable: the affiliated-package + review process is a template for the registry ecosystem (community-contributed stages/periods/trellises reviewed for inclusion in the core catalog), and the APE/PEP-style proposal mechanism is a way for the WG3 advisory board to evolve the language standard transparently.


4. Quantum simulation & computing — IR + multi-backend, in the extreme (OpenQASM / QIR / PennyLane / QuTiP)

Quantum computing has, in just a few years, built the layered language + IR + device-agnostic backend stack this program is aiming for — and across fierce commercial competitors, which is itself instructive for a standards effort.

QIR also illustrates two governance/versioning patterns: neutral-foundation, cross-competitor governance (a Linux Foundation steering committee spanning Microsoft, NVIDIA, ORNL, Quantinuum, and Rigetti — a distinct alternative to the FMI committee’s member-vote model) and IR versioning against an explicit compatibility matrix (QIR ↔ LLVM), a model for versioning the Bellman-core wire format.


5. AI that reasons inside the laws of a field (formalization · PIML/SciML · symbolically grounded AI)

A fast-moving movement — most visible in physics — encodes the known laws of a field in a machine-readable formal form and then builds AI that must reason within those laws rather than by free association. The idea is simple: instead of hoping a language model has correctly absorbed a field’s rules from prose, you hand it those rules as hard constraints it cannot violate, and check its output against them. This is the most direct intellectual parallel to the program: the formal knowledge base (WG1) is economics’ encoded laws, and Matsya (WG3) is the AI held to them. The movement splits into three named threads worth citing explicitly.

The contrast to internalize: the data-driven pole is Polymathic AI (Shirley Ho, Flatiron/Simons + Cambridge/Princeton/NYU/LBNL) — foundation models (The Well, Walrus, AION-1) that learn physics statistically rather than imposing it. The program sits firmly at the formalization / hard-constraint pole, which is the natural position for a field that already has its governing theory written down (recursive/dynamic-programming theory).

What this means for the program. Economics is unusually ready for this play: because its governing theory is already written down, the work is to encode it (WG1) and ground the AI in it (WG3) — not to discover new results. Two moves follow the physics playbook directly: treat the formal layer as a first-class, community-owned corpus (as PhysLean is, distinct from mathlib), and ship an EconDP benchmark — canonical models with formal specs that tools and LLMs are scored against. A benchmark is a low-cost, high-leverage deliverable that both measures progress and recruits collaborators (WG1 × WG3), exactly as LeanPhysBench did for physics.


6. Cross-subfield & cross-discipline integration (sharing tools across traditions)

Letting models and components move across economics subfields — heterogeneous-agent macro, structural microeconometrics, computable general equilibrium (CGE), agent-based modeling (ABM), and applied IO — is a cross-cutting theme of the program rather than a separate working group. Its representational half sits in WG1 (shared/companion structures, coupling interfaces), its numerical half in WG2 (Rosetta Stones to subfield toolkits, coupled-model verification), and its translation/reproducibility half in WG3. Sharing discipline-specific tools across neighboring fields is an established pattern, and the successful efforts each isolate one mechanism — a shared representation, a registry of reusable components, a common backend interface, a federated index, runtime coupling of independently built components, or a translation bridge between traditions.

Reusable components and common interfaces (materials science, chemistry, physics).

Federated corpora / indexes — a cross-database “Rosetta Stone.”

Coupling independently-developed component models.

Translating a problem into another field’s representation — bridges.

What this implies. No single precedent supplies all of these mechanisms at once; the program’s wager is that a typed semantic core (WG1) plus Rosetta Stones (WG2) can supply several together for economics. Two further observations: the most durable efforts (ESMF, OPTIMADE, OpenKIM) are sustained by standing consortia around a shared data/interface standard — reinforcing the WG3 governance and registry agenda — and the cleanest couplings (ESMF, OpenKIM) come from agreeing on an explicit interface of named imports/exports, a concrete design target for the WG1 coupling work.


Cross-cutting lessons (specifics to nail down)

  1. Factor the standard, don’t monolith it. Mature ecosystems keep the model separate from the numerical method and from the reproducible archive rather than bundling them into one format. This validates and sharpens the program’s WG1/WG2/WG3 boundaries — adopt explicit, separately versioned specs.

  2. Lock a machine-readable IR early and make everything fold over it. QCSchema (JSON), FMU (XML+binaries), MOI’s in-memory model, and QIR (LLVM-based) — each ecosystem’s interoperability rests on a stable hand-off object, often versioned with an explicit compatibility matrix (QIR). Prioritize the Bellman-core wire format (WG1) as the contract, and consider building it on existing IR infrastructure — or on Lean (per WG1) — rather than from scratch.

  3. Make backend translation reusable and composable, not per-backend bespoke. MOI’s bridges with shortest-path composition and QIR’s “interface, not gate set” are the gold standards for WG2 Rosetta Stones.

  4. Define backend conformance via profiles. QIR profiles (named subsets a target supports) give WG2 a clean way for each backend to advertise which operators/schemes it implements, and for the verification harness to check against that declaration.

  5. Separate language-infrastructure governance from library/registry governance. Lean FRO vs. mathlib; FMI core vs. layered standards. Map onto WG3 (standard) vs. WG1 (registries).

  6. Adopt a proven governance instrument. PEP → APE (Astropy), steering committee + member vote (FMI), or a neutral-foundation steering committee (QIR). Pick one deliberately.

  7. Plan registry maintenance up front. mathlib’s deprecation/linters/review/technical-debt playbook is what the stage/period/trellis registries and the WG1 formal library will need at scale.

  8. Two viable org/funding templates beyond one-off grants: the NSF software institute (MolSSI, IRIS-HEP) and the FRO (Lean) — both build “pivotal infrastructure as a public good.” The NSF route has an explicit conceptualization → implementation ladder that funds writing the research program itself (see §0).

  9. The program document seeds the coalition — and grows with it. A multi-institution Community White Paper / Strategic Plan (IRIS-HEP) or heavily co-authored defining paper (Astropy) recruits collaborators (via authorship) and convinces funders. But those large author lists are an end state; start with a small, credible core-plus-friends document and let the author list and institutional breadth grow over successive drafts and years. The document comes first; the big coalition is its product, not its precondition.

  10. Drive adoption with reference APIs, software guides, conformance suites, and workshops (e.g., FMI’s reference FMUs + public tool-compatibility matrix).

  11. Formalize the field and benchmark it. The newest lesson (physics): make the field’s laws formally encoded (WG1’s formal layer), ground the AI in that corpus (WG3), and ship a public benchmark to organize contributors — the AI-for-Science / formalization play. Adopting that movement’s vocabulary in grant framing (“formalizing the laws of dynamic economic modeling so AI can reason within them”) places the program inside a well-funded narrative (NSF, philanthropy) rather than a niche econ-tooling story.

Open questions for the team (to refine the program)

Sources

Programs / funding genre: NSF SI2/S2I2 solicitation, S2I2-HEP, S2I2-HEP Strategic Plan (arXiv 1712.06592), HEP Roadmap / Community White Paper (arXiv 1712.06982), MolSSI NSF award 1547580 (19.4M)](https://www.nsf.gov/awardsearch/showAward?AWDID=1547580),[MolSSI19.4M)](https://www.nsf.gov/awardsearch/showAward?AWD_ID=1547580), [MolSSI 15M renewal, The Astropy Problem (arXiv 1610.03159).

Stan: mc-stan.org, Stan JSS paper. Lean: Lean FRO, mathlib stats, Growing mathlib, $10M gift. Astropy: about, APE 0, NumFOCUS. Quantum: OpenQASM, OpenQASM 3 paper, QIR Alliance, QIR spec, PennyLane architecture, QuTiP.

AI-for-science / formalization: PhysLean / Physlib, PhysLean index-notation paper (arXiv 2405.08863), Lean4PHYS / LeanPhysBench, Physics-informed ML review (Karniadakis et al., Nat. Rev. Phys. 2021), Constraint-Projected Learning (arXiv 2511.03578), Polymathic AI.

Cross-subfield integration: ASE (Atomic Simulation Environment), OpenKIM, OPTIMADE, ESMF / NUOPC, preCICE, OpenFermion.