P4062T1ParentalRestriction #
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.P4062T1ParentalRestriction
(P : FordFareyParameter)
(hP : 2 < P.q)
:
∃ (P₁ : FordFareyParameter) (P₂ : FordFareyParameter),
P₁.p = P.p₁ ∧ P₁.q = P.q₁ ∧ P₂.p = P.p₂ ∧ P₂.q = P.q₂ ∧ P₁.q < P.q ∧ P₂.q < P.q ∧ P.q₁ ≠ P.q₂ ∧ ∀ (i : Fin 4),
have R := if ↑i < 2 then P₁ else P₂;
have u := ![0, { re := ↑P.q₂, im := ↑P.q₂ }, { re := ↑P.q₁, im := 0 }, { re := 0, im := ↑P.q₁ }] i;
P4062T1RecursiveInteriors P i = Finset.image (fun (x : GaussianInt) => x + u) (P4062T1InteriorSquare R.q) ∧ ∀ x ∈ P4062T1RecursiveInteriors P i,
FourNeighborLaplacian (FordOdometer P) x = FourNeighborLaplacian (FordOdometer R) (x - u)