Resolve economy organ toolchains: ECLiPSe 7.2 + COIN-OR, M3g to Fortran, BoundedPrediction fields

Hook:
- ECLiPSe upgraded 7.1_13 → 7.2_13, adds ic + eplex (if_osiclpcbc) with
  COIN-OR system dep, sha256 pinned, ECLIPSEDIR exported, correct paths
  (lib/x86_64_linux/eclipse.exe not bin/)
- fpm switched from GitHub binary download to pip (0.12.0) — proxy blocks
  GitHub release downloads in this environment
- Alire download gets sha256 verification on both install and presence check
- Fortran comment updated M3d,M3e → M3d,M3e,M3g
- Foundry section comment clarified as hosted separately

Specs:
- M3g §3: Zig → Fortran 2018 (gfortran/fpm/OpenBLAS, hand-rolled Riccati)
- M3 hub §3: sub-process list Zig(M3g) → Fortran(M3g)
- M3 hub §5: BoundedPrediction adds token_ticker and recent_shift (ground
  truth from M2, same source as correctness scoring and calibration)
- M3b §3: ECLiPSe 7.2 + ic + eplex (COIN-OR CLP/CBC)
- M3f §3: ECLiPSe 7.2 + ic + eplex (COIN-OR CLP/CBC)
- M3c §3: Solidity + Foundry confirmed, hosted separately, same Hub path
This commit is contained in:
Claude
2026-07-18 03:55:43 +00:00
parent 700a1825bf
commit e408409b77
6 changed files with 77 additions and 45 deletions
+5 -3
View File
@@ -12,9 +12,11 @@ impermanent loss formula C5 (closed-form: $\text{IL}(r) = \frac{2\sqrt{r}}{1+r}
simulation parameterization C1.
## 3. Language & location
TBD · `src/economy/sims/amm/`. **Solidity** — on-chain-equivalent fixed-point arithmetic
reproduces the exact invariant calculations DEXs execute, eliminating precision-mismatch bugs
between sim and production contracts.
**Solidity** + **Foundry** (forge, anvil) · `src/economy/sims/amm/`. Foundry is hosted
separately from the session container — not a session-start install. M3c's output enters the
system through Hub like every other sim, same `BoundedPrediction` schema, same M2 path.
On-chain-equivalent fixed-point arithmetic reproduces the exact invariant calculations DEXs
execute, eliminating precision-mismatch bugs between sim and production contracts.
## 4. Does / does-not
- **Does:** simulate constant-product pools with fee parameter $\gamma$: