P4062T1OverlapDescent #
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.P4062T1OverlapDescent
(P P₁ P₂ : FordFareyParameter)
(hP : 2 < P.q)
(hp₁ : P₁.p = P.p₁)
(hq₁ : P₁.q = P.q₁)
(hp₂ : P₂.p = P.p₂)
(hq₂ : P₂.q = P.q₂)
:
have A := P4062T1RecursiveInteriors P;
(P.q₂ < P.q₁ →
∃ (H : FordFareyParameter),
H.p = P.p₁ - P.p₂ ∧ H.q = P.q₁ - P.q₂ ∧ H.q < P.q ∧ P₁.p₁ = P.p₁ - P.p₂ ∧ P₁.q₁ = P.q₁ - P.q₂ ∧ P₁.p₂ = P.p₂ ∧ P₁.q₂ = P.q₂ ∧ A 0 ∩ A 1 = Finset.image (fun (x : GaussianInt) => x + { re := ↑P.q₂, im := ↑P.q₂ })
(P4062T1InteriorSquare H.q) ∧ ∀ x ∈ A 0 ∩ A 1,
FourNeighborLaplacian (FordOdometer P) x = FourNeighborLaplacian (FordOdometer H) (x - { re := ↑P.q₂, im := ↑P.q₂ })) ∧ (P.q₁ < P.q₂ →
∃ (H : FordFareyParameter),
H.p = P.p₂ - P.p₁ ∧ H.q = P.q₂ - P.q₁ ∧ H.q < P.q ∧ P₂.p₁ = P.p₁ ∧ P₂.q₁ = P.q₁ ∧ P₂.p₂ = P.p₂ - P.p₁ ∧ P₂.q₂ = P.q₂ - P.q₁ ∧ A 2 ∩ A 3 = Finset.image (fun (x : GaussianInt) => x + { re := ↑P.q₁, im := ↑P.q₁ })
(P4062T1InteriorSquare H.q) ∧ ∀ x ∈ A 2 ∩ A 3,
FourNeighborLaplacian (FordOdometer P) x = FourNeighborLaplacian (FordOdometer H) (x - { re := ↑P.q₁, im := ↑P.q₁ }))