Documentation

LeanPool.AnomalousDiffusion.Homogenization.Geometry.TriadicCube

Triadic Cube #

Support for the Armstrong–Vicol anomalous-diffusion formalization.

Triadic cube described by its integer scale and integer coordinate index.

  • scale : ℤ

    Integer scale of the triadic cube, whose side length is three to this power.

  • index : Fin d → ℤ

    Integer coordinate index locating the triadic cube at its scale.

Instances For
    def Homogenization.instDecidableEqTriadicCube.decEq {d✝ : ℕ} (x✝ x✝¹ : TriadicCube d✝) :
    Decidable (x✝ = x✝¹)
    Equations
    Instances For
      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        noncomputable def Homogenization.cubeScaleFactor {d : ℕ} (Q : TriadicCube d) :

        Side length of a triadic cube.

        Equations
        Instances For

          Half-open realization of a triadic cube, used for exact cube partitions.

          Equations
          • One or more equations did not get rendered due to their size.
          Instances For

            Open realization of a triadic cube, used when analytic lemmas require open domains.

            Equations
            • One or more equations did not get rendered due to their size.
            Instances For

              A triadic cube is bounded as a subset of the ambient finite-dimensional space.

              An open triadic cube is bounded as a subset of the ambient finite-dimensional space.

              The centered triadic cube descriptor at scale 3^m.

              Its source-facing realization openCubeSet (originCube d m) is (-3^m / 2, 3^m / 2)^d. The half-open cubeSet realization is the internal partition representative.

              Equations
              Instances For
                def Homogenization.translateCube {d : ℕ} (shift : Fin d → ℤ) (Q : TriadicCube d) :

                Translate the integer index of a triadic cube while preserving its scale.

                Equations
                Instances For
                  @[simp]
                  theorem Homogenization.mem_cubeSet_originCube_iff {d : ℕ} {m : ℤ} {x : Vec d} :
                  x ∈ cubeSet (originCube d m) ↔ ∀ (i : Fin d), -(1 / 2) * 3 ^ m ≤ x i ∧ x i < 1 / 2 * 3 ^ m
                  @[simp]
                  theorem Homogenization.mem_openCubeSet_originCube_iff {d : ℕ} {m : ℤ} {x : Vec d} :
                  x ∈ openCubeSet (originCube d m) ↔ ∀ (i : Fin d), -(1 / 2) * 3 ^ m < x i ∧ x i < 1 / 2 * 3 ^ m
                  @[simp]
                  theorem Homogenization.mem_cubeSet_translateCube_iff {d : ℕ} {shift : Fin d → ℤ} {Q : TriadicCube d} {x : Vec d} :
                  x ∈ cubeSet (translateCube shift Q) ↔ (x - fun (i : Fin d) => ↑(shift i) * cubeScaleFactor Q) ∈ cubeSet Q
                  @[simp]
                  theorem Homogenization.mem_openCubeSet_translateCube_iff {d : ℕ} {shift : Fin d → ℤ} {Q : TriadicCube d} {x : Vec d} :
                  x ∈ openCubeSet (translateCube shift Q) ↔ (x - fun (i : Fin d) => ↑(shift i) * cubeScaleFactor Q) ∈ openCubeSet Q

                  Unique triadic parent at the next coarser scale.

                  Equations
                  Instances For

                    Finite set of triadic children at the next finer scale.

                    Equations
                    Instances For

                      Triadic descendants obtained after a specified number of subdivision steps.

                      Equations
                      Instances For

                        Triadic descendants at a specified finer scale, empty above the cube's scale.

                        Equations
                        Instances For
                          noncomputable def Homogenization.cubeVolume {d : ℕ} (Q : TriadicCube d) :

                          Euclidean volume of a triadic cube.

                          Equations
                          Instances For