world-extractable-value
npx skills add https://github.com/plurigrid/asi --skill world-extractable-value
Agent 安装分布
Skill 文档
World Extractable Value (WEV) Skill
“The gap between Nash and Optimal is not waste — it is extractable value.” “Multiverse Finance splits the financial system into parallel universes.” — Dave White, Paradigm
Overview
World Extractable Value quantifies the inefficiency extractable from selfish equilibria, integrated with Paradigm’s Multiverse Finance thesis:
WEV = Price of Anarchy - 1 = (C_Nash / C_Opt) - 1
This bridges:
- Friston’s Free Energy: Minimize surprise via inference
- Roughgarden’s PoA: Bound selfish routing inefficiency
- Badiou’s World-Hopping: Events extract truth from being
Core Formula
âââââââââââââââââââââââââââ
â WORLD Wâ (Nash) â
â Cost = C_Nash â
âââââââââââââ¬ââââââââââââââ
â
âââââââ¼ââââââ
â MARKOV â
â BLANKET â
â (Event) â
âââââââ¬ââââââ
â
âââââââââââââ¼ââââââââââââââ
â WORLD Wâ (Optimal) â
â Cost = C_Opt â
âââââââââââââââââââââââââââ
WEV = C_Nash - C_Opt = C_Opt à (PoA - 1)
Components
1. Price of Anarchy (Roughgarden)
For d-regular Ramanujan expanders:
PoA = 1 + 1/gap = 1 + 1/(d - 2â(d-1))
d=4: PoA = 1 + 1/0.536 â 2.87
2. Free Energy (Friston)
F = E_q[log q(x) - log p(x,y)]
= Prediction_Error + Model_Complexity
F â 1/gap + 0.1 â 1.96
3. Markov Blanket
The boundary between self and world:
- Sensory states: Observations from world
- Active states: Actions on world
- Internal states: Agent’s model
4. Action Direction
| Condition | Strategy | Effect |
|---|---|---|
| Error > 0.5 | Perceptual Inference | Update beliefs |
| Error ⤠0.5 | Active Inference | Change world |
GF(3) Triads
ramanujan-expander (-1) â world-extractable-value (0) â influence-propagation (+1) = 0 â
three-match (-1) â world-extractable-value (0) â gay-mcp (+1) = 0 â
sheaf-cohomology (-1) â world-extractable-value (0) â open-games (+1) = 0 â
Implementation
Babashka
(defn compute-wev [seed spectral-data]
(let [poa (:price_of_anarchy spectral-data)
gap (:spectral_gap spectral-data)
wev (- poa 1)
free-energy (+ (/ 1 gap) 0.1)
action (if (> (/ 1 gap) 0.5)
:perceptual_inference
:active_inference)]
{:wev wev
:free_energy free-energy
:action_direction action
:pct_extractable (* 100 (/ wev poa))}))
Julia
function world_extractable_value(d::Int, n::Int)
gap = d - 2â(d-1)
poa = 1 + 1/gap
wev = poa - 1
mixing_time = log(n) / gap
(wev=wev, poa=poa, gap=gap, mixing=mixing_time)
end
DuckDB Schema
CREATE TABLE world_extractable_value (
wev_id VARCHAR PRIMARY KEY,
seed_hex VARCHAR,
world_from VARCHAR,
world_to VARCHAR,
price_of_anarchy FLOAT,
free_energy FLOAT,
wev FLOAT,
prediction_error FLOAT,
action_direction VARCHAR,
markov_blanket_size INT,
extracted_at TIMESTAMP
);
-- Query extractable value
SELECT
wev_id,
wev,
ROUND(wev / price_of_anarchy * 100, 1) as pct_extractable,
action_direction
FROM world_extractable_value
ORDER BY extracted_at DESC;
Alterpolitics Interpretation
Alterpolitics = alternative coordination mechanisms that reduce PoA:
| Mechanism | Effect on PoA | WEV Change |
|---|---|---|
| Correlated Equilibrium | PoA â 1.5 | WEV â 0.5 |
| Smooth Games | PoA â 1.33 | WEV â 0.33 |
| Stackelberg | PoA â 1.0 | WEV â 0 |
The goal: extract value by moving toward coordination.
Commands
just wev-history # Query WEV log
just wev-summary # Aggregate stats
just wev-compare # Nash vs Optimal
just triad-anarchy # Full anarchy triad
Integration
Pre-Interaction Hook
WEV is computed on every interaction via .ruler/hooks/pre-interaction.bb:
7. ALWAYS compute World Extractable Value
ââ wev = compute-world-extractable-value(seed, spectral)
Glass Bead Game
World-hopping extracts value via Badiou triangle:
d(Wâ, Wâ) ⤠d(Wâ, Wâ) + d(Wâ, Wâ)
WEV(hop) = Σ d(Wáµ¢, Wáµ¢ââ) à extraction_rate
Paradigm Multiverse Finance Integration
Dave White’s Multiverse Finance (May 2025) provides the financial mechanism:
Verses as Worlds
A verse is a parallel universe corresponding to a probability event:
- Complement: V and not-V partition the outcome space
- Union: V1 OR V2 forms new verse
- Intersection: V1 AND V2 forms child verse
Ownership Operations
| Operation | Effect | WEV Implication |
|---|---|---|
| push_down(partition) | Split ownership to child verses | Spread risk across worlds |
| pull_up(resolution) | Combine ownership after oracle | Extract value at resolution |
Multiverse Map
Map[verse_id, owner_address] -> balance
Splitting: parent.balance -= x; for child in partition: child.balance += x
Combining: for child in partition: child.balance -= x; parent.balance += x
Key Insight
Assets in the same verse can be borrowed/lent freely because if one disappears (verse resolves false), all disappear simultaneously. No liquidation risk within a verse.
WEV extraction = pull_up after favorable verse resolution.
References
- Roughgarden, T. (2002) — “How Bad is Selfish Routing?”
- Friston, K. (2010) — “The Free-Energy Principle”
- Roughgarden, T. (2015) — “Intrinsic Robustness of the Price of Anarchy”
- Powers, W. (1973) — “Behavior: The Control of Perception”
- White, D. / Paradigm (2025) — “Multiverse Finance” https://paradigm.xyz/2025/05/multiverse-finance
See Also
- ramanujan-expander – Spectral gap
- open-games – Nash equilibrium
- glass-bead-game – World-hopping
- influence-propagation – Network effects
Scientific Skill Interleaving
This skill connects to the K-Dense-AI/claude-scientific-skills ecosystem:
Dataframes
- polars [â] via bicomodule
- High-performance dataframes
Bibliography References
general: 734 citations in bib.duckdb
SDF Interleaving
This skill connects to Software Design for Flexibility (Hanson & Sussman, 2021):
Primary Chapter: 10. Adventure Game Example
Concepts: autonomous agent, game, synthesis
GF(3) Balanced Triad
world-extractable-value (â) + SDF.Ch10 (+) + [balancer] (â) = 0
Skill Trit: -1 (MINUS – verification)
Secondary Chapters
- Ch8: Degeneracy
- Ch4: Pattern Matching
- Ch5: Evaluation
- Ch7: Propagators
Connection Pattern
Adventure games synthesize techniques. This skill integrates multiple patterns.
Cat# Integration
This skill maps to Cat# = Comod(P) as a bicomodule in the equipment structure:
Trit: 0 (ERGODIC)
Home: Prof
Poly Op: â
Kan Role: Adj
Color: #26D826
GF(3) Naturality
The skill participates in triads satisfying:
(-1) + (0) + (+1) â¡ 0 (mod 3)
This ensures compositional coherence in the Cat# equipment structure.