Expand language palette: add Prolog, Haskell, Zig, fill in Octave

Hub now lists Julia, Octave, Fortran, R, Solidity, Haskell, Prolog,
Zig. Per sub-spec placement:
- Prolog: M3b (logic-based behavioral rules), M3f (consensus logic)
- Haskell: M3a, M3b, M3c, M3e, M3f (type-safe pure math)
- Zig: M3d, M3g (memory-safe performance, replaces C++)
- Octave: filled in where missing (M3b, M3d, M3f, M3g)
This commit is contained in:
Claude 2026-07-14 19:11:31 +00:00
parent 562d8a36a9
commit 388dcc5fe4
No known key found for this signature in database
8 changed files with 10 additions and 9 deletions

View File

@ -15,7 +15,7 @@ DESIGN-FIRST · ABSENT. Role C3; implementation C1. Mathematical foundations C4
established); specific model parameters C1. established); specific model parameters C1.
## 3. Language & location ## 3. Language & location
TBD · `src/economy/sims/`. Numerical computing (Julia, Octave, Fortran, R, or Solidity) TBD · `src/economy/sims/`. Numerical computing (Julia, Octave, Fortran, R, Solidity, Haskell, Prolog, or Zig)
for the simulation cores. A query facade accessible to Traders. Each sim type (M3aM3g) may use for the simulation cores. A query facade accessible to Traders. Each sim type (M3aM3g) may use
a different runtime suited to its math. a different runtime suited to its math.

View File

@ -16,7 +16,7 @@ execution C5 (industry standard since 2001). Jump-diffusion C5 (Merton 1976). Pa
for crypto markets C1. for crypto markets C1.
## 3. Language & location ## 3. Language & location
TBD · `src/economy/sims/statistical/`. Julia, R, Fortran, or Octave for numerical computing. TBD · `src/economy/sims/statistical/`. Julia, R, Fortran, Octave, or Haskell for numerical computing.
Needs efficient matrix operations, SDE solvers, and distribution sampling. Fractional Brownian Needs efficient matrix operations, SDE solvers, and distribution sampling. Fractional Brownian
motion generation uses spectral methods (Hosking 1984, Wood & Chan 1994) or Cholesky motion generation uses spectral methods (Hosking 1984, Wood & Chan 1994) or Cholesky
decomposition of the covariance matrix. decomposition of the covariance matrix.

View File

@ -19,7 +19,8 @@ Pop behavioral models C1.
## 3. Language & location ## 3. Language & location
TBD · `src/economy/sims/sociological/`. Agent-based modeling frameworks (NetLogo, or custom). TBD · `src/economy/sims/sociological/`. Agent-based modeling frameworks (NetLogo, or custom).
Needs efficient population iteration, strategy mutation, PDE solvers for MFG (HJB + Needs efficient population iteration, strategy mutation, PDE solvers for MFG (HJB +
Fokker-Planck), and bandit algorithms (UCB/Thompson). Julia, R, or Fortran. Fokker-Planck), and bandit algorithms (UCB/Thompson). Julia, R, Fortran, Octave, Prolog,
or Haskell.
## 4. Does / does-not ## 4. Does / does-not
- **Does:** simulate populations of behavioral archetypes competing in a market; apply - **Does:** simulate populations of behavioral archetypes competing in a market; apply

View File

@ -13,8 +13,8 @@ simulation parameterization C1.
## 3. Language & location ## 3. Language & location
TBD · `src/economy/sims/amm/`. Needs precise fixed-point or arbitrary-precision arithmetic for TBD · `src/economy/sims/amm/`. Needs precise fixed-point or arbitrary-precision arithmetic for
invariant calculations. Solidity for on-chain-equivalent precision; Julia or Octave for invariant calculations. Solidity for on-chain-equivalent precision; Julia, Octave, or
analytical models. Haskell for analytical models.
## 4. Does / does-not ## 4. Does / does-not
- **Does:** simulate constant-product pools with fee parameter $\gamma$: - **Does:** simulate constant-product pools with fee parameter $\gamma$:

View File

@ -21,7 +21,7 @@ WENO discretization established but crypto application novel). Parameterization
## 3. Language & location ## 3. Language & location
TBD · `src/economy/sims/mev/`. Needs combinatorial optimization (OR-Tools for knapsack), TBD · `src/economy/sims/mev/`. Needs combinatorial optimization (OR-Tools for knapsack),
continuous-time auction modeling, PDE solvers (WENO for shock-capturing in adversarial dynamics), continuous-time auction modeling, PDE solvers (WENO for shock-capturing in adversarial dynamics),
and bilevel optimization (DSMFG). Julia or Fortran. and bilevel optimization (DSMFG). Julia, Fortran, Octave, or Zig.
## 4. Does / does-not ## 4. Does / does-not
- **Does:** simulate Priority Gas Auctions where multiple searcher bots compete for the same - **Does:** simulate Priority Gas Auctions where multiple searcher bots compete for the same

View File

@ -21,7 +21,7 @@ composable yield optimization C4 (Yearn v3, Beefy, production-validated). Specif
## 3. Language & location ## 3. Language & location
TBD · `src/economy/sims/tokenomics/`. Needs SDE solvers (Euler-Maruyama, Milstein), TBD · `src/economy/sims/tokenomics/`. Needs SDE solvers (Euler-Maruyama, Milstein),
state-space estimation, and VAR (vector autoregression) for credit exposure impulse responses. state-space estimation, and VAR (vector autoregression) for credit exposure impulse responses.
Julia (DifferentialEquations.jl) or Octave. Julia (DifferentialEquations.jl), Octave, or Haskell.
## 4. Does / does-not ## 4. Does / does-not
- **Does:** simulate token state dynamics via the SDE framework: - **Does:** simulate token state dynamics via the SDE framework:

View File

@ -15,7 +15,7 @@ simulation parameterization C1.
## 3. Language & location ## 3. Language & location
TBD · `src/economy/sims/consensus/`. Needs Markov chain solvers and game-theoretic equilibrium TBD · `src/economy/sims/consensus/`. Needs Markov chain solvers and game-theoretic equilibrium
computation. Julia, R, or Fortran. computation. Julia, R, Fortran, Octave, Prolog, or Haskell.
## 4. Does / does-not ## 4. Does / does-not
- **Does:** simulate validator populations where honesty evolves via **evolutionary game theory** - **Does:** simulate validator populations where honesty evolves via **evolutionary game theory**

View File

@ -16,7 +16,7 @@ Kurz CMC thesis). DEX-specific microstructure C2 (emerging). Implementation C1.
## 3. Language & location ## 3. Language & location
TBD · `src/economy/sims/microstructure/`. Needs high-frequency data handling, event-driven TBD · `src/economy/sims/microstructure/`. Needs high-frequency data handling, event-driven
simulation, and Riccati equation solvers for optimal execution trajectories. Fortran or Julia. simulation, and Riccati equation solvers for optimal execution trajectories. Fortran, Julia, Octave, or Zig.
## 4. Does / does-not ## 4. Does / does-not
- **Does:** simulate order flow across venues (DEXs and CEXs); model bid-ask spread dynamics as a - **Does:** simulate order flow across venues (DEXs and CEXs); model bid-ask spread dynamics as a