Coarse-graining support: Support.Probability.OriginCubeSymmetry #
Imported from the Apache-2.0 CoarseGraining development at commit
c7ddd76c08ade64fed1b8d2ca51be14dfee8deb4.
Coordinate formula for the action of a swap matrix on a vector.
theorem
HCPolySupport.mem_openCubeSet_originCube_signFlipMatrix_iff
{d : ℕ}
{m : ℤ}
{x : Vec d}
(i : Fin d)
:
The centered open cube (-3^m/2, 3^m/2)^d is invariant under coordinate sign flips.
We record this for openCubeSet; the half-open cubeSet realization is not literally
sign-flip invariant on boundary points.
theorem
HCPolySupport.mem_openCubeSet_originCube_swap_iff
{d : ℕ}
{m : ℤ}
{x : Vec d}
(i j : Fin d)
:
The centered open cube (-3^m/2, 3^m/2)^d is invariant under coordinate swaps.