Normal-Path Fresh Insertion in the Multi-Level Dictionary Tree #
This file formalizes collision- and overflow-free fresh insertion (normalInsertFresh) 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, Section 5.3];
arXiv:2310.20536v1, PDF pp. 30–31 / printed pp. 29–30).
When all node seeds remain good on Insert.insert x (P.paddedDom d), normalInsertFresh stores
(x_quot^[1], v) directly in the level-1 root storage table at u_1 = nodeAt 1 x and pushes
(x_id^[ℓ], x_id^[ℓ - 1]) onto the waiting list of every visited node u_ℓ = nodeAt ℓ x across
levels 2 ≤ ℓ ≤ depth.
Main definitions #
TreeSchedule.TreeState.normalInsertFresh: normal-path fresh key insertion.TreeSchedule.TreeState.removeWaitAtNode: helper for Algorithm 3 (deleteAndGetQuotient) removing a waiting entry at an intermediate node.TreeSchedule.TreeState.replaceAtNode: helper for Algorithm 3 replacing a popped quotient at a node.
Main results #
TreeSchedule.TreeState.wellFormedPadded_normalInsertFresh: preservation ofWellFormedPaddedwith storage-level mapFunction.update storeLvl x 1.TreeSchedule.TreeState.seeds_removeWaitAtNode,TreeSchedule.TreeState.sentCount_removeWaitAtNode,TreeSchedule.TreeState.nodeDom_removeWaitAtNode,TreeSchedule.TreeState.nodeQuery_removeWaitAtNode,TreeSchedule.TreeState.nodeWait_removeWaitAtNode_same,TreeSchedule.TreeState.nodeWait_removeWaitAtNode_other: node-component frame equations after removing a waiting entry during Algorithm 3.TreeSchedule.TreeState.seeds_replaceAtNode,TreeSchedule.TreeState.sentCount_replaceAtNode,TreeSchedule.TreeState.nodeDom_replaceAtNode_same,TreeSchedule.TreeState.nodeDom_replaceAtNode_other,TreeSchedule.TreeState.nodeQuery_replaceAtNode_same,TreeSchedule.TreeState.nodeQuery_replaceAtNode_other,TreeSchedule.TreeState.nodeWait_replaceAtNode_same,TreeSchedule.TreeState.nodeWait_replaceAtNode_other: node-component update and frame equations after quotient replacement during Algorithm 3.
References #
Normal-path insertion of a fresh internal key x ∉ P.paddedDom d when all current node seeds
remain good on Insert.insert x (P.paddedDom d) (Section 5.3, PDF pp. 30–31 / printed
pp. 29–30): stores (q_1, v) at the root u_1 and pushes (x_id^[ℓ], x_id^[ℓ - 1]) onto each
visited node's waiting list at 2 ≤ ℓ ≤ depth.
Normal-path fresh insertion preserves WellFormedPadded (storeLvl extended with
x ↦ 1).
Section 1: Uniform node helpers for Algorithm 3 (removeWaitAtNode, replaceAtNode) #
Replace k_old with (k_new, qv_new) and update waiting list to wait' at (L, uL)
(2 ≤ L ≤ depth, Algorithm 3 Branch 2).