FourNeighborLaplacianProperties #
Shared facts adapted from Wesley Pegden's Apache-2.0 Trellis formalization of Levine–Pegden–Smart, replacing repeated implementations at their common dependency level.
theorem
ApollonianSuperharmonic.FourNeighborLaplacianProperties.differences
(g : IntegerLatticeFunction)
(x : GaussianInt)
:
Shared differences identity for FourNeighborLaplacianProperties.
theorem
ApollonianSuperharmonic.FourNeighborLaplacianProperties.affineTranslate
(f f' : GaussianInt → ℤ)
(x t : GaussianInt)
(A B C : ℤ)
:
f x = f' (x - t) + A * x.re + B * x.im + C →
f (x - 1) = f' (x - t - 1) + A * (x - 1).re + B * (x - 1).im + C →
f (x + 1) = f' (x - t + 1) + A * (x + 1).re + B * (x + 1).im + C →
f (x - { re := 0, im := 1 }) = f' (x - t - { re := 0, im := 1 }) + A * (x - { re := 0, im := 1 }).re + B * (x - { re := 0, im := 1 }).im + C →
f (x + { re := 0, im := 1 }) = f' (x - t + { re := 0, im := 1 }) + A * (x + { re := 0, im := 1 }).re + B * (x + { re := 0, im := 1 }).im + C →
FourNeighborLaplacian f x = FourNeighborLaplacian f' (x - t)
Affine perturbations and translation preserve the four-neighbor Laplacian.
theorem
ApollonianSuperharmonic.FourNeighborLaplacianProperties.affineValuesOnRectangle
(f g : IntegerLatticeFunction)
(x t : GaussianInt)
(A B C lowerReal upperReal lowerImaginary upperImaginary : ℤ)
(hxr : lowerReal + 1 ≤ x.re)
(hxr' : x.re ≤ upperReal - 1)
(hxi : lowerImaginary + 1 ≤ x.im)
(hxi' : x.im ≤ upperImaginary - 1)
(values :
∀ (z : GaussianInt),
lowerReal ≤ z.re →
z.re ≤ upperReal → lowerImaginary ≤ z.im → z.im ≤ upperImaginary → f z = g (z - t) + A * z.re + B * z.im + C)
:
f x = g (x - t) + A * x.re + B * x.im + C ∧ f (x - 1) = g (x - t - 1) + A * (x - 1).re + B * (x - 1).im + C ∧ f (x + 1) = g (x - t + 1) + A * (x + 1).re + B * (x + 1).im + C ∧ f (x - { re := 0, im := 1 }) = g (x - t - { re := 0, im := 1 }) + A * (x - { re := 0, im := 1 }).re + B * (x - { re := 0, im := 1 }).im + C ∧ f (x + { re := 0, im := 1 }) = g (x - t + { re := 0, im := 1 }) + A * (x + { re := 0, im := 1 }).re + B * (x + { re := 0, im := 1 }).im + C
A rectangular affine identity supplies all five values of a lattice neighborhood.