Credit-First Macroeconomics for the AI Era

This page is provided as a proof artifact supporting Toppy’s ultra-lean, AI-first company design philosophy.

Thermo-Credit Theory (QTC ↔ Thermodynamics)

QTM = Quantity Theory of Money (money-first). QTC = Quantity Theory of Credit (credit-first).

We use an entropy-like, extensive index to separate scale and dispersion. This is an analytic bookkeeping correspondence, not a physical identity. The real economy we study does not obey physical laws in the first place.

Not physics. This is a practice-first mapping: what matters is decision-useful performance in real economies. Academic formalization is welcome but strictly secondary. All correspondences are subject to empirical testing and falsification.

Download technical note (Zenodo)

Plain-English abstract

Thermo-Credit Theory reinterprets the Quantity Theory of Credit (QTC) through the lens of thermodynamics. It treats credit expansion and repayment as energy-like flows within a financial system that has measurable capacity, pressure, and dispersion. This mapping is not physics—it is a structured bookkeeping analogy designed for decision support and early-warning analytics.

QTC extends the classic Quantity Theory of Money (QTM) by adding an explicit capacity term, \(V_C\), for the banking system. Just as physical systems have pressure–volume interactions, credit systems respond to changes in balance-sheet headroom and regulatory constraints. This allows us to separate random liquidity diffusion from intentional policy work, and to test whether data behave like state variables.

The theory introduces entropy-like dispersion, credit potential, and free-energy measures (\(F_C, X_C\)) to monitor stress and policy space. These quantities can be calculated from public balance-sheet and market data, producing falsifiable indicators. Thermo-Credit therefore serves as both a conceptual bridge between money and information, and a practical framework for quantitative supervision.

Contents
  1. Plain-English summary
  2. Overview
  3. Correspondence table
  4. Bank credit creation
  5. Free energy (F_C) & optional exergy (X_C)
  6. Maxwell-like relations
  7. Is it merely a rephrasing?
  8. What the analogy adds (insights & tests)
  9. Limitations & scope
  10. Minimal references
  11. Disclaimer & status
  12. App behavior
Key equations: (1) (2) (3) (4) (5)

Plain-English summary (QTM vs QTC & the first/second laws)

What we compare. Two stories about money/credit: the classic Quantity Theory of Money (QTM) [3,4,6] and Werner’s Quantity Theory of Credit (QTC) [9].

First law (bookkeeping idea).

Second law (one-way tendency).

Why QTC adds value. QTC makes the hidden capacity/pressure channel explicit. That lets us distinguish “more random dispersion” from “intentional work by policy or rules” — which is exactly what you want for audit trails and early-warning dashboards.

Overview

The index we informally described above is made precise as follows.

Definition. Monetary dispersion entropy (entropy-like, extensive): \[ S_M \;=\; k\,M_{\mathrm{in}}\,H(q),\quad H(q)\equiv -\sum_i q_i\,\log q_i \tag{1} \] where M_in is the actual money-in-circulation over a chosen period/system and q are composition shares (MECE, stable).

Entropy form follows Shannon [12]. Economic applications of entropy/dispersion include Theil’s information-theoretic index [7]. We map ideal mixing \(\Delta S_{mix}=k_B N H(x)\) to money shares \(q\) and scale \(M_{in}\).

Correspondence table

Thermodynamics column is literal; QTM/QTC columns are analogy-level correspondences. Heat/Work entries are “-like” bookkeeping splits, not physical identities.

Notes are hidden behind the ⓘ icons; hover (or tap) to read.

