Documentation

LeanPool.ApollonianSuperharmonic.P4223T1DiamondRowNumerators

P4223T1DiamondRowNumerators #

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.P4223T1DiamondRowNumerators (r : ℕ) (y : ℤ) :
(∑ j ∈ Finset.range (2 * r), have x := { re := ↑j - ↑r, im := y }; P4207T1DiamondFormula (x + 1) - P4207T1DiamondFormula x + P4207T1DiamondFormula (x + 1 + { re := 0, im := 1 }) - P4207T1DiamondFormula (x + { re := 0, im := 1 })) = ↑r * (2 * y + 1) ∧ (∑ j ∈ Finset.range (2 * r), have x := { re := ↑j - ↑r, im := y }; P4207T1DiamondFormula (x + { re := 0, im := 1 }) - P4207T1DiamondFormula x + P4207T1DiamondFormula (x + 1 + { re := 0, im := 1 }) - P4207T1DiamondFormula (x + 1)) = -↑r * (2 * y + 1)