P5098T1OccurrenceSquares #
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.P5098T1OccurrenceSquares
(r s : ℕ)
(o : PeriodicSubtileIndex)
:
have d :=
match o.label with
| SixSubtileLabel.A => r
| SixSubtileLabel.B => r
| SixSubtileLabel.C => s
| SixSubtileLabel.D => s
| SixSubtileLabel.E => 0
| SixSubtileLabel.F => 0;
have c :=
match o.label with
| SixSubtileLabel.A => 0
| SixSubtileLabel.B => { re := ↑s, im := ↑s }
| SixSubtileLabel.C => { re := ↑r, im := 0 }
| SixSubtileLabel.D => { re := 0, im := ↑r }
| SixSubtileLabel.E => { re := ↑s, im := ↑(r + s) }
| SixSubtileLabel.F => { re := ↑r, im := 0 };
SubtileOccurrenceInterpretation (P5064T3Rectangles r s) { re := -↑r, im := ↑(r + s) } { re := -↑s, im := -↑(r + s) } o = TileTranslation (FordTile d) (c + { re := -o.first * ↑r - o.second * ↑s, im := (↑r + ↑s) * (o.first - o.second) })