Policy #
The hierarchical deletion policy #
This module assembles the local two-child formulas into labels on a complete
dyadic tree. Counts come from a coherent AggregatedInventory; hazards are
defined recursively from the root, and all other policy quantities are then
derived from the counts and hazards.
Select the appropriate extended child hazard.
Equations
- FD1D.HierarchicalPolicy.childHazard a h x y side = if side = 0 then FD1D.LocalHazard.hL a h x y else FD1D.LocalHazard.hR a h x y
Instances For
The recursively propagated extended hazard, rooted at 1 / m.
Equations
- One or more equations did not get rendered due to their size.
- FD1D.HierarchicalPolicy.hazard I a 0 x_2 = 1 / ↑m
Instances For
Inventory counts, coerced to reals.
Equations
- FD1D.HierarchicalPolicy.inventory I d v = ↑(I.count d v)
Instances For
Conditional left-child deletion probability at an internal node.
Equations
- FD1D.HierarchicalPolicy.splitLeft I a d v = FD1D.LocalHazard.dL a (I.count (d + 1) (FD1D.leftChild v)) (I.count (d + 1) (FD1D.rightChild v))
Instances For
Conditional right-child deletion probability at an internal node.
Equations
- FD1D.HierarchicalPolicy.splitRight I a d v = FD1D.LocalHazard.dR a (I.count (d + 1) (FD1D.leftChild v)) (I.count (d + 1) (FD1D.rightChild v))
Instances For
Deletion mass q_v = N_v h_v.
Equations
- FD1D.HierarchicalPolicy.deletionMass I a d v = FD1D.HierarchicalPolicy.inventory I d v * FD1D.HierarchicalPolicy.hazard I a d v
Instances For
Interval mass p_v.
Equations
Instances For
Discrepancy t_v = (p_v - q_v) / a.
Equations
- FD1D.HierarchicalPolicy.discrepancy I a d v = (FD1D.HierarchicalPolicy.intervalMass d v - FD1D.HierarchicalPolicy.deletionMass I a d v) / a
Instances For
Reciprocal regularized count Z_v = p_v / (N_v + a).
Equations
Instances For
The normalized Bellman coordinate y_v = Z_v / h_v.
Equations
- FD1D.HierarchicalPolicy.bellmanY I a d v = FD1D.HierarchicalPolicy.regularizedMass I a d v / FD1D.HierarchicalPolicy.hazard I a d v
Instances For
The scalar weight in the Bellman function.
Equations
Instances For
The Bellman function from equation (6).
Equations
- FD1D.HierarchicalPolicy.bellmanFunction h t y = FD1D.B h t y
Instances For
The Bellman value attached to a policy node.
Equations
- One or more equations did not get rendered due to their size.
Instances For
At every complete level, the deletion masses form a probability vector.
The invariant t_v / h_v ≤ 1/2, propagated from the root.
Equation (5), now available at every policy node.
The signed imbalance at an internal node.
Equations
- FD1D.HierarchicalPolicy.imbalance I a d v = FD1D.HierarchicalPolicy.deletionMass I a (d + 1) (FD1D.leftChild v) - FD1D.HierarchicalPolicy.deletionMass I a (d + 1) (FD1D.rightChild v)
Instances For
The local inequality whose tree sum is the hazard-energy bound.
The one isolated interface to the polynomial Bellman certificate. A module
importing both this policy and FD1D.Bellman can prove this proposition from
FD1D.local_bellman_inequality; no certificate algebra is duplicated here.
Equations
- One or more equations did not get rendered due to their size.
Instances For
This is the only proof tied to FD1D.Bellman. It converts the concrete
policy labels into the normalized coordinates of the polynomial certificate.
Equation (9) specialized to the concrete hierarchical policy.