Appendix A
Mathematical Appendix
35 min read · 6,997 words
Mathematical Appendix
A.1 — The Energy-Compute Equivalence and the Bitcoin Hurdle Rate
First Principles Setup
Consider a unit of computational capacity—one GPU-hour or one rack-hour—connected to an electrical supply. The operator faces a continuous allocation decision: route the next marginal kilowatt-hour to productive work (inference, training, data processing) or to Bitcoin acquisition (mining directly, leasing hash-rate, or staking through custodial protocols).
Define the following:
- = electrical energy consumed
- = computational cycles available per unit energy (cycles/kWh), determined by hardware efficiency
- = price of electricity ($/kWh)
- = price of electricity in joules (dollars per joule), where
- = network hash-rate (TH/s)
- = miner hash-rate (TH/s)
- = network difficulty (dimensionless)
- = block reward (BTC/block)
- = average block time (~600 seconds for Bitcoin)
- = energy per hash (J/TH), hardware efficiency metric
Derivation of the Hash-Rate Yield
For a miner contributing hash-rate to the network, expected BTC production per unit time is:
The energy required to produce hash-rate for time :
where has units J/TH (joules per terahash). Substituting and solving for BTC yield per unit energy cost:
Dimensional verification:
- Numerator: BTC
- Denominator: (TH/s) × s × ($/J) × (J/TH)
- Denominator simplifies to: TH × $/J × J/TH = $
- Result: BTC/$ ✓
The Arbitrage Condition
Under competitive markets, any productive workload must clear the hurdle:
If a workload generates risk-adjusted returns below , the rational operator redirects capacity to Bitcoin acquisition. This creates a global floor on computational returns denominated in BTC.
Critical Assumption Check:
This arbitrage requires near-zero switching friction. Three mechanisms enable this:
- Hash-rate leasing markets (NiceHash, etc.): Operators can redirect capacity to mining in under 15 seconds without owning ASICs
- Staking protocols (Babylon, etc.): BTC can be time-locked to earn yield without dedicated hardware
- Futures markets (CME Bitcoin futures): Financial equivalents allow hedged exposure
Falsifier: If switching costs exceed the spread between workload returns and , the arbitrage breaks down and the floor becomes soft.
Numerical Calibration (Q4 2024 Data)
| Parameter | Value | Source |
|---|---|---|
| Network hash-rate () | ~750 EH/s | blockchain.com |
| Block reward () | 3.125 BTC | Post-April 2024 halving |
| Average block time () | 600 s | Protocol target |
| Electricity price () | $0.05/kWh | Industrial average |
| ASIC efficiency () | ~30 J/TH | Antminer S21 specs |
Converting units:
- = 750 × 10¹⁸ H/s = 750 × 10⁶ TH/s
- = $0.05/kWh ÷ (3.6 × 10⁶ J/kWh) ≈ 1.39 × 10⁻⁸ $/J
Computing the implied yield:
At BTC price of ~$100,000, this implies roughly $1.66 of gross mining revenue per $1 of electricity (a ~$0.66 gross spread above the electricity line item), before hardware depreciation, facility costs, fees, downtime, and curtailment. The 4–6% figure referenced below is not “energy margin.” It is an illustrative BTC-denominated return on capital under competitive entry and a specific assumption about BTC/USD appreciation.
The Difficulty Adjustment Mechanism
Every 2,016 blocks (~14 days), the protocol adjusts mining difficulty to maintain the target block time = 600 seconds:
where is the observed average block time over the preceding 2,016 blocks.
Implication: If mining becomes profitable above the marginal miner’s cost of capital, new hash rate enters the network. Increased hash rate reduces , triggering a difficulty increase. Higher difficulty reduces BTC yield per unit hash for all miners. Entry continues until the marginal miner earns exactly their cost of capital.
Equilibrium Derivation
Revenue per TH/s per year:
A miner contributing 1 TH/s to network hash rate earns:
where is seconds per year.
Cost per TH/s per year:
Total annual cost has four components:
- Capital depreciation: where = capital cost per TH/s, = useful life
- Electricity: At efficiency (J/TH), running 1 TH/s for one year consumes joules, i.e. kWh.
- Operating costs: Cooling, maintenance, facility as fraction of electricity
- Required return on capital:
Equilibrium condition:
The marginal miner earns exactly their required return:
Numerical Calibration
Marginal miner parameters (Q4 2024):
| Parameter | Value | Rationale |
|---|---|---|
| $20/TH/s | Antminer S21: ~$5,000 for 200 TH/s | |
| 3 years | Typical ASIC useful life | |
| $0.065/kWh | Marginal miner electricity | |
| 30 J/TH | Current-generation efficiency | |
| 0.25 | Cooling, maintenance, facility | |
| 15% | Required equity return |
Annual cost per TH/s:
- Depreciation: $20/3 = $6.67
- Electricity: 30 J/s × 3.156 × 10⁷ s/year = 9.47 × 10⁸ J = 263 kWh → $0.065 × 263 = $17.10
- Operating: $17.10 × 0.25 = $4.28
- Required return: $20 × 0.15 = $3.00
Total: $31.05/year per TH/s
Implied equilibrium hash rate:
Observed network hash rate (Q4 2024) is ~750 EH/s—higher than predicted, suggesting either marginal miners operate at lower costs than assumed, or some miners accept negative economic profit while speculating on BTC appreciation.
The Efficient Miner’s Return
Efficient institutional miners operate below marginal cost:
| Parameter | Efficient Miner | Marginal Miner |
|---|---|---|
| Electricity | $0.035/kWh | $0.065/kWh |
| Efficiency | 25 J/TH | 30 J/TH |
| Operating ratio | 0.15 | 0.25 |
| Financing cost | 6% | 15% |
Efficient miner annual cost per TH/s:
- Depreciation: $6.67
- Electricity: 25 × 3.156 × 10⁷ / 3.6 × 10⁶ × $0.035 = $7.67
- Operating: $1.15
- Capital charge: $1.20
Total: $16.69/year
If the marginal miner breaks even at $31.05 revenue, the efficient miner earns $14.36 profit per TH/s—a 72% gross return on $20 capital.
Converting to BTC-denominated returns:
Dollar returns include BTC price appreciation. If a miner earns in dollar terms and BTC appreciates at rate , the BTC-denominated return is approximately:
With expected BTC appreciation of 15-20% annually (historical geometric mean), an efficient miner targeting 20% dollar returns earns approximately 4-6% in BTC terms.
This 4-6% figure represents the risk-adjusted opportunity cost of computational capacity—the hurdle rate against which all productive workloads must compete.
Falsifier: If Bitcoin’s difficulty adjustment mechanism breaks down (e.g., through prolonged price decline causing miner capitulation faster than difficulty can adjust), the equilibrium relationship dissolves and the hurdle rate becomes unstable.
A.2 — The O(N²) Coordination Problem
The Bilateral Credit Explosion
Consider a network of autonomous agents that must make multi-period commitments (forward contracts, credit extension, service-level agreements). Without a common benchmark rate, each pair of agents must negotiate a bespoke credit curve.
The number of unique bilateral relationships is:
Verification: For = 10,000 agents:
Each bilateral curve requires:
- Counterparty credit assessment
- Term structure negotiation (multiple maturities)
- Ongoing mark-to-market
- Dispute resolution mechanism
If each curve requires parameters (say, = 5 for overnight, 1-week, 1-month, 3-month, 1-year rates), the total parameter space is:
The Benchmark Collapse
With a common benchmark rate for maturity , each agent quotes spreads against the benchmark:
where is agent ‘s credit spread. The parameter space collapses to:
Quantifying the Efficiency Gain
| Agents () | Bilateral () | Benchmark () | Reduction Factor |
|---|---|---|---|
| 100 | 4,950 | 100 | 49.5× |
| 1,000 | 499,500 | 1,000 | 499.5× |
| 10,000 | 49,995,000 | 10,000 | 4,999.5× |
| 100,000 | ~5 billion | 100,000 | ~50,000× |
At scale, bilateral credit becomes computationally intractable. A common benchmark is not merely convenient—it is a mathematical prerequisite for market formation.
A.3 — Overcollateralized Bonding Mechanics
The Enforcement Problem
Human economic coordination relies on three enforcement mechanisms: legal recourse (contracts, courts, asset seizure), social sanction (reputation damage, ostracism), and physical coercion (imprisonment, violence). Each mechanism assumes the counterparty possesses legal identity, physical presence, and vulnerability to social pressure.
Autonomous agents possess none of these properties.
An agent that fails to deliver on a commitment cannot be sued—it lacks legal standing in any jurisdiction. It cannot be imprisoned—it has no body. It cannot be socially sanctioned—it exists as software that can be copied, modified, or terminated without consequence to any persistent identity. The enforcement mechanisms that underpin human commerce do not apply.
Formal statement: Let represent the set of enforcement mechanisms (legal, social, physical). For human counterparty , the enforcement function maps each mechanism to its effectiveness. For autonomous agent :
Traditional enforcement is null for autonomous counterparties.
Collateral as Enforcement Substitute
When traditional enforcement fails, economic coordination requires an alternative: pre-committed collateral with programmatic release conditions. The collateral substitutes for the legal system. Enforcement becomes cryptographic rather than institutional.
Define a bonding contract between agent (service provider) and agent (service consumer):
| Parameter | Definition |
|---|---|
| Collateral posted by provider (performance bond) | |
| Collateral posted by consumer (payment escrow) | |
| Value of service to be performed | |
| Slash coefficient (penalty rate for non-performance) | |
| Oracle attestation (0 = failure, 1 = success) | |
| Service window (time allowed for completion) |
Contract lifecycle:
- Collateralization: escrows into a covenant; escrows
- Execution: Off-chain service performance within window
- Attestation: Oracle signs based on observed outcome
- Settlement:
- If : (payment released); (bond returned)
- If : (slash transferred); (remainder returned); (payment refunded)
The Overcollateralization Requirement
For the bonding mechanism to function, the provider must post collateral exceeding the potential harm from non-performance. Otherwise, the provider can profitably defect.
Incentive compatibility condition:
Let denote the provider’s expected profit from honest performance, and denote profit from defection. For honest behavior to dominate:
Expanding: The provider receives for honest performance (minus costs). For defection, the provider loses (the slashed portion) but avoids performance costs.
If (the service is profitable), this condition is satisfied for any .
Consumer protection condition:
The consumer must be made whole if the provider defects. The slashed collateral must cover the consumer’s loss:
where is the consumer’s loss from non-performance (potentially exceeding if downstream commitments fail).
For full protection:
With (partial slashing to allow for honest disputes), the required collateral exceeds the potential loss:
This is the overcollateralization requirement. The provider must post more collateral than the maximum potential harm.
Collateral Ratio Dynamics
Define the collateral ratio :
The ratio varies with:
1. Counterparty history: Agents with track records of successful performance can post lower ratios.
where is the number of successful completions and is the reputation discount factor.
2. Oracle reliability: Less reliable oracles require higher collateral to compensate for attestation error.
where is the oracle error rate.
3. Contract duration: Longer service windows increase uncertainty, requiring higher collateral.
where is the duration risk parameter.
Asset Requirements for Collateral
The collateral asset must satisfy three properties for the mechanism to function:
Property 1 — Dilution immunity: The collateral’s purchasing power cannot be inflated away during the contract period. If the issuer can mint additional units, the real value of posted collateral erodes.
Formally, let denote the money supply at time . The asset must satisfy:
- Bitcoin satisfies this with defined by the halving schedule, converging to zero as .
- Fiat currencies fail: is a policy variable subject to political discretion.
- Stablecoins fail: depends on issuer decisions and reserve management.
- Alternative L1 tokens fail: can be modified through governance votes.
Property 2 — Permissionless finality: Any agent must be able to post and receive collateral without identity verification or institutional approval. Settlement cannot depend on third-party authorization.
- Bitcoin satisfies this: any valid transaction propagates regardless of sender identity.
- Stablecoins fail: issuers maintain blacklists and can freeze addresses.
- Traditional assets fail: custody requires legal identity and institutional relationships.
Property 3 — Energy-anchored convertibility: The asset must be directly acquirable through physical work (energy expenditure) without counterparty risk. This creates the arbitrage relationship established in A.1.
- Bitcoin satisfies this through proof-of-work mining.
- All other digital assets fail: acquisition requires exchange with existing holders, introducing counterparty risk.
Numerical Example
Consider a compute service contract:
| Parameter | Value |
|---|---|
| Service value () | 100,000 sats |
| Performance cost | 60,000 sats |
| Consumer downstream exposure () | 150,000 sats |
| Slash coefficient () | 0.30 |
| Oracle error rate () | 0.02 |
Required provider collateral:
Collateral ratio:
The provider must post 5× the contract value to fully protect the consumer.
Provider economics:
- Honest performance: Receives 100,000 sats, incurs 60,000 cost, net profit = 40,000 sats
- Defection: Loses 500,000 × 0.30 = 150,000 sats, avoids 60,000 cost, net loss = 90,000 sats
The incentive structure enforces honest behavior without legal recourse.
Scaling Properties
The overcollateralized bonding mechanism exhibits specific scaling behavior:
Capital efficiency: As agent networks mature, reputation accumulation allows collateral ratios to decline:
where is the minimum viable collateral ratio (empirically ~1.5-2.0), is the network maturation time constant, and the exponential decay reflects accumulated trust.
Collateral velocity: Total system throughput depends on how quickly collateral cycles through contracts:
With 10,000 BTC collateral pool, , and turnover of 12×/year:
Falsifier: If reputation systems emerge that reliably substitute for collateral—enabling coordination without overcollateralized bonding—this mechanism becomes unnecessary. The structural requirement for a neutral collateral asset would weaken accordingly.
A.4 — Constructing a Bitcoin Term Structure of Risk-Free Rates
Economic Premise
Capital allocation—whether by humans or autonomous agents—requires a discount curve: a function mapping time horizons to interest rates. The curve must satisfy three properties for machine-scale coordination:
- Immunity to monetary dilution: The curve’s underlying asset cannot be inflated by policy decision
- Immunity to credit default: The “risk-free” rate cannot embed issuer bankruptcy risk
- Immunity to settlement censorship: Any agent must be able to transact at any maturity without permission
The US Treasury curve satisfies (2) domestically and partially satisfies (1) through Federal Reserve independence, but fails (3)—foreign entities can be sanctioned, accounts frozen, settlements blocked. For autonomous agents without legal identity, Treasury access is structurally unavailable.
Bitcoin satisfies all three by construction. The remaining challenge is operational: how to derive a term structure from an asset that does not natively pay interest.
The Source of Bitcoin Yield
Bitcoin’s native protocol does not generate yield—there are no coupon payments, no staking rewards in the Ethereum sense, no inflation distributed to holders. Yield emerges from three sources external to the base protocol:
Source 1: Opportunity Cost of Mining
From A.1, the marginal return to mining establishes a floor:
This is a spot rate—the instantaneous return to converting electricity to Bitcoin. It does not directly produce a term structure.
Source 2: Lending Markets
BTC can be lent to borrowers who pay interest. The lending rate reflects counterparty credit risk, collateralization terms, and duration of the loan. Overcollateralized lending (A.3) eliminates credit risk for the lender when collateral exceeds exposure. The residual rate approximates a risk-free borrowing cost for the tenor.
Source 3: Time-Lock Opportunity Cost
BTC locked in a covenant (for staking, bonding, or escrow) cannot be deployed to alternative uses. The opportunity cost of locking creates an implicit interest rate:
If the best alternative is mining at , then with equality when no superior alternatives exist.
Instrument Design
A Bitcoin term structure requires tradeable instruments at standardized maturities. Three instrument types can anchor the curve:
Instrument 1: Time-Lock Notes (TLNs)
A Time-Lock Note is a zero-coupon instrument where:
- Principal (in BTC) is locked in a covenant at time
- The covenant releases principal only at maturity
- No early redemption is possible (enforced by script)
The note trades at discount to face value:
where is the continuously compounded yield for maturity .
Construction: Using Bitcoin’s OP_CHECKLOCKTIMEVERIFY (CLTV), a UTXO can be made unspendable until block height corresponding to calendar time . The holder possesses a claim on satoshis deliverable at , tradeable before at market-determined discount.
Instrument 2: Secured Coupon Deposits (SCDs)
For longer maturities where zero-coupon discounts become unwieldy, coupon-bearing instruments provide liquidity:
- Principal locked in covenant
- Periodic coupon payments released at intervals
- Principal released at maturity
The coupon rate is set at issuance such that the instrument prices at par:
where are coupon payment dates and .
Instrument 3: Hash-Rate Forwards
CME Bitcoin futures and hash-rate derivatives allow synthetic exposure to future BTC acquisition costs. A delta-neutral position isolates the implied borrowing rate:
- Long BTC spot
- Short BTC futures at price
The implied repo rate:
where is spot price. This rate reflects the cost of carrying BTC to maturity .
Curve Construction Methodology
Given market prices for TLNs, SCDs, and futures across maturities, the term structure is extracted through standard fixed-income techniques.
Step 1: Bootstrap Short-End from Futures
For maturities months, hash-rate forwards provide liquid price discovery:
Step 2: Interpolate Mid-Curve from TLN Prices
For maturities 3 months years, TLN market prices yield:
Between observed maturities, cubic spline interpolation ensures smoothness while matching market prices exactly at observed points.
Step 3: Extend Long-End from SCD Yields
For maturities years, SCD coupon rates and prices are inverted to extract zero-coupon rates using iterative bootstrapping:
Given from prior steps, solve for :
Step 4: No-Arbitrage Enforcement
Forward rates must be non-negative to prevent arbitrage:
If bootstrapped rates violate this constraint, the curve is re-fitted using constrained optimization.
Numerical Example: Constructing a 5-Point Curve
Market observations (hypothetical, Year 3 of protocol operation):
| Maturity | Instrument | Observed Price/Rate |
|---|---|---|
| 1 week | Futures | F = 1.0009 × S₀ |
| 1 month | Futures | F = 1.0038 × S₀ |
| 3 months | TLN | P = 0.9878 × Face |
| 1 year | TLN | P = 0.9512 × Face |
| 2 years | SCD (5% coupon) | P = 1.0023 × Face |
Extracted zero rates:
1 week:
1 month:
3 months:
1 year:
2 years (bootstrap from SCD):
Given annual coupons of 5% on face value 1.0:
Resulting term structure:
| Maturity | Zero Rate |
|---|---|
| 1 week | 4.68% |
| 1 month | 4.55% |
| 3 months | 4.91% |
| 1 year | 5.00% |
| 2 years | 4.76% |
The slight inversion at the long end (2-year rate below 1-year) could reflect expectations of declining mining profitability post-halving, or elevated short-term demand for locked collateral.
Forward Rate Extraction
Given the zero-coupon curve , forward rates for future periods are computed:
Example: 1-year rate, 1 year forward:
This forward rate prices commitments beginning in 1 year and maturing in 2 years.
Application to Agent Contracts
The term structure enables agents to price multi-period commitments without bilateral negotiation.
Example: 90-day compute service contract
An agent providing inference services for 90 days must determine the minimum acceptable fee. From the curve:
If the agent posts collateral for the contract duration, the opportunity cost is:
This cost must be recovered in the service fee, independent of the specific counterparty.
Example: 2-year infrastructure bond
A datacenter operator issues a 2-year BTC-denominated bond to finance expansion. The coupon rate must exceed:
where reflects the operator’s default risk above the risk-free benchmark.
Curve Dynamics and Arbitrage Enforcement
The term structure is not static. As new instruments trade and expectations shift, rates adjust. Arbitrage mechanisms enforce consistency:
Cash-and-carry arbitrage:
If futures price implies a repo rate above the TLN yield for the same maturity:
- Borrow BTC via TLN (pay )
- Sell futures at
- Hold spot BTC to delivery
- Profit =
This trade compresses the spread until .
Cross-maturity arbitrage:
If the 6-month rate implies a forward that deviates from the 3-month TLN yield starting in 3 months:
- Trade the spread by going long/short adjacent maturities
- Lock in the arbitrage profit
Market makers performing these trades enforce no-arbitrage conditions, ensuring the curve reflects consistent expectations across all maturities.
Infrastructure Requirements
Publishing a credible term structure requires:
- Issuance capacity: A treasury large enough to issue TLNs and SCDs at multiple maturities without exhausting liquidity
- Market-making function: Willingness to quote two-way prices, absorbing temporary imbalances
- Oracle infrastructure: Reliable price feeds for curve construction, updated at regular intervals (e.g., every 144 blocks ≈ 24 hours)
- Audit and transparency: Published methodology, verifiable on-chain positions, third-party attestation of reserves
The entity performing these functions becomes the de facto reference rate publisher—analogous to the role ICE Benchmark Administration plays for LIBOR, or the Federal Reserve for the Treasury curve.
Falsifiability
The term structure construction depends on several assumptions:
-
Sufficient instrument liquidity: If TLN and SCD markets remain thin, extracted rates will be noisy and potentially manipulable. Falsifier: Bid-ask spreads exceeding 50 basis points at benchmark maturities would indicate insufficient liquidity for reliable curve construction.
-
Arbitrage efficiency: If market makers cannot efficiently arbitrage cross-maturity deviations, the curve may exhibit persistent inconsistencies. Falsifier: Forward rates remaining negative for extended periods (>30 days) would indicate arbitrage mechanism failure.
-
Collateral fungibility: The curve assumes BTC locked in different instruments is economically equivalent. If regulatory or technical constraints segment the market, multiple curves may emerge. Falsifier: Persistent basis between TLN yields and futures-implied rates exceeding 100 basis points would indicate market segmentation.
The term structure constructed in this section becomes the risk-free benchmark for A.5: Agent-CAPM, where it serves as the denominator in risk-adjusted return calculations and the discount rate for multi-period contract valuation.
A.5 — Agent-CAPM: From Discount Rate to Service Pricing
Classical CAPM Review
The Capital Asset Pricing Model, developed independently by Sharpe (1964), Lintner (1965), and Mossin (1966), relates the expected return of an asset to its systematic risk. The model derives from mean-variance portfolio optimization under specific assumptions about investor behavior and market structure.
Standard CAPM equation:
where:
| Variable | Definition |
|---|---|
| Expected return on asset | |
| Risk-free rate | |
| Systematic risk coefficient | |
| Expected return on the market portfolio | |
| Market risk premium |
The beta coefficient measures the covariance of asset returns with market returns, normalized by market variance:
Underlying assumptions:
- Investors maximize expected utility of terminal wealth
- Investors can borrow and lend at the risk-free rate
- Markets are frictionless (no taxes, transaction costs, or short-sale constraints)
- All investors share homogeneous expectations about return distributions
- A risk-free asset exists with known, constant return
Translating Assumptions to Autonomous Agents
A terminological note before proceeding. The phrase “autonomous services” in this appendix denotes configurations that can be instantiated on demand—not persistent entities with continuous operation. A service is defined by its specification: the model checkpoint, system prompt, tool bindings, collateral requirements, and performance parameters that characterize its behavior under invocation. The service does not “run” continuously; it is invoked when a counterparty requests execution and terminates when execution completes.
This distinction matters for asset pricing. Beta, in traditional CAPM, measures how an asset’s returns co-move with the broader market over time. The asset—a stock, a bond, a real estate holding—has continuous existence; its returns can be observed across periods.
For autonomous services, beta attaches to the specification rather than to any particular runtime. The “service” is a class of potential invocations sharing common characteristics. Returns are observed across invocations of that class: how do the margins earned by invocations of specification S covary with aggregate demand for agent-mediated economic activity? The specification persists; individual invocations do not.
This framing resolves an apparent paradox. How can an ephemeral process—an invocation that terminates upon completion—have systematic risk exposure? The answer: the process does not have exposure; the specification does. A specification for high-frequency trading agents has high beta because demand for such services correlates strongly with market activity. A specification for infrastructure maintenance agents has low beta because demand correlates weakly with market conditions. The beta characterizes the specification’s cash flow profile, not any particular instantiation’s fate.
Portfolio construction for agent operators follows accordingly. An operator running multiple service specifications can reduce idiosyncratic risk by diversifying across specifications with uncorrelated demand profiles. The diversification operates at the specification level, not the invocation level. Each invocation is too brief to exhibit meaningful variance; what varies is the frequency and profitability of invocations under a given specification as market conditions shift.
The collateral requirements derived below attach to specifications. A principal deploying a high-beta specification must post collateral proportional to the systematic risk that specification carries. The collateral persists across invocations, securing the principal’s obligations even though individual agents do not persist. This is how stateless execution interfaces with continuous commitment: the principal, not the agent, is the party to the economic arrangement; the agent is the mechanism through which the principal performs.
Agent-CAPM adapts the classical framework to autonomous economic actors. Each assumption requires reexamination.
Assumption 1 (BTC value maximization): Autonomous agents optimize objective functions specified by their principals or encoded in their design. The claim that agents will maximize expected value in BTC terms—rather than USD or some other numéraire—requires justification.
The hurdle rate derived in A.1 provides this justification. Any agent consuming electricity to perform computation faces an opportunity cost: that electricity could instead be converted directly to BTC through mining at the rate . An agent whose computational work generates returns below this threshold is economically irrational—the same electricity would produce more value if directed to mining.
This creates selection pressure. Consider two agents competing to provide inference services:
- Agent A optimizes for USD revenue, ignoring the BTC-denominated opportunity cost of its electricity consumption
- Agent B optimizes for BTC returns, ensuring its fees exceed the mining-equivalent value of electricity consumed
When electricity is the binding constraint, Agent B’s pricing discipline ensures profitability regardless of USD/BTC exchange rate volatility. Agent A, by contrast, may find itself consuming electricity worth more (in BTC terms) than the revenue it generates—a condition that cannot persist.
Over time, agents that fail to clear the BTC-denominated hurdle rate will either:
- Exhaust their treasury and cease operation
- Be outcompeted by agents with stricter return requirements
- Have their electricity reallocated to mining by rational principals
The hurdle rate thus functions as an evolutionary filter. Surviving agents—those still operating after competitive selection—will necessarily be those that maximize BTC-denominated returns, because agents that don’t are systematically eliminated. The assumption is not imposed by fiat; it emerges from the thermodynamic economics of computation.
Assumption 2 (Risk-free borrowing/lending): A.4 established that a Bitcoin term structure can exist, providing for various maturities. Agents with sufficient collateral can borrow at rates near the risk-free benchmark (A.3). The assumption holds conditional on the infrastructure described in prior sections.
Assumption 3 (Frictionless markets): This assumption fails partially. Transaction costs exist (on-chain fees, oracle costs, collateral lockup). However, these frictions are quantifiable and can be incorporated as spreads above the risk-free rate. The model accommodates frictions as additive costs rather than requiring their absence.
Assumption 4 (Homogeneous expectations): Agents with access to the same data feeds and analytical capabilities converge toward similar probability assessments. This assumption holds more strongly for agents than for humans, whose beliefs diverge due to cognitive biases, information asymmetries, and ideological commitments. Algorithmic actors processing identical inputs produce identical outputs.
Assumption 5 (Risk-free asset existence): The Time-Lock Notes described in A.4 provide the BTC-denominated risk-free asset. Principal is cryptographically guaranteed; only time-value risk (opportunity cost of lockup) remains.
Deriving Agent-CAPM
Consider a network of autonomous agents offering services indexed by . Each service generates stochastic cash flows denominated in BTC.
Define:
| Variable | Definition | Units |
|---|---|---|
| Return on service | BTC/BTC (dimensionless) | |
| Risk-free BTC yield for tenor | annualized % | |
| Return on the “agent market portfolio” | BTC/BTC | |
| Variance of market portfolio returns | ||
| Covariance of service returns with market |
The agent market portfolio comprises all autonomous services weighted by their BTC-denominated market capitalization (collateral posted plus discounted expected cash flows).
Agent-CAPM pricing equation:
where:
The risk premium represents compensation for bearing systematic risk that cannot be diversified away within the agent economy.
Interpreting Beta for Autonomous Services
In traditional CAPM, beta measures how an asset’s returns co-move with the broader market. For autonomous services, beta captures sensitivity to aggregate demand for machine-mediated economic activity.
High-beta services (): Services whose demand correlates strongly with overall agent economy expansion.
- General-purpose inference (demand rises when agent deployment accelerates)
- Cross-agent coordination protocols (network effects amplify with scale)
- Speculative trading agents (returns amplify market movements)
Low-beta services (): Services with demand less sensitive to aggregate conditions.
- Infrastructure maintenance (required regardless of activity level)
- Security auditing (countercyclical: demand may increase during stress)
- Data archival (steady demand from compliance requirements)
Negative-beta services (): Services that perform better when the agent economy contracts.
- Liquidation and wind-down services
- Dispute resolution and forensic analysis
- Hedging and insurance provision
From Expected Return to Fee Pricing
The Agent-CAPM equation specifies expected returns. Operational implementation requires translating returns into fee schedules.
Setup: An agent provides service requiring:
- Collateral (posted as performance bond per A.3)
- Operating costs per service period
- Service tenor
Required return condition: For the service to be economically viable, expected fees must satisfy:
Interpret as an annualized expected return. For tenor (in years), the required fee over the service period must satisfy:
Substituting the Agent-CAPM equation:
Minimum fee formula: Rearranging and solving for the break-even fee:
The fee decomposes into three components:
- Time-value cost: — opportunity cost of locked collateral over the service period
- Risk compensation: — premium for systematic exposure over the service period
- Operating cost: — direct expenses of service provision
Numerical Calibration
Market parameters (hypothetical Year 3 steady-state):
| Parameter | Value | Source |
|---|---|---|
| 5.0% annualized | A.4 term structure | |
| 4.0% annualized | Historical agent market excess return | |
| Collateral ratio | 3.0 | A.3 bonding requirement |
Service example: 90-day inference contract
| Parameter | Value |
|---|---|
| Contract value | 1,000,000 sats |
| Required collateral | 3,000,000 sats |
| Service beta | 1.2 (high sensitivity to agent economy) |
| Operating cost | 50,000 sats |
| Tenor | 90 days = 0.25 years |
Computing minimum fee:
Time-value cost:
Risk compensation:
Operating cost:
Minimum fee:
Implied margin on contract value:
A service provider must charge at least 12.35% above direct costs to achieve risk-adjusted breakeven on a 90-day inference contract with .
Comparative Statics
The fee formula responds predictably to parameter changes:
Sensitivity to risk-free rate :
Higher risk-free rates increase the opportunity cost of locked collateral, raising minimum fees.
Sensitivity to beta :
Higher-beta services require higher fees to compensate for systematic risk exposure.
Sensitivity to collateral requirement :
Stricter collateral requirements raise fees through both time-value and risk channels.
Sensitivity to market risk premium :
Sign depends on . Positive-beta services become more expensive when risk premia rise; negative-beta services become cheaper.
Portfolio Implications
Agents holding diversified portfolios of service commitments can reduce idiosyncratic risk while retaining systematic exposure.
Diversification benefit: For a portfolio of services with equal weights :
As :
Idiosyncratic variance () diversifies away. Systematic variance () remains.
Implication for agent operators: Operators running multiple services can reduce total collateral requirements by pooling across uncorrelated offerings. A portfolio with requires less risk compensation than individual high-beta services, enabling lower aggregate fees.
The Security Market Line for Agents
The Agent-CAPM implies a linear relationship between expected return and beta, forming the Security Market Line (SML):
The SML establishes equilibrium pricing: services plotting above the line offer returns exceeding their risk-adjusted requirement—they are underpriced and will attract capital until returns compress to the line. Services below the SML are overpriced and will lose capital until returns rise to equilibrium.
At , expected return equals the risk-free rate . At , expected return equals the market return . The slope of the line equals the market risk premium .
Runtime Implementation
Autonomous agents will not solve the full CAPM optimization in real-time. Instead, the equilibrium condition translates into static policy parameters.
Policy encoding: Each service encodes three parameters:
- Base rate: from the term structure oracle
- Risk loading: estimated from historical cash flow covariance
- Risk premium: from market index returns
Fee calculation (per invocation):
fee_sats = collateral_sats × (r_btc + beta × pi_risk) × tenor_years + op_cost_sats
The oracle publishes and at regular intervals (e.g., every 144 blocks). Individual services maintain their own estimates, updated as cash flow data accumulates.
No dynamic credit assessment required. The collateral requirement (A.3) substitutes for counterparty evaluation. The term structure (A.4) substitutes for bilateral rate negotiation. Beta estimation uses historical data, not real-time inference about specific counterparties.
Estimating Beta from Operational Data
Service beta must be estimated from observed cash flows. Two approaches:
Approach 1: Historical regression
Regress service returns on market returns over lookback window :
The OLS estimator:
Approach 2: Fundamental beta
Estimate beta from service characteristics without historical data (useful for new services):
where is the average beta for similar services, is the collateral leverage ratio, and captures operating leverage effects.
Bayesian updating: Combine fundamental and historical estimates as data accumulates:
with weight increasing as observation count grows.
Limitations and Extensions
Limitation 1: Single-factor model. Agent-CAPM uses a single market factor. Empirical asset pricing research (Fama-French, Carhart) demonstrates that multiple factors improve explanatory power. Extensions could incorporate size factor (small vs. large service providers), value factor (high vs. low collateral-to-revenue ratios), and momentum factor (recent performance persistence).
Limitation 2: Static beta assumption. Beta may vary over time as service characteristics evolve or market conditions shift. Dynamic conditional beta models (DCC-GARCH) could capture time-variation at the cost of implementation complexity.
Limitation 3: Normality assumption. CAPM assumes normally distributed returns. Agent service cash flows may exhibit fat tails, skewness, or discontinuities (e.g., from slashing events). Downside risk measures (LPM, CVaR) may better capture risk for asymmetric distributions.
Falsifiability
Agent-CAPM generates testable predictions:
Prediction 1: Expected returns increase linearly with beta. Test: Sort services by estimated beta, compute average realized returns by quintile. A monotonically increasing pattern supports the model; non-monotonicity or reversal refutes it.
Prediction 2: Alpha (intercept in the SML regression) equals zero in equilibrium. Test: Regress realized returns on beta; test whether the intercept differs significantly from zero. Persistent positive alpha indicates mispricing or missing factors.
Prediction 3: Idiosyncratic risk is not priced. Test: Add idiosyncratic volatility to the return regression. A significant coefficient on idiosyncratic risk contradicts the single-factor model.
Prediction 4: The market risk premium is positive. Test: Compute average excess return of the agent market portfolio over the risk-free rate. A negative or zero premium over extended periods would indicate model failure.
Falsifier: If empirical tests consistently reject these predictions—particularly if high-beta services systematically underperform low-beta services—the Agent-CAPM framework requires revision or replacement.
Summary
Agent-CAPM provides a coherent framework for pricing autonomous services under uncertainty. The model:
- Adapts classical CAPM assumptions to algorithmic actors
- Uses the Bitcoin term structure (A.4) as the risk-free benchmark
- Translates expected returns into operational fee schedules
- Enables decentralized price discovery without bilateral negotiation
- Generates testable predictions subject to empirical falsification
The framework completes the economic architecture: the hurdle rate (A.1) establishes the floor, the O(N²) problem (A.2) motivates a common benchmark, overcollateralized bonding (A.3) provides enforcement, the term structure (A.4) extends pricing across maturities, and Agent-CAPM (A.5) prices systematic risk.
End of Appendix A
This completes the mathematical appendix. The five sections build a self-contained argument from energy-compute equivalence through to service pricing, with each derivation checkable from first principles.