What does Jiaozi, Gresham and Stablecoin Runs conclude, in numbers, about “Closing the Loop: Multi-Currency Settlement Rules, a Pre-Registered Test and Conditions for Refutation”?

Answer: Chapter 8 gives settlement rules, the distilled Settlement Currency Selector and a pre-registered test. Marked boxes separate published evidence, runnable Python calculations (18 programs), classical sources and the author's hypotheses.

Scope of the numbers: Its parameters are illustrative; all calculations are generated by its programs; it is not personalised financial advice, it recommends no currency, stablecoin or platform, and regulatory matters are subject to manual review before publication. Marked boxes separate published evidence, runnable Python calculations (18 programs), classical sources and the author's hypotheses.

中文版

Data table

The numbers below are printed verbatim by the chapter's Python program and can be reproduced by running it. standard-library Python only

pass-through p | menu A-D: receive pay | foreign B-D: receive pay
           0.0 |               A    C |                  B    C
           0.5 |               A    A |                  D    D
           1.0 |               A    A |                  D    D
token backing 1.02, cash 0.2, haircut 0.10: theta* 1.085, run-exposed
token backing 1.10, cash 0.2, haircut 0.10: theta* 1.085, above threshold
token backing 1.00, cash 1.0, haircut 0.10: theta* 0.999, above threshold
Show the full program
# Chapter 8. p81: the settlement-currency rules behind distill/tool.py
# Same scores as p61 (receive score and pay cost in log points) on the
# same illustrative menu A to D, for pass-through p = 0, 0.5 and 1, and
# the run check of p51 for a settlement token: a token whose disclosed
# backing per unit is below the run threshold theta* for its cash share
# and haircut is flagged. Labels and numbers are illustrative; they do
# not describe any real currency, token or platform.
import math

TAU, GAM = 60 / 365, 3.0
MENU = [("A", 0.00, 0.00, 0.000), ("B", 0.02, 0.06, 0.004),
        ("C", -0.06, 0.10, 0.006), ("D", 0.00, 0.03, 0.002)]
CONV, N = 0.005, 2000


def risk(sig):
    return 0.5 * GAM * sig * sig * TAU


def receive(c, p):
    return (1.0 - p) * c[1] * TAU - c[3] - risk(c[2])


def pay(c, p):
    return (1.0 - p) * c[1] * TAU + c[3] + risk(c[2])


def gap(n, theta, s, h):
    cash = s * theta
    cap = cash + (1.0 - h) * (theta - cash)
    if n <= cash:
        left = theta - n
    elif n <= cap:
        left = theta - cash - (n - cash) / (1.0 - h)
    else:
        return 0.0 - cap / n
    return min(1.0, left / (1.0 - n)) + CONV - 1.0


def threshold(s, h):
    lo, hi = 0.5, 3.0
    for _ in range(50):
        mid = 0.5 * (lo + hi)
        pts = [gap((i + 0.5) / N, mid, s, h) for i in range(N)]
        if math.fsum(pts) / N < 0.0:
            lo = mid
        else:
            hi = mid
    return 0.5 * (lo + hi)


print("pass-through p | menu A-D: receive pay | foreign B-D: receive pay")
for p in (0.0, 0.5, 1.0):
    full = (max(MENU, key=lambda c: receive(c, p))[0],
            min(MENU, key=lambda c: pay(c, p))[0])
    fx = (max(MENU[1:], key=lambda c: receive(c, p))[0],
          min(MENU[1:], key=lambda c: pay(c, p))[0])
    print("{:14.1f} | {:>15} {:>4} | {:>18} {:>4}".format(
        p, full[0], full[1], fx[0], fx[1]))
for backing, s, h in ((1.02, 0.2, 0.10), (1.10, 0.2, 0.10),
                      (1.00, 1.0, 0.10)):
    t = threshold(s, h)
    flag = "run-exposed" if backing < t else "above threshold"
    print("token backing {:.2f}, cash {:.1f}, haircut {:.2f}: theta* "
          "{:.3f}, {}".format(backing, s, h, t, flag))

Single source and citation

Fan, Y. (2026). Jiaozi Over-Issue and Gresham's Law, Thiers' Reversal under Floating Exchange and Stablecoin Run Thresholds (Version 1.0.0), Chapter 8: Closing the Loop: Multi-Currency Settlement Rules, a Pre-Registered Test and Conditions for Refutation. 5D Library. DOI pending

DOI pending · monograph page goes live after publication · 5DL-B-221 · v1.0.0 · CC-BY-NC-ND-4.0

BibTeX
@book{fan2026221,
  author    = {Fan, Yafu},
  title     = {Jiaozi Over-Issue and Gresham's Law, Thiers' Reversal under Floating Exchange and Stablecoin Run Thresholds},
  year      = {2026},
  publisher = {5D Library},
  edition   = {1.0.0},
  note      = {DOI pending}
}

Other chapter answers in this book