File size: 5,389 Bytes
4a56cd6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
import Mathlib

namespace OAI

open Set Filter MeasureTheory
open scoped Topology ENNReal NNReal

namespace CAT0Fillings

attribute [local instance] Classical.propDecidable

universe u

abbrev Euc (k : β„•) := EuclideanSpace ℝ (Fin k)
abbrev Functional (X : Type u) (k : β„•) := (X β†’ ℝ) β†’ (Fin k β†’ X β†’ ℝ) β†’ ℝ

section MetricCurrents

variable {X : Type u} [MetricSpace X] [MeasurableSpace X] [BorelSpace X]

def BoundedLip (b : X β†’ ℝ) : Prop :=
  (βˆƒ K : ℝβ‰₯0, LipschitzWith K b) ∧ βˆƒ M : ℝ, βˆ€ x, |b x| ≀ M

def Admissible {k : β„•} (b : X β†’ ℝ) (Ο€ : Fin k β†’ X β†’ ℝ) : Prop :=
  BoundedLip b ∧ βˆ€ i, βˆƒ K : ℝβ‰₯0, LipschitzWith K (Ο€ i)

def Controls {k : β„•} (T : Functional X k) (ΞΌ : Measure X) : Prop :=
  βˆ€ (b : X β†’ ℝ) (Ο€ : Fin k β†’ X β†’ ℝ), BoundedLip b β†’
    (βˆ€ i, LipschitzWith 1 (Ο€ i)) β†’
    |T b Ο€| ≀ ∫ x, |b x| βˆ‚ΞΌ

noncomputable def mass {k : β„•} (T : Functional X k) : ℝ :=
  sInf {r : ℝ | βˆƒ ΞΌ : Measure X,
    IsFiniteMeasure μ ∧ Controls T μ ∧ r = μ.real univ}

structure IsMetricCurrent {k : β„•} (T : Functional X k) : Prop where
  offDomain : βˆ€ b Ο€, Β¬Admissible b Ο€ β†’ T b Ο€ = 0
  linearFirst : βˆ€ b₁ bβ‚‚ Ο€ (a c : ℝ), BoundedLip b₁ β†’ BoundedLip bβ‚‚ β†’
    (βˆ€ i, βˆƒ K : ℝβ‰₯0, LipschitzWith K (Ο€ i)) β†’
    T (fun x => a * b₁ x + c * bβ‚‚ x) Ο€ = a * T b₁ Ο€ + c * T bβ‚‚ Ο€
  linearCoord : βˆ€ b Ο€ i f (a c : ℝ), Admissible b Ο€ β†’
    (βˆƒ K : ℝβ‰₯0, LipschitzWith K f) β†’
    T b (Function.update Ο€ i (fun x => a * Ο€ i x + c * f x)) =
      a * T b Ο€ + c * T b (Function.update Ο€ i f)
  sequentialContinuity : βˆ€ b Ο€ (Ο€s : β„• β†’ Fin k β†’ X β†’ ℝ), BoundedLip b β†’
    (βˆ€ i, βˆƒ K : ℝβ‰₯0, βˆ€ j, LipschitzWith K (Ο€s j i)) β†’
    (βˆ€ i x, Tendsto (fun j => Ο€s j i x) atTop (𝓝 (Ο€ i x))) β†’
    Tendsto (fun j => T b (Ο€s j)) atTop (𝓝 (T b Ο€))
  locality : βˆ€ b Ο€, Admissible b Ο€ β†’
    (βˆƒ (i : Fin k) (U : Set X) (c : ℝ), IsOpen U ∧ Function.support b βŠ† U ∧
      βˆ€ x ∈ U, Ο€ i x = c) β†’ T b Ο€ = 0
  finiteMass : βˆƒ ΞΌ : Measure X, IsFiniteMeasure ΞΌ ∧ Controls T ΞΌ

noncomputable def boundarySucc {k : β„•} (T : Functional X (k + 1)) : Functional X k :=
  fun b Ο€ => if Admissible b Ο€ then T (fun _ => 1) (Matrix.vecCons b Ο€) else 0

noncomputable def boundary : {k : β„•} β†’ Functional X k β†’ Functional X (k - 1)
  | 0, _ => fun _ _ => 0
  | _ + 1, T => boundarySucc T

