File size: 4,919 Bytes
720fa25
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
import Mathlib

namespace OAI

/-!
The phase space is represented in the ambient plane × circle, with measure
supported on the interior of the triangle. Values on side-collision states
at a fixed time are immaterial to the modulo-null-set conclusion. The
trajectories themselves include the collisions and impose specular reflection.
-/

open MeasureTheory Set
open scoped ENNReal symmDiff

noncomputable section

namespace TriangularBilliards

/-- Three affinely independent vertices in the Euclidean plane. -/
structure Triangle where
  vertex : Fin 3 → ℂ
  nondegenerate : AffineIndependent ℝ vertex

namespace Triangle

/-- The open table; the complex plane carries its ordinary real Euclidean metric. -/
def table (Q : Triangle) : Set ℂ := interior (convexHull ℝ (range Q.vertex))

/-- The open side from vertex `i` to the next vertex, indexed cyclically. -/
def side (Q : Triangle) (i : Fin 3) : Set ℂ :=
  openSegment ℝ (Q.vertex i) (Q.vertex (i + 1))

/-- A tangent vector to side `i`, with no choice of inward or outward normal. -/
def tangent (Q : Triangle) (i : Fin 3) : ℂ := Q.vertex (i + 1) - Q.vertex i

/-- Interior angle at vertex `i`. -/
def angle (Q : Triangle) (i : Fin 3) : ℝ :=
  InnerProductGeometry.angle (Q.vertex (i + 1) - Q.vertex i)
    (Q.vertex (i + 2) - Q.vertex i)

def HasIrrationalAngle (Q : Triangle) : Prop :=
  ∃ i : Fin 3, Irrational (Q.angle i / Real.pi)

end Triangle

/-- Reflection in the real line spanned by the nonzero tangent `e`.
In coordinates with `e` real this is complex conjugation, preserving the
tangential component and reversing the normal component. -/
def reflect (e v : ℂ) : ℂ := (e / star e) * star v

instance circleMeasurableSpace : MeasurableSpace Circle := borel Circle

instance circleBorelSpace : BorelSpace Circle := ⟨rfl⟩

abbrev Phase := ℂ × Circle

/-- A complete nonsingular billiard trajectory, indexed by its collisions.
Flight zero contains the initial time strictly. Both ends of the collision
time sequence are unbounded; collisions occur only in open sides, never
vertices. These are geometric conditions, not ergodicity/analytic assumptions. -/
structure FlightChain (Q : Triangle) (z : Phase) where
  time : ℤ → ℝ
  point : ℤ → ℂ
  direction : ℤ → Circle
  wall : ℤ → Fin 3
  increasing : StrictMono time
  unbounded_below : ∀ t : ℝ, ∃ n : ℤ, time n < t
  unbounded_above : ∀ t : ℝ, ∃ n : ℤ, t < time n
  zero_before : time 0 < 0
  zero_after : 0 < time 1
  on_side : ∀ n : ℤ, point n ∈ Q.side (wall n)
  flight : ∀ n : ℤ,
    point (n + 1) = point n + (time (n + 1) - time n) • (direction n : ℂ)
  inside : ∀ (n : ℤ) (t : ℝ), time n < t → t < time (n + 1) →
    point n + (t - time n) • (direction n : ℂ) ∈ Q.table
  start_point : z.1 = point 0 + (-time 0) • (direction 0 : ℂ)
  start_direction : z.2 = direction 0
  specular : ∀ n : ℤ,
    (direction n : ℂ) = reflect (Q.tangent (wall n)) (direction (n - 1) : ℂ)

/-- The geometric state on a chain, using outgoing velocity at a collision. -/
def FlightChain.at {Q : Triangle} {z : Phase} (c : FlightChain Q z) (t : ℝ) : Phase := by
  classical
  exact if h : ∃ n : ℤ, c.time n ≤ t ∧ t < c.time (n + 1) then
    let n := Classical.choose h
    (c.point n + (t - c.time n) • (c.direction n : ℂ), c.direction n)
  else z

/-- The actual specular flow on complete regular chains. Singular initial
states are assigned their initial state; the theorem must prove these form
a null set. No nonemptiness of the regular set is postulated. -/
def billiardFlow (Q : Triangle) (t : ℝ) (z : Phase) : Phase := by
  classical
  exact if h : Nonempty (FlightChain Q z) then (Classical.choice h).at t else z

/-- Uniform angular probability, parameterized by [0,2π). -/
def angularMeasure : Measure Circle :=
  Measure.map Circle.exp
    ((ENNReal.ofReal (2 * Real.pi))⁻¹ • volume.restrict (Ico 0 (2 * Real.pi)))

/-- Exactly normalized area in the open table times uniform angular measure. -/
def phaseMeasure (Q : Triangle) : Measure Phase :=
  ((volume Q.table)⁻¹ • volume.restrict Q.table).prod angularMeasure

/-- The main conclusion, together with the geometric/nonvacuity guarantees
needed by the concrete definition of the actual two-sided billiard. -/

def MainConclusion (Q : Triangle) : Prop :=
  phaseMeasure Q univ = 1 ∧
  (∀ᵐ z ∂phaseMeasure Q, Nonempty (FlightChain Q z)) ∧
  (∀ (z : Phase) (c d : FlightChain Q z), c = d) ∧
  (∀ t : ℝ, MeasurePreserving (billiardFlow Q t) (phaseMeasure Q) (phaseMeasure Q)) ∧
  (∀ s t : ℝ, billiardFlow Q (s + t) =ᵐ[phaseMeasure Q]
    (billiardFlow Q s ∘ billiardFlow Q t)) ∧
  (∀ A : Set Phase, MeasurableSet A →
    (∀ t : ℝ, phaseMeasure Q (((billiardFlow Q t) ⁻¹' A) ∆ A) = 0) →
    phaseMeasure Q A = 0 ∨ phaseMeasure Q A = 1)

end TriangularBilliards
end

end OAI