Documentation

LeanPool.HighContrastHomogenization.Support.Geometry.CubeColoring

Coarse-graining support: Support.Geometry.CubeColoring #

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

@[reducible, inline]

A triadic color is a choice of residue class modulo 3 in each coordinate.

Equations
Instances For

    The color of a triadic cube, given by the coordinatewise residue class of its lattice index modulo 3.

    Equations
    Instances For

      The descendants of Q at scale k with the prescribed triadic color c.

      Equations
      Instances For
        @[simp]
        theorem HCPolySupport.cubeColor_val {d : ℕ} (Q : TriadicCube d) (i : Fin d) :
        ↑(cubeColor Q i) = (Q.index i % 3).toNat
        theorem HCPolySupport.disjoint_cubeSet_of_scale_eq_of_ne {d : ℕ} {R S : TriadicCube d} (hscale : R.scale = S.scale) (hneq : R ≠ S) :
        theorem HCPolySupport.one_le_dist_of_ne_of_mem_descendantsAtScaleColorClass {d : ℕ} {Q R S : TriadicCube d} {k : ℤ} {c : CubeColor d} (hk : 0 ≤ k) (hR : R ∈ descendantsAtScaleColorClass Q k c) (hS : S ∈ descendantsAtScaleColorClass Q k c) (hneq : R ≠ S) {x y : Vec d} (hx : x ∈ cubeSet R) (hy : y ∈ cubeSet S) :
        1 ≤ dist x y