Richard Hoekstra

Mathematical comparison

When an algebraic rewrite can be compared with a martingale

A structural parallel — framing note
Richard Hoekstra · April 2026

Two notions of conservation

A rewrite can change the measured description length of a ring expression. A round-trip computation can also return to its original length. This suggests a question about random rewrite schedules. Could the changes in length be separated into a predictable drift and a martingale?

In risk-neutral Black–Scholes pricing, a suitably integrable discounted self-financing value process is a martingale. Its conditional expectation equals its present value while individual paths can fluctuate. Theta is the partial derivative of option value with respect to time. It measures a sensitivity and does not identify a dissipative event.

What a probabilistic model would need

In the discrete-time integrable case, specify a probability law on schedules, the information available after each rewrite, and an adapted length process X. The predictable increment is E[Xₜ₊₁ − Xₜ | ℱₜ]. Subtracting accumulated drift gives a martingale. Increasing drift additionally requires a submartingale condition. Neither a zero deterministic round-trip change nor a decrease on several chosen examples supplies those hypotheses.

Two kinds of infinitesimal calculation

f(x + εv) = f(x) + εv f′(x),   ε² = 0.
df(Wₜ) = f′(Wₜ)dWₜ + ½ f″(Wₜ)dt.

For f(x)=x² the dual-number increment has only the linear part 2xεv. Brownian quadratic variation contributes dt in Itô’s formula. This example pinpoints the difference between ordinary first-order automatic differentiation and stochastic differentiation.

Transferable questions

If the parallel yields anything, it should produce transferable questions:

  1. Greek-letter structure. BS has Delta, Gamma, Theta, Vega, Rho — sensitivities along different directions. The ring-computation analog: sensitivities of L to perturbations along η, along the descent map, along sector transitions. Some of these may be computable and meaningful.
  2. Put-call parity analog. BS has an identity relating call prices to put prices. The ring analog might relate forward-rewrite cost to reverse-rewrite cost via some η-sector-involving identity.
  3. Volatility surface analog. BS has an implied-volatility surface that encodes market deviations from the base model. The ring analog: an empirical "sharpness surface" over workload-distributions that encodes where βK behaves as theory predicts.
  4. Category-theoretic formulation. If the parallel is real, both theories should live as morphisms in a common category where the Doob-Meyer decomposition is a functorial construction. This is the direction in which the strong "same fundamental law" claim could be made precise.

A testable next question

Choose a distribution on admissible successors, compute the drift of the length proxy by state, and check whether it predicts the signed change in held-out rewrite traces.

The related notes define the rewrite model, its length proxy, and the algebra of square-zero elements. arrow of time in ring computation · Interior load as conditional Kolmogorov complexity · ε² = 0 · Residual structuralism

Cite this page

Richard Hoekstra. When an algebraic rewrite can be compared with a martingale. https://richardhoekstra.nl/papers/black-scholes-parallel.html