Residual of the Residual

A sub-attribution geometric flow on a production concentrated liquidity rebalancer

Contents
  1. The prediction
  2. The attributed-dust ledger
  3. A direct observation
  4. The seam between arithmetic and attribution
  5. Why the magnitudes matter
  6. Per-event corroboration
  7. Scaling with position size and operation count
  8. Caveats on the exact figure
  9. What this changes, and what it does not

A short empirical note on a smaller remainder sitting beneath the attributed dust of the Geometric Siphon1. The original paper identified the geometric residual at rebalance level and measured it through a per-portfolio dust ledger. What is recorded here is a narrower object; the portion of that residual which escapes portfolio attribution altogether and accumulates instead in the contract’s physical token inventory.

Revised 12 November 2026: the per-event section is rebuilt on events verified against on-chain records, after a fault in the log’s range fields came to light. The per-rebalance figures for the six-decimal tokens are restated in their own smallest units, and arithmetic errors are corrected. The cumulative gap is unchanged.

The prediction

The Geometric Siphon paper identifies a closed-form residual at every concentrated liquidity rebalance. For a position rebalanced from range [sa,sb][s_a, s_b] to [sa′,sb′][s_a', s_b'] at sqrt price ss, Theorem 1 establishes that the signed residual value satisfies

ΔRV=0    ⟺    R(s,sa,sb)=R(s,sa′,sb′),\frac{\Delta R}{V} = 0 \;\iff\; R(s, s_a, s_b) = R(s, s_a', s_b'),

with RR the position’s token ratio. Whenever the old and new ranges disagree on the ratio at the current price, the rebalance produces a strictly non-zero residual; the binding token redeploys in full and the surplus exits the mint as dust.1

That paper measured the residual through a position manager exposing a dustBalance[wallet][portfolioId][token] mapping, written on each rebalance from the amounts returned by the NFPM. This made the residual empirically visible position by position rather than leaving it submerged in a single opaque contract balance.

The distinction matters. The original paper did not argue that the shared balance architecture creates the residual. The residual is a consequence of concentrated liquidity rebalance geometry itself. What the shared balance architecture adds is observability across positions and, more importantly, a transfer channel through which residuals from one pool may later be absorbed by another. The present note pushes one layer lower. It records evidence that, even beneath the attribution layer of the discovery architecture, a smaller remainder survives at the seam between V3 integer arithmetic and the manager’s subsequent ledger write.

The attributed-dust ledger

The ledger catches the macroscopic flow. On the system under observation, with 177,353 lifetime rebalances across 43–53 concentrated liquidity positions, the total dust attributed by pm.dustBalance summed across every wallet, portfolio, and token is $2,487.62. Restricted to the three hub tokens that hold the bulk of the dust inventory, USDC, EURC, and WETH, the attributed sum is $676.87. The contract’s physical token balance at the same instant, read directly from each ERC-20’s balanceOf(PM_V9, t), sums to $679.70 across those three tokens.

The two views describe the same physical tokens through different descriptions. The difference between them is the portion of the contract inventory which exists physically but is not named by any per-portfolio attribution entry.

A direct observation

The gap was surfaced during an unrelated TVL audit. A double count between contractDust.totalUsd and the sum of portfolioDust.totalUsd forced a side-by-side comparison on precisely those tokens where rebalance traffic is concentrated. After de-duplication, the arithmetic leaves a $2.83 residue unattributable to any portfolio.

Token Decimals Contract balance Attributed dust Unattributed amount Unattributed USD Per-rebalance equivalent
WETH 18 0.0212839 0.0204190 0.0008649 $1.75 4.88 gwei/rebal
USDC 6 32.5464 31.59 0.9564 $0.96 5.4 base units/rebal
EURC 6 520.602 520.50 0.1021 $0.12 0.58 base units/rebal
Total $2.83

The table does three things at once. It shows that the gap exists, gives its per-token structure, and puts a size on it per rebalance: fractions of a base unit to a few base units for the stablecoins, and a few gwei of WETH.

The seam between arithmetic and attribution

Decompose the per-event residual as ΔRi=ΔRiatt+εi\Delta R_i = \Delta R_i^{\text{att}} + \varepsilon_i, where ΔRiatt\Delta R_i^{\text{att}} is the amount the manager writes into dustBalance at event ii and εi\varepsilon_i is the floor remainder accumulating in the contract’s physical balance. Summed over 177,353 events,

∑iΔRiatt=$676.87  (three hub tokens),∑iεi=$2.83.\textstyle \sum_i \Delta R_i^{\text{att}} = \$676.87 \;(\text{three hub tokens}), \qquad \sum_i \varepsilon_i = \$2.83.

