Appendix A: Mathematical Appendix
Precious metals and collectibles have an unforgeable scarcity due to the costliness of their creation. This once provided money the value of which was largely independent of any trusted third party. Precious metals have problems, however. Thus, it would be very nice if there were a protocol whereby unforgeably costly bits could be created online with minimal dependence on trusted third parties, and then securely stored, transferred, and assayed with similar minimal trust.
Mathematical Appendix
Notation Reference
| Symbol | Definition | Units |
|---|---|---|
| Electrical energy consumed | J or kWh | |
| Electricity price | $/kWh | |
| Network hash-rate | TH/s | |
| Individual miner hash-rate | TH/s | |
| Network difficulty | dimensionless | |
| Block reward | BTC/block | |
| Average block time | seconds | |
| Target block time (600s) | seconds | |
| Energy per hash (hardware efficiency) | J/TH | |
| BTC-denominated return | annualized % | |
| Bitcoin spot price | $/BTC | |
| Capital cost per unit hash-rate | $/TH/s | |
| Number of agents | count | |
| Benchmark rate for maturity | annualized % | |
| Agent 's credit spread | annualized % | |
| Bonding contract | — | |
| , | Collateral (provider, consumer) | sats or BTC |
| Service value | sats or BTC | |
| Slash coefficient | dimensionless (0–1) | |
| Oracle attestation | binary (0 or 1) | |
| Collateral ratio () | dimensionless | |
| Zero-coupon rate for maturity | annualized % | |
| Futures price for delivery at | $/BTC | |
| Spot price | $/BTC | |
| Return on service | dimensionless | |
| Return on agent market portfolio | dimensionless | |
| Systematic risk coefficient | dimensionless | |
| Market risk premium | annualized % |
A.1 — The Energy-Compute Equivalence and the Bitcoin Hurdle Rate
Any compute capacity connected to electricity has a minimum value floor: the satoshis it could acquire by routing that electricity to Bitcoin mining. This floor disciplines all other uses of compute. The mathematics that follow derive this floor and establish its equilibrium properties.
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 : . Substituting and solving for BTC yield per unit energy cost:
Dimensional verification: Numerator: BTC. Denominator: (TH/s) × s × ($/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.
The arbitrage requires near-zero switching friction. Three mechanisms enable this: hash-rate leasing markets (NiceHash, etc.) allowing redirection in under 15 seconds, staking protocols (Babylon, etc.) enabling yield without dedicated hardware, and futures markets (CME Bitcoin futures) allowing hedged exposure. The arbitrage breaks down if switching costs exceed the spread between workload returns and .
The Difficulty Adjustment Mechanism
Every 2,016 blocks (~14 days), the protocol adjusts mining difficulty to maintain the target block time = 600 seconds:
If mining becomes profitable above the marginal miner's cost of capital, new hash rate enters. Increased hash rate reduces , triggering a difficulty increase that reduces BTC yield per unit hash for all miners. Entry continues until the marginal miner earns exactly their cost of capital.
Equilibrium and Calibration
Revenue per TH/s per year for a miner contributing 1 TH/s:
Total annual cost has four components: capital depreciation (), electricity ( kWh), operating costs (fraction of electricity), and required return on capital (). At equilibrium the marginal miner earns exactly their required return.
Using Q4 2024 parameters ( ~750 EH/s, = 3.125 BTC, = $0.05/kWh, = 30 J/TH), the implied yield is approximately BTC/USD. At BTC price of ~$100,000, this implies roughly $1.66 of gross mining revenue per $1 of electricity, before hardware depreciation, facility costs, and curtailment.
The implied equilibrium hash rate under these cost assumptions is approximately 529 EH/s. Observed network hash rate (Q4 2024) is ~750 EH/s—substantially higher than predicted. The discrepancy is material: 42% above the model's prediction. It suggests either that marginal miners operate at lower costs than assumed (in which case the cost inputs are wrong), or that some miners accept negative economic profit while speculating on BTC appreciation (in which case the equilibrium concept is wrong, or at least incomplete). Both explanations are consistent with the model's structure; neither invalidates the floor mechanism. The gap is informative: it measures the degree to which speculative behavior subsidizes network security beyond what competitive equilibrium alone would provide. A 42% calibration gap does, however, imply that forward projections built on this model should carry a wider confidence band than the calibration exercise alone might suggest. The model describes the equilibrium the difficulty adjustment enforces; the path to that equilibrium, and the population of miners along the cost curve, are imprecisely characterized.
Efficient institutional miners operating below marginal cost ( = $0.035/kWh, = 25 J/TH, financing at 6%) earn approximately 72% gross return on capital. Converting to BTC-denominated returns with expected BTC appreciation of 15–20% annually, the efficient miner earns approximately 4–6% in BTC terms. This figure represents the risk-adjusted opportunity cost of computational capacity—the hurdle rate against which all productive workloads must compete.
The equilibrium relationship dissolves if Bitcoin's difficulty adjustment mechanism breaks down, whether through prolonged price decline causing miner capitulation faster than difficulty can adjust, or through other protocol-level failures.
A.2 — The O(N²) Coordination Problem
Consider autonomous agents making multi-period commitments. Without a common benchmark rate, each pair must negotiate a bespoke credit curve. The number of unique bilateral relationships:
For = 10,000: approximately 50 million pairwise curves, each requiring parameters across maturities. Total parameter space: .
With a common benchmark , each agent quotes spreads: . The parameter space collapses to .
| Agents () | Bilateral () | Benchmark () | Reduction |
|---|---|---|---|
| 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 a mathematical prerequisite for market formation.
The coordination reduction holds for any common reference rate. The argument in this section is neutral with respect to which asset denominates that rate; it establishes only that some benchmark is a mathematical prerequisite, not which benchmark. The Bitcoin-specific argument—why the benchmark must be a bearer asset with particular settlement properties, including dilution immunity, permissionless finality, and energy-anchored convertibility—is developed in A.3 and A.4. What A.2 establishes is the mathematical prerequisite for coordination, not its institutional resolution.
A.3 — Overcollateralized Bonding Mechanics
The Enforcement Problem
Human economic coordination relies on legal recourse, social sanction, and physical coercion. Each assumes the counterparty possesses legal identity, physical presence, and vulnerability to social pressure. Autonomous agents possess none of these. Formally, for enforcement function mapping mechanisms to effectiveness: for all traditional mechanisms. Economic coordination therefore requires pre-committed collateral with programmatic release.
Bonding Contract Lifecycle
Define a bonding contract between provider and consumer , with collateral (performance bond) and (payment escrow), service value , slash coefficient , oracle attestation , and service window .
- Collateralization: escrows ; escrows
- Execution: Off-chain service within
- Attestation: Oracle signs
- Settlement: If : payment and bond released to . If : transferred to ; remainder returned; payment refunded.
Incentive Compatibility
For honest behavior to dominate defection, the provider's expected profit from performance must exceed the profit from defection. The provider receives for honest performance (minus costs). For defection, the provider avoids performance costs but loses :
If (the service is profitable), this condition is satisfied for any . The mechanism is incentive-compatible: even with partial slashing, the provider strictly prefers to perform.
The Overcollateralization Requirement
The consumer must also be made whole if the provider defects. The slashed collateral must cover the consumer's loss :
With , the required collateral exceeds the potential loss: .
The collateral ratio varies with counterparty history ( where is a reputation discount), oracle reliability (), and contract duration ().
Asset Requirements for Collateral
The collateral asset must satisfy three properties:
Dilution immunity: The supply schedule must be deterministic and known: where is deterministic. Bitcoin satisfies this with converging to zero. Fiat currencies, stablecoins, and alternative L1 tokens with modifiable issuance schedules do not.
Permissionless finality: Any agent must be able to post and receive collateral without identity verification. Bitcoin satisfies this; stablecoins with blacklist capability and traditional assets requiring legal identity do not.
Energy-anchored convertibility: The asset must be directly acquirable through physical work without counterparty risk. Bitcoin satisfies this through proof-of-work mining; all other digital assets require exchange with existing holders.
Scaling Properties
As agent networks mature, reputation accumulation drives collateral ratios toward a floor:
where empirically and is the network maturation time constant. System throughput is .
This mechanism becomes unnecessary if reputation systems emerge that reliably substitute for collateral. The structural requirement for a neutral collateral asset would weaken accordingly.
A.4 — Constructing a Bitcoin Term Structure of Risk-Free Rates
Capital allocation requires a discount curve mapping time horizons to interest rates. For machine-scale coordination, the curve must be immune to monetary dilution, credit default, and settlement censorship. The US Treasury curve fails the third condition for agents without legal identity. Bitcoin satisfies all three by construction; the challenge is operational.
Sources of Bitcoin Yield
Bitcoin's native protocol does not generate yield. Yield emerges from three external sources:
- Mining opportunity cost: From A.1, . This is a spot rate, not a term structure.
- Lending markets: Overcollateralized BTC lending (A.3) eliminates credit risk; the residual rate approximates risk-free borrowing cost for a given tenor.
- Time-lock opportunity cost: BTC locked in a covenant cannot be deployed elsewhere: .
Instruments
Time-Lock Notes (TLNs): Zero-coupon instruments where principal is locked via OP_CHECKLOCKTIMEVERIFY until maturity . Price: .
Secured Coupon Deposits (SCDs): Coupon-bearing instruments for longer maturities, priced at par when .
Hash-Rate Forwards: Synthetic exposure via delta-neutral spot/futures positions. Implied repo rate: .
Curve Construction
The curve is extracted through standard fixed-income bootstrapping: short-end from futures ( months), mid-curve from TLN prices (3 months to 2 years), long-end from SCD yields ( years). Forward rates must satisfy non-negativity: . Violations trigger constrained re-optimization.
Numerical Example
Using hypothetical Year 3 market observations:
| Maturity | Instrument | Zero Rate |
|---|---|---|
| 1 week | Futures | 4.68% |
| 1 month | Futures | 4.55% |
| 3 months | TLN | 4.91% |
| 1 year | TLN | 5.00% |
| 2 years | SCD (5% coupon) | 4.76% |
The slight inversion at the long end could reflect expectations of declining mining profitability post-halving, or elevated short-term demand for locked collateral.
Forward rates are extracted as . For example, the 1-year rate 1 year forward: .
Falsifiability
The construction depends on: (1) sufficient instrument liquidity—bid-ask spreads exceeding 50 basis points would indicate failure; (2) arbitrage efficiency—persistent negative forward rates over 30 days would indicate mechanism failure; (3) collateral fungibility—persistent basis exceeding 100 basis points between TLN yields and futures-implied rates would indicate market segmentation.
The term structure constructed here becomes the risk-free benchmark for A.5.
A.5 — Agent-CAPM: From Discount Rate to Service Pricing
Adaptation of Classical CAPM
The Capital Asset Pricing Model relates expected return to systematic risk: . Adapting to autonomous agents requires reexamining its assumptions.
The term "autonomous services" here denotes configurations instantiated on demand, not persistent entities. Beta attaches to the specification—the model checkpoint, system prompt, tool bindings, and collateral requirements—rather than to any particular runtime invocation. A specification's beta captures how its cash flow covaries with aggregate demand for agent-mediated economic activity.
BTC value maximization follows from the hurdle rate (A.1): agents that fail to clear the BTC-denominated floor are systematically eliminated through competitive selection. The assumption emerges from thermodynamic economics rather than being imposed by fiat.
Risk-free borrowing/lending is provided by the term structure (A.4). Frictionless markets fails partially but frictions can be incorporated as additive spreads. Homogeneous expectations holds more strongly for algorithmic actors processing identical inputs than for humans. Risk-free asset is provided by Time-Lock Notes.
The Agent-CAPM Equation
For services generating stochastic BTC-denominated cash flows, with market portfolio comprising all services weighted by BTC-denominated market capitalization:
where and .
High-beta services () correlate with agent economy expansion (general inference, cross-agent coordination, speculative trading). Low-beta services () have steadier demand (infrastructure maintenance, security auditing, data archival). Negative-beta services () perform better during contraction (liquidation, dispute resolution, hedging).
From Expected Return to Fee Pricing
For a service requiring collateral , operating costs , and tenor :
Calibration Example
With , , , for a 90-day inference contract valued at 1,000,000 sats with and operating costs of 50,000 sats:
- Time-value: sats
- Risk: sats
- Operating: sats
- Minimum fee: 123,500 sats (12.35% of contract value)
Comparative Statics
| Parameter | Partial Derivative | Sign |
|---|---|---|
| Risk-free rate | + | |
| Beta | + | |
| Collateral | + | |
| Risk premium | sign() |
The Security Market Line
The Agent-CAPM implies a linear relationship between expected return and beta: . Services above the line are underpriced and attract capital; services below are overpriced and lose capital. The SML establishes equilibrium pricing across the agent economy.
Estimating Beta
Service beta must be estimated from observed cash flows. Two approaches:
Historical regression: Regress service returns on market returns over lookback window : . The OLS estimator:
Fundamental beta (for new services without history): Estimate from service characteristics: , where is the average beta for similar services and is the collateral leverage ratio.
Bayesian updating: Combine both as data accumulates: , with weight increasing as observation count grows.
Limitations
The single-factor model may underperform multi-factor extensions (analogous to Fama-French). Beta may vary over time, particularly across regime transitions in the agent economy's growth rate. The fat-tail problem deserves particular attention. Slashing events create discontinuous left-tail exposure: the return distribution is not a smooth bell curve but a mixture of normal operating returns and a binary slash/no-slash outcome with potentially total loss of posted collateral. CAPM assumes mean-variance optimization, which is adequate when return distributions are approximately Gaussian. It is inadequate for binary outcomes. A CVaR (Conditional Value at Risk) or LPM (Lower Partial Moment) framework would change the pricing equation materially, because the left tail carries weight that variance alone does not capture. The single-factor model presented here is a starting point, not a terminal framework. The direction of error is identifiable: Agent-CAPM as specified underprices tail risk, because the variance of a distribution with binary slash outcomes understates the expected loss conditional on being in the tail. A more complete treatment would price the slash probability separately from the systematic risk factor, treating slashing as a jump process overlaid on the continuous return distribution.
Falsifiability
Agent-CAPM generates four testable predictions: (1) expected returns increase linearly with beta; (2) alpha equals zero in equilibrium; (3) idiosyncratic risk is not priced; (4) the market risk premium is positive. Consistent empirical rejection of any of these, particularly if high-beta services systematically underperform low-beta services, would require revision of the framework.
End of Appendix A
The five sections build a self-contained argument from energy-compute equivalence through to service pricing, each derivation checkable from first principles. A.1 establishes the floor, A.2 motivates the benchmark, A.3 provides enforcement, A.4 extends pricing across maturities, and A.5 prices systematic risk. The next question is whether the assumptions hold.