Variable Thermodynamics QTM (money-first) QTC (credit-first) Notes
Mixing entropy \(\Delta S_{mix}=k_B N H(x)\) \( S_M = k\,M_{in}\,H(q) \) \( S_M = k\,M_{in}\,H(q) \)
Temperature \( T \) \( T_L \) \( T_L \)
Internal energy \( U \) \( U_M(S_M) \) \( U(S_M,V_C,\dots) \)
Volume \( V \) \( V_C \)
Pressure \( p \) \( p_C \equiv -\,(\partial U/\partial V_C)_{S_M} \)
Heat (heat-like) \( \delta Q_{\mathrm{rev}} = T\,dS \) \( Q_M \sim T_0\,\Delta S_M \) \( Q_C \sim \bar T_L\,\Delta S_M \)
Work (work-like) \( \delta W = p\,dV \) \( W_M \equiv W_{\mathrm{policy}} \) \( W_C \equiv -\,\bar p_C\,\Delta V_C \;+\; W_{\mathrm{policy}} \)
First law \( \Delta U \equiv T\,\Delta S + W \) \( \Delta U_M = T_0\,\Delta S_M + W + \varepsilon \) \( \Delta U = \bar T_L\,\Delta S_M + W + \varepsilon \)
Second law (monotonicity) \( \Delta S \ge 0 \) \( \Delta S_M \ge 0 \) \( \Delta S_M \ge 0 \)
Helmholtz free energy\( F \) \( F_M \equiv U_M - T_0 S_M \) \( F_C \equiv U - T_0 S_M \)
Exergy / availability \( X \) \(X_M \approx U_M - T_0 S_M\) \( X_C = \Delta U + p_0\Delta V_C - T_0 \Delta S_M \)
Note — What does U mean here?
  • QTM: Bookkeeping potential \(U_M(S_M)\) so that a first‑law‑like split holds: \(\Delta U_M = T_0\,\Delta S_M + W_{policy} + \varepsilon\). Not a standard variable in classic QTM.
  • QTC: Credit state potential \(U(S_M,V_C,\dots)\) with conjugates \(T_L=(\partial U/\partial S_M)_{V_C}\), \(p_C=-(\partial U/\partial V_C)_{S_M}\).
We use \(U\) as an analytic device; original QTM/QTC do not name \(U\).

Bank credit creation (within this mapping)

Balance-sheet identity (loans create deposits)

When a bank grants a new loan, it books the loan as an asset and simultaneously creates a matching deposit as a liability. On the customer side, the new deposit is an asset and the loan is a liability. This standard identity is the only accounting ingredient we need.

\[ \Delta U \;\approx\; \bar T_L\,\Delta S_M \;- \; \bar p_C\,\Delta V_C \;+ \; W_{\mathrm{policy}} \;+ \; \varepsilon \tag{2} \]

This expresses the credit‑creation energy balance — the “ΔU of credit creation,” decomposing changes into liquidity (T̄L ΔSM), capacity (−p̄C ΔVC), and policy work (Wpolicy).

Creation vs repayment (sign conventions)

Notation: \(\Delta M_{\mathrm{in}}\) = change in money-in-circulation over the period. Arrows ↑/↓ denote increase/decrease.

Variable Credit creation (new lending > repayments) Credit contraction (repayments > new lending)
\(\Delta M_{\mathrm{in}}\) > 0 < 0
\(\Delta S_M\) increase (scale ↑; dispersion may also rise) decrease (scale ↓; if concentration increases, fall is larger)
\(\Delta V_C\) \(< 0\) (headroom used) \(> 0\) (headroom restored)
\(-\,\bar p_C\, \Delta V_C\) > 0 < 0
\(\Delta F_C = \Delta(U - T_0 S_M)\) sign depends on \(T_0\), dispersion changes, and \(p_C\) same (case by case)

Measurement proxies (practical)

Monthly algorithm (implementation steps)

  1. Aggregate credit flows/stocks \(f_i\); compute shares as \(q_i = f_i/\sum_i f_i\).
  2. Observe \(M_{\mathrm{in}}\) and compute \(S_M = k\,M_{\mathrm{in}}\,H(q)\).
  3. Build \(V_C\) from RWA, LCR/NSFR, and HQLA metrics.
  4. Compute \(T_L\) from market microstructure (spreads/turnover/depth).
  5. Evaluate \(\Delta U = \bar T_L \Delta S_M - \bar p_C \Delta V_C + W_{policy} + \varepsilon\).
  6. Detect events: label months with \(\Delta M_{\mathrm{in}}\) spikes (or net credit inflow if available) as credit-creation periods and decompose contributions.

Free energy \(F_C\) — and optional exergy \(X_C\)

Why this exists. We want a single scalar potential for the QTC side that (i) decreases as dispersion \(S_M\) increases under a fixed environment, and (ii) provides an upper bound on structured work over a cycle. A Helmholtz-style free energy plays exactly this role.

