Subtree Good-Seed Existence and Canonical Multi-Level Tree Construction #
This file formalizes good-seed existence (exists_goodSubtreeSeeds, exists_allGoodSeeds,
exists_allGoodSeeds_localized_pair) and canonical bottom-up tree
construction (buildTreeFromSeeds)
for the subconstant-redundancy dictionary tree of Tianxiao Li, Jingxun Liang, Huacheng Yu, and
Renfei Zhou, Dynamic Dictionary with Subconstant Wasted Bits per Key
([LiLiangYuZhou2024, Sections 5.2 and 5.5];
arXiv:2310.20536v1, PDF pp. 27–30 and 34 /
printed pp. 26–29 and 33).
Main definitions #
TreeSchedule.canonicalStoreLvl: canonical bottom-up storage-level selection.TreeSchedule.buildTreeFromSeeds: full-tree construction from a goodSeedAssignment.
Main results #
TreeSchedule.exists_goodSubtreeSeeds,TreeSchedule.exists_allGoodSeeds,TreeSchedule.exists_allGoodSeeds_localized_pair: existence of good subtree/forest seed assignments underConcentrationReadyacross bothDoubleTabulationand small-nodetrinomialPolyHash(used to supply validated seeds to subtree reconstruction; uniform seed sampling and failed-seed rejection belong to Stage 3 under#5349).TreeSchedule.wellFormedPadded_buildTreeFromSeeds:WellFormedPaddedforbuildTreeFromSeeds.
References #
Section 1: Good-seed existence on subtrees (exists_goodSubtreeSeeds) #
Paired subtree good-seed existence (existence of validated subtree seeds for Algorithm 4;
uniform sampling and failed-seed rejection are Stage 3): whenever #S₁, #S₂ ∈ [nLow 0, nHigh 0] and all strict ancestors j < ℓ₀ of u₀ have good seeds in base on both S₁
and S₂, there exists seeds' agreeing with base outside InSubtree ℓ₀ u₀ whose every node in
InSubtree ℓ₀ u₀ satisfies IsGoodNodeSeed on both S₁ and S₂.
Subtree good-seed existence on a single set S (for Algorithm 4 subtree reconstruction;
uniform sampling and failed-seed rejection are Stage 3).
Global good-seed existence for any S with #S ∈ [nLow 0, nHigh 0].
Simultaneous pre/post-update localized subtree seed repair: if base.AllGoodSeeds S, S'
agrees with S off u₀, #S' ∈ [nLow 0, nHigh 0], and all levels < ℓ₀ remain good on S',
resampling only InSubtree ℓ₀ u₀ yields seeds' simultaneously good on both S and S' so
rehashSubtree can run on S followed by the normal-path update to S'.
Section 2: Canonical bottom-up storage levels and buildTreeFromSeeds #
Canonical bottom-up storage-level function Fin P.paddedUniv → ℕ for (seeds, S, hgood).
Construct a single RootNode from (d, seeds, storeLvl).
Construct a single InnerNode ℓ from (d, seeds, hgood, storeLvl).
Build a full TreeState from any d : P.PaddedDict, sentCount : ℕ, and seeds satisfying
seeds.AllGoodSeeds (P.paddedDom d).
buildTreeFromSeeds establishes WellFormedPadded.