P5448T1CenteredFordGeometry #
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.P5448T1CenteredFordGeometry
(q : Fin 4 → CircleCoordinates)
(cfg : BandOrderedGeneralConfiguration q)
(C0 : BandCircle)
(T : ProtoTile)
(cert : BandOrderedGeneralLayoutCertificate q cfg C0 T)
(h : PartialOdometer)
(P : Fin 3 → Bool → ProtoTile)
(r : Fin 3 → Bool → PartialOdometer)
(Q S : Fin 3 → Bool → ProtoTile)
(u v : Fin 3 → Bool → PartialOdometer)
(g : IntegerLatticeFunction)
(x : GaussianInt)
(data : BandOrderedGeneralOdometerRowData q cfg C0 T cert h P r Q S u v g)
(hext : GlobalOdometerExtends g h)
(hcenter : GaussianRealPoint x = TileCentroid T)
(hzero : (cfg.firstPredecessor 1).1 = 0)
:
∃ (F : FordFareyParameter) (s : BandPackingSymmetry) (delta : Bool) (f : IntegerLatticeFunction),
have c := BandPackingSymmetryVectorAction s x;
have H := PartialOdometerAffineTranslate (BandPackingSymmetryPartialOdometerAction s h) (-c) 0 0;
have U := TileTranslation (BandPackingSymmetryTileAction s (P 0 !delta)) (-c);
have V := TileTranslation (BandPackingSymmetryTileAction s (P 0 delta)) (-c);
have hp := PartialOdometerAffineTranslate (BandPackingSymmetryPartialOdometerAction s (r 0 !delta)) (-c) 0 0;
have hm := PartialOdometerAffineTranslate (BandPackingSymmetryPartialOdometerAction s (r 0 delta)) (-c) 0 0;
1 < F.q ∧ BandPackingSymmetryReversesOrientation s = false ∧ BandPackingSymmetryScopedPhase s q delta ∧ BandPackingSymmetryQuadrupleAction s
![cfg.firstPredecessor 0, cfg.firstPredecessor 2, cfg.firstPredecessor 3, cfg.firstPredecessor 1] = FordRecursiveQuadruple F ∧ U.cells = (TileTranslation (FordTile F.q) { re := -↑F.q₁, im := 0 }).cells ∧ V.cells = (TileTranslation (FordTile F.q) { re := -↑F.q₂, im := -↑F.q }).cells ∧ TileOdometer (FordCircleCoordinate F.p F.q) U hp ∧ TileOdometer (FordCircleCoordinate F.p F.q) V hm ∧ (∀ (z : GaussianInt), z ∈ hp.domain ↔ -↑F.q₁ ≤ z.re ∧ z.re ≤ ↑F.q₂ ∧ 0 ≤ z.im ∧ z.im ≤ ↑F.q) ∧ (∀ (z : GaussianInt), z ∈ hm.domain ↔ -↑F.q₂ ≤ z.re ∧ z.re ≤ ↑F.q₁ ∧ -↑F.q ≤ z.im ∧ z.im ≤ 0) ∧ (∃ (sp : ℝ × ℝ) (sm : ℝ × ℝ),
PartialOdometerSlope hp = some sp ∧ PartialOdometerSlope hm = some sm ∧ sm.1 - sp.1 = -↑F.p ∧ sm.2 - sp.2 = ↑F.p₁ - ↑F.p₂) ∧ (∀ z ∈ hp.domain, z ∈ H.domain ∧ H.value z = hp.value z) ∧ (∀ z ∈ hm.domain, z ∈ H.domain ∧ H.value z = hm.value z) ∧ GlobalOdometerExtends f H ∧ FourNeighborLaplacian f 0 = FourNeighborLaplacian g x