structure IntegerChart (X : Type u) [MetricSpace X] (k : β„•) where
  domain : Set (Euc k)
  borel : MeasurableSet domain
  bounded : Bornology.IsBounded domain
  param : domain β†’ X
  bilipschitz : βˆƒ L U : ℝβ‰₯0, LipschitzWith L param ∧ AntilipschitzWith U param
  multiplicity : Euc k β†’ β„€
  integrable : Integrable (fun z => (multiplicity z : ℝ)) (volume.restrict domain)

namespace IntegerChart

variable {k : β„•} (C : IntegerChart X k)

noncomputable def scalar (f : X β†’ ℝ) (z : Euc k) : ℝ :=
  if hz : z ∈ C.domain then f (C.param ⟨z, hz⟩) else 0

noncomputable def jacobian (Ο€ : Fin k β†’ X β†’ ℝ) (z : Euc k) : ℝ :=
  Matrix.det (fun i j =>
    (fderivWithin ℝ (C.scalar (Ο€ i)) C.domain z) (EuclideanSpace.single j 1))

noncomputable def action : Functional X k :=
  fun b Ο€ => if Admissible b Ο€ then
    ∫ z in C.domain, (C.multiplicity z : ℝ) * C.scalar b z * C.jacobian Ο€ z
  else 0

def image : Set X := Set.range C.param

end IntegerChart

def IntegerRectifiable {k : β„•} (T : Functional X k) : Prop :=
  βˆƒ C : β„• β†’ IntegerChart X k,
    Pairwise (fun i j => Disjoint (C i).image (C j).image) ∧
    (βˆ€ i, IsMetricCurrent (C i).action) ∧
    Summable (fun i => mass (C i).action) ∧
    βˆ€ b Ο€, T b Ο€ = βˆ‘' i, (C i).action b Ο€

def IsIntegral : (k : β„•) β†’ Functional X k β†’ Prop
  | 0, T => IsMetricCurrent T ∧ IntegerRectifiable T
  | _ + 1, T => IsMetricCurrent T ∧ IntegerRectifiable T ∧
      IsMetricCurrent (boundarySucc T) ∧ IntegerRectifiable (boundarySucc T)

abbrev IntegralCurrent (X : Type u) [MetricSpace X] [MeasurableSpace X] [BorelSpace X]
    (k : β„•) := { T : Functional X k // IsIntegral k T }

def CompactlySupported {k : β„•} (T : Functional X k) : Prop :=
  βˆƒ K : Set X, IsCompact K ∧
    βˆ€ b Ο€, Admissible b Ο€ β†’ (βˆ€ x ∈ K, b x = 0) β†’ T b Ο€ = 0

def IsCycle {k : β„•} (T : Functional X k) : Prop := boundary T = fun _ _ => 0

end MetricCurrents

section Geometry
variable (X : Type u) [MetricSpace X]

def IsCAT0 : Prop :=
  βˆƒ segment : X β†’ X β†’ ℝ β†’ X,
    (βˆ€ x y, segment x y 0 = x ∧ segment x y 1 = y) ∧
    (βˆ€ x y s t, s ∈ Icc (0 : ℝ) 1 β†’ t ∈ Icc (0 : ℝ) 1 β†’
      dist (segment x y s) (segment x y t) = |s - t| * dist x y) ∧
    (βˆ€ o x y s t, s ∈ Icc (0 : ℝ) 1 β†’ t ∈ Icc (0 : ℝ) 1 β†’
      dist (segment o x s) (segment o y t) ^ 2 ≀
        (s * dist o x - t * dist o y) ^ 2 +
          s * t * ((dist x y) ^ 2 - (dist o x - dist o y) ^ 2))

end Geometry

noncomputable def omega (k : β„•) : ℝ :=
  (volume (Metric.ball (0 : Euc k) 1)).toReal
noncomputable def sphereArea (n : β„•) : ℝ := (n + 1 : ℝ) * omega (n + 1)
noncomputable def fillingCoefficient (n : β„•) : ℝ :=
  1 / ((n + 1 : ℝ) * (sphereArea n) ^ (1 / (n : ℝ)))
noncomputable def fillingPower (n : β„•) : ℝ := (n + 1 : ℝ) / (n : ℝ)

end CAT0Fillings

end OAI