P4207T1UnitRestrictions #
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.P4207T1UnitRestrictions
(K : DiamondParameter)
:
have k := ↑↑K;
have bases :=
![fun (s : Bool) => if s = true then { re := -k, im := k - 1 } else { re := k - 1, im := k }, fun (s : Bool) =>
if s = true then { re := k - 1, im := k - 1 } else { re := -k, im := k }];
have slopes :=
![fun (s : Bool) => if s = true then (1 / 2, 1 / 2 - ↑↑K) else (↑↑K - 1 / 2, -1 / 2), fun (s : Bool) =>
if s = true then (↑↑K - 1, 0) else (1, -↑↑K)];
∀ (i : Fin 2) (s : Bool),
OdometerTranslation (P4207T1FormulaRestriction { cells := {bases i s}, anchor := bases i s })
(CurvatureOneOdometer (if i = 0 then { re := 0, im := 1 } else 0)) ∧ PartialOdometerSlope (P4207T1FormulaRestriction { cells := {bases i s}, anchor := bases i s }) = some (slopes i s)