BandPrototileCentroidBounds #
Shared facts adapted from Wesley Pegden's Apache-2.0 Trellis formalization.
theorem
ApollonianSuperharmonic.BandPrototileCentroidBounds.imaginaryCenter
(T : ProtoTile)
:
have c := TileCentroid T;
have imCells := Finset.image (fun (x : LatticeCell) => x.im) T.cells;
∀ (imNe : imCells.Nonempty),
(∀ p ∈ TileRealization T, (2 * c.1 - p.1, 2 * c.2 - p.2) ∈ TileRealization T) →
(∀ p ∈ TileRealization T, ↑(imCells.min' imNe) ≤ p.2 ∧ p.2 ≤ ↑(imCells.max' imNe) + 1) →
have mIm := imCells.min' imNe;
have MIm := imCells.max' imNe;
(∃ x ∈ T.cells, x.im = mIm) → (∃ x ∈ T.cells, x.im = MIm) → 2 * c.2 = ↑mIm + ↑MIm + 1
Shared imaginaryCenter fact.
theorem
ApollonianSuperharmonic.BandPrototileCentroidBounds.realBounds
(T : ProtoTile)
(reNe : (Finset.image (fun (x : LatticeCell) => x.re) T.cells).Nonempty)
(p : ℝ × ℝ)
:
p ∈ TileRealization T →
↑((Finset.image (fun (x : LatticeCell) => x.re) T.cells).min' reNe) ≤ p.1 ∧ p.1 ≤ ↑((Finset.image (fun (x : LatticeCell) => x.re) T.cells).max' reNe) + 1
Bounds for the real coordinate of every point in a finite tile realization.
theorem
ApollonianSuperharmonic.BandPrototileCentroidBounds.imaginaryBounds
(T : ProtoTile)
(imNe : (Finset.image (fun (x : LatticeCell) => x.im) T.cells).Nonempty)
(p : ℝ × ℝ)
:
p ∈ TileRealization T →
↑((Finset.image (fun (x : LatticeCell) => x.im) T.cells).min' imNe) ≤ p.2 ∧ p.2 ≤ ↑((Finset.image (fun (x : LatticeCell) => x.im) T.cells).max' imNe) + 1
Bounds for the imaginary coordinate of every point in a finite tile realization.
theorem
ApollonianSuperharmonic.BandPrototileCentroidBounds.realCoordinateCenter
(T : ProtoTile)
(reNe : (Finset.image (fun (x : LatticeCell) => x.re) T.cells).Nonempty)
(reflect_mem :
∀ p ∈ TileRealization T, (2 * (TileCentroid T).1 - p.1, 2 * (TileCentroid T).2 - p.2) ∈ TileRealization T)
:
2 * (TileCentroid T).1 = ↑((Finset.image (fun (x : LatticeCell) => x.re) T.cells).min' reNe) + ↑((Finset.image (fun (x : LatticeCell) => x.re) T.cells).max' reNe) + 1
Reflection symmetry determines the real centroid from the extreme cell coordinates.
theorem
ApollonianSuperharmonic.BandPrototileCentroidBounds.imaginaryCoordinateCenter
(T : ProtoTile)
(imNe : (Finset.image (fun (x : LatticeCell) => x.im) T.cells).Nonempty)
(reflect_mem :
∀ p ∈ TileRealization T, (2 * (TileCentroid T).1 - p.1, 2 * (TileCentroid T).2 - p.2) ∈ TileRealization T)
:
2 * (TileCentroid T).2 = ↑((Finset.image (fun (x : LatticeCell) => x.im) T.cells).min' imNe) + ↑((Finset.image (fun (x : LatticeCell) => x.im) T.cells).max' imNe) + 1
Reflection symmetry determines the imaginary centroid from extreme cell coordinates.
theorem
ApollonianSuperharmonic.BandPrototileCentroidBounds.integralDoubleCenter
(T : ProtoTile)
(hne : Finset.Nonempty T.cells)
(hcentral : CentrallyReflectedAt (TileCentroid T) T T)
:
∃ (u : GaussianInt), 2 • TileCentroid T = GaussianRealPoint u
A nonempty centrally symmetric lattice tile has an integral doubled centroid.