Documentation

LeanPool.Superdiffusion.Algsuperdiff.Section4.Provider.Regularity.StepSevenSandwich

StepSevenSandwich #

Ported from scottnarmstrong/Superdiffusion at 7f20476385d4af418f110303085ad0740c9eba46. Module imports, support namespace and local option directives adapted for Lean Pool.

t.regularity Step 7a: the sandwich centres z', z'' #

The target #

  We may find a pair z', z'' ∈ □_m such that, for each (y', k') ∈ {(z',m'), (z'',n')},
      (z + □_{k'-1}) ∩ □_m  ⊆  y' + □_{k'-1}  ⊆  (z + □_{k'}) ∩ □_m .

The construction #

Write a := ½·3^{k'-1} (the half-side of the inner cube) and A := ½·3^m (the half-side of □_m). The centre is the coordinatewise of z into the inset box [-A+a, A-a]^d:

  y'_i := max( -A + a , min( z_i , A - a ) ) .

Three elementary facts do everything, and each is a two-line max/min manipulation (clamp_mem, clamp_capture, clamp_dist below):

Only a ≤ A (i.e. k' - 1 ≤ m) and z ∈ □_m are used; no lattice structure of z is needed, matching(c).

What is delivered #

References #

1. The scalar clamp #

2. The sandwich #

  (z + □_k) ∩ □_m  ⊆  y + □_k  ⊆  (z + □_{k+1}) ∩ □_m .

The witness is the coordinatewise clamp of z into the inset box; see the module docstring.

The Step-7a sandwich in the printed indexing: at the selected scale k',

  (z + □_{k'-1}) ∩ □_m  ⊆  y' + □_{k'-1}  ⊆  (z + □_{k'}) ∩ □_m ,     y' ∈ □_m .