GridVerticalUpLogLiftDelta #
Adapted from Wesley Pegden’s Apache-2.0 Trellis formalization of Levine–Pegden–Smart. Changes: pool module paths, public exports, project namespace and current Mathlib compatibility.
theorem
ApollonianSuperharmonic.GridVerticalUpLogLiftDelta
(q a : GaussianInt)
(L : ↑(Set.Icc 0 1) → ℂ)
(hL : Continuous L)
(hexp :
∀ (t : ↑(Set.Icc 0 1)),
Complex.exp (L t) = (1 - ↑↑t) * (GaussianInt.toComplex a - GridCellCenter q) + ↑↑t * (GaussianInt.toComplex (a + { re := 0, im := 1 }) - GridCellCenter q))
:
L ⟨1, GridVerticalUpLogLiftDelta._proof_1⟩ - L ⟨0, GridVerticalUpLogLiftDelta._proof_2⟩ = Complex.log (GaussianInt.toComplex (a + { re := 0, im := 1 }) - GridCellCenter q) - Complex.log (GaussianInt.toComplex a - GridCellCenter q) - if a.im = q.im ∧ a.re ≤ q.re then 2 * ↑Real.pi * Complex.I else 0