BandOrientedBoundaryOccurrenceGenealogy #
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.BandOrientedBoundaryOccurrenceGenealogy
(p : Fin 4 → CircleCoordinates)
(hp : ProperBandQuadruple p)
:
have q :=
![(2 * (p 0).1 + 2 * (p 2).1 + 2 * (p 3).1 - (p 1).1, 2 * (p 0).2 + 2 * (p 2).2 + 2 * (p 3).2 - (p 1).2), p 0, p 2, p 3];
have r :=
![(2 * (q 0).1 + 2 * (q 2).1 + 2 * (q 3).1 - (q 1).1, 2 * (q 0).2 + 2 * (q 2).2 + 2 * (q 3).2 - (q 1).2), q 0, q 2, q 3];
ProperBandQuadruple q ∧ (p 0).1 < (q 0).1 ∧ (p 2).1 < (q 0).1 ∧ (p 3).1 < (q 0).1 ∧ (((p 2).1 = 1 →
∀ (orientation : Bool),
UnitOccurrenceOrientation q 1 orientation → UnitOccurrenceOrientation p 1 orientation) ∧ ((p 3).1 = 1 →
∀ (orientation : Bool),
UnitOccurrenceOrientation q 2 orientation → UnitOccurrenceOrientation p 2 orientation)) ∧ ((((p 2).1 = 0 ∨ (p 2).1 = 1) ∧ ((p 3).1 = 0 ∨ (p 3).1 = 1)) ∧ (PrimitiveVectorOrientation (p 2) (p 3) ∧ (∀ (orientation : Bool),
UnitOccurrenceOrientation q 1 orientation →
UnitTriangularStep orientation (BandVectors.1 (p 3) (p 2)) ∧ ((p 3).1 = 0 ∨ orientation = false)) ∧ (∀ (orientation : Bool),
UnitOccurrenceOrientation q 2 orientation →
UnitTriangularStep orientation ({ re := 0, im := 1 } * BandVectors.1 (p 3) (p 2)) ∧ ((p 2).1 = 0 ∨ orientation = true)) ∧ ((p 2).1 = 1 →
(p 3).1 = 1 →
UnitOccurrenceOrientation q 1 false ∧ UnitOccurrenceOrientation q 2 true ∧ UnitOccurrenceOrientation r 1 false ∧ UnitOccurrenceOrientation r 2 true) ∨ PrimitiveVectorOrientation (p 3) (p 2) ∧ (∀ (orientation : Bool),
UnitOccurrenceOrientation q 1 orientation →
UnitTriangularStep orientation (BandVectors.1 (p 3) (p 2)) ∧ ((p 3).1 = 0 ∨ orientation = true)) ∧ (∀ (orientation : Bool),
UnitOccurrenceOrientation q 2 orientation →
UnitTriangularStep orientation ({ re := 0, im := 1 } * BandVectors.1 (p 3) (p 2)) ∧ ((p 2).1 = 0 ∨ orientation = false)) ∧ ((p 2).1 = 1 →
(p 3).1 = 1 →
UnitOccurrenceOrientation q 1 true ∧ UnitOccurrenceOrientation q 2 false ∧ UnitOccurrenceOrientation r 1 true ∧ UnitOccurrenceOrientation r 2 false)) ∨ (∃ (t : Fin 4 → CircleCoordinates),
ProperBandQuadruple t ∧ t 0 = p 2 ∧ t 1 = p 3 ∧ (p 3).1 < (p 2).1 ∧ ∀ (orientation : Bool),
UnitOccurrenceOrientation p 2 orientation →
((t 2).1 ≠ 1 → UnitOccurrenceOrientation t 0 orientation) ∧ ((t 2).1 = 1 →
PrimitiveVectorOrientation (t 1) (t 2) ∧ orientation = false ∨ PrimitiveVectorOrientation (t 2) (t 1) ∧ orientation = true)) ∨ ∃ (t : Fin 4 → CircleCoordinates),
ProperBandQuadruple t ∧ t 0 = p 3 ∧ t 1 = p 2 ∧ (p 2).1 < (p 3).1 ∧ ∀ (orientation : Bool),
UnitOccurrenceOrientation p 1 orientation →
((t 3).1 ≠ 1 → UnitOccurrenceOrientation t 0 orientation) ∧ ((t 3).1 = 1 →
PrimitiveVectorOrientation (t 1) (t 3) ∧ orientation = false ∨ PrimitiveVectorOrientation (t 3) (t 1) ∧ orientation = true))