Coarse-graining support: Support.Sobolev.Foundations.Cutoff.Euclidean #
Imported from the Apache-2.0 CoarseGraining development at commit
c7ddd76c08ade64fed1b8d2ca51be14dfee8deb4.
Explicit Euclidean geometry on Vec d #
The project uses Vec d = Fin d → ℝ, whose default metric is the product/sup
metric. This file defines the Euclidean squared distance and Euclidean balls
explicitly on the same underlying type, so later cutoff statements can be about
round Euclidean balls without changing ambient type to EuclideanSpace.
The legacy squared-distance expression is the square of the explicit Euclidean distance.
Explicit Euclidean open ball on Vec d.
Equations
- HCPolySupport.euclideanBall x₀ R = {x : HCPolySupport.Vec d | HCPolySupport.euclideanSqDist x x₀ < R ^ 2}
Instances For
Explicit Euclidean closed ball on Vec d.
Equations
- HCPolySupport.euclideanClosedBall x₀ R = {x : HCPolySupport.Vec d | HCPolySupport.euclideanSqDist x x₀ ≤ R ^ 2}
Instances For
Explicit Euclidean sphere on Vec d.
Equations
- HCPolySupport.euclideanSphere x₀ R = {x : HCPolySupport.Vec d | HCPolySupport.euclideanSqDist x x₀ = R ^ 2}
Instances For
Translating a point by -z from the center has the same explicit
Euclidean squared distance as z from the origin.
If z lies in the explicit Euclidean ball about the origin, then x - z
lies in the corresponding explicit Euclidean ball about x.
Explicit Euclidean closed balls are convex subsets of the project carrier.
Explicit Euclidean open balls are convex subsets of the project carrier.
Explicit Euclidean spheres are closed in the default product topology.
The explicit sphere is contained in the corresponding explicit closed ball.
The closed Euclidean ball is the disjoint union of its open ball and sphere, stated as a set-difference identity.
The closed Euclidean ball is covered by its open ball and sphere.
A positive-radius explicit Euclidean sphere lies in the frontier of the corresponding explicit closed ball.
An explicit coordinate-Euclidean open ball is contained in the default product-metric open ball of the same radius.
A positive explicit Euclidean ball contains a small default-metric closed ball around its center. The conservative radius avoids needing a sharp comparison between the product metric and the coordinate Euclidean norm.