CutoffData #
Ported from scottnarmstrong/CoarseGraining at c7ddd76c08ade64fed1b8d2ca51be14dfee8deb4. Module imports, support namespace and local option directives adapted for Lean Pool.
The per-core cutoff datum #
For the per-core energy bound (local_block_energy, T2) behind the fixed-phase
variance (Proposition 4.3) we need, for each core coreBox ℓ σ k, a smooth
cutoff η that is 1 on the core, supported in the ℓ-enlargement, with the
two integral estimates of e.corridor.cutoff:
- support-volume bound
(vol (supp η ∩ U)).toReal ≤ (3ℓ)^d; - squared-gradient bound
∫_U Σᵢ (∂ᵢ η)² ≤ d · (16/ℓ)² · (3ℓ)^d.
The cutoff is the boxCutoff for the closed core box (which is exactly
Set.Icc (coreLo ℓ σ k) (coreHi ℓ σ k)) with margin ℓ. The gradient integral
is finite because the gradient is supported in the (closed, bounded) enlargement
Set.Icc (coreLo − ℓ) (coreHi + ℓ): off that enlargement η vanishes on an open
set, so its Fréchet derivative is zero there.
The core box as a closed axis box #
The per-core cutoff #
The per-core smooth cutoff: boxCutoff of the closed core box with
margin ℓ.
Equations
- HCPolySupport.coreCutoff ℓ σ k = HCPolySupport.boxCutoff (HCPolySupport.coreLo ℓ σ k) (HCPolySupport.coreHi ℓ σ k) ℓ
Instances For
The closed enlargement and the support of the gradient #
The closed ℓ-enlargement of the core box.
Equations
- HCPolySupport.coreEnlarge ℓ σ k = Set.Icc (fun (i : Fin d) => HCPolySupport.coreLo ℓ σ k i - ℓ) fun (i : Fin d) => HCPolySupport.coreHi ℓ σ k i + ℓ
Instances For
Off the enlargement, η vanishes on an open set, so its Fréchet derivative
is zero.
The two integral estimates #
The squared gradient, as a function.
Equations
- HCPolySupport.coreSqGrad ℓ σ k x = ∑ i : Fin d, (fderiv ℝ (HCPolySupport.coreCutoff ℓ σ k) x) (HCPolySupport.basisVec i) ^ 2