Dyadic stopping and logarithmic hull maxima #
This file was automatically generated by Codex.
General finite dyadic path integration, restart packing, first-crossing cuts, and logarithmic caps on fixed-function hull maxima, together with complete finite trees, doubling-average segments and local maximal energy estimates. The retained estimates hold on whole cells, including points below removed cells. The grid and all statements are independent of the trilinear form and use only Mathlib and this module's definitions.
Source: blueprint/formalization_blueprint.tex, line 364, eq:path,
path-packing, lem:cuts (lines 424–465), and lem:compression (lines 553–569).
Verified library ingredients
are finite sums and finite suprema, disjoint-union integration, Markov's
inequality and the layer-cake formula.
A real dyadic grid as in blueprint line 364. Each level is a translated interval partition; the alignment condition makes each coarse boundary a fine boundary.
- baseLength : ℝ
Positive length of a cell at depth zero.
Left endpoint of the coordinate origin at each depth.
Instances For
Cell length at integer depth s in the grid G.
Equations
- TrilinearHT.Auto.dyadicGridLength G s = G.baseLength * 2 ^ (-s)
Instances For
Left endpoint of the cell at depth s and integer position m.
Equations
- TrilinearHT.Auto.dyadicGridLeft G s m = G.origin s + ↑m * TrilinearHT.Auto.dyadicGridLength G s
Instances For
Half-open cells, with integer depth and position, from blueprint line 364.
Equations
Instances For
Each source grid cell is exactly the union of its two consecutive children.
The nonnegative path sum through a finite family of dyadic cells.
Equations
- TrilinearHT.Auto.dyadicPathSum G S a x = ∑ c ∈ S, (TrilinearHT.Auto.dyadicGridCell G c.1 c.2).indicator (fun (x : ℝ) => a c) x
Instances For
Blueprint eq:path, lines 424–428: summing cell length times weight
is exactly the integral of the path sum on a containing root.
The ordinary real-integral form of blueprint eq:path. It holds even
for signed real weights, since the cell family is finite.
Blueprint path-packing, line 429: the total length over all restart
generations is summable and at most the initial root length divided by 1-ρ.
Total length of a finite family of dyadic cells.
Equations
- TrilinearHT.Auto.dyadicRootLength G S = ∑ c ∈ S, TrilinearHT.Auto.dyadicGridLength G c.1
Instances For
Passing to maximal cells preserves exactly the region removed by a finite stopping family.
Every child cell belongs to a parent at the preceding depth.
Source dyadic cells are laminar: intersecting cells are nested.
Distinct maximal cells are disjoint, the geometric fact used by the
first-crossing cost estimate in lem:cuts.
Sum of original data on ancestors, including the current cell.
Equations
- TrilinearHT.Auto.dyadicAncestorSum G S a c = ∑ d ∈ S with TrilinearHT.Auto.dyadicGridCell G c.1 c.2 ⊆ TrilinearHT.Auto.dyadicGridCell G d.1 d.2, a d
Instances For
Cells whose cumulative ancestor weight exceeds the stopping threshold.
Equations
- TrilinearHT.Auto.dyadicBadCells G S a T = {c ∈ S | T < TrilinearHT.Auto.dyadicAncestorSum G S a c}
Instances For
Cells whose cumulative ancestor weight remains within the stopping threshold.
Equations
- TrilinearHT.Auto.dyadicRetainedCells G S a T = {c ∈ S | TrilinearHT.Auto.dyadicAncestorSum G S a c ≤ T}
Instances For
Removing a first crossing removes exactly its cell and all original descendant summands. The data on earlier ancestors are left unchanged.
Sum of cell lengths multiplied by their assigned weights.
Equations
- TrilinearHT.Auto.dyadicWeightedMass G S a = ∑ c ∈ S, TrilinearHT.Auto.dyadicGridLength G c.1 * a c
Instances For
Integrating over the disjoint first crossings proves the Markov cost estimate before division by the positive crossing threshold.
Blueprint lem:cuts, first assertion: first crossings of A/ρ cost
at most ρ times the root length, including the zero-energy case.
Real-valued path sum of the original cell weights.
Equations
- TrilinearHT.Auto.dyadicRealPathSum G S a x = ∑ c ∈ S with x ∈ TrilinearHT.Auto.dyadicGridCell G c.1 c.2, a c
Instances For
Blueprint lem:cuts, first assertion: the retained path sum is bounded
at every point, including points below a removed first-crossing cell.
Blueprint lem:cuts, complete first assertion with the specified
first-crossing family and the everywhere retained bound.
Average of a nonnegative energy density on a dyadic cell.
Equations
- TrilinearHT.Auto.dyadicEnergyAverage G g c = (∫⁻ (x : ℝ) in TrilinearHT.Auto.dyadicGridCell G c.1 c.2, g x) / ENNReal.ofReal (TrilinearHT.Auto.dyadicGridLength G c.1)
Instances For
Full squared hull maximum, with value zero for an empty hull. The energy density is fixed, independently of any later stopping cells.
Equations
- TrilinearHT.Auto.dyadicHullMax G S g x = S.sup fun (c : ℤ × ℤ) => (TrilinearHT.Auto.dyadicGridCell G c.1 c.2).indicator (fun (x : ℝ) => TrilinearHT.Auto.dyadicEnergyAverage G g c) x
Instances For
A positive superlevel set is exactly the union of hull cells whose fixed energy averages exceed the level.
Blueprint lem:cuts, lines 453–457: the finite dyadic hull maximal
operator has weak (1,1) constant one, even for extended-valued densities.
The hull maximum vanishes outside the union of its maximal cells.
Layer cake for a bounded nonnegative real function, with the level integral restricted to its finite range.
The reciprocal tail in the weak (1,1) distribution integral gives the
logarithm in blueprint lem:cuts, lines 458–462.
Integrating a distribution bounded by min(M,E/t) up to T gives
the logarithmic truncation bound used in lem:cuts.
Finite-family layer cake and the weak/support distribution bounds yield a logarithmic integral estimate, including zero energy and zero support.
Logarithmic integral estimate for a finite family of truncated extended-valued maxima from their summed distribution bound.
Blueprint lem:cuts, lines 458–462: the sum of the integrals of
truncated fixed hull maxima is bounded logarithmically by total energy
and total hull support. This unnormalized form includes zero energy.
Partial squared hull maximum using only ancestors through the current cell. All energy averages still use the original fixed function.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Before any individual threshold is crossed, the partial sum agrees
with its truncated version, as required by lem:cuts, line 463.
A cell is good for both rules if no partial individual maximum exceeds
T and the sum of truncated partial maxima does not exceed U.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The combined first crossings, chosen as maximal cells violating at least one of the two partial-max rules.
Equations
- TrilinearHT.Auto.dyadicHullCuts V G S H g T U = TrilinearHT.Auto.maximalDyadicCells G ({c ∈ S | ¬TrilinearHT.Auto.dyadicHullGood V G H g T U c})
Instances For
Each removed cell lies on its entirety in the union of the full individual superlevel sets or the full truncated-sum superlevel set.
The combined first-crossing length is bounded by the individual weak
cost plus the truncated-sum Markov cost. This proves both stopping rules
in blueprint lem:cuts, lines 458 and 463–465, before choosing thresholds.
Explicit threshold choices allocate half the cut budget to each rule
in the positive-energy case of lem:cuts.
Blueprint lem:cuts: the selected combined first crossings cost at
most ρ times the root length, including the zero-energy case.
Retained cells satisfy both partial-max rules; their equivalence with deleting whole first-crossing subtrees is proved below.
Equations
- TrilinearHT.Auto.dyadicHullRetained V G S H g T U = Finset.filter (TrilinearHT.Auto.dyadicHullGood V G H g T U) S
Instances For
Blueprint eq:hull-cap: the fixed-function maxima on whole retained
hull cells satisfy the sum threshold at every point, even below a cut.
Blueprint lem:cuts, hull assertion (eq:hull-cap). For fixed energy
densities on finite specified hulls, first-crossing cells of length at most
ρ |R| give an everywhere cap Cρ E (1 + log (2 + M)) on whole retained
hull cells. Only hull summands are removed; the densities are unchanged.
The fixed-function L2 version of blueprint lem:cuts: total squared
L2 norm and total hull support suffice for the whole-cell retained cap.
The complete finite generation below a root cell, used for the terminal
completion in blueprint lem:compression, line 553.
Equations
- TrilinearHT.Auto.dyadicGeneration G root 0 = {root}
- TrilinearHT.Auto.dyadicGeneration G root n.succ = (TrilinearHT.Auto.dyadicGeneration G root n).biUnion (TrilinearHT.Auto.dyadicChildren G)
Instances For
The complete finite tree through generation N, including its root.
Equations
- TrilinearHT.Auto.dyadicFiniteTree G root N = (Finset.range (N + 1)).biUnion (TrilinearHT.Auto.dyadicGeneration G root)
Instances For
Any finite family below a root fits strictly above the terminal generation
of a complete finite tree, as required in lem:compression, line 553.
Stop at the first marked cells and fill every remaining branch with a
terminal leaf. This is the finite cut partition in lem:compression, line 553.
Equations
- TrilinearHT.Auto.dyadicTerminalCuts G root N B = TrilinearHT.Auto.maximalDyadicCells G (B ∪ TrilinearHT.Auto.dyadicGeneration G root N)
Instances For
No proper ancestor of a first cut is marked. In particular its parent satisfies the stopping threshold.
The same terminal partition subdivides every cell before the first stop, which is the partition identity needed to preserve its column moments.
Cells whose size exceeds the current segment's threshold.
Equations
- TrilinearHT.Auto.dyadicThresholdCells G root N a T = {c ∈ TrilinearHT.Auto.dyadicFiniteTree G root N | T < a c}
Instances For
Before the first cut every proper ancestor remains below the threshold. Applying this to the parent is the first half of the four-times-average bound.
Every nonroot cell of a completed finite tree has its parent in that tree.
The normalized average on a dyadic cell; spatial compression applies it to the pointwise norm of the Hilbert-valued input.
Equations
- TrilinearHT.Auto.dyadicCellAverage G f c = (∫ (x : ℝ) in TrilinearHT.Auto.dyadicGridCell G c.1 c.2, f x) / TrilinearHT.Auto.dyadicGridLength G c.1
Instances For
A nonnegative function's child average is at most twice its parent average.
Every cut of the doubling-average segment has average at most four times
its root average, including terminal leaves (lem:compression, line 553).
The next roots are the first descendants exceeding twice the current
root's size (lem:compression, line 553).
Equations
- One or more equations did not get rendered due to their size.
Instances For
Stopping generations, indexed by number of average doublings rather than physical depth.
Equations
- TrilinearHT.Auto.dyadicSizeGeneration G S a root 0 = {root}
- TrilinearHT.Auto.dyadicSizeGeneration G S a root n.succ = (TrilinearHT.Auto.dyadicSizeGeneration G S a root n).biUnion (TrilinearHT.Auto.dyadicNextSizeRoots G S a)
Instances For
Finite physical depth forces termination, without an assumed bound on the number of labels or on the input averages.
All stopping roots of the completed finite tree.
Equations
- TrilinearHT.Auto.dyadicSizeRoots G root N a = (Finset.range (N + 1)).biUnion (TrilinearHT.Auto.dyadicSizeGeneration G (TrilinearHT.Auto.dyadicFiniteTree G root N) a root)
Instances For
Every finite-tree cell belongs to the size segment of a deepest stopping
ancestor, exactly as assigned in lem:compression, line 553.
No threshold-violating ancestor occurs between a segment cell and its root.
Every row cell assigned to a segment is exactly the union of the cuts below it, the geometric identity behind preserved moments.
The sharp local weak estimate integrates the density over the very same superlevel set. This is the distribution estimate behind the dyadic L2 bound.
The layer-cake step in the classical maximal L2 proof: a local weak-type
estimate gives the energy bound integral M² ≤ 2 integral g M. The density
may be extended-valued; finiteness is required only in the later cancellation.
The ordinary finite dyadic maximal function of a nonnegative density.
Equations
- TrilinearHT.Auto.dyadicRealMax G S f x = (TrilinearHT.Auto.dyadicHullMax G S (fun (y : ℝ) => ENNReal.ofReal (f y)) x).toReal
Instances For
Cauchy–Schwarz closes the weighted maximal energy estimate with the sharp
L2 norm constant two (squared constant four). Finiteness is supplied explicitly
by the two MemLp hypotheses before any cancellation is made.
The finite dyadic maximal operator has squared L2 bound four, hence L2 norm bound two, uniformly in the number of cells and physical depth.
Every later stopping root descends from a root of each earlier stopping generation, and its size has increased by at least one doubling.
Distinct nested stopping roots have strictly doubled sizes, even when their stopping generations are not consecutive.
A finite geometrically separated family of nonnegative sizes has square sum at most four thirds of the square of any common upper bound.
Blueprint lem:compression, lines 561–564: the squared stopping sizes
on a path form a geometric series with exact constant four thirds.
Small geometrically separated sizes have total at most twice their
common upper bound, the small-size estimate in lem:compression, line 565.
A nonempty separated family with positive lower size has exponentially large top size as a function of its cardinality.
The number of geometrically separated sizes in [m,M] is at most one
plus the base-two logarithm of M/m.
Size-stopping roots containing x with weight below T.
Equations
- TrilinearHT.Auto.dyadicSmallSizeRoots G root N a x T = {K ∈ TrilinearHT.Auto.dyadicSizeRoots G root N a | x ∈ TrilinearHT.Auto.dyadicGridCell G K.1 K.2 ∧ a K < T}
Instances For
Size-stopping roots containing x with weight at least T.
Equations
- TrilinearHT.Auto.dyadicLargeSizeRoots G root N a x T = {K ∈ TrilinearHT.Auto.dyadicSizeRoots G root N a | x ∈ TrilinearHT.Auto.dyadicGridCell G K.1 K.2 ∧ T ≤ a K}
Instances For
At most 1 + ceil(log₂ Q) stopping roots on a path have size at least
M/Q, provided all sizes are at most M. At M = 0, strict separation
leaves at most one root, so no division by the maximum is assumed.
The logarithmic overlap count used for the large stopping sizes.
Instances For
The small/large size split bounds any nonnegative supported values with
amplitude at most G a_K; only a logarithmic overlap loss remains.
Transfer a pointwise finite-family bound to its L2 sum. The square function has squared L2 norm exactly equal to the sum of the individual energies.
The abstract logarithmic moment-energy inequality from lem:compression,
line 565. Support, pointwise amplitude bounds and projection moment identities
are explicit hypotheses; no size of the entire root family appears in the bound.
First descendants whose coefficient displacement from the preceding
anchor exceeds a fixed tolerance (lem:compression, line 567).
Equations
- One or more equations did not get rendered due to their size.
Instances For
Generations count coefficient transitions, independently of spatial depth.
Equations
- TrilinearHT.Auto.dyadicAnchorGeneration G S f t root 0 = {root}
- TrilinearHT.Auto.dyadicAnchorGeneration G S f t root n.succ = (TrilinearHT.Auto.dyadicAnchorGeneration G S f t root n).biUnion (TrilinearHT.Auto.dyadicNextAnchors G S f t)
Instances For
Cells assigned to one anchor before its next coefficient crossing.
Equations
- One or more equations did not get rendered due to their size.
Instances For
After any prescribed number of transitions a cell either lies under a restart root or has a last anchor of smaller generation, with controlled error. No assumption on spatial depth or on the coefficient space dimension is used.
Restarting the same coefficient rule loses no transitions: generations compose exactly, with the original coefficient function and tolerance.
Attempt roots are every Tth coefficient-anchor generation.
Equations
- TrilinearHT.Auto.dyadicRestartGeneration G S f t root T n = TrilinearHT.Auto.dyadicAnchorGeneration G S f t root (n * T)
Instances For
A finite attempt assigns every non-restarted cell to a spatial
anchor generation below T, and the coefficient error is at most t.
Complete an anchor generation by retaining terminal leaves on branches
with no anchor at that generation (lem:compression, line 569).
Equations
- TrilinearHT.Auto.dyadicAnchorCuts G S f t root N n = TrilinearHT.Auto.dyadicTerminalCuts G root N (TrilinearHT.Auto.dyadicAnchorGeneration G S f t root n)
Instances For
Every genuine anchor is an atom of the completed stopping partition; terminal completion does not discard or enlarge its cell.
Completed anchor partitions refine with the transition index, including the terminal atoms that have already stopped changing.
Refinement of two finite partitions restricts to an exact partition of each old atom. This supplies the local range-inclusion argument.
A restart root lies under one genuine transition at every earlier
anchor generation (lem:compression, lines 569–572).
A uniform norm lower bound on a finite disjoint dyadic family charges its total length to the L2 energy of the same function.
Integrating every transition lower bound over the same disjoint
restart roots gives the factor T in the source restart budget.
The geometric restart argument for arbitrary nonnegative root costs, so the same proof applies to both length and restricted L2 energy.