NFPM’s mint and burn callbacks return amounts computed in Q64.96 fixed-point sqrt-price arithmetic. The manager’s subsequent dustBalance write is bounded above by what the NFPM declares it received or returned. Any rational quantity exceeding that declared amount remains as physical token at the contract address, without any corresponding per-portfolio ledger entry. By construction εi≥0\varepsilon_i \geq 0 per token per event, so ∑iεi\sum_i \varepsilon_i accumulates monotonically.

Taken together, the two terms are the full geometric-residual flow at this rebalance volume. The attributed term is the part the original empirical apparatus was built to surface. The remainder is the part the instrument cannot reach, precisely because of where it sits in the call stack.

Why the magnitudes matter

Three observations bear on the integer-floor reading.

First, on the six-decimal tokens the remainder averages fractions of a base unit to a few base units per rebalance. USDC averages 5.4 base units per rebalance and EURC 0.58. Converting between sqrt price and token amounts in Q64.96 arithmetic discards less than one base unit at each integer division,2 and a rebalance performs several, in its burn, its collect and its mint. A remainder at this scale is what that arithmetic allows.

Secondly, the WETH leg matches the stablecoin legs in value, not in units. Its 4.88 gwei per rebalance is several billion base units of WETH, far more than rounding in WETH’s own units could leave. In dollars it is about 10⁻⁵ per rebalance, against 5 × 10⁻⁶ for USDC. The two legs are the same order of magnitude in value, which is what would be seen if the coarser, six-decimal side of each pair set the size of the remainder.

Thirdly, the cumulative gap corresponds to a small average value per rebalance. This is consistent with integer-floor leakage, but the average alone does not establish that the remainder is constant across operations.

Per-event corroboration

The argument above is inferred from the cumulative gap. A second measurement is available at event level from the system’s diffusion log, which records the change in position value across each rebalance, dustPnl=Vpost−Vpre\text{dustPnl} = V_{\text{post}} - V_{\text{pre}}, at float64 precision. The display-layer rounding discussed below affects only the aggregate API payload and does not propagate into the on-disk log, so the per-event reading resolves residuals well beneath the magnitudes of interest.

The cleanest subset consists of the rebalances in which the range did not change and no swap took place. These are exactly the events for which Theorem 1’s vanishing condition predicts zero geometric residual under any account that does not admit an integer-arithmetic remainder. Of the final 5,000 events in the sampled log, spanning 56.6 hours from 21 to 23 May 2026, 2,285 meet these criteria (45.7%).

A non-trivial fraction of the 2,285 lands at the float64-precise zero floor.

Bucket of |dustPnl| Count % of subset
= 0 (float-precise) 686 30.0
> 0 to 10⁻⁶ 52 2.3
> 10⁻⁶ to 10⁻⁴ 946 41.4
> 10⁻⁴ to 10⁻² 453 19.8
> 10⁻² to 1 140 6.1
> 1 to 10 5 0.2
> 10 to 100 3 0.1
> 100 0 0.0

The first three buckets account for 73.7% of these rebalances, including 30.0% recorded as exactly zero.

The WETH leg of the aggregate gap implies ~4.88 gwei per rebalance averaged across the full 177,353 event lifetime. Within the clean subset, the non-zero median among events with |dustPnl| < $0.01 is 2.68 gwei WETH-equivalent. The estimates are of the same order of magnitude, although they use different samples and summary statistics.

A per-pair breakdown sharpens the point. WETH/EURC (nn = 1,202) has q50q_{50} = $4.7 × 10⁻⁶ and WETH/USDC (nn = 63) has q50q_{50} = $2.2 × 10⁻⁶, with little change in either median when zeros are excluded. The VVV pairs are mostly exactly zero, on three quarters or more of their events, with a non-zero tail reaching the 10⁻² to 10⁻¹ USD range, consistent with higher volatility introducing genuine inter-block friction on a subset of operations.

The shape of the distribution is informative, though not in the way the first version of this note reported. On the clean subset the distribution thins steadily above the floor: 74% of events at or below 10⁻⁴ dollars, 20% between that and a cent, and 6% between a cent and a dollar. The first version described a second, dollar-scale regime. The excluded range changes and swaps account for 199 of the original 207 observations above $1. Only eight of the 2,285 events in the clean subset exceed $1.

Scaling with position size and operation count

The attributed dust scales with position size and geometric mismatch. For each token, the cumulative sub-attribution remainder equals the operation count multiplied by the mean remainder per operation. If that mean remains approximately stable, the cumulative remainder grows approximately in proportion to operation count. The cumulative measurement alone does not establish this stability.

Term What it is Magnitude depends on Visible at typical ALM volume?
ΔRatt\Delta R^{\text{att}} per-portfolio leftover written to dustBalance position size × geometric mismatch yes
ε\varepsilon floor remainder at the NFPM / dustBalance seam operation count × mean remainder per operation, for each token no, at the observed mean

