Documentation

LeanPool.HighContrastHomogenization.Support.Ambient.Euclidean

Coarse-graining support: Support.Ambient.Euclidean #

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

Explicit Euclidean magnitude on Vec d #

The project's algebraic carrier Vec d = Fin d → ℝ deliberately retains its default product/sup norm. This file supplies the Euclidean magnitude and distance as explicit real-valued functions on that same carrier, without introducing a competing norm or metric instance.

noncomputable def HCPolySupport.euclideanNorm {d : ℕ} (x : Vec d) :

The Euclidean magnitude of a project vector.

Equations
Instances For
    noncomputable def HCPolySupport.euclideanDist {d : ℕ} (x y : Vec d) :

    The Euclidean distance between two project vectors.

    Equations
    Instances For
      @[simp]

      The explicit Euclidean magnitude agrees with the norm on the separate Euclidean Hilbert realization of the same vector.

      @[simp]
      @[simp]
      @[simp]
      theorem HCPolySupport.euclideanDist_sq {d : ℕ} (x y : Vec d) :

      Squaring the explicit Euclidean distance recovers the coordinate square sum of the displacement.

      theorem HCPolySupport.euclideanDist_smul {d : ℕ} (c : ℝ) (x y : Vec d) :

      Scalar dilations scale explicit Euclidean distance by the scalar's absolute value.

      theorem HCPolySupport.euclideanDist_add_right {d : ℕ} (x y z : Vec d) :
      euclideanDist (x + z) (y + z) = euclideanDist x y

      Translating both arguments by the same vector leaves explicit Euclidean distance unchanged.

      The explicit Euclidean distance agrees with the Hilbert distance on the separate Euclidean realization of project vectors.