Source: docs/lotus-v2/research/plans/lotus-v2-work-indexed-fee-floor-review.md
Research — non-normative. This page records an investigation. It defines no rule; a research result enters the specification only through a decision recorded in decision history.

Review: Lotus V2 work-indexed fee floor

On this page

Status: independent adversarial review (2026-11-18) of lotus-v2-work-indexed-fee-floor.md, called "the note" below. Research only. Nothing normative changes. I re-derived the formulas, re-ran the note's scripts on its data, and wrote three check scripts of my own (see Reproduce).

Verdict

Sound with fixes. Do not adopt it as written.

The counterexamples against indexing C_own, K and coinbase dust are correct.

Findings at a glance

# Severity Finding
F1 High S_n·(C/E_min)² makes every honest block at the design load burn one whole subsidy, so G1 drifts with S. In the note's own 200× ASIC scenario, a payment at 100k tx/s must fund 1.17 XPI of burn by year 30, 93 times the byte fee's burned half.
F2 High The headline data compares the wrong series. In dollars, R is V2's hashprice P·S/W. Bitcoin's analogue is the hashprice column (114×, falling 28% a year since 2016; 1.8 × 10^7× over the full history), not the P/√H column (16×).
F3 High Stage 1 does not change what a payment pays. The fixed C14b byte fee binds whenever I_n ≤ 2.18, so payment fees stay fixed in atoms in the appreciation case the owner is worried about.
F4 High The AVU identity leaves out miners' fee revenue. In a fee-funded chain, I_n reads fee-paid hash as appreciation, which is the error the note charges rule A with. At design-load fees in the tail era, the cu floor ends up 20 times below its AVU target.
F5 Medium The claim that G3 "carries over unchanged" is false. Bulk placed in the coinbase pays only K plus the unindexed linear term. At the POW_LIMIT tail, breaking G3 then costs about 1.1 R_0 rather than about 9 R_0. At launch the coinbase is also a data lane 30 to 70 times cheaper than a transaction.
F6 Medium Launch is understated. "ASERT raises the difficulty within days" assumes about 400 times the genesis hash can arrive. At a 2-cent market price, the day-one floor is 400 times its AVU target: 4.6 cents per payment.
F7 Medium Gaming in the tail era. For a large sustained campaign, the cost of out-mining the honest hash to lower the index grows only as C^(2/3). A design-load CPU campaign becomes 3.6 times cheaper if the attacker supplies 97% of the hash. This does not buy security.
F8 Medium The fallback for hardware efficiency (η) is a vote, which reintroduces politics, and the note's softening argument fails for ASIC steps. Better options exist: the backstop from F1's fixed term, or a partial exponent.
F9 Low The integer widths are over-specified. L_tx < 2^123.3 and R < 2^126, so u256 with nested floors is exact and no u384 is needed. Write the 68 shift as a division by E_min².
F10 Low "Reduces exactly to √(W_g/W)" is true only to within 1/T_n. The bootstrap pays 1 atom per block for its last ~2^20 blocks. I_n is issuance per unit of work, not "work per XPI".
F11 Low Reproducibility: the coinbase-only row in scale_grid.py contradicts the note's text. The "19% a year" rests on an undisclosed 2026 efficiency anchor.
F12 Low Stage 2: "rent = I_n atoms per block" rounds to zero once XPI trades above 2 cents.
F13 Low The split of C_own puts per-transaction envelope framing (2F + 7N) in the unindexed part. The split must also be defined for both C_account and C_enforce.

1. Formulas and integer maths

Re-derivation. Write X = (C_txs·M) >> 32 with M = max(E, E_min):

F9 (Low): no u384 is needed. ⌊⌊a/b⌋/c⌋ = ⌊a/(bc)⌋ for positive integers. So compute ⌊⌊X·S·W_g / W⌋ / T_g⌋:

The note's comparison "in u384, as P06's tail" overstates the cost. P06 divides a u384 by a 51-bit W_g, whereas the note's form would need a general u384 ÷ u285 division.

Q's u256 intermediate (at most 192 bits) is correct. Write it as ⌊S·C²/E_min²⌋ rather than >> 68. The pricing note's own lever (S_linear 33 with E_min = 2^35) would otherwise leave a stale literal 68. That literal is the one hidden constant in "no new constant".

Rounding and determinism: correct. Every quantity is an integer floor of chain state: S_n and W_(n-1) from MonetaryState, and T_g and W_g from genesis. The two-step L_tx loses less than I_n atoms against a one-step form, and because it is defined that way it is exact. The partial floors of L_own, L_tx and Q are deterministic.

"Reduces exactly to √(W_g/W) after the bootstrap" (F10, Low).

"68 = 2·log2(E_min) means a k× design block burns ≥ k² subsidies": correct, with a caveat.

Edge cases.