Definition. With a state potential \(U(S_M,V_C,\dots)\) and fixed environment \(T_0\): \[ F_C \equiv U - T_0 S_M,\qquad dF_C = -\,p_C\,dV_C + \delta W_{other} \tag{3} \]

It serves as an early-warning gauge: when \(\Delta F_C \to 0\), policy headroom for structured work dries up.

Exergy \(X_C\) (optional, environment-dependent)

When an ambient pressure-like term matters, use the exergy-like availability: \[ X_C = (U-U_0) + p_0\,(V_C - V_{C0}) - T_0\,(S_M - S_{M0}) \tag{4} \]

It reduces to \(-\Delta F_C\) if \(p_0\) effects are negligible and \(V_C\) is fixed. Because \(X_C\) depends on boundary choices \((T_0, p_0)\), we treat it as an advanced/optional metric. This Version 2 update refines the definition and boundary conditions for \(X_C\) compared to earlier drafts.

Gibbs free energy \(G_C\) (optional, fixed \(p_0\) environment)

When both temperature- and pressure-like environments are treated as fixed, the Gibbs free energy is convenient: \[ G_C \equiv U + p_0\,V_C - T_0\,S_M,\qquad dG_C = V_C\,dp_0 - S_M\,dT_0 + \delta W_{other} \] In practice, we use \(F_C\) for fixed-volume analyses and \(G_C\) when an ambient pressure-like \(p_0\) is the natural control.

Maxwell-like relations (integrability)

Given the state potential \(U(S_M,V_C,\dots)\) implied by the correspondence table and the \(F_C\) definition above, mixed partials must commute, giving a Maxwell-like condition:

\[ T_L = \left(\frac{\partial U}{\partial S_M}\right)_{V_C},\quad p_C = -\left(\frac{\partial U}{\partial V_C}\right)_{S_M} \;\Rightarrow\; \left(\frac{\partial T_L}{\partial V_C}\right)_{S_M} = -\left(\frac{\partial p_C}{\partial S_M}\right)_{V_C} \tag{5} \]

Violations in data falsify the mapping (i.e., chosen variables are not state-like or proxies are inadequate).

Is this merely a rephrasing?

Mathematically it is a change of coordinates that isolates scale and dispersion. It becomes non-trivial because it yields: (i) falsifiable integrability constraints (Maxwell-like), (ii) a clean separation of policy work vs dispersion, and (iii) an exergy/free-energy lens for early-warning ceilings via \(X_C\) or \(F_C\).

What the analogy adds (insights & tests)

Limitations & scope

Minimal references (selected)

  1. Rigor & reproducibility. Text on this page was generated with a reasoning model (GPT‑5 Thinking) at low randomness (temperature ≈ 0.2; top‑p = 1.0). No external web browsing was used. Equations are rendered with MathJax v3 from a public CDN; minor layout differences may occur across browsers. Data outputs in report.html are reproducible with Python 3.11 and the packages listed in requirements.txt. The GitHub Actions workflow pins versions and uses FRED_API_KEY for online fetch, or local CSVs if not set.

Disclaimer & status. This material is part of an ongoing research program. Findings are preliminary and may change. Our approach is pragmatic and engineering-led, with priority on decision-useful results.

  • No warranties. Provided as-is without any warranty of accuracy, completeness, or fitness for a particular purpose.
  • No liability. ToppyMicroServices OÜ and the authors disclaim liability for any loss or damage arising from use of this material.
  • No advice. For information purposes only; not investment, legal, tax, or policy advice.
  • Research only. Not an offer to sell or a solicitation to buy any security, product, or service.
  • No client relationship. Using this site does not create a client relationship, fiduciary duty, or duty of care.
  • Jurisdiction. Users are responsible for compliance with applicable local laws and regulations.
  • Independence. Independent research; views are solely those of the authors.
  • Forward-looking statements. Forward-looking statements are uncertain and actual outcomes may differ materially.
  • Regulatory status. This content is not a regulated financial service (e.g., investment adviser, broker-dealer) and should not be treated as such.

Rationale: Economics here is treated at the limit of pragmatism—tools must earn their keep in real operations before being formalized in journals. Empirical validation and falsification are ongoing.

App behavior