Cutoff, Bin-Schedule, and Residual-Stage Contexts #
Orthogonal stage records for finite routed-bin residual estimation on Environment P J:
CutoffProfilebundles a monotone bin-routing cutoffχand canonical request row gateρ, thresholdη, and rankK, independently of the primeP, role widthJ, hierarchy parameters, and active bin schedule.CutoffProfile.explicitinstantiates the record with the degree-4 polynomial switches ofHierarchyRankEnvironment.BinSchedulebundles the active bin horizonlastBin, grid exponentsbinExponent, antitone and≤ 16adjacent-ratio laws, first-bin density cap, and per-bin preparation cutoffs, together with reducible dot-projected cutoffs (.cutoff,.bounded,.cap) and proved range bounds (.bounded_grid_range,.bounded_mem_Icc).ReserveOutputChildrenbundles the raw, preparation, and running-maximum child estimate families, keeping structuralHierarchyTask.Request HP.kindices separate from the outer statistical precision index.ResidualStagecomposesCutoffProfileandBinSchedulewith the single-stage environment roles, finite horizon admissibility, copy suffixes, and kernel bounds onEnvironment P J, exposing.source,.midpoint,.terminal,.estimated,.canonical,.input,.residual,.walkSteps,.cost,.errorCalls, and.costCoefficientas reducible dot-projections.
Main definitions #
Matrix.HierarchyParams.H4RankEnvironment.CutoffProfile,Matrix.HierarchyParams.H4RankEnvironment.CutoffProfile.explicitMatrix.HierarchyParams.H4RankEnvironment.BinSchedule,Matrix.HierarchyParams.H4RankEnvironment.BinSchedule.const,Matrix.HierarchyParams.H4RankEnvironment.BinSchedule.stepMatrix.HierarchyParams.H4RankEnvironment.ReserveOutputChildrenMatrix.HierarchyParams.H4RankEnvironment.ResidualStage
Main results #
Matrix.HierarchyParams.H4RankEnvironment.rowNormPow_congr_masks: integrated row-norm congruence under logically equivalent source and terminal masks.Matrix.HierarchyParams.H4RankEnvironment.BinSchedule.bounded_grid_range: bounded routed bin cutoffs stay inSet.Icc 0 (b.cap i)across all bins and inputs.Matrix.HierarchyParams.H4RankEnvironment.BinSchedule.bounded_mem_Icc: bounded routed bin cutoffs stay uniformly inSet.Icc 0 (max b.densityCap 16).Matrix.HierarchyParams.H4RankEnvironment.ResidualStage.input_noise_le,Matrix.HierarchyParams.H4RankEnvironment.ResidualStage.input_moment_le: stage fourth-moment and spectral walk-noise bounds from the bundled schedule and horizon laws.
Primitive bin-routing cutoff and canonical request-gate profile shared across finite residual-stage mean, child-reserve, and envelope theorems.
Monotone bin-routing cutoff
χ.The bin cutoff is monotone.
The bin cutoff vanishes at or below
1 / 2.The bin cutoff equals
1at or above1.The bin cutoff takes values in
[0, 1].Row gate
ρused by canonical dense child requests.The request gate is nonnegative.
The request gate is bounded above by
1.- gateThreshold : ℝ
Positive interval threshold through which the request gate equals
1. - gateThreshold_pos : 0 < self.gateThreshold
The request-gate threshold is positive.
The request gate equals
1at or belowgateThreshold.- requestRank : ℕ
Row-gate rank supplied to canonical dense child requests.
The request rank satisfies the dense-sampling rank bound
2 * (1 + 32 / gateThreshold).
Every value of c.requestGate lies in [0, 1].
Concrete degree-4 polynomial cutoff and row-gate profile (cutoff, gate, threshold 1,
rank 66) from HierarchyRankEnvironment.
Finite active-bin exponent schedule, first-bin density cap, and per-bin preparation cutoffs
for routed residual estimation on the q = 16 rate grid.
- lastBin : ℕ
Last active bin index; active bins are
Finset.range (lastBin + 1). Grid-rate exponent
kb iof each bini.Bin grid rates decrease with the bin index.
Adjacent bin rates change by at most the grid factor
16.- densityCap : ℝ
First-bin kernel density cap.
- densityCap_nonneg : 0 ≤ self.densityCap
The first-bin density cap is nonnegative.
Preparation cutoff
h isupplied at each bini.
Active bin index set range (b.lastBin + 1).
Real grid rate rate (b.binExponent i) at bin i.
Separate top-bin (densityCap) and fine-bin (16) range cap at bin i.
Uncapped routed bin cutoff at bin i for a cutoff profile c.
Bounded routed bin cutoff at bin i for a cutoff profile c.
Every per-bin cap b.cap i is nonnegative.
Bounded routed bin cutoffs lie in Set.Icc 0 (b.cap i) at every bin i.
Bounded routed bin cutoffs lie uniformly in Set.Icc 0 (max b.densityCap 16).
Constant-exponent bin schedule with unit preparation cutoffs.
Unit-step bin schedule i ↦ i + start, whose adjacent grid rates have exact ratio 16.
Raw, preparation, and running-maximum child families, indexed by statistical precision, bin,
and structural HierarchyTask.Request HP.k. No accuracy assumption is bundled here.
- raw : ℕ → ℕ → HierarchyTask.Request HP.k (Fin J) (ZMod P) → Environment P J → Matrix (ZMod P) (ZMod P) ℝ
Raw child estimates, indexed by precision, bin, and request.
- prep : ℕ → ℕ → HierarchyTask.Request HP.k (Fin J) (ZMod P) → Environment P J → Matrix (ZMod P) (ZMod P) ℝ
Preparation child estimates with the same indices.
Maximum estimates on each requested source row.
Spectral contraction factor used by finite component-walk allocations on Environment P J.
Finite single-stage geometric, horizon, cutoff, bin-schedule, and kernel hypotheses for
residual estimation on Environment P J.
- direction : ZMod P
Nonzero direction used by the retained grids.
The grid direction is nonzero.
- horizon : Horizon P
Admissible finite exponent and identifier horizon.
- roles : RoleProfile J
Distinct source, midpoint, and terminal roles.
- level : ℕ
Hierarchy request level.
- sourceExponent : ℕ
Source grid-rate exponent.
- midpointExponent : ℕ
Midpoint grid-rate exponent.
- terminalExponent : ℕ
Full terminal-rank exponent.
The source grid lies in the admitted horizon.
The midpoint exponent does not exceed the source exponent.
Source copy-identifier suffix.
Midpoint copy-identifier suffix.
Terminal copy-identifier suffix.
- cutoffs : CutoffProfile
Primitive bin-routing cutoff and canonical request-gate profile.
- bins : BinSchedule
Active bin-rate schedule, density cap, and per-bin preparation cutoffs.
- bins_in_horizon (i : ℕ) : i ∈ self.bins.activeBins → self.bins.binExponent i ≤ self.horizon.maxExponent
Every active bin lies in the admitted horizon.
- preparation_one (i : ℕ) : i ∈ self.bins.activeBins → ∀ (v : ℝ), self.bins.cutoff self.cutoffs i v ≠ 0 → self.bins.preparationCutoff i v = 1
Preparation agrees with
1wherever the routed bin cutoff is nonzero on active bins. Nonnegative substochastic kernel whose canonical residual is estimated.
The kernel is entrywise nonnegative.
Every kernel row has mass at most
1.Kernel entries are bounded by the midpoint rate.
The first-bin density cap bounds the kernel.
- kernel_cover (z y : ZMod P) : self.kernel z y = 0 ∨ rate (self.bins.binExponent self.bins.lastBin) ≤ self.kernel z y
The final active bin covers each nonzero kernel entry.
- correctionRank : ℕ
Rank supplied to incoming correction children.
Congruence of Cslib.rowNormPow under logically equivalent source and terminal masks,
independent of their Decidable instances.
Channel retention on gridChannel role k suffix agrees logically with
NormalizedMoments.retainedMask at side P k.
Routed bin cutoff at the stage's bin schedule and cutoff profile.
Bounded routed bin cutoff at the stage's bin schedule and cutoff profile.
Source request channel, including its suffix.
Midpoint request channel, including its suffix.
Full terminal request channel, including its suffix.
Retained source mask at side P s.sourceExponent.
Retained terminal mask at an arbitrary exponent k.
Retained full-terminal mask at side P s.terminalExponent.
Retained channel interpretation on field vertices ZMod P.
Source channel retention agrees logically with s.sourceMask.
Terminal channel retention agrees logically with s.terminalMask.
Incoming normalized child estimates from children at statistical precision precision and
bin i.
Canonical normalized children for the stage kernel, cutoffs, and request gate.
Actual signed once-negative residual input assembled from children.
Genuine canonical residual of s.kernel at the midpoint rate.
Lazy component-walk rotation map on the source and terminal-exponent k slice.
Conditional raw walk on s.sourceMask and s.terminalMask with step schedule steps.
Finite input fourth-moment payment, including the vertex width P.
Lower-request (bin, request) pairs entering the finite residual error cost.
Finite importance and midpoint-density cost coefficient for s.
Conditional lower-child error cost at precision j + 1 (one past prefix index j).
The canonical residual of s is entrywise nonnegative.
Fourth moment of the stage's signed residual input at precision, paid before walking.
Centered raw walk noise of s.walkSteps children steps at index j.