Documentation

LeanPool.HighContrastHomogenization.Support.Geometry.ScaleColoring

Coarse-graining support: Support.Geometry.ScaleColoring #

Imported from the Apache-2.0 CoarseGraining development at commit c7ddd76c08ade64fed1b8d2ca51be14dfee8deb4.

noncomputable def HCPolySupport.scaleColorPeriod (k : ℤ) :

The Chapter 4 scale-dependent coloring period r_k = 1 + \lceil 3^{-k} \rceil.

Equations
Instances For
    @[reducible, inline]
    abbrev HCPolySupport.ScaleColor (d : ℕ) (k : ℤ) :

    The scale-dependent triadic colors attached to cubes at scale k.

    Equations
    Instances For
      noncomputable def HCPolySupport.cubeScaleColor {d : ℕ} (k : ℤ) (Q : TriadicCube d) :

      The scale-dependent color of a triadic cube, given by its coordinatewise residue class modulo r_k.

      Equations
      Instances For

        The descendants of Q at scale k with prescribed scale-dependent color c.

        Equations
        Instances For
          @[simp]
          theorem HCPolySupport.cubeScaleColor_val {d : ℕ} (k : ℤ) (Q : TriadicCube d) (i : Fin d) :
          ↑(cubeScaleColor k Q i) = (Q.index i % ↑(scaleColorPeriod k)).toNat
          theorem HCPolySupport.one_le_dist_of_ne_of_mem_descendantsAtScaleScaleColorClass {d : ℕ} {Q R S : TriadicCube d} {k : ℤ} {c : ScaleColor d k} (hR : R ∈ descendantsAtScaleScaleColorClass Q k c) (hS : S ∈ descendantsAtScaleScaleColorClass Q k c) (hneq : R ≠ S) {x y : Vec d} (hx : x ∈ cubeSet R) (hy : y ∈ cubeSet S) :
          1 ≤ dist x y