Lemma 4.9 — amortized counter convolution
ProvedMeanCertificates1424.Hardness.Supplement.lemma_4_9algorithmsp2o-batch-stoc27sp2o-gran-per-chapterp2o-plan-paperp2o-v1
Start with singleton blocks and merge disjoint blocks times, a merge of blocks of sizes inspecting pairs. The total number of inspected pairs is exactly if and at most if .
This is the subtree-size bound that makes the tree recurrence run in .
Differences from the source:
- encoding: n − 1 merges of disjoint blocks starting from n singletons → a binary merge tree with n leaves; reason: the merge histories are exactly such trees; the cost depends only on block sizes
Preamble
import Mathlib import Definitions.Def_MeanCertificates1424_Hardness_Supplement_General set_option autoImplicit false open MeanCertificates1424.Hardness
Formal statement
namespace MeanCertificates1424.Hardness.Supplement
/-- Lemma 4.9, printed p.16 / PDF p.18. For every history of `n − 1` merges of disjoint blocks
starting from `n ≥ 1` singletons (a merge tree with `n` leaves), where merging blocks of sizes
`A, C` inspects `(min{κ, A} + 1)(min{κ, C} + 1)` pairs, the total is `n − 1` if `κ = 0` and at
most `8 κ n` if `κ ≥ 1`. -/
theorem lemma_4_9 (κ : ℕ) (T : MergeTree) :
(κ = 0 → T.cost κ = T.size - 1) ∧ (1 ≤ κ → T.cost κ ≤ 8 * κ * T.size) := by sorry
end MeanCertificates1424.Hardness.Supplement
Source
chaomeng chen, Junhao Dong, STOC 2027 submission #1424 (October 2026), Lemma 4.9, printed p.16 (PDF p.18)