File size: 15,196 Bytes
59d1c80
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
import OAI.Geometry.KahlerSplitting.BlockMaps

namespace OAI

section

noncomputable section
open Set Filter Topology
open scoped unitInterval

namespace ProductBoxTopology
variable {A B X C D : Type*} [TopologicalSpace A] [TopologicalSpace B]
  [TopologicalSpace X] [TopologicalSpace C] [TopologicalSpace D]

def IsBox (atlas : Set (OpenPartialHomeomorph X (C × D))) (F : A × B → X) : Prop :=
  Continuous F ∧ ∀ e ∈ atlas,
    (∀ a, IsLocallyConstant (fun b : {b : B // F (a,b) ∈ e.source} ↦ (e (F (a,b))).1)) ∧
    (∀ b, IsLocallyConstant (fun a : {a : A // F (a,b) ∈ e.source} ↦ (e (F (a,b))).2))

lemma IsBox.separated {atlas : Set (OpenPartialHomeomorph X (C × D))}
    {F : A × B → X} (hF : IsBox atlas F) {e : OpenPartialHomeomorph X (C × D)}
    (he : e ∈ atlas) {U : Set A} {V : Set B} (hU : IsPreconnected U) (hV : IsPreconnected V)
    (hmap : MapsTo F (U ×ˢ V) e.source) {a a₀ : A} {b b₀ : B}
    (ha : a ∈ U) (ha₀ : a₀ ∈ U) (hb : b ∈ V) (hb₀ : b₀ ∈ V) :
    e (F (a,b)) = ((e (F (a,b₀))).1,(e (F (a₀,b))).2) := by
  let : PreconnectedSpace U := isPreconnected_iff_preconnectedSpace.mp hU
  let : PreconnectedSpace V := isPreconnected_iff_preconnectedSpace.mp hV
  have h₁ : IsLocallyConstant (fun b : V ↦ (e (F (a,b))).1) :=
    ((hF.2 e he).1 a).comp_continuous (continuous_subtype_val.subtype_mk
      (fun b ↦ hmap ⟨ha,b.property⟩))
  have h₂ : IsLocallyConstant (fun a : U ↦ (e (F (a,b))).2) :=
    ((hF.2 e he).2 b).comp_continuous (continuous_subtype_val.subtype_mk
      (fun a ↦ hmap ⟨a.property,hb⟩))
  exact Prod.ext (h₁.apply_eq_of_preconnectedSpace ⟨b,hb⟩ ⟨b₀,hb₀⟩)
    (h₂.apply_eq_of_preconnectedSpace ⟨a,ha⟩ ⟨a₀,ha₀⟩)

theorem unique [T2Space X] (atlas : Set (OpenPartialHomeomorph X (C × D)))
    (hcover : ∀ x : X, ∃ e ∈ atlas, x ∈ e.source)
    {F G : I × I → X} (hF : IsBox atlas F) (hG : IsBox atlas G)
    (hbottom : ∀ a, F (a,0)=G (a,0)) (hleft : ∀ b, F (0,b)=G (0,b)) : F = G := by
  classical
  let c : Option atlas → Set (I × I)
    | none => {p | F p ≠ G p}
    | some e => F ⁻¹' e.val.source ∩ G ⁻¹' e.val.source
  have hc : ∀ i, IsOpen (c i) := by
    rintro (_|e)
    · exact (isClosed_eq hF.1 hG.1).isOpen_compl
    · exact (e.val.open_source.preimage hF.1).inter (e.val.open_source.preimage hG.1)
  have hcU : univ ⊆ ⋃ i, c i := by
    intro p _
    by_cases hp : F p = G p
    · obtain ⟨e,he,hpe⟩ := hcover (F p)
      exact mem_iUnion.mpr ⟨some ⟨e,he⟩,hpe,show G p ∈ e.source from hp ▸ hpe⟩
    · exact mem_iUnion.mpr ⟨none,hp⟩
  obtain ⟨t,ht0,htmono,⟨N,hN⟩,ht⟩ :=
    exists_monotone_Icc_subset_open_cover_unitInterval_prod_self hc hcU
  have hprefix : ∀ i j, EqOn F G (Icc 0 (t i) ×ˢ Icc 0 (t j)) := by
    intro i
    induction i with
    | zero =>
      intro j p hp
      have hp0 : p.1 = 0 := le_antisymm (ht0 ▸ hp.1.2) hp.1.1
      change F (p.1,p.2)=G (p.1,p.2)
      rw [hp0]
      exact hleft p.2
    | succ i hi =>
      intro j
      induction j with
      | zero =>
        intro p hp
        have hp0 : p.2 = 0 := le_antisymm (ht0 ▸ hp.2.2) hp.2.1
        change F (p.1,p.2)=G (p.1,p.2)
        rw [hp0]
        exact hbottom p.1
      | succ j hj =>
        intro p hp
        by_cases hpi : p.1 ≤ t i
        · exact hi (j+1) ⟨⟨hp.1.1,hpi⟩,hp.2⟩
        by_cases hpj : p.2 ≤ t j
        · exact hj ⟨hp.1,⟨hp.2.1,hpj⟩⟩
        have hti : t i ≤ t (i+1) := htmono (Nat.le_succ i)
        have htj : t j ≤ t (j+1) := htmono (Nat.le_succ j)
        have hcorner : F (t i,t j)=G (t i,t j) := hi j ⟨⟨bot_le,le_rfl⟩,⟨bot_le,le_rfl⟩⟩
        obtain ⟨k,hk⟩ := ht i j
        cases k with
        | none => exact False.elim ((hk ⟨⟨le_rfl,hti⟩,⟨le_rfl,htj⟩⟩) hcorner)
        | some e =>
          have hmapF : MapsTo F (Icc (t i) (t (i+1)) ×ˢ Icc (t j) (t (j+1))) e.val.source :=
            fun _ h ↦ (hk h).1
          have hmapG : MapsTo G (Icc (t i) (t (i+1)) ×ˢ Icc (t j) (t (j+1))) e.val.source :=
            fun _ h ↦ (hk h).2
          have hpa : p.1 ∈ Icc (t i) (t (i+1)) := ⟨(not_le.mp hpi).le,hp.1.2⟩
          have hpb : p.2 ∈ Icc (t j) (t (j+1)) := ⟨(not_le.mp hpj).le,hp.2.2⟩
          have ha0 : t i ∈ Icc (t i) (t (i+1)) := ⟨le_rfl,hti⟩
          have hb0 : t j ∈ Icc (t j) (t (j+1)) := ⟨le_rfl,htj⟩
          apply e.val.injOn (hmapF ⟨hpa,hpb⟩) (hmapG ⟨hpa,hpb⟩)
          rw [hF.separated e.property isPreconnected_Icc isPreconnected_Icc hmapF hpa ha0 hpb hb0,
            hG.separated e.property isPreconnected_Icc isPreconnected_Icc hmapG hpa ha0 hpb hb0]
          have hbEq : F (p.1,t j)=G (p.1,t j) := hj ⟨hp.1,⟨bot_le,le_rfl⟩⟩
          have hlEq : F (t i,p.2)=G (t i,p.2) := hi (j+1) ⟨⟨bot_le,le_rfl⟩,hp.2⟩
          rw [hbEq,hlEq]
  funext p
  exact hprefix N N (by simpa only [hN N le_rfl] using
    (show p ∈ Icc (0:I) 1 ×ˢ Icc (0:I) 1 from ⟨⟨bot_le,le_top⟩,⟨bot_le,le_top⟩⟩))

end ProductBoxTopology
end
end

section

noncomputable section
open Set Filter Topology
namespace ProductBoxTopology
variable {A B X C D : Type*} [TopologicalSpace A] [TopologicalSpace B]
  [TopologicalSpace X] [TopologicalSpace C] [TopologicalSpace D]

lemma locallyConstant_of_finite_closed_cover {ι Y : Type*} [Finite ι]
    (U : ι → Set A) (hU : ∀ i, IsClosed (U i)) (hcover : ∀ a, ∃ i, a ∈ U i)
    {f : A → Y} (hf : ∀ i, IsLocallyConstant (fun a : U i ↦ f a)) : IsLocallyConstant f := by
  intro W
  have heq : (f ⁻¹' W)ᶜ = ⋃ i, Subtype.val '' ((fun a : U i ↦ f a) ⁻¹' Wᶜ) := by
    ext a
    constructor
    · intro ha
      obtain ⟨i,hi⟩ := hcover a
      exact mem_iUnion.mpr ⟨i,⟨⟨a,hi⟩,ha,rfl⟩⟩
    · rintro ⟨_,⟨i,rfl⟩,⟨a,ha,rfl⟩⟩
      exact ha
  rw [← isClosed_compl_iff,heq]
  apply isClosed_iUnion_of_finite
  intro i
  exact (hU i).isClosedMap_subtype_val _ ((hf i W).isClosed_compl)

lemma locallyConstant_source_of_finite_closed_cover {ι Y : Type*} [Finite ι]
    (U : ι → Set A) (hU : ∀ i, IsClosed (U i)) (hcover : ∀ a, ∃ i, a ∈ U i)
    (p : A → Prop) {f : A → Y}
    (hf : ∀ i, IsLocallyConstant (fun a : {a : U i // p a} ↦ f a)) :
    IsLocallyConstant (fun a : {a : A // p a} ↦ f a) := by
  apply locallyConstant_of_finite_closed_cover
    (fun i ↦ Subtype.val ⁻¹' U i) (fun i ↦ (hU i).preimage continuous_subtype_val)
    (fun a ↦ hcover a)
  intro i
  let g : {a : {a : A // p a} // a.val ∈ U i} → {a : U i // p a} :=
    fun a ↦ ⟨⟨a.val.val,a.property⟩,a.val.property⟩
  have hg : Continuous g := ((continuous_subtype_val.comp continuous_subtype_val).subtype_mk _).subtype_mk _
  exact (hf i).comp_continuous hg

lemma IsBox.precomp {atlas : Set (OpenPartialHomeomorph X (C × D))}
    {F : A × B → X} (hF : IsBox atlas F) {A' B' : Type*}
    [TopologicalSpace A'] [TopologicalSpace B'] {a : A' → A} {b : B' → B}
    (ha : Continuous a) (hb : Continuous b) :
    IsBox atlas (fun p : A' × B' ↦ F (a p.1,b p.2)) := by
  refine ⟨hF.1.comp (ha.prodMap hb),?_⟩
  intro e he
  constructor
  · intro x
    exact ((hF.2 e he).1 (a x)).comp_continuous
      ((hb.comp continuous_subtype_val).subtype_mk (fun y ↦ y.property))
  · intro y
    exact ((hF.2 e he).2 (b y)).comp_continuous
      ((ha.comp continuous_subtype_val).subtype_mk (fun x ↦ x.property))

lemma IsBox.of_closed_rectangles {atlas : Set (OpenPartialHomeomorph X (C × D))}
    {F : A × B → X} (hF : Continuous F) {ι : Type*} [Finite ι]
    (U : ι → Set A) (V : ι → Set B) (hU : ∀ i, IsClosed (U i)) (hV : ∀ i, IsClosed (V i))
    (hcover : ∀ p : A × B, ∃ i, p ∈ U i ×ˢ V i)
    (hf : ∀ i, IsBox atlas (fun p : U i × V i ↦ F (p.1,p.2))) : IsBox atlas F := by
  refine ⟨hF,fun e he ↦ ⟨?_,?_⟩⟩
  · intro a
    apply locallyConstant_source_of_finite_closed_cover (f := fun b ↦ (e (F (a,b))).1)
      (fun i : {i : ι // a ∈ U i} ↦ V i) (fun i ↦ hV i)
      (fun b ↦ by obtain ⟨i,hi⟩ := hcover (a,b); exact ⟨⟨i,hi.1⟩,hi.2⟩)
      (fun b ↦ F (a,b) ∈ e.source)
    intro i
    exact ((hf i).2 e he).1 ⟨a,i.property⟩
  · intro b
    apply locallyConstant_source_of_finite_closed_cover (f := fun a ↦ (e (F (a,b))).2)
      (fun i : {i : ι // b ∈ V i} ↦ U i) (fun i ↦ hU i)
      (fun a ↦ by obtain ⟨i,hi⟩ := hcover (a,b); exact ⟨⟨i,hi.2⟩,hi.1⟩)
      (fun a ↦ F (a,b) ∈ e.source)
    intro i
    exact ((hf i).2 e he).2 ⟨b,i.property⟩

end ProductBoxTopology
end
end

section

noncomputable section
open Set Filter Topology
open scoped Manifold
namespace UniversalCoverSplitting
variable {n r s : ℕ} {X : ComplexManifold n} {S : HolomorphicSplitting X r s}
variable {E F : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E]
  [NormedAddCommGroup F] [NormedSpace ℂ F]

lemma locallyConstant_restrict_of_fderiv_zero {H K : Type*}
    [NormedAddCommGroup H] [NormedSpace ℂ H] [NormedAddCommGroup K] [NormedSpace ℂ K]
    {U : Set H} (hU : IsOpen U) {f : H → K} (hf : DifferentiableOn ℂ f U)
    (hd : ∀ x ∈ U, fderiv ℂ f x = 0) : IsLocallyConstant (fun x : U ↦ f x) := by
  intro W
  have hW := hU.isOpen_inter_preimage_of_fderiv_eq_zero hf hd W
  convert hW.preimage (continuous_subtype_val : Continuous (Subtype.val : U → H)) using 1
  ext x
  simp

def splittingAtlas (S : HolomorphicSplitting X r s) :
    Set (OpenPartialHomeomorph X.Carrier (Model r × Model s)) :=
  Set.range (fun e : SplittingChart S ↦ e.chart)

lemma IsBlockBox.plaqueBox {U : Set E} {V : Set F} (hU : IsOpen U) (hV : IsOpen V)
    {f : E × F → X.Carrier} (hf : IsBlockBox S (U ×ˢ V) f) :
    ProductBoxTopology.IsBox (splittingAtlas S) (fun p : U × V ↦ f (p.1,p.2)) := by
  have hcont : ContinuousOn f (U ×ˢ V) := hf.1.continuousOn
  refine ⟨hcont.comp_continuous (continuous_subtype_val.prodMap continuous_subtype_val)
    (fun p ↦ ⟨p.1.property,p.2.property⟩),?_⟩
  rintro _ ⟨e,rfl⟩
  let W : Set (E × F) := (U ×ˢ V) ∩ f ⁻¹' e.chart.source
  have hW : IsOpen W := hcont.isOpen_inter_preimage (hU.prod hV) e.chart.open_source
  have hc := e.block_coordinates hW (hf.mono inter_subset_left)
    (show MapsTo f W e.chart.source from fun _ h ↦ h.2)
  constructor
  · intro a
    let T : Set F := V ∩ (fun b ↦ f (a,b)) ⁻¹' e.chart.source
    have hT : IsOpen T := (hcont.comp (continuous_const.prodMk continuous_id).continuousOn
      (fun _ h ↦ ⟨a.property,h⟩)).isOpen_inter_preimage hV e.chart.open_source
    have hd (b : F) (hb : b ∈ T) : HasFDerivAt (fun b ↦ (e.chart (f (a,b))).1) (0 : F →L[ℂ] Model r) b := by
      have hab : ((a:E),b) ∈ W := ⟨⟨a.property,hb.1⟩,hb.2⟩
      have hg := (hc.1.differentiableAt (hW.mem_nhds hab)).hasFDerivAt.fst.comp b
        ((hasFDerivAt_const (𝕜 := ℂ) (a:E) b).prodMk (hasFDerivAt_id (𝕜 := ℂ) b))
      have heq : ((ContinuousLinearMap.fst ℂ (Model r) (Model s)).comp
          (fderiv ℂ (e.chart ∘ f) ((a:E),b))).comp
          ((0 : F →L[ℂ] E).prod (ContinuousLinearMap.id ℂ F)) = 0 := by
        apply ContinuousLinearMap.ext
        intro w
        exact (hc.2 _ hab).2 w
      rw [heq] at hg
      exact hg
    have hl := locallyConstant_restrict_of_fderiv_zero hT
      (fun b hb ↦ (hd b hb).differentiableAt.differentiableWithinAt) (fun b hb ↦ (hd b hb).fderiv)
    exact hl.comp_continuous ((continuous_subtype_val.comp continuous_subtype_val).subtype_mk
      (fun b ↦ ⟨b.val.property,b.property⟩))
  · intro b
    let T : Set E := U ∩ (fun a ↦ f (a,b)) ⁻¹' e.chart.source
    have hT : IsOpen T := (hcont.comp (continuous_id.prodMk continuous_const).continuousOn
      (fun _ h ↦ ⟨h,b.property⟩)).isOpen_inter_preimage hU e.chart.open_source
    have hd (a : E) (ha : a ∈ T) : HasFDerivAt (fun a ↦ (e.chart (f (a,b))).2) (0 : E →L[ℂ] Model s) a := by
      have hab : (a,(b:F)) ∈ W := ⟨⟨ha.1,b.property⟩,ha.2⟩
      have hg := (hc.1.differentiableAt (hW.mem_nhds hab)).hasFDerivAt.snd.comp a
        ((hasFDerivAt_id (𝕜 := ℂ) a).prodMk (hasFDerivAt_const (𝕜 := ℂ) (b:F) a))
      have heq : ((ContinuousLinearMap.snd ℂ (Model r) (Model s)).comp
          (fderiv ℂ (e.chart ∘ f) (a,(b:F)))).comp
          ((ContinuousLinearMap.id ℂ E).prod (0 : E →L[ℂ] F)) = 0 := by
        apply ContinuousLinearMap.ext
        intro v
        exact (hc.2 _ hab).1 v
      rw [heq] at hg
      exact hg
    have hl := locallyConstant_restrict_of_fderiv_zero hT
      (fun a ha ↦ (hd a ha).differentiableAt.differentiableWithinAt) (fun a ha ↦ (hd a ha).fderiv)
    exact hl.comp_continuous ((continuous_subtype_val.comp continuous_subtype_val).subtype_mk
      (fun a ↦ ⟨a.val.property,a.property⟩))

end UniversalCoverSplitting
end
end

section

noncomputable section
open Set Filter Topology
open scoped unitInterval
namespace ProductBoxTopology
variable {A B X C D : Type*} [TopologicalSpace A] [TopologicalSpace B]
  [TopologicalSpace X] [TopologicalSpace C] [TopologicalSpace D]

lemma unique_paths [T2Space X] (atlas : Set (OpenPartialHomeomorph X (C × D)))
    (hcover : ∀ x : X, ∃ e ∈ atlas, x ∈ e.source)
    {F G : A × B → X} (hF : IsBox atlas F) (hG : IsBox atlas G)
    {a₀ a : A} {b₀ b : B} (α : Path a₀ a) (β : Path b₀ b)
    (hbottom : ∀ a, F (a,b₀)=G (a,b₀)) (hleft : ∀ b, F (a₀,b)=G (a₀,b)) :
    F (a,b)=G (a,b) := by
  have h := unique atlas hcover (hF.precomp α.continuous β.continuous)
    (hG.precomp α.continuous β.continuous)
    (fun s ↦ by simpa using hbottom (α s))
    (fun t ↦ by simpa using hleft (β t))
  simpa using congrFun h (1,1)

lemma unique_connected [T2Space X] [PathConnectedSpace A] [PathConnectedSpace B]
    (atlas : Set (OpenPartialHomeomorph X (C × D)))
    (hcover : ∀ x : X, ∃ e ∈ atlas, x ∈ e.source)
    {F G : A × B → X} (hF : IsBox atlas F) (hG : IsBox atlas G)
    (a₀ : A) (b₀ : B)
    (hbottom : ∀ a, F (a,b₀)=G (a,b₀)) (hleft : ∀ b, F (a₀,b)=G (a₀,b)) : F=G := by
  funext p
  exact unique_paths atlas hcover hF hG (PathConnectedSpace.somePath a₀ p.1)
    (PathConnectedSpace.somePath b₀ p.2) hbottom hleft

lemma pathConnected_Icc_unit {a b : I} (hab : a ≤ b) : PathConnectedSpace (Icc a b) := by
  refine ⟨⟨⟨a,le_rfl,hab⟩⟩,fun x y ↦ ?_⟩
  have hm (t : I) : Icc.convexComb x.val y.val t ∈ Icc a b := by
    constructor
    · change (a:ℝ) ≤ (1-(t:ℝ))*(x.val:ℝ)+(t:ℝ)*(y.val:ℝ)
      have hx : (a:ℝ) ≤ (x.val:ℝ) := x.property.1
      have hy : (a:ℝ) ≤ (y.val:ℝ) := y.property.1
      nlinarith [t.property.1,t.property.2]
    · change (1-(t:ℝ))*(x.val:ℝ)+(t:ℝ)*(y.val:ℝ) ≤ (b:ℝ)
      have hx : (x.val:ℝ) ≤ (b:ℝ) := x.property.2
      have hy : (y.val:ℝ) ≤ (b:ℝ) := y.property.2
      nlinarith [t.property.1,t.property.2]
  exact ⟨⟨⟨fun t ↦ ⟨Icc.convexComb x.val y.val t,hm t⟩,
    (Icc.continuous_convexComb x.val y.val).subtype_mk _⟩,
    by ext; simp,by ext; simp⟩⟩

end ProductBoxTopology
end
end

end OAI