At the observed average remainder per rebalance, an ALM running on the order of 100 rebalances per month would accumulate only about $0.02 of sub-attribution remainder a year. That sits comfortably inside the noise from spam ERC-20s, fee residue, dashboard rounding, and other operational debris. Without both high volume and a reason to look for this pattern, it would be invisible.

The 177,353-rebalance count is what carries the highest decimal leg above the dollar threshold. That volume is the reason the remainder surfaces as a measurement rather than remaining theoretical dust. In that sense the observation depends on scale, but the mechanism does not.

Caveats on the exact figure

Three caveats qualify the aggregate estimates.

Display-layer rounding inflates noise on the aggregate alone. The state payload surfacing portfolioDust.entries[].amount rounds the displayed amount to a few decimal places per entry. Across the thirteen entries used in the attribution sum, this introduces up to about ∼\sim $0.85 of measurement noise on the USDC and EURC totals. The wei-precise gap is therefore likely in the $1.95–$2.20 range, dominated by the $1.75 WETH leg. WETH is displayed at a higher precision, so its contribution to that rounding error is sub-cent. The on-disk diffusion log used for the per-event analysis is unaffected by this display layer, and the precise aggregate can in any case be recovered directly on chain through paired balanceOf and dustBalance calls.

The rebalance count includes earlier contracts. The count of 177,353 rebalances covers the manager’s full operating history. About 25,500 of those rebalances were made on earlier contract versions, before this one made its first rebalance on 21 March 2026, while the gap is measured on this contract’s balance alone. On the contract’s own count at the time of the reading, about 151,800, each per-rebalance figure is about 17% higher: 5.7 gwei for WETH and 6.3 base units for USDC. The orders of magnitude are unchanged.

Non-rebalance sources cannot be excluded from the aggregate alone. Direct ERC-20 transfers remain a possible contributor. The gap corresponds to a small average amount per rebalance, consistent with integer-arithmetic leakage. The per-event distribution provides additional evidence of small value changes during rebalances, with 30% of the clean events recorded as exactly zero and nine tenths of the rest below a cent. It does not, however, exclude direct transfers as a contributor to the cumulative inventory gap.

A final caution is that even the clean subset is not free of token movement. Reminting at the same range with a different liquidity amount, for example after dust-compounder absorption, still moves tokens without a swap. The 2.68 gwei WETH-equivalent figure may therefore overstate the contribution from arithmetic rounding alone.

What this changes, and what it does not

The Geometric Siphon framework predicts a closed-form per-rebalance residual, and the original existence claim was tested at the per-portfolio level against 35,910 production events. The observation reported here sits one level deeper, and in two independent forms. A cumulative inventory gap of roughly $2.83, of which $1.75 is WETH, implies a WETH remainder of approximately 4.88 gwei per rebalance over the system lifetime. Among the 2,285 rebalances with no range change and no swap, 30% are recorded as exactly zero and only eight exceed a dollar in absolute value. Within this subset, the non-zero median among events with |dustPnl| < $0.01 is 2.68 gwei WETH-equivalent. The two measurements land in the same gwei-scale band, although they use different samples and summary statistics.

The conceptual point is narrower than the original paper, but sharper in one respect. The shared-balance architecture remains the precondition for cross-pool circulation and for the full siphon mechanism described there. Nothing in this note weakens that claim. What the present observation does suggest is that the residual generating geometry is more primitive than the architecture that first exposed it. The architecture did not create the residual; it made it visible, attributable, and reusable across positions. What is now observed is a smaller remainder surviving even beneath that attribution layer.

The two terms in ΔR=ΔRatt+ε\Delta R = \Delta R^{\text{att}} + \varepsilon differ in scale. The attributed term scales with geometry and position size, and is therefore operationally meaningful even at moderate volume. If the mean sub-attribution remainder per operation remains approximately stable, its cumulative amount grows approximately in proportion to operation count. At the observed mean, it is operationally negligible at ordinary volume, but measurable where rebalance counts are sufficiently high.

The original framework named the residual and showed how a particular architecture makes it economically active across positions. This note records a smaller remainder surviving below that same architecture’s attribution surface. It is a lower level trace of the same one.


References

  1. Ryan, K. R. The Geometric Siphon: Existence, Equilibrium, and Directional Properties of the Residual in Concentrated Liquidity Portfolios. SSRN Preprint (April 2026). https://dx.doi.org/10.2139/ssrn.6686798
  2. Adams, H., Zinsmeister, N., Salem, M., Keefer, R., Robinson, D. Uniswap v3 Core. Technical report (March 2021). https://uniswap.org/whitepaper-v3.pdf