Case Result
W_(n−1) at POW_LIMIT (2^32) I = 647 in the tail era and 1.67 × 10^8 at bootstrap start. Coinbase-only blocks are fine. A payment then needs 3.7 XPI in the tail era or 960,000 XPI in the bootstrap. The chain stays live for coinbase-only blocks and is effectively closed to transactions until hash returns. That is consistent with the AVU logic, but the note does not say it.
S_n at its extremes S ≥ 583,895 atoms. If S exceeds u64 (the open item without T_max), Q still fits u256 for any S < 2^128.
Bootstrap to tail Continuous. No discontinuity.
Precheck (C ≥ 2^64 unpayable) The note is right that it no longer follows: Q ≥ S·2^60 ≥ 2^79 is below the crude 2^95 bound on payable burn. The F1 fix brings back C²>>32, which restores the precheck, so the new explicit C_block < 2^64 rule is no longer needed.

2. Liveness

The coinbase-only proof: correct. With C_txs = 0, U_required = max(K, L_own + Q) and Q < S·2^−46. At the POW_LIMIT tail, 583,895 / 37,700 = 15.5. Reproduced.

The counterexamples: correct.

F5 (Medium): the EMA-attack half of G3 does not "carry over unchanged".

Route Burn per cu Cheapest G3 break at the POW_LIMIT tail (my search, constant C for k blocks)
Approved rule, ordinary transactions M/2^32 + C/2^32 8.98 R_0 (k = 2,048; the pricing note's fuller search found 13.7)
R, ordinary transactions 4·I·M/E_min, with I = 647 29.2 R_0, in one block. Stronger. Tail-era invariant: D* ≈ 4·2^42·T_g/C_cb.
R, bulk in the coinbase K is 100 atoms per byte, and the fees that fund it burn their half. Linear is unindexed. Q is negligible. 1.12 R_0, one block
R with the F1 fix (C²>>32 kept as a floor) as approved 8.98 R_0

The same channel matters economically whenever I ≫ 1:

Fix.

Other liveness cases checked.

3. Gaming

The note's figures are confirmed:

F7 (Medium): what the note misses.

  1. Over-mining is sub-linear in the size of a campaign. A spammer running C cu a block for a long time chooses a hash multiple x to minimise 4C/x + m·T_0·(x² − x) + x·T_0·(C/E_min)².
  2. The optimum gives a cost growing as C^(2/3).
  3. For a design-load CPU campaign at W_g and 2 cents:
  4. x ≈ 5.7, meaning the attacker supplies 32 times W_g, or 97% of all hash;
  5. cost about 19,300 XPI a block against 69,400, so 3.6 times cheaper.
  6. At 0.1 E_min it is 2 times cheaper.
  7. The note says this "substitutes mining spend for burn, and buys real security". It does not. It hands the spammer majority hash.
  8. In the bootstrap the gain is negligible (x ≈ 1.06), because S does not respond to W.
  9. Stale timestamps from a majority. A majority holding timestamps at MTP + 1 makes ASERT raise W without any extra hash. The cost is slower blocks, not extra work, which contradicts the note's "must then be mined". It needs a majority, and blocks four times slower also cut throughput, so the practical gain is small. The note's table should still say it.
  10. Day one. Hash arrives because the bootstrap pays 400 times its cost, not because anyone is gaming. So the launch spike in I falls as fast as hardware arrives, whatever anyone intends.

The F1 fix keeps a per-block quadratic that does not fall with I. That caps the gain from item 1 for any single block. For sustained campaigns, F8's partial exponent halves the leverage.

4. Data and history

Reproduced exactly from the note's data (hist.py, every row of section 7):

The Kaspa hash-rate series has no step at the May 2025 10-blocks-per-second change (I checked). The data sources (Coin Metrics PriceUSD, HashRate, IssTotNtv; the Kaspa API) are sound. The smoothing matches ASERT's.

F2 (High): the wrong series carries the conclusion.

Series Fixed atoms Hashprice (≈ R) P/√H
BTC 2016–2026 341× 114×, falling 28% a year 16×
BTC full history 2.5 × 10^6× 1.8 × 10^7× 91×

Cherry-picking. The table shows all three columns, and the 2016 start ("mature ASIC") is defensible, so I see no hidden data. But:

F11 (Low).

5. Economics

The 2.29 XPI cu floor per payment at genesis work: acceptable only as a stated disequilibrium (F6, Medium).

1 GB costing 61 subsidies on day one: not the property the owner asked for.

Efficiency drift (about 19% a year) and the 200× GPU-to-ASIC drop: real, but the exposure is mostly elsewhere (F8, Medium).

Scenario (note's model, 2 cents) Year 10 Year 30
Burn per payment at 100k tx/s, rule R 38,173 atoms 1,172,170 atoms (93 times the byte fee's 12,550)
The same with the F1 fix 5,775 5,770

The note's section 8 table reports only the linear cu share (0.0004 and 0 mAVU).

Crash behaviour: as the note says, and acceptable.

F3 (High): what users actually pay.

F4 (High): fee-funded hash.

Does "re-anchor by scalar vote" bring the politics back? Yes.

6. Missed alternatives, and the note's dismissals

Supply indexing: the dismissal holds. It is cheapest when coins are few, grows without bound with the tail, and needs a new state field.

Linear-only: the dismissal holds. A linear term is additive and cannot price concentration. But the reason the note gives for "expensive early" (1 GB at 61 subsidies) is itself linear, which supports the F1 conclusion that the quadratic term should only guard concentration.

Simpler rules with the same properties (no new constants):

  1. The fixed quadratic as a floor, with a subsidy-relative excess above E_min. This is the F1 fix: ``text Q = max( C_block² >> 32 , ⌊S_n · (max(0, C_block − E_min))² / E_min²⌋ ) ``
  2. Design-load burn per payment stays at 5,770 to 11,517 atoms in every scenario, including ASIC year 100.
  3. G2 is scale-free above E_min: a k× block burns at least (k−1)² subsidies.
  4. The approved precheck and the EMA and G3 proofs carry over verbatim.
  5. It costs one max.
  6. A partial exponent: L_tx = isqrt(X² · S·W_g / (T_g·W)), which is X·√I exactly. It fits u384 (X² < 2^192), and the exponent ½ is a shape choice like the 2.

Sweep of the dollar floor P·(S/H)^α on the note's data:

Window α = 0 (fixed) α = 0.5 α = 1 (R)
BTC 2016–2026 341× 13.9× (trend 1.06×/yr) 114×
BTC full history 2.5 × 10^6× 105× 1.8 × 10^7×
XMR 3,220× 128× 6,800×
ETC 219× 101× 1,100×
KAS 129× 114× 8,660×
ZEC 91× 278×
LTC 332× 829×

Stage-2 details (F12, F13, Low).

Suggested owner questions

  1. Adopt the F1 form of Q in place of S_n·C²>>68: yes or no.
  2. Index the linear term by I (α = 1), by √I (α = 0.5), or not at all.
  3. Decide C14b together with question 2. Stage 1 alone does not change what payments pay.
  4. Drop the scalar-vote fallback in favour of the F1 backstop.

Reproduce

Scripts (review, mine) are in /private/tmp/claude-501/-Users-shammah-repos-lotus/61cd8ffd-454d-4c5b-854d-57df1fc8f9b2/scratchpad/review/:

The note's own scripts and data were re-run unchanged from /private/tmp/claude-501/-Users-shammah-repos-lotus/61cd8ffd-454d-4c5b-854d-57df1fc8f9b2/scratchpad/scripts/ (hist.py, avu_btc.py, lotus_index.py, scale_grid.py) with the data in /private/tmp/claude-501/-Users-shammah-repos-lotus/61cd8ffd-454d-4c5b-854d-57df1fc8f9b2/scratchpad/data/. Run Python with -I.

Not checked: the prior-art citations in section 12 (for example, which Monero hard fork reworked the fee), and whether the 15 GH/s GPU estimate holds.


Addendum: re-review of the revised rule (2026-11-18)

I re-checked the revised note against its scripts in tools/lotus-v2-reference/research/fee_floor/. I re-ran scripts/ema_final.py and scripts/final_rule.py, and they reproduce the note's figures. The revised rule is:

Verdict on the revised rule

Sound. F1 to F13 are resolved.

I do not recommend it as it stands. The clamp is a clip, and the fee term it exists to tame buys little.

1. The clamp min(I_rev, 1)

It is a clip, and it is tied to the calibration point. The 1 is the 2-cent equilibrium of the issuance note's estimated GPU fleet, and that estimate is good to about 50%.

It is forced only because of the fee term. The overshoot is structural:

The clamp-free choice is to drop the fee term.

2. Simplicity against benefit

What the index buys. Against the approved rule, the final rule:

What it costs in consensus.

  1. Per-transaction validity depends on the block's index. This is the largest cost.
  2. A reorg can move the byte fee by up to 1.45%.
  3. Wallets need the index to state a minimum fee.
  4. The COINBASE_MATURITY lag removes the reorg drift, but it is one more rule.
  5. A u384 isqrt for every transaction's byte fee, not just once per block for the tail.
  6. A new state field and a clamp (removed under option (c) below).
  7. A coinbase data lane, up to 20× cheaper than transaction bytes while √I > 1.
  8. A permanent 14× loss at each ASIC step.

The epoch vote changes the trade-off. lotus-v2-upgrade-mechanisms.md puts a stake-voted price shift A in the genesis format: factor-2 steps, one epoch's notice, with A_0 = 9 allowing up to 512× of downward movement. Three consequences:

3. Remaining errors (all Low)

Recommendation

(c): the clamp-free variant.

This equals the final rule everywhere except the fee-dominated era (0.49× against 1.00×). It has no clip and one index.

If the owner prefers minimal consensus surface over fewer votes, choose (a) instead: the fixed rule plus the F1 Q, with A handling price drift. Both (a) and (c) are better than (b), whose fee term needs a clip that the owner's own principle rules out, for a 2× gain decades away.