roseking commited on
Commit
633d70f
·
verified ·
1 Parent(s): 695bd70

Add lean source and binary files (part 76)

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. lean/OAI/Geometry/SplitTangent/GlobalProducts.lean +97 -0
  2. lean/OAI/Geometry/SplitTangent/GlobalTensorVanishing.lean +161 -0
  3. lean/OAI/Geometry/SplitTangent/GlobalTopologicalProduct.lean +128 -0
  4. lean/OAI/Geometry/SplitTangent/HolomorphicBasicTransport.lean +112 -0
  5. lean/OAI/Geometry/SplitTangent/HolomorphicCommonZeros.lean +95 -0
  6. lean/OAI/Geometry/SplitTangent/HolomorphicHypersurfaces.lean +97 -0
  7. lean/OAI/Geometry/SplitTangent/HolomorphicLeafBasic.lean +99 -0
  8. lean/OAI/Geometry/SplitTangent/HolomorphicLocalDiffeomorph.lean +156 -0
  9. lean/OAI/Geometry/SplitTangent/HolomorphicManifoldProduct.lean +177 -0
  10. lean/OAI/Geometry/SplitTangent/HolomorphicTangentMapAt.lean +42 -0
  11. lean/OAI/Geometry/SplitTangent/IntegrabilityReduction.lean +118 -0
  12. lean/OAI/Geometry/SplitTangent/IntrinsicPositiveLeaf.lean +55 -0
  13. lean/OAI/Geometry/SplitTangent/LeadingJetProduct.lean +62 -0
  14. lean/OAI/Geometry/SplitTangent/LeafAffineRelations.lean +75 -0
  15. lean/OAI/Geometry/SplitTangent/LeafAlgebraicDependence.lean +100 -0
  16. lean/OAI/Geometry/SplitTangent/LeafClosureRelations.lean +78 -0
  17. lean/OAI/Geometry/SplitTangent/LeafCompactLimits.lean +83 -0
  18. lean/OAI/Geometry/SplitTangent/LeafGermIdentity.lean +83 -0
  19. lean/OAI/Geometry/SplitTangent/LeafHomogeneousRelations.lean +75 -0
  20. lean/OAI/Geometry/SplitTangent/LeafJetAtlas.lean +99 -0
  21. lean/OAI/Geometry/SplitTangent/LeafLimitRelations.lean +105 -0
  22. lean/OAI/Geometry/SplitTangent/LeafLimitsSinglePlaque.lean +145 -0
  23. lean/OAI/Geometry/SplitTangent/LeafPlaques.lean +111 -0
  24. lean/OAI/Geometry/SplitTangent/LeafPolynomialGrowth.lean +125 -0
  25. lean/OAI/Geometry/SplitTangent/LeafProducts.lean +107 -0
  26. lean/OAI/Geometry/SplitTangent/LeafRank.lean +71 -0
  27. lean/OAI/Geometry/SplitTangent/LeafTopology.lean +54 -0
  28. lean/OAI/Geometry/SplitTangent/ManifoldJetAnalytic.lean +114 -0
  29. lean/OAI/Geometry/SplitTangent/ManifoldLeafJets.lean +205 -0
  30. lean/OAI/Geometry/SplitTangent/OpenManifold.lean +58 -0
  31. lean/OAI/Geometry/SplitTangent/OpenPositiveLeaves.lean +87 -0
  32. lean/OAI/Geometry/SplitTangent/PlaqueConnectedSets.lean +58 -0
  33. lean/OAI/Geometry/SplitTangent/PlaqueTangentImage.lean +54 -0
  34. lean/OAI/Geometry/SplitTangent/PolynomialLeafGerms.lean +96 -0
  35. lean/OAI/Geometry/SplitTangent/PolynomialRelationLocus.lean +122 -0
  36. lean/OAI/Geometry/SplitTangent/PolynomialSpecialization.lean +100 -0
  37. lean/OAI/Geometry/SplitTangent/PositiveCoverLift.lean +148 -0
  38. lean/OAI/Geometry/SplitTangent/PositiveJetFiltration.lean +103 -0
  39. lean/OAI/Geometry/SplitTangent/PositiveTangentCurves.lean +99 -0
  40. lean/OAI/Geometry/SplitTangent/ProductCriteria.lean +128 -0
  41. lean/OAI/Geometry/SplitTangent/ProjectiveHypersurfaces.lean +96 -0
  42. lean/OAI/Geometry/SplitTangent/ProjectiveLineFrame.lean +132 -0
  43. lean/OAI/Geometry/SplitTangent/ProjectiveLinearCoordinates.lean +105 -0
  44. lean/OAI/Geometry/SplitTangent/ProjectivePositiveLeaf.lean +124 -0
  45. lean/OAI/Geometry/SplitTangent/ProjectiveTangentBox.lean +84 -0
  46. lean/OAI/Geometry/SplitTangent/QuotientSubmersions.lean +99 -0
  47. lean/OAI/Geometry/SplitTangent/RCCovariantVanishing.lean +176 -0
  48. lean/OAI/Geometry/SplitTangent/RationalAccepted.lean +97 -0
  49. lean/OAI/Geometry/SplitTangent/RationalCoverLift.lean +89 -0
  50. lean/OAI/Geometry/SplitTangent/RationalCurveFrames.lean +134 -0
lean/OAI/Geometry/SplitTangent/GlobalProducts.lean ADDED
@@ -0,0 +1,97 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Mathlib
2
+ import OAI.Geometry.SplitTangent.CoveringProductBackend
3
+ import OAI.Geometry.SplitTangent.TensorVanishing
4
+ import OAI.Geometry.SplitTangent.HolomorphicLocalDiffeomorph
5
+ import OAI.Geometry.SplitTangent.Basic
6
+ import OAI.Geometry.SplitTangent.ProductCriteria
7
+
8
+ namespace OAI
9
+
10
+ /-! Global Products. -/
11
+
12
+ noncomputable section
13
+ open Set Filter Topology Bundle
14
+ open scoped Manifold ContDiff
15
+ namespace SplitTangent
16
+ universe u
17
+
18
+
19
+
20
+ def compact_analytic_diffeomorph {X Y : ComplexManifold.{u}}
21
+ [CompactSpace X.Carrier] [ConnectedSpace X.Carrier] [SimplyConnectedSpace Y.Carrier]
22
+ (f : X.Carrier → Y.Carrier)
23
+ (hf : ContMDiff (ModelWithCorners X) (ModelWithCorners Y) ω f)
24
+ (hb : ∀x, Function.Bijective (mfderiv (ModelWithCorners X) (ModelWithCorners Y) f x)) :
25
+ Diffeomorph (ModelWithCorners X) (ModelWithCorners Y) X.Carrier Y.Carrier ω := by
26
+ let : LocallyPathConnectedSpace Y.Carrier := ChartedSpace.locallyPathConnectedSpace (Model Y) Y.Carrier
27
+ have hl : IsLocalDiffeomorph (ModelWithCorners X) (ModelWithCorners Y) ω f :=
28
+ fun x => HolomorphicLocalDiffeomorph.manifold_ift (hf x) (hb x)
29
+ exact hl.diffeomorphOfBijective
30
+ (CoveringProductBackend.compact_local_homeomorph_bijective hl.isLocalHomeomorph)
31
+
32
+ namespace TangentSplitting
33
+ variable {X : ComplexManifold.{u}} (S : TangentSplitting X)
34
+
35
+
36
+
37
+ theorem compatible_product_of_quotients [CompactSpace X.Carrier] [ConnectedSpace X.Carrier]
38
+ (e : ProjectiveEmbedding X) (Y Z : ComplexManifold.{u})
39
+ [SimplyConnectedSpace Y.Carrier] [SimplyConnectedSpace Z.Carrier]
40
+ (q₁ : X.Carrier → Y.Carrier) (q₂ : X.Carrier → Z.Carrier)
41
+ (hq₁ : ContMDiff (ModelWithCorners X) (ModelWithCorners Y) ω q₁)
42
+ (hq₂ : ContMDiff (ModelWithCorners X) (ModelWithCorners Z) ω q₂)
43
+ (hs₁ : ∀x, Function.Surjective (mfderiv (ModelWithCorners X) (ModelWithCorners Y) q₁ x))
44
+ (hs₂ : ∀x, Function.Surjective (mfderiv (ModelWithCorners X) (ModelWithCorners Z) q₂ x))
45
+ (hk₁ : ∀x, LinearMap.ker (mfderiv (ModelWithCorners X) (ModelWithCorners Y) q₁ x).toLinearMap=
46
+ S.second x)
47
+ (hk₂ : ∀x, LinearMap.ker (mfderiv (ModelWithCorners X) (ModelWithCorners Z) q₂ x).toLinearMap=
48
+ S.first x) : HasCompatibleProjectiveProduct X S := by
49
+ let : ChartedSpace (Model Y × Model Z) (Y.Carrier × Z.Carrier) :=
50
+ prodChartedSpace (Model Y) Y.Carrier (Model Z) Z.Carrier
51
+ let : IsManifold 𝓘(ℂ,Model Y × Model Z) ω (Y.Carrier × Z.Carrier) := by
52
+ rw [modelWithCornersSelf_prod]
53
+ exact IsManifold.prod Y.Carrier Z.Carrier
54
+ let q : X.Carrier → Y.Carrier × Z.Carrier := fun x => (q₁ x,q₂ x)
55
+ let I := (ModelWithCorners Y).prod (ModelWithCorners Z)
56
+ have hq : ContMDiff (ModelWithCorners X) I ω q := hq₁.prodMk hq₂
57
+ have hd (x : X.Carrier) : mfderiv (ModelWithCorners X) I q x=
58
+ (mfderiv (ModelWithCorners X) (ModelWithCorners Y) q₁ x).prod
59
+ (mfderiv (ModelWithCorners X) (ModelWithCorners Z) q₂ x) :=
60
+ mfderiv_prodMk ((hq₁ x).mdifferentiableAt (by simp)) ((hq₂ x).mdifferentiableAt (by simp))
61
+ have hb (x : X.Carrier) : Function.Bijective (mfderiv (ModelWithCorners X) I q x) := by
62
+ rw [hd]
63
+ exact HolomorphicFrobenius.complementary_quotients_bijective
64
+ (E := Model X) (F := Model Y) (G := Model Z) (S.projector x)
65
+ (S.idempotent x) _ _ (hs₁ x) (hs₂ x) (hk₁ x) (hk₂ x)
66
+ let : SimplyConnectedSpace (Y.Carrier × Z.Carrier) :=
67
+ CoveringProductBackend.simplyConnected_product
68
+ let : LocallyPathConnectedSpace Y.Carrier := ChartedSpace.locallyPathConnectedSpace (Model Y) Y.Carrier
69
+ let : LocallyPathConnectedSpace Z.Carrier := ChartedSpace.locallyPathConnectedSpace (Model Z) Z.Carrier
70
+ have hl : IsLocalDiffeomorph (ModelWithCorners X) I ω q := by
71
+ intro x
72
+ have hI : I=𝓘(ℂ,Model Y × Model Z) := modelWithCornersSelf_prod.symm
73
+ rw [hI] at hq hb ⊢
74
+ exact HolomorphicLocalDiffeomorph.manifold_ift (hq x) (hb x)
75
+ let f : Diffeomorph (ModelWithCorners X) I X.Carrier (Y.Carrier × Z.Carrier) ω :=
76
+ hl.diffeomorphOfBijective
77
+ (CoveringProductBackend.compact_local_homeomorph_bijective hl.isLocalHomeomorph)
78
+ have hf : (f : X.Carrier → Y.Carrier × Z.Carrier)=q := rfl
79
+ obtain ⟨hY,hZ⟩ := isProjective_factors e f
80
+ refine ⟨Y,Z,hY,hZ,f,?_⟩
81
+ intro x
82
+ change Submodule.map (mfderiv (ModelWithCorners X) I q x).toLinearMap (S.first x)=_ ∧
83
+ Submodule.map (mfderiv (ModelWithCorners X) I q x).toLinearMap (S.second x)=_
84
+ rw [hd]
85
+ exact ⟨HolomorphicFrobenius.image_range_projector_of_quotients
86
+ (E := Model X) (F := Model Y) (G := Model Z) (S.projector x)
87
+ (S.idempotent x) _ _ (hs₁ x) (hk₁ x) (hk₂ x),
88
+ HolomorphicFrobenius.image_kernel_projector_of_quotients
89
+ (E := Model X) (F := Model Y) (G := Model Z) (S.projector x)
90
+ (S.idempotent x) _ _ (hs₂ x) (hk₁ x) (hk₂ x)⟩
91
+
92
+ end TangentSplitting
93
+ end SplitTangent
94
+
95
+ end
96
+
97
+ end OAI
lean/OAI/Geometry/SplitTangent/GlobalTensorVanishing.lean ADDED
@@ -0,0 +1,161 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Mathlib
2
+ import OAI.Geometry.SplitTangent.TensorVanishing
3
+ import OAI.Geometry.SplitTangent.Basic
4
+ import OAI.Geometry.SplitTangent.PositiveTangentCurves
5
+ import OAI.Geometry.SplitTangent.FormalBoxes
6
+ import OAI.Geometry.SplitTangent.RationalTrivialization
7
+ import OAI.Geometry.SplitTangent.TwistedCurveTensor
8
+
9
+ namespace OAI
10
+
11
+ /-! Global Tensor Vanishing. -/
12
+
13
+ noncomputable section
14
+ open Set Filter Topology Bundle
15
+ open scoped Manifold ContDiff
16
+ universe u
17
+ namespace SplitTangent
18
+
19
+ lemma tangentTensorCoordinates_zero_iff {X : ComplexManifold.{u}} {m : ℕ}
20
+ {g : ℂ → X.Carrier} {A : ℂ → TangentTensor X m} {z₀ z : ℂ}
21
+ (hz : g z∈(trivializationAt (Model X) (Tangent X) (g z₀)).baseSet) :
22
+ tangentTensorCoordinates g A z₀ z=0 ↔ A z=0 := by
23
+ let t := trivializationAt (Model X) (Tangent X) (g z₀)
24
+ constructor
25
+ · intro h
26
+ apply ContinuousMultilinearMap.ext
27
+ intro v
28
+ have h' := congrArg (fun B : TangentTensor X m => B (fun i => t.continuousLinearMapAt ℂ (g z) (v i))) h
29
+ change A z (fun i => t.symmL ℂ (g z) (t.continuousLinearMapAt ℂ (g z) (v i)))=0 at h'
30
+ have he : (fun i => t.symmL ℂ (g z)
31
+ (t.continuousLinearMapAt ℂ (g z) (v i))) = v := by
32
+ funext i
33
+ exact t.symmL_continuousLinearMapAt hz (v i)
34
+ rw [he] at h'
35
+ exact h'
36
+ · intro h
37
+ apply ContinuousMultilinearMap.ext
38
+ intro v
39
+ simp [tangentTensorCoordinates,h]
40
+ rfl
41
+
42
+ namespace TwistedCurveTensor
43
+ variable {X : ComplexManifold.{u}} {g : RationalCurve X} {d m : ℕ}
44
+
45
+
46
+
47
+ theorem finite_zero_of_eventually {d : ℤ} (A : TwistedCurveTensor g d m)
48
+ {z₀ : ℂ} (h : ∀ᶠz in 𝓝 z₀,A.finite z=0) : ∀z,A.finite z=0 := by
49
+ have hall : (Set.univ : Set ℂ)⊆{z | A.finite z=0} := by
50
+ apply AnalyticContinuation.subset_of_local_analytic_equations (F := TangentTensor X m) isPreconnected_univ
51
+ · intro z hz
52
+ refine ⟨tangentTensorCoordinates g.finite A.finite z,A.finite_holomorphic z,?_⟩
53
+ let t := trivializationAt (Model X) (Tangent X) (g.finite z)
54
+ have hbase : g.finite z∈t.baseSet := FiberBundle.mem_baseSet_trivializationAt' _
55
+ filter_upwards [g.finite_holomorphic.continuous.continuousAt.preimage_mem_nhds
56
+ (t.open_baseSet.mem_nhds hbase)] with w hw
57
+ exact (tangentTensorCoordinates_zero_iff hw).symm
58
+ · exact ⟨z₀,Set.mem_univ _,mem_interior_iff_mem_nhds.mpr h⟩
59
+ exact fun z => hall (Set.mem_univ z)
60
+
61
+
62
+
63
+ theorem finite_zero_of_pointedGenerated (A : TwistedCurveTensor g (d : ℤ) m)
64
+ (S : TangentSplitting X) (hg : PointedGenerated g S.first) (hdm : d < m)
65
+ (hSupport : ∀z v,A.finite z (fun i => S.projector (g.finite z) (v i))=A.finite z v) :
66
+ ∀z,A.finite z=0 := by
67
+ classical
68
+ let t := trivializationAt (Model X) (Tangent X) (g.finite 1)
69
+ let c := chartAt (Model X) (g.finite 1)
70
+ let b := Pi.basisFun ℂ (Fin X.dim)
71
+ let a (j : Fin X.dim) := S.projector (g.finite 1) (t.symmL ℂ (g.finite 1) (b j))
72
+ have ha : ∀j,a j∈S.first (g.finite 1) := fun j => ⟨_,rfl⟩
73
+ choose σ hσf hσi hσ0 hσ1 using fun j => hg (a j) (ha j)
74
+ let w (j : Fin X.dim) (z : ℂ) :=
75
+ (t (⟨g.finite z,(σ j).finite z⟩ : TangentBundle (ModelWithCorners X) X.Carrier)).2
76
+ let M (z : ℂ) : Model X →L[ℂ] Model X :=
77
+ ∑j,(ContinuousLinearMap.proj j).smulRight (w j z)
78
+ let P (z : ℂ) := S.coordinateProjector (g.finite 1) (c (g.finite z))
79
+ have hMb : ∀z j,M z (b j)=w j z := by
80
+ intro z j
81
+ simp [M,b,Pi.basisFun_apply]
82
+ have hM : ContinuousAt M 1 := by
83
+ apply tendsto_finsetSum
84
+ intro j hj
85
+ exact (ContinuousLinearMap.smulRightL ℂ (Model X) (Model X)
86
+ (ContinuousLinearMap.proj j)).continuous.continuousAt.comp
87
+ (section_coordinates_analytic (σ j).finite_holomorphic 1).continuousAt
88
+ have hP : ContinuousAt P 1 := by
89
+ have hc : AnalyticAt ℂ (c ∘ g.finite) (1 : ℂ) :=
90
+ TangentSplitting.coordinateCurve_analytic g.finite_holomorphic (g.finite 1) (mem_chart_source _ _)
91
+ have hp := (S.coordinateProjector_analytic (g.finite 1) _
92
+ (c.map_source (mem_chart_source _ _))).comp (f := c ∘ g.finite) (x := (1 : ℂ)) hc
93
+ exact hp.continuousAt
94
+ have hbase : ∀ᶠz in 𝓝 (1 : ℂ),g.finite z∈t.baseSet :=
95
+ g.finite_holomorphic.continuous.continuousAt.preimage_mem_nhds
96
+ (t.open_baseSet.mem_nhds (FiberBundle.mem_baseSet_trivializationAt' _))
97
+ have hPw : ∀z,g.finite z∈t.baseSet → ∀j,P z (w j z)=w j z := by
98
+ intro z hz j
99
+ change S.coordinateProjector (g.finite 1) (c (g.finite z))
100
+ (t (⟨g.finite z,(σ j).finite z⟩ : TangentBundle (ModelWithCorners X) X.Carrier)).2=_
101
+ rw [← t.continuousLinearMapAt_apply_of_mem ℂ hz,S.coordinateProjector_fixed _ hz,
102
+ (S.mem_first_iff _ _).mp (hσf j z)]
103
+ exact t.continuousLinearMapAt_apply_of_mem ℂ hz _
104
+ have hx : M 1=P 1 := by
105
+ apply ContinuousLinearMap.coe_injective
106
+ apply b.ext
107
+ intro j
108
+ change M 1 (b j)=P 1 (b j)
109
+ rw [hMb]
110
+ dsimp only [w]
111
+ rw [hσ1]
112
+ change (t (⟨g.finite 1,S.projector (g.finite 1) (t.symmL ℂ (g.finite 1) (b j))⟩ :
113
+ TangentBundle (ModelWithCorners X) X.Carrier)).2=P 1 (b j)
114
+ rw [← t.continuousLinearMapAt_apply_of_mem ℂ (FiberBundle.mem_baseSet_trivializationAt' _)]
115
+ dsimp only [P,TangentSplitting.coordinateProjector]
116
+ rw [c.left_inv (mem_chart_source _ _)]
117
+ rfl
118
+ have hPP : ∀ᶠz in 𝓝 (1 : ℂ),∀v,P z (P z v)=P z v := by
119
+ filter_upwards [hbase] with z hz
120
+ exact S.coordinateProjector_idempotent _ (c.map_source hz)
121
+ have hPM : ∀ᶠz in 𝓝 (1 : ℂ),∀v,P z (M z v)=M z v := by
122
+ filter_upwards [hbase] with z hz
123
+ intro v
124
+ simp only [M,sum_apply,ContinuousLinearMap.smulRight_apply,map_sum,map_smul,
125
+ hPw z hz]
126
+ have hRange := ProjectorSpanning.eventually_range_eq hP hM hx hPP hPM
127
+ apply A.finite_zero_of_eventually (z₀ := 1)
128
+ filter_upwards [hbase,hRange] with z hz hRange
129
+ let B := tangentTensorCoordinates g.finite A.finite 1 z
130
+ have hB : ∀j : Fin m → Fin X.dim,B (fun i => M z (b (j i)))=0 := by
131
+ intro j
132
+ have hc := A.contract_zero hdm (fun i => σ (j i)) (fun i => hσ0 (j i))
133
+ have hv := congrArg (fun s : DiagonalRationality.lineSections (d : ℤ) => s.val.1 z) hc
134
+ change A.finite z (fun i => (σ (j i)).finite z)=0 at hv
135
+ have he (i : Fin m) : t.symmL ℂ (g.finite z) (M z (b (j i))) =
136
+ (σ (j i)).finite z := by
137
+ rw [hMb]
138
+ change t.symmL ℂ (g.finite z) (t (⟨g.finite z,(σ (j i)).finite z⟩ :
139
+ TangentBundle (ModelWithCorners X) X.Carrier)).2=_
140
+ rw [← t.continuousLinearMapAt_apply_of_mem ℂ hz,t.symmL_continuousLinearMapAt hz]
141
+ change A.finite z (fun i => t.symmL ℂ (g.finite z) (M z (b (j i)))) = 0
142
+ exact (congrArg (A.finite z) (funext he)).trans hv
143
+ apply ContinuousMultilinearMap.ext
144
+ intro v
145
+ rw [← hSupport z v]
146
+ have hv : ∀i,t.continuousLinearMapAt ℂ (g.finite z) (S.projector (g.finite z) (v i))∈
147
+ LinearMap.range (M z).toLinearMap := by
148
+ intro i
149
+ rw [hRange]
150
+ exact ⟨t.continuousLinearMapAt ℂ (g.finite z) (v i),S.coordinateProjector_fixed _ hz _⟩
151
+ have h := ProjectorSpanning.multilinear_zero_of_basis_range (M z) B hB _ hv
152
+ change A.finite z (fun i => t.symmL ℂ (g.finite z)
153
+ (t.continuousLinearMapAt ℂ (g.finite z) (S.projector (g.finite z) (v i))))=0 at h
154
+ simpa only [t.symmL_continuousLinearMapAt hz,zero_apply] using h
155
+
156
+ end TwistedCurveTensor
157
+ end SplitTangent
158
+
159
+ end
160
+
161
+ end OAI
lean/OAI/Geometry/SplitTangent/GlobalTopologicalProduct.lean ADDED
@@ -0,0 +1,128 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Mathlib
2
+ import OAI.Geometry.SplitTangent.TensorVanishing
3
+ import OAI.Geometry.SplitTangent.LeafJetAtlas
4
+ import OAI.Geometry.SplitTangent.Basic
5
+ import OAI.Geometry.SplitTangent.SwappedProductChart
6
+ import OAI.Geometry.SplitTangent.CompactLeafQuotient
7
+ import OAI.Geometry.SplitTangent.ArbitraryPlaqueLeaves
8
+ import OAI.Geometry.SplitTangent.ComplementaryLeafIntersections
9
+
10
+ namespace OAI
11
+
12
+ /-! Global Topological Product. -/
13
+
14
+ noncomputable section
15
+ open Set Filter Topology TopologicalSpace
16
+ open scoped Manifold ContDiff
17
+ universe u
18
+ namespace SplitTangent.LeafJetAtlas
19
+ variable {X : ComplexManifold.{u}} {S : TangentSplitting X}
20
+ [CompactSpace X.Carrier] [ConnectedSpace X.Carrier]
21
+ (L : LeafJetAtlas S) (M : LeafJetAtlas S.swap) (e : ProjectiveEmbedding X)
22
+ (hRC : RationallyConnected e) (hdim : 0<X.dim)
23
+
24
+ def leafPair (x : X.Carrier) :
25
+ L.CompactLeafSpace e hRC hdim × M.CompactLeafSpace e hRC hdim :=
26
+ (L.leafQuotient e hRC hdim x,M.leafQuotient e hRC hdim x)
27
+
28
+ lemma continuous_leafPair : Continuous (L.leafPair M e hRC hdim) :=
29
+ (L.continuous_leafQuotient e hRC hdim).prodMk (M.continuous_leafQuotient e hRC hdim)
30
+
31
+ lemma leafPair_rectangle_image
32
+ {A B : Type*} [NormedAddCommGroup A] [NormedSpace ℂ A] [CompleteSpace A]
33
+ [NormedAddCommGroup B] [NormedSpace ℂ B] [CompleteSpace B]
34
+ (P : AlignedProductChart S A B) {U : Set A} {V : Set B}
35
+ (hUc : IsPreconnected U) (hVc : IsPreconnected V)
36
+ (hrect : U ×ˢ V ⊆ P.chart.target) :
37
+ L.leafPair M e hRC hdim '' (P.chart.symm '' (U ×ˢ V))=
38
+ (L.leafQuotient e hRC hdim '' (P.chart.symm '' (U ×ˢ V))) ×ˢ
39
+ (M.leafQuotient e hRC hdim '' (P.chart.symm '' (U ×ˢ V))) := by
40
+ ext t
41
+ constructor
42
+ · rintro ⟨x,hx,rfl⟩
43
+ exact ⟨⟨x,hx,rfl⟩,⟨x,hx,rfl⟩⟩
44
+ · rintro ⟨⟨x,⟨⟨a,b⟩,⟨ha,hb⟩,rfl⟩,hx⟩,⟨y,⟨⟨c,d⟩,⟨hc,hd⟩,rfl⟩,hy⟩⟩
45
+ refine ⟨P.chart.symm (c,b),⟨(c,b),⟨hc,hb⟩,rfl⟩,Prod.ext ?_ ?_⟩
46
+ · change L.leafQuotient e hRC hdim (P.chart.symm (c,b))=t.1
47
+ rw [←hx]
48
+ apply (L.leafQuotient_eq_iff e hRC hdim _ _).mpr
49
+ exact L.arbitrary_plaque_mem_leaf P hUc (fun k hk => hrect ⟨hk,hb⟩) hc ha
50
+ · change M.leafQuotient e hRC hdim (P.chart.symm (c,b))=t.2
51
+ rw [←hy]
52
+ apply (M.leafQuotient_eq_iff e hRC hdim _ _).mpr
53
+ exact M.arbitrary_plaque_mem_leaf P.swap (b := c) hVc (fun k hk => by
54
+ rw [AlignedProductChart.swap_target]
55
+ change (c,k)∈P.chart.target
56
+ exact hrect ⟨hc,hk⟩) hb hd
57
+
58
+ lemma leafPair_rectangle_image_open
59
+ {A B : Type*} [NormedAddCommGroup A] [NormedSpace ℂ A] [CompleteSpace A]
60
+ [NormedAddCommGroup B] [NormedSpace ℂ B] [CompleteSpace B]
61
+ (P : AlignedProductChart S A B) {U : Set A} {V : Set B}
62
+ (hU : IsOpen U) (hUc : IsPreconnected U) (hV : IsOpen V) (hVc : IsPreconnected V)
63
+ (hrect : U ×ˢ V ⊆ P.chart.target) :
64
+ IsOpen (L.leafPair M e hRC hdim '' (P.chart.symm '' (U ×ˢ V))) := by
65
+ rw [L.leafPair_rectangle_image M e hRC hdim P hUc hVc hrect]
66
+ have hopen := P.chart.symm.isOpen_image_of_subset_source (hU.prod hV) hrect
67
+ exact (L.isOpenMap_leafQuotient e hRC hdim _ hopen).prod
68
+ (M.isOpenMap_leafQuotient e hRC hdim _ hopen)
69
+
70
+ lemma isOpenMap_leafPair : IsOpenMap (L.leafPair M e hRC hdim) := by
71
+ intro W hW
72
+ apply isOpen_iff_mem_nhds.mpr
73
+ rintro q ⟨x,hx,rfl⟩
74
+ let P := L.chart x
75
+ have hxs := L.mem_source x
76
+ have hxt := P.chart.map_source hxs
77
+ have hN : P.chart.target ∩ P.chart.symm ⁻¹' W∈𝓝 (P.chart x) :=
78
+ Filter.inter_mem (P.chart.open_target.mem_nhds hxt)
79
+ ((P.chart.symm.continuousAt hxt).preimage_mem_nhds (by
80
+ rw [P.chart.left_inv hxs]
81
+ exact hW.mem_nhds hx))
82
+ obtain ⟨r,hr,hsub⟩ := Metric.mem_nhds_iff.mp hN
83
+ let U := Metric.ball (P.chart x).1 r
84
+ let V := Metric.ball (P.chart x).2 r
85
+ have hrect : U ×ˢ V ⊆ P.chart.target ∩ P.chart.symm ⁻¹' W := by
86
+ intro p hp
87
+ apply hsub
88
+ simpa only [U,V,Set.mem_prod,Metric.mem_ball,Prod.dist_eq,max_lt_iff] using hp
89
+ have hopen := L.leafPair_rectangle_image_open M e hRC hdim P Metric.isOpen_ball
90
+ (convex_ball _ _).isPreconnected Metric.isOpen_ball (convex_ball _ _).isPreconnected
91
+ (fun p hp => (hrect hp).1)
92
+ have hxin : x∈P.chart.symm '' (U ×ˢ V) :=
93
+ ⟨P.chart x,⟨Metric.mem_ball_self hr,Metric.mem_ball_self hr⟩,P.chart.left_inv hxs⟩
94
+ apply Filter.mem_of_superset (hopen.mem_nhds ⟨x,hxin,rfl⟩)
95
+ rintro q ⟨y,⟨p,hp,rfl⟩,rfl⟩
96
+ exact ⟨P.chart.symm p,(hrect hp).2,rfl⟩
97
+
98
+ lemma surjective_leafPair : Function.Surjective (L.leafPair M e hRC hdim) := by
99
+ have hc : IsClopen (range (L.leafPair M e hRC hdim)) :=
100
+ ⟨(isCompact_range (L.continuous_leafPair M e hRC hdim)).isClosed,
101
+ by simpa only [Set.image_univ] using L.isOpenMap_leafPair M e hRC hdim Set.univ isOpen_univ⟩
102
+ exact Set.range_eq_univ.mp (hc.eq_univ (Set.range_nonempty _))
103
+
104
+ lemma leafPair_fiber_eq (x : X.Carrier) :
105
+ {y | L.leafPair M e hRC hdim y=L.leafPair M e hRC hdim x}=L.leaf x ∩ M.leaf x := by
106
+ ext y
107
+ change ((L.leafQuotient e hRC hdim y,M.leafQuotient e hRC hdim y)=
108
+ (L.leafQuotient e hRC hdim x,M.leafQuotient e hRC hdim x)) ↔ _
109
+ rw [Prod.mk.injEq]
110
+ constructor
111
+ · intro h
112
+ exact ⟨(L.leafQuotient_eq_iff e hRC hdim x y).mp h.1.symm,
113
+ (M.leafQuotient_eq_iff e hRC hdim x y).mp h.2.symm⟩
114
+ · intro h
115
+ exact ⟨((L.leafQuotient_eq_iff e hRC hdim x y).mpr h.1).symm,
116
+ ((M.leafQuotient_eq_iff e hRC hdim x y).mpr h.2).symm⟩
117
+
118
+ lemma leafPair_fiber_finite (q : L.CompactLeafSpace e hRC hdim × M.CompactLeafSpace e hRC hdim) :
119
+ {x | L.leafPair M e hRC hdim x=q}.Finite := by
120
+ obtain ⟨x,rfl⟩ := L.surjective_leafPair M e hRC hdim q
121
+ rw [L.leafPair_fiber_eq M e hRC hdim x]
122
+ exact L.complementary_leaves_finite M e hRC hdim x x
123
+
124
+ end SplitTangent.LeafJetAtlas
125
+
126
+ end
127
+
128
+ end OAI
lean/OAI/Geometry/SplitTangent/HolomorphicBasicTransport.lean ADDED
@@ -0,0 +1,112 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Mathlib
2
+ import OAI.Geometry.SplitTangent.TensorVanishing
3
+ import OAI.Geometry.SplitTangent.LeafJetAtlas
4
+ import OAI.Geometry.SplitTangent.Basic
5
+ import OAI.Geometry.SplitTangent.LeafPlaques
6
+ import OAI.Geometry.SplitTangent.ArbitraryPlaqueLeaves
7
+
8
+ namespace OAI
9
+
10
+ /-! Holomorphic Basic Transport. -/
11
+
12
+ noncomputable section
13
+ open Set Filter Topology
14
+ open scoped Manifold ContDiff
15
+ universe u
16
+ namespace SplitTangent.LeafJetAtlas
17
+ variable {X : ComplexManifold.{u}} {S : TangentSplitting X} (L : LeafJetAtlas S)
18
+ {E : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E]
19
+
20
+
21
+ def Basic (f : X.Carrier → E) : Prop := ∀x y,y∈L.leaf x → f x=f y
22
+
23
+ variable {A B : Type*} [NormedAddCommGroup A] [NormedSpace ℂ A] [CompleteSpace A]
24
+ [NormedAddCommGroup B] [NormedSpace ℂ B] [CompleteSpace B]
25
+
26
+ lemma basic_contMDiffAt_rectangle (P : AlignedProductChart S A B)
27
+ {U : Set A} {V : Set B} (hU : IsOpen U) (hUc : IsPreconnected U) (hV : IsOpen V)
28
+ (hrect : U ×ˢ V⊆P.chart.target) {a c : A} {b : B}
29
+ (ha : a∈U) (hc : c∈U) (hb : b∈V)
30
+ {f : X.Carrier → E} (hbasic : L.Basic f)
31
+ (hf : ContMDiffAt (ModelWithCorners X) 𝓘(ℂ,E) ω f (P.chart.symm (a,b))) :
32
+ ContMDiffAt (ModelWithCorners X) 𝓘(ℂ,E) ω f (P.chart.symm (c,b)) := by
33
+ let x := P.chart.symm (c,b)
34
+ let H : X.Carrier → X.Carrier := fun y => P.chart.symm (a,(P.chart y).2)
35
+ have hxt : (c,b)∈P.chart.target := hrect ⟨hc,hb⟩
36
+ have hxs : x∈P.chart.source := P.chart.map_target hxt
37
+ have hx : P.chart x=(c,b) := P.chart.right_inv hxt
38
+ have hN : ContMDiffAt (ModelWithCorners X) 𝓘(ℂ,A × B) ω
39
+ (fun y => (a,(P.chart y).2)) x :=
40
+ contMDiffAt_const.prodMk_space
41
+ ((ContinuousLinearMap.snd ℂ A B).contDiff.contMDiff.contMDiffAt.comp x
42
+ (P.holomorphicAt hxs))
43
+ have hH : ContMDiffAt (ModelWithCorners X) (ModelWithCorners X) ω H x := by
44
+ apply ContMDiffAt.comp x _ hN
45
+ apply P.inverse_holomorphicAt
46
+ simpa only [hx] using hrect ⟨ha,hb⟩
47
+ have hHx : H x=P.chart.symm (a,b) := by simp only [H,hx]
48
+ have hcomp : ContMDiffAt (ModelWithCorners X) 𝓘(ℂ,E) ω (f ∘ H) x := by
49
+ apply ContMDiffAt.comp x _ hH
50
+ rwa [hHx]
51
+ apply hcomp.congr_of_eventuallyEq
52
+ have hnear : ∀ᶠ y in 𝓝 x,y∈P.chart.source ∧ P.chart y∈U ×ˢ V :=
53
+ Filter.Eventually.and (P.chart.open_source.mem_nhds hxs)
54
+ ((P.chart.continuousAt hxs).preimage_mem_nhds (by
55
+ rw [hx]
56
+ exact (hU.prod hV).mem_nhds ⟨hc,hb⟩))
57
+ filter_upwards [hnear] with y hy
58
+ change f y=f (H y)
59
+ have hmem := L.arbitrary_plaque_mem_leaf P hUc
60
+ (fun k hk => hrect ⟨hk,hy.2.2⟩) hy.2.1 ha
61
+ have he : P.chart.symm ((P.chart y).1,(P.chart y).2)=y := P.chart.left_inv hy.1
62
+ rw [he] at hmem
63
+ exact hbasic y _ hmem
64
+
65
+ lemma basic_contMDiffAt_local (P : AlignedProductChart S A B)
66
+ {a : A} {b : B} (hT : (a,b)∈P.chart.target)
67
+ {f : X.Carrier → E} (hbasic : L.Basic f) :
68
+ ∀ᶠ c in 𝓝 a,
69
+ (ContMDiffAt (ModelWithCorners X) 𝓘(ℂ,E) ω f (P.chart.symm (c,b)) ↔
70
+ ContMDiffAt (ModelWithCorners X) 𝓘(ℂ,E) ω f (P.chart.symm (a,b))) := by
71
+ obtain ⟨U,V,hU,hUc,hV,hUV,hrect⟩ := UniformPlaqueSlices.connected_rectangle
72
+ (P.chart.open_target.mem_nhds hT)
73
+ filter_upwards [hU.mem_nhds hUV.1] with c hc
74
+ exact ⟨L.basic_contMDiffAt_rectangle P hU hUc hV hrect hc hUV.1 hUV.2 hbasic,
75
+ L.basic_contMDiffAt_rectangle P hU hUc hV hrect hUV.1 hc hUV.2 hbasic⟩
76
+
77
+ lemma basic_contMDiffAt_plaque (P : AlignedProductChart S A B)
78
+ {U : Set A} {b : B} (hUc : IsPreconnected U) (hT : ∀a∈U,(a,b)∈P.chart.target)
79
+ {a c : A} (ha : a∈U) (hc : c∈U)
80
+ {f : X.Carrier → E} (hbasic : L.Basic f) :
81
+ ContMDiffAt (ModelWithCorners X) 𝓘(ℂ,E) ω f (P.chart.symm (a,b)) ↔
82
+ ContMDiffAt (ModelWithCorners X) 𝓘(ℂ,E) ω f (P.chart.symm (c,b)) := by
83
+ let : PreconnectedSpace U := isPreconnected_iff_preconnectedSpace.mp hUc
84
+ let p : U → Prop := fun t => ContMDiffAt (ModelWithCorners X) 𝓘(ℂ,E) ω f (P.chart.symm (t.val,b))
85
+ have hp : IsLocallyConstant p := by
86
+ apply (IsLocallyConstant.iff_eventually_eq _).mpr
87
+ intro t
88
+ filter_upwards [continuous_subtype_val.continuousAt.eventually
89
+ (L.basic_contMDiffAt_local P (hT t.val t.property) hbasic)] with v hv
90
+ exact propext hv
91
+ exact Iff.of_eq (hp.apply_eq_of_preconnectedSpace ⟨a,ha⟩ ⟨c,hc⟩)
92
+
93
+ lemma basic_contMDiffAt_related {f : X.Carrier → E} (hbasic : L.Basic f)
94
+ {x y : X.Carrier} (hxy : L.plaques.Related x y) :
95
+ ContMDiffAt (ModelWithCorners X) 𝓘(ℂ,E) ω f x ↔
96
+ ContMDiffAt (ModelWithCorners X) 𝓘(ℂ,E) ω f y := by
97
+ obtain ⟨i,b,U,hU,hT,a,ha,c,hc,rfl,rfl⟩ := hxy
98
+ exact L.basic_contMDiffAt_plaque (L.chart i) hU hT ha hc hbasic
99
+
100
+ lemma basic_contMDiffAt_leaf {f : X.Carrier → E} (hbasic : L.Basic f)
101
+ {x y : X.Carrier} (hxy : y∈L.leaf x) :
102
+ ContMDiffAt (ModelWithCorners X) 𝓘(ℂ,E) ω f x ↔
103
+ ContMDiffAt (ModelWithCorners X) 𝓘(ℂ,E) ω f y := by
104
+ induction hxy with
105
+ | refl => exact Iff.rfl
106
+ | @tail y z _ hyz ih => exact ih.trans (L.basic_contMDiffAt_related hbasic hyz)
107
+
108
+ end SplitTangent.LeafJetAtlas
109
+
110
+ end
111
+
112
+ end OAI
lean/OAI/Geometry/SplitTangent/HolomorphicCommonZeros.lean ADDED
@@ -0,0 +1,95 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Mathlib
2
+ import OAI.Geometry.SplitTangent.LeafJetAtlas
3
+ import OAI.Geometry.SplitTangent.Basic
4
+
5
+ namespace OAI
6
+
7
+ /-! Holomorphic Common Zeros. -/
8
+
9
+ noncomputable section
10
+ open Set Filter Topology
11
+ open scoped Manifold ContDiff
12
+ universe u
13
+ namespace SplitTangent
14
+
15
+ def LocallyHolomorphicCommonZeros (X : ComplexManifold.{u}) (Z : Set X.Carrier) : Prop :=
16
+ ∀x,∃U : Set X.Carrier,IsOpen U ∧ x∈U ∧ ∃𝒜 : Set (X.Carrier → ℂ),
17
+ (∀f∈𝒜,ContMDiffOn (ModelWithCorners X) 𝓘(ℂ,ℂ) ω f U) ∧
18
+ ∀y∈U,y∈Z ↔ ∀f∈𝒜,f y=0
19
+
20
+ lemma LocallyHolomorphicCommonZeros.isClosed {X : ComplexManifold.{u}} {Z : Set X.Carrier}
21
+ (h : LocallyHolomorphicCommonZeros X Z) : IsClosed Z := by
22
+ rw [←isOpen_compl_iff]
23
+ apply isOpen_iff_mem_nhds.mpr
24
+ intro x hx
25
+ obtain ⟨U,hU,hxU,𝒜,hf,he⟩ := h x
26
+ have hn : ¬∀f∈𝒜,f x=0 := fun hz => hx ((he x hxU).mpr hz)
27
+ push Not at hn
28
+ obtain ⟨f,hfA,hfx⟩ := hn
29
+ have hn' := ((hf f hfA).contMDiffAt (hU.mem_nhds hxU)).continuousAt.eventually_ne hfx
30
+ filter_upwards [hn',hU.mem_nhds hxU] with y hy hyU
31
+ exact fun hz => hy ((he y hyU).mp hz f hfA)
32
+
33
+ namespace LeafJetAtlas
34
+ variable {X : ComplexManifold.{u}} {S : TangentSplitting X} (L : LeafJetAtlas S)
35
+
36
+ include L in
37
+ lemma commonZeros_closure_interior {Z : Set X.Carrier}
38
+ (hZ : LocallyHolomorphicCommonZeros X Z) : closure (interior Z) ⊆ interior Z := by
39
+ intro x hx
40
+ obtain ⟨U,hU,hxU,𝒜,hf,he⟩ := hZ x
41
+ let P := L.chart x
42
+ let a := P.chart x
43
+ have hxs : x∈P.chart.source := L.mem_source x
44
+ have hat : a∈P.chart.target := P.chart.map_source hxs
45
+ have hUx : P.chart.symm ⁻¹' U∈𝓝 a := by
46
+ apply (P.chart.symm.continuousAt hat).preimage_mem_nhds
47
+ simpa only [a,P.chart.left_inv hxs] using hU.mem_nhds hxU
48
+ obtain ⟨r,hr,hrsub⟩ := Metric.mem_nhds_iff.mp
49
+ (Filter.inter_mem (P.chart.open_target.mem_nhds hat) hUx)
50
+ have hN : ∀ᶠy in 𝓝 x,y∈P.chart.source ∧ P.chart y∈Metric.ball a r :=
51
+ Filter.Eventually.and (P.chart.open_source.mem_nhds hxs)
52
+ ((P.chart.continuousAt hxs).preimage_mem_nhds (Metric.ball_mem_nhds a hr))
53
+ obtain ⟨y,hy,hys,hyr⟩ := ((mem_closure_iff_frequently.mp hx).and_eventually hN).exists
54
+ have haF (f : X.Carrier → ℂ) (hfA : f∈𝒜) :
55
+ AnalyticOnNhd ℂ (f ∘ P.chart.symm) (Metric.ball a r) := by
56
+ intro b hb
57
+ exact (((hf f hfA).contMDiffAt (hU.mem_nhds (hrsub hb).2)).comp b
58
+ (P.inverse_holomorphicAt (hrsub hb).1)).contDiffAt.analyticAt
59
+ have hzF (f : X.Carrier → ℂ) (hfA : f∈𝒜) :
60
+ (f ∘ P.chart.symm) =ᶠ[𝓝 (P.chart y)] 0 := by
61
+ have hc := P.chart.symm.continuousAt (P.chart.map_source hys)
62
+ have hzN : P.chart.symm ⁻¹' interior Z∈𝓝 (P.chart y) := by
63
+ apply hc.preimage_mem_nhds
64
+ simpa only [P.chart.left_inv hys] using isOpen_interior.mem_nhds hy
65
+ filter_upwards [hzN,Metric.isOpen_ball.mem_nhds hyr] with b hb hbr
66
+ exact (he _ (hrsub hbr).2).mp (interior_subset hb) f hfA
67
+ have hall (f : X.Carrier → ℂ) (hfA : f∈𝒜) :=
68
+ (haF f hfA).eqOn_zero_of_preconnected_of_eventuallyEq_zero
69
+ (convex_ball a r).isPreconnected hyr (hzF f hfA)
70
+ rw [mem_interior_iff_mem_nhds]
71
+ filter_upwards [hN] with z hzs
72
+ have heq := P.chart.left_inv hzs.1
73
+ have hzU : z∈U := by
74
+ have hh := (hrsub hzs.2).2
75
+ change P.chart.symm (P.chart z)∈U at hh
76
+ rwa [heq] at hh
77
+ apply (he z hzU).mpr
78
+ intro f hfA
79
+ have hz := hall f hfA hzs.2
80
+ simpa only [Function.comp_apply,heq,Pi.zero_apply] using hz
81
+
82
+ include L in
83
+ lemma commonZeros_eq_univ [PreconnectedSpace X.Carrier] {Z : Set X.Carrier}
84
+ (hZ : LocallyHolomorphicCommonZeros X Z) (h : (interior Z).Nonempty) : Z=univ := by
85
+ have hc : IsClosed (interior Z) := isClosed_of_closure_subset
86
+ (L.commonZeros_closure_interior hZ)
87
+ have he : interior Z=univ := (show IsClopen (interior Z) from ⟨hc,isOpen_interior⟩).eq_univ h
88
+ exact eq_univ_of_univ_subset (he ▸ interior_subset)
89
+
90
+ end LeafJetAtlas
91
+ end SplitTangent
92
+
93
+ end
94
+
95
+ end OAI
lean/OAI/Geometry/SplitTangent/HolomorphicHypersurfaces.lean ADDED
@@ -0,0 +1,97 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Mathlib
2
+ import OAI.Geometry.SplitTangent.TensorVanishing
3
+ import OAI.Geometry.SplitTangent.LeafJetAtlas
4
+ import OAI.Geometry.SplitTangent.LeafPlaques
5
+ import OAI.Geometry.SplitTangent.Basic
6
+
7
+ namespace OAI
8
+
9
+ /-! Holomorphic Hypersurfaces. -/
10
+
11
+ noncomputable section
12
+ open Set Filter Topology
13
+ open scoped Manifold ContDiff
14
+ universe u
15
+ namespace SplitTangent
16
+
17
+
18
+ def LocallyHolomorphicZeroSet (X : ComplexManifold.{u}) (Z : Set X.Carrier) : Prop :=
19
+ ∀x,∃U : Set X.Carrier,IsOpen U ∧ x∈U ∧ ∃f : X.Carrier → ℂ,
20
+ ContMDiffOn (ModelWithCorners X) 𝓘(ℂ,ℂ) ω f U ∧ ∀y∈U,y∈Z ↔ f y=0
21
+
22
+ namespace AlignedProductChart
23
+ variable {X : ComplexManifold.{u}} {S : TangentSplitting X}
24
+ {A B : Type*}
25
+ [NormedAddCommGroup A] [NormedSpace ℂ A] [CompleteSpace A]
26
+ [NormedAddCommGroup B] [NormedSpace ℂ B] [CompleteSpace B]
27
+
28
+ omit [CompleteSpace A] [CompleteSpace B] in
29
+ lemma locally_analytic_plaque_zeroSet (P : AlignedProductChart S A B)
30
+ {Z : Set X.Carrier} (hZ : LocallyHolomorphicZeroSet X Z) (b : B)
31
+ (U : Set A) (hU : ∀a∈U,(a,b)∈P.chart.target) :
32
+ AnalyticGermContinuation.LocallyAnalyticZeroSet
33
+ {a | P.chart.symm (a,b)∈Z} U := by
34
+ intro a ha
35
+ obtain ⟨V,hVo,hx,f,hf,he⟩ := hZ (P.chart.symm (a,b))
36
+ have hpair : ContinuousAt (fun t : A => (t,b)) a := continuousAt_id.prodMk continuousAt_const
37
+ have hs : ContinuousAt (fun t : A => P.chart.symm (t,b)) a :=
38
+ (P.inverse_holomorphicAt (hU a ha)).continuousAt.comp
39
+ (f := fun t : A => (t,b)) (x := a) hpair
40
+ have hn : ∀ᶠ t in 𝓝 a,(t,b)∈P.chart.target ∧ P.chart.symm (t,b)∈V :=
41
+ Filter.Eventually.and
42
+ (hpair.preimage_mem_nhds (P.chart.open_target.mem_nhds (hU a ha)))
43
+ (hs.preimage_mem_nhds (hVo.mem_nhds hx))
44
+ obtain ⟨r,hr,hrS⟩ := Metric.mem_nhds_iff.mp hn
45
+ refine ⟨r,hr,fun t => f (P.chart.symm (t,b)),?_,fun t ht => he _ (hrS ht).2⟩
46
+ intro t ht
47
+ have hf' := hf.contMDiffAt (hVo.mem_nhds (hrS ht).2)
48
+ have hc : AnalyticAt ℂ (f ∘ P.chart.symm) (t,b) :=
49
+ (hf'.comp (t,b) (P.inverse_holomorphicAt (hrS ht).1)).contDiffAt.analyticAt
50
+ exact hc.comp (f := fun a : A => (a,b)) (x := t) (analyticAt_id.prod analyticAt_const)
51
+
52
+ end AlignedProductChart
53
+
54
+ namespace LeafJetAtlas
55
+ variable {X : ComplexManifold.{u}} {S : TangentSplitting X} (L : LeafJetAtlas S)
56
+
57
+ lemma germIn_of_related {Z : Set X.Carrier} (hZ : LocallyHolomorphicZeroSet X Z)
58
+ {y z : X.Carrier} (hy : L.GermIn Z y) (hrel : L.plaques.Related y z) :
59
+ L.GermIn Z z := by
60
+ obtain ⟨i,b,U,hUc,hT,a₀,ha₀,a₁,ha₁,h₀,h₁⟩ := hrel
61
+ let P := L.chart i
62
+ have hyS : y∈P.chart.source := h₀ ▸ P.chart.map_target (hT a₀ ha₀)
63
+ have hzS : z∈P.chart.source := h₁ ▸ P.chart.map_target (hT a₁ ha₁)
64
+ have hyC : P.chart y=(a₀,b) := by rw [←h₀]; exact P.chart.right_inv (hT a₀ ha₀)
65
+ have hzC : P.chart z=(a₁,b) := by rw [←h₁]; exact P.chart.right_inv (hT a₁ ha₁)
66
+ have hyP := (L.germIn_iff P hyS).mp hy
67
+ have hyG : {a | P.chart.symm (a,b)∈Z}∈𝓝 a₀ := by
68
+ change ∀ᶠ a in 𝓝 a₀,P.chart.symm (a,b)∈Z
69
+ simpa only [AlignedProductChart.GermIn,hyC] using hyP
70
+ have hzG := AnalyticGermContinuation.propagate hUc
71
+ (P.locally_analytic_plaque_zeroSet hZ b U hT) ha₀ ha₁ hyG
72
+ apply (L.germIn_iff P hzS).mpr
73
+ change ∀ᶠ a in 𝓝 a₁,P.chart.symm (a,b)∈Z at hzG
74
+ simpa only [AlignedProductChart.GermIn,hzC] using hzG
75
+
76
+ lemma germIn_of_reachable {Z : Set X.Carrier} (hZ : LocallyHolomorphicZeroSet X Z)
77
+ {y z : X.Carrier} (hy : L.GermIn Z y) (hrel : L.plaques.Reachable y z) :
78
+ L.GermIn Z z := by
79
+ induction hrel with
80
+ | refl => exact hy
81
+ | tail _ h ih => exact L.germIn_of_related hZ ih h
82
+
83
+
84
+
85
+ theorem closure_leaf_subset {Z : Set X.Carrier} (hZ : LocallyHolomorphicZeroSet X Z)
86
+ (hclosed : IsClosed Z) {y : X.Carrier} (hy : L.GermIn Z y) :
87
+ closure (L.leaf y) ⊆ Z := by
88
+ apply closure_minimal _ hclosed
89
+ intro z hz
90
+ exact L.germIn_mem (L.germIn_of_reachable hZ hy hz)
91
+
92
+ end LeafJetAtlas
93
+ end SplitTangent
94
+
95
+ end
96
+
97
+ end OAI
lean/OAI/Geometry/SplitTangent/HolomorphicLeafBasic.lean ADDED
@@ -0,0 +1,99 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Mathlib
2
+ import OAI.Geometry.SplitTangent.TensorVanishing
3
+ import OAI.Geometry.SplitTangent.LeafJetAtlas
4
+ import OAI.Geometry.SplitTangent.Basic
5
+ import OAI.Geometry.SplitTangent.LeafPlaques
6
+
7
+ namespace OAI
8
+
9
+ /-! Holomorphic Leaf Basic. -/
10
+
11
+ noncomputable section
12
+ open Set Filter Topology
13
+ open scoped Manifold ContDiff
14
+ universe u
15
+ namespace SplitTangent
16
+ namespace AlignedProductChart
17
+ variable {X Y : ComplexManifold.{u}} {S : TangentSplitting X}
18
+ {A B : Type*} [NormedAddCommGroup A] [NormedSpace ℂ A] [CompleteSpace A]
19
+ [NormedAddCommGroup B] [NormedSpace ℂ B] [CompleteSpace B]
20
+ (P : AlignedProductChart S A B) {f : X.Carrier → Y.Carrier}
21
+ (hf : ContMDiff (ModelWithCorners X) (ModelWithCorners Y) ω f)
22
+ (hz : ∀x v,v∈S.first x → mfderiv (ModelWithCorners X) (ModelWithCorners Y) f x v=0)
23
+
24
+ include hf hz in
25
+ omit [CompleteSpace A] [CompleteSpace B] in
26
+ lemma map_plaque_eventually_constant {a : A} {b : B} (ht : (a,b)∈P.chart.target) :
27
+ ∀ᶠ c in 𝓝 a,f (P.chart.symm (c,b))=f (P.chart.symm (a,b)) := by
28
+ let g : A × B → Y.Carrier := f ∘ P.chart.symm
29
+ let y := g (a,b)
30
+ let Q := chartAt (Model Y) y
31
+ have hy : y∈Q.source := mem_chart_source (Model Y) y
32
+ have hQa : Q∈IsManifold.maximalAtlas (ModelWithCorners Y) ω Y.Carrier :=
33
+ IsManifold.chart_mem_maximalAtlas y
34
+ have hgn : ∀ᶠ z in 𝓝 (a,b),z∈P.chart.target ∧ g z∈Q.source :=
35
+ Filter.Eventually.and (P.chart.open_target.mem_nhds ht)
36
+ (((hf _).continuousAt.comp (P.inverse_holomorphicAt ht).continuousAt).preimage_mem_nhds
37
+ (Q.open_source.mem_nhds hy))
38
+ have hd : ∀ᶠ z in 𝓝 (a,b),DifferentiableAt ℂ (Q ∘ g) z := by
39
+ filter_upwards [hgn] with z hz
40
+ exact (((contMDiffAt_of_mem_maximalAtlas hQa hz.2).comp z
41
+ ((hf _).comp z (P.inverse_holomorphicAt hz.1))).contDiffAt).differentiableAt (by simp)
42
+ have hd0 : ∀ᶠ z in 𝓝 (a,b),∀v,fderiv ℂ (Q ∘ g) z (v,0)=0 := by
43
+ filter_upwards [hgn] with z hzg
44
+ intro v
45
+ have hP := (P.inverse_holomorphicAt hzg.1).mdifferentiableAt (by simp)
46
+ have hfz := (hf (P.chart.symm z)).mdifferentiableAt (by simp)
47
+ have hQ := (contMDiffAt_of_mem_maximalAtlas hQa hzg.2).mdifferentiableAt (by simp)
48
+ have hchain := mfderiv_comp z hQ (hfz.comp z hP)
49
+ rw [mfderiv_eq_fderiv] at hchain
50
+ rw [hchain]
51
+ change mfderiv (ModelWithCorners Y) 𝓘(ℂ,Model Y) Q (g z)
52
+ (mfderiv 𝓘(ℂ,A × B) (ModelWithCorners Y) g z (v,0))=0
53
+ change mfderiv _ _ Q (g z)
54
+ (mfderiv _ _ (f ∘ P.chart.symm) z (v,0))=0
55
+ rw [mfderiv_comp z hfz hP]
56
+ change mfderiv _ _ Q (g z)
57
+ (mfderiv _ _ f (P.chart.symm z) (mfderiv _ _ P.chart.symm z (v,0)))=0
58
+ rw [hz _ _ (P.inverse_first hzg.1 v),map_zero]
59
+ have he := ProductTransition.eventually_factors_snd hd hd0
60
+ have hc : Tendsto (fun c : A => (c,b)) (𝓝 a) (𝓝 (a,b)) :=
61
+ continuousAt_id.prodMk continuousAt_const
62
+ filter_upwards [hc.eventually hgn,hc.eventually he] with c hcg hce
63
+ apply Q.injOn hcg.2 hy
64
+ exact hce
65
+
66
+ include hf hz in
67
+ omit [CompleteSpace A] [CompleteSpace B] in
68
+ lemma map_plaque_constant {U : Set A} {b : B}
69
+ (hU : IsPreconnected U) (ht : ∀a∈U,(a,b)∈P.chart.target)
70
+ {a c : A} (ha : a∈U) (hc : c∈U) :
71
+ f (P.chart.symm (a,b))=f (P.chart.symm (c,b)) := by
72
+ let : PreconnectedSpace U := isPreconnected_iff_preconnectedSpace.mp hU
73
+ have hlocal : IsLocallyConstant (fun a : U => f (P.chart.symm (a.val,b))) := by
74
+ apply (IsLocallyConstant.iff_eventually_eq _).mpr
75
+ intro a
76
+ exact continuous_subtype_val.continuousAt.eventually
77
+ (P.map_plaque_eventually_constant hf hz (ht a.val a.property))
78
+ exact hlocal.apply_eq_of_preconnectedSpace ⟨a,ha⟩ ⟨c,hc⟩
79
+
80
+ end AlignedProductChart
81
+ namespace LeafJetAtlas
82
+ variable {X Y : ComplexManifold.{u}} {S : TangentSplitting X} (L : LeafJetAtlas S)
83
+
84
+ lemma holomorphic_map_eq_on_leaf {f : X.Carrier → Y.Carrier}
85
+ (hf : ContMDiff (ModelWithCorners X) (ModelWithCorners Y) ω f)
86
+ (hz : ∀x v,v∈S.first x → mfderiv (ModelWithCorners X) (ModelWithCorners Y) f x v=0)
87
+ {x y : X.Carrier} (hy : y∈L.leaf x) : f x=f y := by
88
+ induction hy with
89
+ | refl => rfl
90
+ | @tail y z _ h ih =>
91
+ obtain ⟨i,b,U,hU,hT,a,ha,c,hc,rfl,rfl⟩ := h
92
+ exact ih.trans ((L.chart i).map_plaque_constant hf hz hU hT ha hc)
93
+
94
+ end LeafJetAtlas
95
+ end SplitTangent
96
+
97
+ end
98
+
99
+ end OAI
lean/OAI/Geometry/SplitTangent/HolomorphicLocalDiffeomorph.lean ADDED
@@ -0,0 +1,156 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Mathlib
2
+
3
+ namespace OAI
4
+
5
+ /-! Holomorphic Local Diffeomorph. -/
6
+
7
+ noncomputable section
8
+ open Set Filter Topology
9
+ open scoped Manifold ContDiff
10
+
11
+ namespace HolomorphicLocalDiffeomorph
12
+ variable {E F : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E]
13
+ [NormedAddCommGroup F] [NormedSpace ℂ F]
14
+ variable {M N : Type*} [TopologicalSpace M] [TopologicalSpace N]
15
+ [ChartedSpace E M] [ChartedSpace F N]
16
+ [IsManifold 𝓘(ℂ,E) ω M] [IsManifold 𝓘(ℂ,F) ω N]
17
+
18
+
19
+
20
+ theorem of_analytic_partial_homeomorph (φ : OpenPartialHomeomorph M N)
21
+ {x : M} (hx : x∈φ.source)
22
+ (hφ : ContMDiffAt 𝓘(ℂ,E) 𝓘(ℂ,F) ω φ x)
23
+ (hφs : ContMDiffAt 𝓘(ℂ,F) 𝓘(ℂ,E) ω φ.symm (φ x)) :
24
+ IsLocalDiffeomorphAt 𝓘(ℂ,E) 𝓘(ℂ,F) ω φ x := by
25
+ have he : ∀ᶠ y in 𝓝 x,
26
+ ContMDiffAt 𝓘(ℂ,E) 𝓘(ℂ,F) ω φ y ∧
27
+ ContMDiffAt 𝓘(ℂ,F) 𝓘(ℂ,E) ω φ.symm (φ y) :=
28
+ ((contMDiffAt_iff_contMDiffAt_nhds (by simp)).1 hφ).and
29
+ (hφ.continuousAt.eventually ((contMDiffAt_iff_contMDiffAt_nhds (by simp)).1 hφs))
30
+ obtain ⟨U,hUsub,hU,hxU⟩ := mem_nhds_iff.mp he
31
+ let ψ := φ.restrOpen U hU
32
+ let Φ : PartialDiffeomorph 𝓘(ℂ,E) 𝓘(ℂ,F) M N ω := {
33
+ ψ.toPartialEquiv with
34
+ open_source := ψ.open_source
35
+ open_target := ψ.open_target
36
+ contMDiffOn_toFun := by
37
+ intro y hy
38
+ exact (hUsub hy.2).1.contMDiffWithinAt
39
+ contMDiffOn_invFun := by
40
+ intro y hy
41
+ have hz : φ.symm y∈ψ.source := ψ.map_target hy
42
+ have hh := (hUsub hz.2).2
43
+ change ContMDiffWithinAt 𝓘(ℂ,F) 𝓘(ℂ,E) ω φ.symm ψ.target y
44
+ simpa only [φ.right_inv hy.1] using hh.contMDiffWithinAt }
45
+ exact ⟨Φ,⟨hx,hxU⟩,fun _ _ => rfl⟩
46
+
47
+
48
+
49
+ theorem normed_ift [CompleteSpace E] [CompleteSpace F]
50
+ {f : E → F} {x : E} (hf : ContDiffAt ℂ ω f x)
51
+ (L : E ≃L[ℂ] F) (hL : HasFDerivAt f (L : E →L[ℂ] F) x) :
52
+ IsLocalDiffeomorphAt 𝓘(ℂ,E) 𝓘(ℂ,F) ω f x := by
53
+ let φ := hf.toOpenPartialHomeomorph f hL (by simp)
54
+ exact of_analytic_partial_homeomorph φ
55
+ (hf.mem_toOpenPartialHomeomorph_source hL (by simp))
56
+ hf.contMDiffAt (hf.to_localInverse hL (by simp)).contMDiffAt
57
+
58
+ end HolomorphicLocalDiffeomorph
59
+
60
+ namespace HolomorphicLocalDiffeomorph
61
+ variable {E F : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E]
62
+ [NormedAddCommGroup F] [NormedSpace ℂ F]
63
+ variable {M N : Type*} [TopologicalSpace M] [TopologicalSpace N]
64
+ [ChartedSpace E M] [ChartedSpace F N]
65
+ [IsManifold 𝓘(ℂ,E) ω M] [IsManifold 𝓘(ℂ,F) ω N]
66
+
67
+ omit [IsManifold 𝓘(ℂ,E) ω M] [IsManifold 𝓘(ℂ,F) ω N] in
68
+ theorem congr_eventually {f g : M → N} {x : M}
69
+ (hf : IsLocalDiffeomorphAt 𝓘(ℂ,E) 𝓘(ℂ,F) ω f x)
70
+ (he : f=ᶠ[𝓝 x]g) : IsLocalDiffeomorphAt 𝓘(ℂ,E) 𝓘(ℂ,F) ω g x := by
71
+ obtain ⟨φ,hx,hφ⟩ := hf
72
+ obtain ⟨U,hUsub,hU,hxU⟩ := mem_nhds_iff.mp he
73
+ let ψ := φ.toOpenPartialHomeomorph.restrOpen U hU
74
+ let Φ : PartialDiffeomorph 𝓘(ℂ,E) 𝓘(ℂ,F) M N ω := {
75
+ ψ.toPartialEquiv with
76
+ open_source := ψ.open_source
77
+ open_target := ψ.open_target
78
+ contMDiffOn_toFun := φ.contMDiffOn_toFun.mono inter_subset_left
79
+ contMDiffOn_invFun := φ.contMDiffOn_invFun.mono inter_subset_left }
80
+ refine ⟨Φ,⟨hx,hxU⟩,?_⟩
81
+ intro y hy
82
+ exact (hUsub hy.2).symm.trans (hφ hy.1)
83
+
84
+ theorem chart_local {x y : M} (hy : y∈(chartAt E x).source) :
85
+ IsLocalDiffeomorphAt 𝓘(ℂ,E) 𝓘(ℂ,E) ω (chartAt E x) y :=
86
+ of_analytic_partial_homeomorph _ hy
87
+ (contMDiffAt_of_mem_maximalAtlas (IsManifold.chart_mem_maximalAtlas (I:=𝓘(ℂ,E))
88
+ (n:=ω) x) hy)
89
+ (contMDiffAt_symm_of_mem_maximalAtlas (IsManifold.chart_mem_maximalAtlas (I:=𝓘(ℂ,E))
90
+ (n:=ω) x) ((chartAt E x).map_source hy))
91
+
92
+ theorem chart_symm_local {x : M} {y : E} (hy : y∈(chartAt E x).target) :
93
+ IsLocalDiffeomorphAt 𝓘(ℂ,E) 𝓘(ℂ,E) ω (chartAt E x).symm y :=
94
+ of_analytic_partial_homeomorph _ hy
95
+ (contMDiffAt_symm_of_mem_maximalAtlas (IsManifold.chart_mem_maximalAtlas (I:=𝓘(ℂ,E))
96
+ (n:=ω) x) hy)
97
+ (contMDiffAt_of_mem_maximalAtlas (IsManifold.chart_mem_maximalAtlas (I:=𝓘(ℂ,E))
98
+ (n:=ω) x) ((chartAt E x).map_target hy))
99
+
100
+
101
+
102
+ theorem manifold_ift [FiniteDimensional ℂ E] [FiniteDimensional ℂ F]
103
+ {f : M → N} {x : M} (hf : ContMDiffAt 𝓘(ℂ,E) 𝓘(ℂ,F) ω f x)
104
+ (hb : Function.Bijective (mfderiv 𝓘(ℂ,E) 𝓘(ℂ,F) f x)) :
105
+ IsLocalDiffeomorphAt 𝓘(ℂ,E) 𝓘(ℂ,F) ω f x := by
106
+ let c := chartAt E x
107
+ let d := chartAt F (f x)
108
+ have hc : x∈c.source := mem_chart_source E x
109
+ have hd : f x∈d.source := mem_chart_source F (f x)
110
+ have hcs : c.symm (c x)=x := c.left_inv hc
111
+ have hdl := chart_local hd
112
+ have hcsl := chart_symm_local (c.map_source hc)
113
+ have hcl := chart_local hc
114
+ let g : E → F := d ∘ f ∘ c.symm
115
+ have hfcs : ContMDiffAt 𝓘(ℂ,E) 𝓘(ℂ,F) ω f (c.symm (c x)) := by
116
+ rwa [hcs]
117
+ have hinner := hfcs.comp (c x) hcsl.contMDiffAt
118
+ have hdcs : ContMDiffAt 𝓘(ℂ,F) 𝓘(ℂ,F) ω d (f (c.symm (c x))) := by
119
+ simpa only [hcs] using hdl.contMDiffAt
120
+ have hgM : ContMDiffAt 𝓘(ℂ,E) 𝓘(ℂ,F) ω g (c x) := hdcs.comp (c x) hinner
121
+ have hg : ContDiffAt ℂ ω g (c x) := hgM.contDiffAt
122
+ have hbD : Function.Bijective
123
+ (mfderiv 𝓘(ℂ,F) 𝓘(ℂ,F) d (f (c.symm (c x)))) := by
124
+ rw [hcs]
125
+ exact (hdl.mfderivToContinuousLinearEquiv (by simp)).bijective
126
+ have hbF : Function.Bijective
127
+ (mfderiv 𝓘(ℂ,E) 𝓘(ℂ,F) f (c.symm (c x))) := by
128
+ rw [hcs]
129
+ exact hb
130
+ have hbC : Function.Bijective (mfderiv 𝓘(ℂ,E) 𝓘(ℂ,E) c.symm (c x)) :=
131
+ (hcsl.mfderivToContinuousLinearEquiv (by simp)).bijective
132
+ have hbg : Function.Bijective (fderiv ℂ g (c x)) := by
133
+ rw [← mfderiv_eq_fderiv]
134
+ change Function.Bijective (mfderiv 𝓘(ℂ,E) 𝓘(ℂ,F) (d ∘ (f ∘ c.symm)) (c x))
135
+ rw [mfderiv_comp (c x) (f := f ∘ c.symm) (g := d) (hdcs.mdifferentiableAt (by simp))
136
+ (hinner.mdifferentiableAt (by simp)),
137
+ mfderiv_comp (c x) (f := c.symm) (g := f) (hfcs.mdifferentiableAt (by simp))
138
+ (hcsl.mdifferentiableAt (by simp))]
139
+ exact hbD.comp (hbF.comp hbC)
140
+ let L : E ≃L[ℂ] F :=
141
+ (LinearEquiv.ofBijective (fderiv ℂ g (c x)).toLinearMap hbg).toContinuousLinearEquiv
142
+ have hLg : HasFDerivAt g (L : E →L[ℂ] F) (c x) := hg.differentiableAt (by simp) |>.hasFDerivAt
143
+ have hgl := normed_ift hg L hLg
144
+ have hdsl : IsLocalDiffeomorphAt 𝓘(ℂ,F) 𝓘(ℂ,F) ω d.symm (g (c x)) := by
145
+ simpa only [g,Function.comp_apply,hcs] using chart_symm_local (d.map_source hd)
146
+ apply congr_eventually (hcl.comp 𝓘(ℂ,F) N (hgl.comp 𝓘(ℂ,F) N hdsl))
147
+ filter_upwards [c.open_source.mem_nhds hc,
148
+ hf.continuousAt.eventually (d.open_source.mem_nhds hd)] with y hy hfy
149
+ change d.symm (d (f (c.symm (c y))))=f y
150
+ rw [c.left_inv hy,d.left_inv hfy]
151
+
152
+ end HolomorphicLocalDiffeomorph
153
+
154
+ end
155
+
156
+ end OAI
lean/OAI/Geometry/SplitTangent/HolomorphicManifoldProduct.lean ADDED
@@ -0,0 +1,177 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Mathlib
2
+ import OAI.Geometry.SplitTangent.TensorVanishing
3
+ import OAI.Geometry.SplitTangent.Basic
4
+
5
+ namespace OAI
6
+
7
+ /-! Holomorphic Manifold Product. -/
8
+
9
+ noncomputable section
10
+ open Set Filter Topology Bundle
11
+ open scoped Manifold ContDiff
12
+ universe u
13
+ namespace SplitTangent
14
+ variable {X : ComplexManifold.{u}}
15
+ namespace TangentSplitting
16
+ variable (S : TangentSplitting X)
17
+
18
+ lemma coordinateProjector_range (x : X.Carrier) {y : X.Carrier}
19
+ (hy : y∈(chartAt (Model X) x).source) :
20
+ Submodule.map (chartDerivative x y).toLinearMap (S.first y)=
21
+ LinearMap.range (S.coordinateProjector x ((chartAt (Model X) x) y)).toLinearMap := by
22
+ have hD := chartDerivative_isInvertible x hy
23
+ ext v
24
+ rw [S.coordinateProjector_range_iff x hy]
25
+ constructor
26
+ · rintro ⟨w,hw,rfl⟩
27
+ change (chartDerivative x y).inverse ((chartDerivative x y) w) ∈ S.first y
28
+ rw [hD.inverse_apply_self]
29
+ exact hw
30
+ · intro hv
31
+ exact ⟨(chartDerivative x y).inverse v,hv,hD.self_apply_inverse v⟩
32
+
33
+ lemma coordinateProjector_kernel (x : X.Carrier) {y : X.Carrier}
34
+ (hy : y∈(chartAt (Model X) x).source) :
35
+ Submodule.map (chartDerivative x y).toLinearMap (S.second y)=
36
+ LinearMap.ker (S.coordinateProjector x ((chartAt (Model X) x) y)).toLinearMap := by
37
+ rw [← S.swap_first,S.swap.coordinateProjector_range x hy,
38
+ S.coordinateProjector_swap x ((chartAt (Model X) x).map_source hy)]
39
+ exact HolomorphicFrobenius.range_complementary_projector _
40
+ (S.coordinateProjector_idempotent x ((chartAt (Model X) x).map_source hy))
41
+
42
+ abbrev FirstModel (x : X.Carrier) :=
43
+ HolomorphicFrobenius.FirstQuotient (S.coordinateProjector x) ((chartAt (Model X) x) x)
44
+ abbrev SecondModel (x : X.Carrier) :=
45
+ HolomorphicFrobenius.SecondQuotient (S.coordinateProjector x) ((chartAt (Model X) x) x)
46
+
47
+
48
+
49
+ theorem exists_local_product_chart (hI₁ : Integrable X S.first)
50
+ (hI₂ : Integrable X S.second) (x : X.Carrier) :
51
+ ∃ Φ : OpenPartialHomeomorph X.Carrier (S.FirstModel x × S.SecondModel x),
52
+ x∈Φ.source ∧ Φ x=0 ∧
53
+ ContMDiffAt (ModelWithCorners X) 𝓘(ℂ,S.FirstModel x × S.SecondModel x) ω Φ x ∧
54
+ ContMDiffAt 𝓘(ℂ,S.FirstModel x × S.SecondModel x) (ModelWithCorners X) ω Φ.symm 0 ∧
55
+ ∀ᶠ y in 𝓝 x,
56
+ Submodule.map (mfderiv (ModelWithCorners X) 𝓘(ℂ,S.FirstModel x × S.SecondModel x)
57
+ Φ y).toLinearMap (S.first y)=
58
+ LinearMap.ker (ContinuousLinearMap.snd ℂ (S.FirstModel x) (S.SecondModel x)).toLinearMap ∧
59
+ Submodule.map (mfderiv (ModelWithCorners X) 𝓘(ℂ,S.FirstModel x × S.SecondModel x)
60
+ Φ y).toLinearMap (S.second y)=
61
+ LinearMap.ker (ContinuousLinearMap.fst ℂ (S.FirstModel x) (S.SecondModel x)).toLinearMap := by
62
+ let c := chartAt (Model X) x
63
+ let z := c x
64
+ have hx : x∈c.source := mem_chart_source (Model X) x
65
+ have hz : z∈c.target := c.map_source hx
66
+ have hP := S.coordinateProjector_analytic x z hz
67
+ have hPid : ∀ᶠ a in 𝓝 z, ∀v, S.coordinateProjector x a (S.coordinateProjector x a v)=
68
+ S.coordinateProjector x a v :=
69
+ Filter.Eventually.mono (c.open_target.mem_nhds hz) fun a ha => S.coordinateProjector_idempotent x ha
70
+ have hPcomp : S.swap.coordinateProjector x=ᶠ[𝓝 z]
71
+ (fun a => ContinuousLinearMap.id ℂ (Model X)-S.coordinateProjector x a) :=
72
+ Filter.Eventually.mono (c.open_target.mem_nhds hz) fun a ha => S.coordinateProjector_swap x ha
73
+ have hIc := (S.swap.coordinateProjector_involutive (by simpa using hI₂) x hz).congr hPcomp
74
+ obtain ⟨ψ,hzψ,hψ0,hψ,hψs,haxes⟩ := HolomorphicFrobenius.exists_local_product_chart
75
+ hP hPid (S.coordinateProjector_involutive hI₁ x hz) hIc
76
+ let Φ := c.trans ψ
77
+ have hΦx : Φ x=0 := hψ0
78
+ have hc : ContMDiffAt (ModelWithCorners X) 𝓘(ℂ,Model X) ω c x :=
79
+ contMDiffAt_of_mem_maximalAtlas (IsManifold.chart_mem_maximalAtlas (I := ModelWithCorners X)
80
+ (n := ω) x) hx
81
+ have h0t : (0 : S.FirstModel x × S.SecondModel x)∈ψ.target := hψ0 ▸ ψ.map_source hzψ
82
+ have hψs0 : ψ.symm 0=z := by simpa only [hψ0] using ψ.left_inv hzψ
83
+ have hcs : ContMDiffAt 𝓘(ℂ,Model X) (ModelWithCorners X) ω c.symm (ψ.symm 0) := by
84
+ rw [hψs0]
85
+ exact contMDiffAt_symm_of_mem_maximalAtlas
86
+ (IsManifold.chart_mem_maximalAtlas (I := ModelWithCorners X) (n := ω) x) hz
87
+ refine ⟨Φ,⟨hx,hzψ⟩,hΦx,hψ.contDiffAt.contMDiffAt.comp x hc,
88
+ hcs.comp 0 hψs.contDiffAt.contMDiffAt,?_⟩
89
+ have ht : Tendsto c (𝓝 x) (𝓝 z) := hc.continuousAt
90
+ filter_upwards [c.open_source.mem_nhds hx,ht.eventually haxes,
91
+ ht.eventually hψ.eventually_analyticAt] with y hy hay hψy
92
+ have hcy : ContMDiffAt (ModelWithCorners X) 𝓘(ℂ,Model X) ω c y :=
93
+ contMDiffAt_of_mem_maximalAtlas (IsManifold.chart_mem_maximalAtlas (I := ModelWithCorners X)
94
+ (n := ω) x) hy
95
+ have hd : mfderiv (ModelWithCorners X) 𝓘(ℂ,S.FirstModel x × S.SecondModel x) Φ y=
96
+ (fderiv ℂ ψ (c y)).comp (chartDerivative x y) := by
97
+ change mfderiv (ModelWithCorners X) 𝓘(ℂ,S.FirstModel x × S.SecondModel x) (ψ ∘ c) y=_
98
+ rw [mfderiv_comp y (hψy.differentiableAt.mdifferentiableAt)
99
+ (hcy.mdifferentiableAt (by simp)),mfderiv_eq_fderiv]
100
+ rfl
101
+ constructor
102
+ · rw [hd]
103
+ change Submodule.map ((fderiv ℂ ψ (c y)).toLinearMap.comp
104
+ (chartDerivative x y).toLinearMap) (S.first y)=_
105
+ rw [Submodule.map_comp,S.coordinateProjector_range x hy]
106
+ exact hay.1
107
+ · rw [hd]
108
+ change Submodule.map ((fderiv ℂ ψ (c y)).toLinearMap.comp
109
+ (chartDerivative x y).toLinearMap) (S.second y)=_
110
+ rw [Submodule.map_comp,S.coordinateProjector_kernel x hy]
111
+ exact hay.2
112
+
113
+ end TangentSplitting
114
+ end SplitTangent
115
+
116
+ namespace SplitTangent
117
+ variable {X : ComplexManifold.{u}} {S : TangentSplitting X}
118
+
119
+ theorem TangentSplitting.exists_aligned_product_chart (S : TangentSplitting X)
120
+ (hI₁ : Integrable X S.first) (hI₂ : Integrable X S.second) (x : X.Carrier) :
121
+ ∃P : AlignedProductChart S (S.FirstModel x) (S.SecondModel x),
122
+ x∈P.chart.source ∧ P.chart x=0 := by
123
+ obtain ⟨φ,hx,h0,hφ,hφs,haxes⟩ := S.exists_local_product_chart hI₁ hI₂ x
124
+ have hs : ContMDiffAt 𝓘(ℂ,S.FirstModel x × S.SecondModel x) (ModelWithCorners X) ω φ.symm (φ x) :=
125
+ h0.symm ▸ hφs
126
+ have hall := ((contMDiffAt_iff_contMDiffAt_nhds (by simp)).mp hφ).and
127
+ ((hφ.continuousAt.eventually ((contMDiffAt_iff_contMDiffAt_nhds (by simp)).mp hs)).and haxes)
128
+ obtain ⟨U,hUsub,hU,hxU⟩ := mem_nhds_iff.mp hall
129
+ let ψ := φ.restrOpen U hU
130
+ let P : AlignedProductChart S (S.FirstModel x) (S.SecondModel x) := {
131
+ chart := ψ
132
+ holomorphic := by
133
+ intro y hy
134
+ exact (hUsub hy.2).1.contMDiffWithinAt
135
+ inverse_holomorphic := by
136
+ intro y hy
137
+ have hz : φ.symm y∈ψ.source := ψ.map_target hy
138
+ have hh := (hUsub hz.2).2.1
139
+ change ContMDiffWithinAt 𝓘(ℂ,S.FirstModel x × S.SecondModel x) (ModelWithCorners X)
140
+ ω φ.symm ψ.target y
141
+ simpa only [φ.right_inv hy.1] using hh.contMDiffWithinAt
142
+ first := fun y hy => (hUsub hy.2).2.2.1
143
+ second := fun y hy => (hUsub hy.2).2.2.2 }
144
+ exact ⟨P,⟨hx,hxU⟩,h0⟩
145
+
146
+ theorem TangentSplitting.exists_aligned_product_chartAlternative (S : TangentSplitting X)
147
+ (hI₁ : Integrable X S.first) (hI₂ : Integrable X S.second) (x : X.Carrier) :
148
+ ∃P : AlignedProductChart S (S.FirstModel x) (S.SecondModel x),
149
+ x∈P.chart.source ∧ P.chart x=0 := by
150
+ obtain ⟨φ,hx,h0,hφ,hφs,haxes⟩ := S.exists_local_product_chart hI₁ hI₂ x
151
+ have hs : ContMDiffAt 𝓘(ℂ,S.FirstModel x × S.SecondModel x) (ModelWithCorners X) ω φ.symm (φ x) :=
152
+ h0.symm ▸ hφs
153
+ have hall := ((contMDiffAt_iff_contMDiffAt_nhds (by simp)).mp hφ).and
154
+ ((hφ.continuousAt.eventually ((contMDiffAt_iff_contMDiffAt_nhds (by simp)).mp hs)).and haxes)
155
+ obtain ⟨U,hUsub,hU,hxU⟩ := _root_.mem_nhds_iff.mp hall
156
+ let ψ := φ.restrOpen U hU
157
+ let P : AlignedProductChart S (S.FirstModel x) (S.SecondModel x) := {
158
+ chart := ψ
159
+ holomorphic := by
160
+ intro y hy
161
+ exact (hUsub hy.2).1.contMDiffWithinAt
162
+ inverse_holomorphic := by
163
+ intro y hy
164
+ have hz : φ.symm y∈ψ.source := ψ.map_target hy
165
+ have hh := (hUsub hz.2).2.1
166
+ change ContMDiffWithinAt 𝓘(ℂ,S.FirstModel x × S.SecondModel x) (ModelWithCorners X)
167
+ ω φ.symm ψ.target y
168
+ simpa only [φ.right_inv hy.1] using hh.contMDiffWithinAt
169
+ first := fun y hy => (hUsub hy.2).2.2.1
170
+ second := fun y hy => (hUsub hy.2).2.2.2 }
171
+ exact ⟨P,⟨hx,hxU⟩,h0⟩
172
+
173
+ end SplitTangent
174
+
175
+ end
176
+
177
+ end OAI
lean/OAI/Geometry/SplitTangent/HolomorphicTangentMapAt.lean ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Mathlib
2
+ import OAI.Geometry.SplitTangent.Basic
3
+
4
+ namespace OAI
5
+
6
+ /-! Holomorphic Tangent Map At. -/
7
+
8
+ noncomputable section
9
+ open Set Filter Topology Bundle
10
+ open scoped Manifold ContDiff
11
+ universe u
12
+ namespace SplitTangent
13
+
14
+
15
+
16
+ lemma holomorphicAt_tangentMap {X Y : ComplexManifold.{u}}
17
+ {f : X.Carrier → Y.Carrier} {x : X.Carrier}
18
+ (hf : ContMDiffAt (ModelWithCorners X) (ModelWithCorners Y) ω f x)
19
+ (v : Tangent X x) :
20
+ ContMDiffAt ((ModelWithCorners X).prod 𝓘(ℂ,Model X))
21
+ ((ModelWithCorners Y).prod 𝓘(ℂ,Model Y)) ω
22
+ (tangentMap (ModelWithCorners X) (ModelWithCorners Y) f)
23
+ (⟨x,v⟩ : TangentBundle (ModelWithCorners X) X.Carrier) := by
24
+ obtain ⟨s,hs,hfs⟩ := (contMDiffAt_iff_contMDiffOn_nhds (by simp : (ω : WithTop ℕ∞)≠∞)).mp hf
25
+ obtain ⟨U,hUs,hU,hxU⟩ := mem_nhds_iff.mp hs
26
+ have hFU := hfs.mono hUs
27
+ have hTU := hFU.contMDiffOn_tangentMapWithin (m := ω) (by simp) hU.uniqueMDiffOn
28
+ have hπ : Continuous (fun p : TangentBundle (ModelWithCorners X) X.Carrier => p.proj) :=
29
+ (contMDiff_proj (IB := ModelWithCorners X) (n := ω) (TangentSpace (ModelWithCorners X))).continuous
30
+ have hn : (fun p : TangentBundle (ModelWithCorners X) X.Carrier => p.proj) ⁻¹' U ∈
31
+ 𝓝 (⟨x,v⟩ : TangentBundle (ModelWithCorners X) X.Carrier) :=
32
+ hπ.continuousAt.preimage_mem_nhds (hU.mem_nhds hxU)
33
+ apply (hTU.contMDiffAt hn).congr_of_eventuallyEq
34
+ filter_upwards [hn] with p hp
35
+ exact (tangentMapWithin_eq_tangentMap (hU.uniqueMDiffOn p.proj hp)
36
+ ((hFU.contMDiffAt (hU.mem_nhds hp)).mdifferentiableAt (by simp))).symm
37
+
38
+ end SplitTangent
39
+
40
+ end
41
+
42
+ end OAI
lean/OAI/Geometry/SplitTangent/IntegrabilityReduction.lean ADDED
@@ -0,0 +1,118 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Mathlib
2
+ import OAI.Geometry.SplitTangent.LeafJetAtlas
3
+ import OAI.Geometry.SplitTangent.Basic
4
+ import OAI.Geometry.SplitTangent.CompactLeafQuotient
5
+ import OAI.Geometry.SplitTangent.GlobalTopologicalProduct
6
+ import OAI.Geometry.SplitTangent.LeafProducts
7
+ import OAI.Geometry.SplitTangent.HolomorphicLeafBasic
8
+ import OAI.Geometry.SplitTangent.RationalVariation
9
+
10
+ namespace OAI
11
+
12
+ /-! Integrability Reduction. -/
13
+
14
+ noncomputable section
15
+ open Set Filter Topology
16
+ open scoped Manifold ContDiff
17
+ universe u
18
+ namespace SplitTangent
19
+ namespace LeafJetAtlas
20
+ variable {X : ComplexManifold.{u}} {S : TangentSplitting X}
21
+ [CompactSpace X.Carrier] [ConnectedSpace X.Carrier]
22
+ (L : LeafJetAtlas S) (M : LeafJetAtlas S.swap) (e : ProjectiveEmbedding X)
23
+ (hRC : RationallyConnected e) (hdim : 0<X.dim)
24
+
25
+ lemma leafPair_injective_of_compatible_projective_product
26
+ (hproduct : HasCompatibleProjectiveProduct X S) :
27
+ Function.Injective (L.leafPair M e hRC hdim) := by
28
+ obtain ⟨Y,Z,_,_,f,halign⟩ := hproduct
29
+ let I := (ModelWithCorners Y).prod (ModelWithCorners Z)
30
+ let p : X.Carrier → Y.Carrier := Prod.fst ∘ f
31
+ let q : X.Carrier → Z.Carrier := Prod.snd ∘ f
32
+ have hp : ContMDiff (ModelWithCorners X) (ModelWithCorners Y) ω p :=
33
+ contMDiff_fst.comp f.contMDiff
34
+ have hq : ContMDiff (ModelWithCorners X) (ModelWithCorners Z) ω q :=
35
+ contMDiff_snd.comp f.contMDiff
36
+ have hp0 : ∀x v,v∈S.swap.first x →
37
+ mfderiv (ModelWithCorners X) (ModelWithCorners Y) p x v=0 := by
38
+ intro x v hv
39
+ rw [S.swap_first] at hv
40
+ have hm := Submodule.mem_map_of_mem (f :=
41
+ (mfderiv (ModelWithCorners X) I f x).toLinearMap) hv
42
+ rw [(halign x).2] at hm
43
+ change (mfderiv (ModelWithCorners X) I f x v).1=0 at hm
44
+ change mfderiv (ModelWithCorners X) (ModelWithCorners Y) (Prod.fst ∘ f) x v=0
45
+ rw [mfderiv_comp x mdifferentiableAt_fst
46
+ ((f.contMDiff x).mdifferentiableAt (by simp)),mfderiv_fst]
47
+ exact hm
48
+ have hq0 : ∀x v,v∈S.first x →
49
+ mfderiv (ModelWithCorners X) (ModelWithCorners Z) q x v=0 := by
50
+ intro x v hv
51
+ have hm := Submodule.mem_map_of_mem (f :=
52
+ (mfderiv (ModelWithCorners X) I f x).toLinearMap) hv
53
+ rw [(halign x).1] at hm
54
+ change (mfderiv (ModelWithCorners X) I f x v).2=0 at hm
55
+ change mfderiv (ModelWithCorners X) (ModelWithCorners Z) (Prod.snd ∘ f) x v=0
56
+ rw [mfderiv_comp x mdifferentiableAt_snd
57
+ ((f.contMDiff x).mdifferentiableAt (by simp)),mfderiv_snd]
58
+ exact hm
59
+ intro x y hxy
60
+ have hL := (L.leafQuotient_eq_iff e hRC hdim x y).mp (congrArg Prod.fst hxy)
61
+ have hM := (M.leafQuotient_eq_iff e hRC hdim x y).mp (congrArg Prod.snd hxy)
62
+ apply f.injective
63
+ exact Prod.ext (M.holomorphic_map_eq_on_leaf hp hp0 hM)
64
+ (L.holomorphic_map_eq_on_leaf hq hq0 hL)
65
+
66
+
67
+
68
+ theorem compatible_projective_product_iff_leafPair_injective :
69
+ HasCompatibleProjectiveProduct X S ↔ Function.Injective (L.leafPair M e hRC hdim) :=
70
+ ⟨L.leafPair_injective_of_compatible_projective_product M e hRC hdim,
71
+ L.compatible_projective_product_of_leafPair_injective M e hRC hdim⟩
72
+
73
+ lemma leafPair_injective_iff_single_intersection :
74
+ Function.Injective (L.leafPair M e hRC hdim) ↔
75
+ ∀x y,y∈L.leaf x → y∈M.leaf x → y=x := by
76
+ constructor
77
+ · intro h x y hL hM
78
+ apply h
79
+ exact Prod.ext ((L.leafQuotient_eq_iff e hRC hdim x y).mpr hL).symm
80
+ ((M.leafQuotient_eq_iff e hRC hdim x y).mpr hM).symm
81
+ · intro h x y hxy
82
+ exact (h x y ((L.leafQuotient_eq_iff e hRC hdim x y).mp (congrArg Prod.fst hxy))
83
+ ((M.leafQuotient_eq_iff e hRC hdim x y).mp (congrArg Prod.snd hxy))).symm
84
+
85
+ end LeafJetAtlas
86
+
87
+
88
+
89
+ def LeafPairOneSheetedStatement : Prop :=
90
+ ∀ (X : ComplexManifold.{u}) [ConnectedSpace X.Carrier] [CompactSpace X.Carrier],
91
+ ∀ (hd : 2≤X.dim), ∀(e : ProjectiveEmbedding X) (hRC : RationallyConnected e)
92
+ (S : TangentSplitting X) (L : LeafJetAtlas S) (M : LeafJetAtlas S.swap),
93
+ Function.Injective (L.leafPair M e hRC (by omega))
94
+
95
+
96
+
97
+ theorem main_iff_leafPair_oneSheeted : MainStatement.{u} ↔ LeafPairOneSheetedStatement.{u} := by
98
+ constructor
99
+ · intro h X hc hk hd e hRC S L M
100
+ let := hc
101
+ let := hk
102
+ exact L.leafPair_injective_of_compatible_projective_product M e hRC (by omega)
103
+ (h X hc hk hd e hRC S).2.2
104
+ · intro h X hc hk hd e hRC S
105
+ let := hc
106
+ let := hk
107
+ obtain ⟨h₁,h₂⟩ := S.integrable_of_rationallyConnected e hRC hd
108
+ let L := S.leafJetAtlas h₁ h₂
109
+ let M := S.swap.leafJetAtlas (by simpa only [S.swap_first] using h₂)
110
+ (by simpa only [S.swap_second] using h₁)
111
+ exact ⟨h₁,h₂,L.compatible_projective_product_of_leafPair_injective M e hRC
112
+ (by omega) (@h X hc hk hd e hRC S L M)⟩
113
+
114
+ end SplitTangent
115
+
116
+ end
117
+
118
+ end OAI
lean/OAI/Geometry/SplitTangent/IntrinsicPositiveLeaf.lean ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Mathlib
2
+ import OAI.Geometry.SplitTangent.LeafJetAtlas
3
+ import OAI.Geometry.SplitTangent.Basic
4
+ import OAI.Geometry.SplitTangent.PositiveTangentCurves
5
+ import OAI.Geometry.SplitTangent.RationalCurveFrames
6
+ import OAI.Geometry.SplitTangent.ProjectivePositiveLeaf
7
+ import OAI.Geometry.SplitTangent.EmbeddedLeafCharts
8
+ import OAI.Geometry.SplitTangent.TangentCurveLeaf
9
+ import OAI.Geometry.SplitTangent.EmbeddedRationalCurve
10
+ import OAI.Geometry.SplitTangent.CompactPositiveLeaf
11
+
12
+ namespace OAI
13
+
14
+ /-! Intrinsic Positive Leaf. -/
15
+
16
+ noncomputable section
17
+ open Set Filter Topology
18
+ open scoped Manifold ContDiff
19
+ universe u
20
+ namespace SplitTangent.RationalCurveFrames
21
+ variable {X : ComplexManifold.{u}} {S : TangentSplitting X}
22
+ {e : ProjectiveEmbedding X} {g : RationalCurve X} (F : RationalCurveFrames e g)
23
+ (L : LeafJetAtlas S) [PreconnectedSpace X.Carrier] [CompactSpace X.Carrier]
24
+
25
+ include F in
26
+
27
+
28
+ theorem exists_intrinsic_positive_leaf (ht : g.TangentTo S.first) (hg : PointedGenerated g S.first) :
29
+ ∃Y : ComplexManifold.{u}, IsProjective Y ∧ ConnectedSpace Y.Carrier ∧
30
+ Y.dim=Module.finrank ℂ (S.first (g.finite 1)) ∧
31
+ ∃i : Y.Carrier → X.Carrier,
32
+ ContMDiff (ModelWithCorners Y) (ModelWithCorners X) ω i ∧
33
+ Function.Injective i ∧ Set.range i=L.leaf (g.finite 1) ∧
34
+ (∀y,LinearMap.range (mfderiv (ModelWithCorners Y) (ModelWithCorners X) i y).toLinearMap=
35
+ S.first (i y)) ∧
36
+ ∃k : RationalCurve Y,PointedGenerated k (fun _ => ⊤) ∧
37
+ (∀z,i (k.finite z)=g.finite z) ∧ (∀z,i (k.infinity z)=g.infinity z) := by
38
+ let h := F.leaf_locallySinglePlaque L ht hg
39
+ let A := L.embeddedAtlas (g.finite 1) h
40
+ let := A.chartedSpace
41
+ let := A.isManifold
42
+ let hf := L.tangent_rational_curve_finite ht
43
+ let hi := L.tangent_rational_curve_infinity ht
44
+ let k := A.rationalCurve g hf hi
45
+ refine ⟨A.manifold,⟨isCompact_iff_compactSpace.mp (F.leaf_isCompact L ht hg),
46
+ ⟨A.projectiveEmbedding e⟩⟩,isConnected_iff_connectedSpace.mp (L.plaques.leaf_isConnected _),rfl,
47
+ Subtype.val,A.inclusion_holomorphic,Subtype.val_injective,Subtype.range_coe,
48
+ L.embedded_inclusion_tangent _ h,k,?_,fun _ => rfl,fun _ => rfl⟩
49
+ exact A.rationalCurve_pointedGenerated g hf hi S.first hg (L.embedded_inclusion_tangent _ h)
50
+
51
+ end SplitTangent.RationalCurveFrames
52
+
53
+ end
54
+
55
+ end OAI
lean/OAI/Geometry/SplitTangent/LeadingJetProduct.lean ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Mathlib
2
+
3
+ namespace OAI
4
+
5
+ /-! Leading Jet Product. -/
6
+
7
+ noncomputable section
8
+ open Set Filter
9
+ open scoped Topology ContDiff
10
+ namespace SplitTangent.LeadingJet
11
+ variable {E F : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E]
12
+ [NormedAddCommGroup F] [NormedSpace ℂ F] [CompleteSpace F]
13
+
14
+ lemma iteratedFDeriv_smul_zero {f : E → F} {u : E → ℂ} {x : E}
15
+ (hf : AnalyticAt ℂ f x) (hu : AnalyticAt ℂ u x) (m : ℕ)
16
+ (hu0 : u x=0) (hz : ∀n,n < m → iteratedFDeriv ℂ n f x=0) :
17
+ iteratedFDeriv ℂ m (fun y => u y • f y) x=0 := by
18
+ obtain ⟨s,hsub,hs,hxs⟩ := mem_nhds_iff.mp
19
+ (hu.eventually_analyticAt.and hf.eventually_analyticAt)
20
+ have hu' : ContDiffOn ℂ ω u s := fun y hy => (hsub hy).1.contDiffAt.contDiffWithinAt
21
+ have hf' : ContDiffOn ℂ ω f s := fun y hy => (hsub hy).2.contDiffAt.contDiffWithinAt
22
+ have hb := norm_iteratedFDerivWithin_smul_le hu' hf' hs.uniqueDiffOn hxs
23
+ (n := m) (by simp only [le_top])
24
+ have he (n : ℕ) (g : E → F) : iteratedFDerivWithin ℂ n g s x=iteratedFDeriv ℂ n g x :=
25
+ iteratedFDerivWithin_of_isOpen n hs hxs
26
+ have heu (n : ℕ) : iteratedFDerivWithin ℂ n u s x=iteratedFDeriv ℂ n u x :=
27
+ iteratedFDerivWithin_of_isOpen n hs hxs
28
+ simp only [he,heu] at hb
29
+ have hs0 : (∑i∈Finset.range (m+1), (m.choose i : ℝ)*‖iteratedFDeriv ℂ i u x‖*
30
+ ‖iteratedFDeriv ℂ (m-i) f x‖)=0 := by
31
+ apply Finset.sum_eq_zero
32
+ intro i hi
33
+ have him : i ≤ m := Finset.mem_range_succ_iff.mp hi
34
+ by_cases hi0 : i=0
35
+ · subst i
36
+ rw [norm_iteratedFDeriv_zero,hu0,norm_zero,mul_zero,zero_mul]
37
+ · rw [hz (m-i) (by omega),norm_zero,mul_zero]
38
+ rw [hs0] at hb
39
+ exact norm_le_zero_iff.mp hb
40
+
41
+
42
+
43
+ theorem iteratedFDeriv_smul_of_lower_zero {f : E → F} {u : E → ℂ} {x : E}
44
+ (hf : AnalyticAt ℂ f x) (hu : AnalyticAt ℂ u x) (m : ℕ)
45
+ (hz : ∀n,n < m → iteratedFDeriv ℂ n f x=0) :
46
+ iteratedFDeriv ℂ m (fun y => u y • f y) x=u x • iteratedFDeriv ℂ m f x := by
47
+ have hp := iteratedFDeriv_smul_zero hf (hu.sub analyticAt_const) m (sub_self _) hz
48
+ have huf : ContDiffAt ℂ m (fun y => u y • f y) x := (hu.smul hf).contDiffAt
49
+ have hcf : ContDiffAt ℂ m (fun y => u x • f y) x :=
50
+ (hf.const_smul (c := u x)).contDiffAt
51
+ have he : (fun y => (u y-u x) • f y)=
52
+ (fun y => u y • f y)-(fun y => u x • f y) := by ext y; simp [sub_smul]
53
+ change iteratedFDeriv ℂ m (fun y => (u y-u x) • f y) x=0 at hp
54
+ rw [he,iteratedFDeriv_sub_apply huf hcf,
55
+ iteratedFDeriv_const_smul_apply' (hf.contDiffAt)] at hp
56
+ exact sub_eq_zero.mp hp
57
+
58
+ end SplitTangent.LeadingJet
59
+
60
+ end
61
+
62
+ end OAI
lean/OAI/Geometry/SplitTangent/LeafAffineRelations.lean ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Mathlib
2
+ import OAI.Geometry.SplitTangent.TensorVanishing
3
+ import OAI.Geometry.SplitTangent.LeafJetAtlas
4
+ import OAI.Geometry.SplitTangent.Basic
5
+ import OAI.Geometry.SplitTangent.PositiveTangentCurves
6
+ import OAI.Geometry.SplitTangent.ProjectiveLinearCoordinates
7
+ import OAI.Geometry.SplitTangent.RationalCurveFrames
8
+ import OAI.Geometry.SplitTangent.LeafClosureRelations
9
+
10
+ namespace OAI
11
+
12
+ /-! Leaf Affine Relations. -/
13
+
14
+ noncomputable section
15
+ open Set Filter Topology
16
+ open scoped Manifold ContDiff BigOperators
17
+ universe u
18
+ namespace SplitTangent.RationalCurveFrames
19
+ variable {X : ComplexManifold.{u}} {S : TangentSplitting X}
20
+ {e : ProjectiveEmbedding X} {g : RationalCurve X} (F : RationalCurveFrames e g)
21
+ (L : LeafJetAtlas S)
22
+ {A B : Type*}
23
+ [NormedAddCommGroup A] [NormedSpace ℂ A] [CompleteSpace A]
24
+ [NormedAddCommGroup B] [NormedSpace ℂ B] [CompleteSpace B]
25
+ (P : AlignedProductChart S A B)
26
+
27
+ include F in
28
+
29
+
30
+ theorem leaf_closure_affine_relation
31
+ (hy : g.finite 1∈P.chart.source) (ht : g.TangentTo S.first)
32
+ (hg : PointedGenerated g S.first)
33
+ (p : (Fin (e.N+1) → ℂ) →ₗ[ℂ] (Fin (Module.finrank ℂ (S.first (g.finite 1))) → ℂ))
34
+ (i j : Fin (e.N+1)) :
35
+ ∃q : MvPolynomial (Option (Fin (Module.finrank ℂ (S.first (g.finite 1))))) ℂ,
36
+ q≠0 ∧ ∀x∈closure (L.leaf (g.finite 1)),(e.map x).rep i≠0 →
37
+ MvPolynomial.eval (fun t => Option.elim t (projectiveCoordinates i (e.map x) j)
38
+ (p (projectiveCoordinates i (e.map x)))) q=0 := by
39
+ classical
40
+ let r := Module.finrank ℂ (S.first (g.finite 1))
41
+ let D : MvPolynomial.homogeneousSubmodule (Fin (e.N+1)) ℂ 1 :=
42
+ ⟨MvPolynomial.X i,MvPolynomial.isHomogeneous_X ℂ i⟩
43
+ let H : Option (Fin r) → MvPolynomial.homogeneousSubmodule (Fin (e.N+1)) ℂ 1 :=
44
+ fun t => Option.elim t ⟨MvPolynomial.X j,MvPolynomial.isHomogeneous_X ℂ j⟩
45
+ (fun a => ProjectiveLinearCoordinates.form ((LinearMap.proj a).comp p))
46
+ obtain ⟨q,hq,hrel⟩ := F.leaf_closure_relation L P hy ht hg D (H ∘ finSuccEquiv r)
47
+ refine ⟨MvPolynomial.rename (finSuccEquiv r) q,?_,?_⟩
48
+ · exact fun he => hq ((MvPolynomial.rename_injective _ (finSuccEquiv r).injective)
49
+ (he.trans (map_zero _).symm))
50
+ · intro x hx hi
51
+ have hd : MvPolynomial.eval (e.map x).rep D.val≠0 := by
52
+ simpa only [D,MvPolynomial.eval_X] using hi
53
+ have he := hrel x hx hd
54
+ have hv : ∀t : Option (Fin r),
55
+ MvPolynomial.eval (e.map x).rep (H t).val/MvPolynomial.eval (e.map x).rep D.val =
56
+ Option.elim t (projectiveCoordinates i (e.map x) j) (p (projectiveCoordinates i (e.map x))) := by
57
+ intro t
58
+ cases t with
59
+ | none => simp only [H,D,Option.elim_none,MvPolynomial.eval_X,projectiveCoordinates,div_eq_mul_inv,mul_comm]
60
+ | some a =>
61
+ simp only [H,D,Option.elim_some,MvPolynomial.eval_X]
62
+ rw [ProjectiveLinearCoordinates.eval_form_ratio]
63
+ rfl
64
+ rw [MvPolynomial.eval_rename]
65
+ convert he using 1
66
+ congr 1
67
+ apply congrArg MvPolynomial.eval
68
+ funext t
69
+ exact (hv (finSuccEquiv r t)).symm
70
+
71
+ end SplitTangent.RationalCurveFrames
72
+
73
+ end
74
+
75
+ end OAI
lean/OAI/Geometry/SplitTangent/LeafAlgebraicDependence.lean ADDED
@@ -0,0 +1,100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Mathlib
2
+ import OAI.Geometry.SplitTangent.BoxMonomials
3
+ import OAI.Geometry.SplitTangent.TensorVanishing
4
+ import OAI.Geometry.SplitTangent.LeafJetAtlas
5
+ import OAI.Geometry.SplitTangent.Basic
6
+ import OAI.Geometry.SplitTangent.PositiveTangentCurves
7
+ import OAI.Geometry.SplitTangent.RationalCurveFrames
8
+ import OAI.Geometry.SplitTangent.LeafPolynomialGrowth
9
+
10
+ namespace OAI
11
+
12
+ /-! Leaf Algebraic Dependence. -/
13
+
14
+ noncomputable section
15
+ open Set Filter Topology
16
+ open scoped Manifold ContDiff BigOperators
17
+ universe u
18
+ namespace SplitTangent.RationalCurveFrames
19
+ variable {X : ComplexManifold.{u}} {S : TangentSplitting X}
20
+ {e : ProjectiveEmbedding X} {g : RationalCurve X} (F : RationalCurveFrames e g)
21
+ (L : LeafJetAtlas S)
22
+ {A B : Type*}
23
+ [NormedAddCommGroup A] [NormedSpace ℂ A] [CompleteSpace A]
24
+ [NormedAddCommGroup B] [NormedSpace ℂ B] [CompleteSpace B]
25
+ (P : AlignedProductChart S A B)
26
+
27
+ abbrev leafFrame (t : A) :=
28
+ F.finite 1 (P.chart.symm (t,(P.chart (g.finite 1)).2))
29
+
30
+ omit [CompleteSpace A] [CompleteSpace B] in
31
+ lemma leafFrame_continuousAt (hy : g.finite 1∈P.chart.source) :
32
+ ContinuousAt (F.leafFrame P) (P.chart (g.finite 1)).1 := by
33
+ have hh := (P.inverse_holomorphicAt (P.chart.map_source hy)).continuousAt.comp
34
+ (f := fun a : A => (a,(P.chart (g.finite 1)).2))
35
+ (x := (P.chart (g.finite 1)).1)
36
+ (continuousAt_id.prodMk continuousAt_const)
37
+ have hf := (F.finite_holomorphicAt 1).continuousAt
38
+ have he : P.chart.symm ((P.chart (g.finite 1)).1,(P.chart (g.finite 1)).2)=g.finite 1 :=
39
+ P.chart.left_inv hy
40
+ rw [←he] at hf
41
+ exact hf.comp (f := fun a : A => P.chart.symm (a,(P.chart (g.finite 1)).2))
42
+ (x := (P.chart (g.finite 1)).1) hh
43
+
44
+ include L in
45
+
46
+
47
+ theorem leaf_coordinates_dependent
48
+ (hy : g.finite 1∈P.chart.source) (ht : g.TangentTo S.first)
49
+ (hg : PointedGenerated g S.first)
50
+ (j : Fin (e.N+1)) (hj : F.finite 1 (g.finite 1) j≠0)
51
+ (v : Fin (Module.finrank ℂ (S.first (g.finite 1))+1) → Fin (e.N+1)) :
52
+ ∃p : MvPolynomial (Fin (Module.finrank ℂ (S.first (g.finite 1))+1)) ℂ,
53
+ p≠0 ∧ (fun t : A => MvPolynomial.eval (fun i => F.leafFrame P t (v i)/F.leafFrame P t j) p)
54
+ =ᶠ[𝓝 (P.chart (g.finite 1)).1] 0 := by
55
+ classical
56
+ let r := Module.finrank ℂ (S.first (g.finite 1))
57
+ let C := (F.degree+r+1)^r*(F.degree+1)
58
+ obtain ⟨t,hbig⟩ := PolynomialGrowthArithmetic.box_exceeds C r
59
+ let k := (r+1)*t
60
+ obtain ⟨hfin,hbound⟩ := F.leaf_polynomial_growth L P hy ht hg k
61
+ let := hfin
62
+ let q : BoxMonomials.Box (r+1) t → F.LeafPolynomialGerms P k :=
63
+ fun b => (F.leafPolynomialKernel P k).mkQ (BoxMonomials.homogeneous j v b)
64
+ have hnot : ¬LinearIndependent ℂ q := by
65
+ intro hlin
66
+ have hcard := hlin.fintype_card_le_finrank
67
+ have hc : (t+1)^(r+1) ≤ Module.finrank ℂ (F.LeafPolynomialGerms P k) := by
68
+ simpa only [BoxMonomials.Box,Fintype.card_fun,Fintype.card_fin] using hcard
69
+ exact (Nat.not_lt_of_ge (hc.trans hbound)) hbig
70
+ obtain ⟨c,hc,i,hi⟩ := Fintype.not_linearIndependent_iff.mp hnot
71
+ let p : MvPolynomial (Fin (r+1)) ℂ := ∑b,c b • BoxMonomials.affine b
72
+ have hp : p≠0 := by
73
+ intro he
74
+ exact hi (Fintype.linearIndependent_iff.mp (BoxMonomials.affine_independent (r+1) t) c he i)
75
+ refine ⟨p,hp,?_⟩
76
+ have hzero : (∑b,c b • BoxMonomials.homogeneous j v b)∈F.leafPolynomialKernel P k := by
77
+ apply (Submodule.Quotient.mk_eq_zero _).mp
78
+ change (F.leafPolynomialKernel P k).mkQ (∑b,c b • BoxMonomials.homogeneous j v b)=0
79
+ simpa only [map_sum,map_smul] using hc
80
+ have hn : ∀ᶠ a in 𝓝 (P.chart (g.finite 1)).1,F.leafFrame P a j≠0 := by
81
+ apply ((continuous_apply j).continuousAt.comp (F.leafFrame_continuousAt P hy)).eventually_ne
82
+ simpa only [Function.comp_apply,leafFrame,Prod.mk.eta,P.chart.left_inv hy] using hj
83
+ filter_upwards [hzero,hn] with a ha haj
84
+ change MvPolynomial.eval (F.leafFrame P a) (↑(∑b,c b • BoxMonomials.homogeneous j v b))=0 at ha
85
+ have he : MvPolynomial.eval (F.leafFrame P a) (↑(∑b,c b • BoxMonomials.homogeneous j v b))=
86
+ (F.leafFrame P a j)^k *
87
+ MvPolynomial.eval (fun i => F.leafFrame P a (v i)/F.leafFrame P a j) p := by
88
+ simp only [Submodule.coe_sum,Submodule.coe_smul,map_sum,MvPolynomial.smul_eval,p,
89
+ BoxMonomials.eval_homogeneous j v _ _ haj,Finset.mul_sum]
90
+ apply Finset.sum_congr rfl
91
+ intro b hb
92
+ ring
93
+ rw [he] at ha
94
+ exact (mul_eq_zero.mp ha).resolve_left (pow_ne_zero _ haj)
95
+
96
+ end SplitTangent.RationalCurveFrames
97
+
98
+ end
99
+
100
+ end OAI
lean/OAI/Geometry/SplitTangent/LeafClosureRelations.lean ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Mathlib
2
+ import OAI.Geometry.SplitTangent.TensorVanishing
3
+ import OAI.Geometry.SplitTangent.LeafJetAtlas
4
+ import OAI.Geometry.SplitTangent.Basic
5
+ import OAI.Geometry.SplitTangent.PositiveTangentCurves
6
+ import OAI.Geometry.SplitTangent.RationalCurveFrames
7
+ import OAI.Geometry.SplitTangent.LeafPolynomialGrowth
8
+ import OAI.Geometry.SplitTangent.LeafHomogeneousRelations
9
+ import OAI.Geometry.SplitTangent.ProjectiveHypersurfaces
10
+
11
+ namespace OAI
12
+
13
+ /-! Leaf Closure Relations. -/
14
+
15
+ noncomputable section
16
+ open Set Filter Topology
17
+ open scoped Manifold ContDiff BigOperators
18
+ universe u
19
+ namespace SplitTangent.RationalCurveFrames
20
+ variable {X : ComplexManifold.{u}} {S : TangentSplitting X}
21
+ {e : ProjectiveEmbedding X} {g : RationalCurve X} (F : RationalCurveFrames e g)
22
+ (L : LeafJetAtlas S)
23
+ {A B : Type*}
24
+ [NormedAddCommGroup A] [NormedSpace ℂ A] [CompleteSpace A]
25
+ [NormedAddCommGroup B] [NormedSpace ℂ B] [CompleteSpace B]
26
+ (P : AlignedProductChart S A B)
27
+
28
+ lemma polynomialKernel_germIn {k : ℕ}
29
+ {Q : MvPolynomial.homogeneousSubmodule (Fin (e.N+1)) ℂ k}
30
+ (hy : g.finite 1∈P.chart.source) (hQ : Q∈F.leafPolynomialKernel P k) :
31
+ L.GermIn (e.homogeneousZeroLocus Q.val) (g.finite 1) := by
32
+ apply (L.germIn_iff P hy).mpr
33
+ have ha := e.linearFrame_denominator_eventually
34
+ (fun i => (F.a i).eval 1) (F.finite_denominator_ne 1)
35
+ let s : A → X.Carrier := fun t => P.chart.symm (t,(P.chart (g.finite 1)).2)
36
+ have hs : ContinuousAt s (P.chart (g.finite 1)).1 :=
37
+ (P.inverse_holomorphicAt (P.chart.map_source hy)).continuousAt.comp
38
+ (f := fun t : A => (t,(P.chart (g.finite 1)).2)) (x := (P.chart (g.finite 1)).1)
39
+ (continuousAt_id.prodMk continuousAt_const)
40
+ have hae : ∀ᶠ t in 𝓝 (P.chart (g.finite 1)).1,
41
+ (∑i,(F.a i).eval 1*(e.map (s t)).rep i)≠0 :=
42
+ (by simpa only [s,P.chart.left_inv hy] using hs.tendsto :
43
+ Tendsto s (𝓝 (P.chart (g.finite 1)).1) (𝓝 (g.finite 1))).eventually ha
44
+ filter_upwards [hQ,hae] with t ht hta
45
+ exact (e.linearFrame_zero_iff Q.property _ hta).mp ht
46
+
47
+ lemma polynomialKernel_closure_zero {k : ℕ}
48
+ {Q : MvPolynomial.homogeneousSubmodule (Fin (e.N+1)) ℂ k}
49
+ (hy : g.finite 1∈P.chart.source) (hQ : Q∈F.leafPolynomialKernel P k) :
50
+ ∀x∈closure (L.leaf (g.finite 1)),MvPolynomial.eval (e.map x).rep Q.val=0 :=
51
+ L.closure_leaf_subset (e.homogeneousZeroLocus_locally_holomorphic Q.property)
52
+ (e.homogeneousZeroLocus_isClosed Q.property) (F.polynomialKernel_germIn L P hy hQ)
53
+
54
+ include F in
55
+
56
+
57
+ theorem leaf_closure_relation
58
+ (hy : g.finite 1∈P.chart.source) (ht : g.TangentTo S.first)
59
+ (hg : PointedGenerated g S.first)
60
+ (D : MvPolynomial.homogeneousSubmodule (Fin (e.N+1)) ℂ 1)
61
+ (H : Fin (Module.finrank ℂ (S.first (g.finite 1))+1) →
62
+ MvPolynomial.homogeneousSubmodule (Fin (e.N+1)) ℂ 1) :
63
+ ∃p : MvPolynomial (Fin (Module.finrank ℂ (S.first (g.finite 1))+1)) ℂ,
64
+ p≠0 ∧ ∀x∈closure (L.leaf (g.finite 1)), MvPolynomial.eval (e.map x).rep D.val≠0 →
65
+ MvPolynomial.eval (fun i => MvPolynomial.eval (e.map x).rep (H i).val /
66
+ MvPolynomial.eval (e.map x).rep D.val) p=0 := by
67
+ obtain ⟨k,Q,hQ,p,hp,he⟩ := F.leaf_homogeneous_relation L P hy ht hg D H
68
+ refine ⟨p,hp,?_⟩
69
+ intro x hx hD
70
+ have hz := F.polynomialKernel_closure_zero L P hy hQ x hx
71
+ rw [he _ hD] at hz
72
+ exact (mul_eq_zero_iff_left (pow_ne_zero k hD)).mp hz
73
+
74
+ end SplitTangent.RationalCurveFrames
75
+
76
+ end
77
+
78
+ end OAI
lean/OAI/Geometry/SplitTangent/LeafCompactLimits.lean ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Mathlib
2
+ import OAI.Geometry.SplitTangent.CompactSetLimits
3
+ import OAI.Geometry.SplitTangent.FoliationLeaves
4
+ import OAI.Geometry.SplitTangent.LeafJetAtlas
5
+ import OAI.Geometry.SplitTangent.Basic
6
+ import OAI.Geometry.SplitTangent.LeafPlaques
7
+ import OAI.Geometry.SplitTangent.AllCompactLeaves
8
+
9
+ namespace OAI
10
+
11
+ /-! Leaf Compact Limits. -/
12
+
13
+ noncomputable section
14
+ open Set Filter Topology TopologicalSpace
15
+ open scoped Manifold ContDiff
16
+ universe u
17
+ namespace SplitTangent.LeafJetAtlas
18
+ variable {X : ComplexManifold.{u}} {S : TangentSplitting X}
19
+ [CompactSpace X.Carrier] [ConnectedSpace X.Carrier]
20
+ (L : LeafJetAtlas S) (e : ProjectiveEmbedding X)
21
+ (hRC : RationallyConnected e) (hdim : 0<X.dim)
22
+
23
+ def compactLeaf (x : X.Carrier) : Compacts X.Carrier :=
24
+ ⟨L.leaf x,L.all_leaf_isCompact e hRC hdim x⟩
25
+
26
+ def leafLimits : Set (Compacts X.Carrier) := closure (range (L.compactLeaf e hRC hdim))
27
+
28
+ lemma leafLimits_preconnected {K : Compacts X.Carrier} (hK : K∈L.leafLimits e hRC hdim) :
29
+ IsPreconnected (K : Set X.Carrier) := by
30
+ apply (closure_minimal (t := {K : Compacts X.Carrier | IsPreconnected (K : Set X.Carrier)})
31
+ ?_ CompactSetLimits.isClosed_preconnected) hK
32
+ rintro _ ⟨x,rfl⟩
33
+ exact (L.plaques.leaf_isConnected x).2
34
+
35
+ lemma leafLimits_nonempty {K : Compacts X.Carrier} (hK : K∈L.leafLimits e hRC hdim) :
36
+ (K : Set X.Carrier).Nonempty := by
37
+ apply Compacts.coe_nonempty.mpr
38
+ have hh : K∈({⊥} : Set (Compacts X.Carrier))ᶜ :=
39
+ (closure_minimal (t := ({⊥} : Set (Compacts X.Carrier))ᶜ) (by
40
+ rintro _ ⟨x,rfl⟩
41
+ exact Compacts.coe_nonempty.mp ⟨x,PlaqueSystem.Reachable.refl L.plaques x⟩)
42
+ Compacts.isClopen_singleton_bot.isOpen.isClosed_compl) hK
43
+ exact hh
44
+
45
+ lemma leafLimits_saturated {K : Compacts X.Carrier} (hK : K∈L.leafLimits e hRC hdim)
46
+ {z : X.Carrier} {U : Set (S.FirstModel z)} {V : Set (S.SecondModel z)}
47
+ (hU : IsOpen U) (hUc : IsPreconnected U) (hV : IsOpen V)
48
+ (hT : U ×ˢ V⊆(L.chart z).chart.target)
49
+ {a₀ a₁ : S.FirstModel z} {b : S.SecondModel z}
50
+ (ha₀ : a₀∈U) (ha₁ : a₁∈U) (hb : b∈V)
51
+ (hx : (L.chart z).chart.symm (a₀,b)∈(K : Set X.Carrier)) :
52
+ (L.chart z).chart.symm (a₁,b)∈(K : Set X.Carrier) := by
53
+ let P := (L.chart z).chart
54
+ let W := P.source ∩ P ⁻¹' (U ×ˢ V)
55
+ let f : X.Carrier → X.Carrier := fun y => P.symm (a₁,(P y).2)
56
+ have hW : IsOpen W := P.continuousOn.isOpen_inter_preimage P.open_source (hU.prod hV)
57
+ have hf : ContinuousOn f W := by
58
+ intro y hy
59
+ apply ContinuousAt.continuousWithinAt
60
+ exact ContinuousAt.comp (f := fun y => (a₁,(P y).2)) (g := P.symm)
61
+ (P.symm.continuousAt (hT ⟨ha₁,hy.2.2⟩))
62
+ (continuousAt_const.prodMk (P.continuousAt hy.1).snd)
63
+ have hInv : ∀y∈(K : Set X.Carrier),y∈W → f y∈(K : Set X.Carrier) := by
64
+ apply (closure_minimal (t := {K : Compacts X.Carrier |
65
+ ∀y∈(K : Set X.Carrier),y∈W → f y∈(K : Set X.Carrier)}) ?_
66
+ (CompactSetLimits.isClosed_local_invariance hW hf)) hK
67
+ rintro _ ⟨x,rfl⟩ y hy hyW
68
+ apply L.plaques.leaf_saturated hy
69
+ have hh := L.plaques.related_in_rectangle (i := z) hUc hT hyW.2.1 ha₁ hyW.2.2
70
+ change L.plaques.Related (P.symm (P y)) (f y) at hh
71
+ rwa [P.left_inv hyW.1] at hh
72
+ have ht₀ := hT (show (a₀,b)∈U ×ˢ V from ⟨ha₀,hb⟩)
73
+ have hh := hInv (P.symm (a₀,b)) hx ⟨P.map_target ht₀,by
74
+ change P (P.symm (a₀,b))∈U ×ˢ V
75
+ rw [P.right_inv ht₀]
76
+ exact ⟨ha₀,hb⟩⟩
77
+ simpa only [f,P.right_inv ht₀] using hh
78
+
79
+ end SplitTangent.LeafJetAtlas
80
+
81
+ end
82
+
83
+ end OAI
lean/OAI/Geometry/SplitTangent/LeafGermIdentity.lean ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Mathlib
2
+ import OAI.Geometry.SplitTangent.TensorVanishing
3
+ import OAI.Geometry.SplitTangent.LeafJetAtlas
4
+ import OAI.Geometry.SplitTangent.Basic
5
+
6
+ namespace OAI
7
+
8
+ /-! Leaf Germ Identity. -/
9
+
10
+ noncomputable section
11
+ open Set Filter Topology
12
+ open scoped Manifold ContDiff
13
+ universe u
14
+ namespace SplitTangent.AlignedProductChart
15
+ variable {X : ComplexManifold.{u}} {S : TangentSplitting X}
16
+ {A B : Type*}
17
+ [NormedAddCommGroup A] [NormedSpace ℂ A] [CompleteSpace A]
18
+ [NormedAddCommGroup B] [NormedSpace ℂ B] [CompleteSpace B]
19
+
20
+ omit [CompleteSpace A] [CompleteSpace B] in
21
+ lemma tangent_curve_snd_derivative (P : AlignedProductChart S A B)
22
+ {h : ℂ → X.Carrier} {z : ℂ}
23
+ (hh : ContMDiffAt 𝓘(ℂ,ℂ) (ModelWithCorners X) ω h z)
24
+ (hy : h z∈P.chart.source)
25
+ (ht : mfderiv 𝓘(ℂ,ℂ) (ModelWithCorners X) h z (1 : ℂ)∈S.first (h z)) :
26
+ HasFDerivAt (fun t => (P.chart (h t)).2) (0 : ℂ →L[ℂ] B) z := by
27
+ have hp := P.holomorphicAt hy
28
+ have ha := (hp.comp z hh).contDiffAt.analyticAt.differentiableAt
29
+ have hc := mfderiv_comp z (hp.mdifferentiableAt (by simp)) (hh.mdifferentiableAt (by simp))
30
+ rw [mfderiv_eq_fderiv] at hc
31
+ have hd : fderiv ℂ (fun t => (P.chart (h t)).2) z=0 := by
32
+ change fderiv ℂ (fun x => ((P.chart ∘ h) x).2) z=0
33
+ rw [fderiv.snd ha,hc]
34
+ apply ContinuousLinearMap.ext
35
+ intro w
36
+ have hw : mfderiv 𝓘(ℂ,ℂ) (ModelWithCorners X) h z w∈S.first (h z) := by
37
+ have he : w=w • (1 : ℂ) := by simp
38
+ erw [he,map_smul]
39
+ exact (S.first (h z)).smul_mem w ht
40
+ have hm : mfderiv (ModelWithCorners X) 𝓘(ℂ,A × B) P.chart (h z)
41
+ (mfderiv 𝓘(ℂ,ℂ) (ModelWithCorners X) h z w) ∈
42
+ Submodule.map (mfderiv (ModelWithCorners X) 𝓘(ℂ,A × B) P.chart (h z)).toLinearMap (S.first (h z)) :=
43
+ ⟨_,hw,rfl⟩
44
+ rw [P.first _ hy] at hm
45
+ exact hm
46
+ rw [←hd]
47
+ exact ha.snd.hasFDerivAt
48
+
49
+ omit [CompleteSpace A] [CompleteSpace B] in
50
+ theorem tangent_curve_snd_eventually (P : AlignedProductChart S A B)
51
+ {h : ℂ → X.Carrier} {z₀ : ℂ}
52
+ (hh : ContMDiff 𝓘(ℂ,ℂ) (ModelWithCorners X) ω h)
53
+ (hy : h z₀∈P.chart.source)
54
+ (ht : ∀z,mfderiv 𝓘(ℂ,ℂ) (ModelWithCorners X) h z (1 : ℂ)∈S.first (h z)) :
55
+ ∀ᶠ z in 𝓝 z₀,(P.chart (h z)).2=(P.chart (h z₀)).2 := by
56
+ have hnh := (hh z₀).continuousAt.preimage_mem_nhds (P.chart.open_source.mem_nhds hy)
57
+ obtain ⟨r,hr,hs⟩ := Metric.mem_nhds_iff.mp hnh
58
+ have hD : ∀z∈Metric.ball z₀ r,
59
+ HasFDerivAt (fun t => (P.chart (h t)).2) (0 : ℂ →L[ℂ] B) z :=
60
+ fun z hz => P.tangent_curve_snd_derivative (hh z) (hs hz) (ht z)
61
+ filter_upwards [Metric.ball_mem_nhds z₀ hr] with z hz
62
+ exact Metric.isOpen_ball.is_const_of_fderiv_eq_zero (convex_ball z₀ r).isPreconnected
63
+ (fun z hz => (hD z hz).differentiableAt.differentiableWithinAt)
64
+ (fun z hz => (hD z hz).fderiv) hz (Metric.mem_ball_self hr)
65
+
66
+
67
+
68
+ theorem germ_zero_of_all_jets (P : AlignedProductChart S A B) (L : LeafJetAtlas S)
69
+ {f : X.Carrier → ℂ} {y : X.Carrier} (hy : y∈P.chart.source)
70
+ (hf : ContMDiffAt (ModelWithCorners X) 𝓘(ℂ,ℂ) ω f y)
71
+ (hz : ∀m,L.jet f y m=0) :
72
+ (fun a => f (P.chart.symm (a,(P.chart y).2))) =ᶠ[𝓝 (P.chart y).1] 0 := by
73
+ apply HorizontalJet.eventually_zero_of_all_zero (P.coordinate_function_analytic hy hf)
74
+ intro m
75
+ apply (P.jet_eq_zero_iff f hy m).mp
76
+ rw [P.jet_independent (L.chart y) hy (L.mem_source y) hf m (fun n hn => hz n)]
77
+ exact hz m
78
+
79
+ end SplitTangent.AlignedProductChart
80
+
81
+ end
82
+
83
+ end OAI
lean/OAI/Geometry/SplitTangent/LeafHomogeneousRelations.lean ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Mathlib
2
+ import OAI.Geometry.SplitTangent.BoxMonomials
3
+ import OAI.Geometry.SplitTangent.TensorVanishing
4
+ import OAI.Geometry.SplitTangent.LeafJetAtlas
5
+ import OAI.Geometry.SplitTangent.Basic
6
+ import OAI.Geometry.SplitTangent.PositiveTangentCurves
7
+ import OAI.Geometry.SplitTangent.RationalCurveFrames
8
+ import OAI.Geometry.SplitTangent.LeafPolynomialGrowth
9
+
10
+ namespace OAI
11
+
12
+ /-! Leaf Homogeneous Relations. -/
13
+
14
+ noncomputable section
15
+ open Set Filter Topology
16
+ open scoped Manifold ContDiff BigOperators
17
+ universe u
18
+ namespace SplitTangent.RationalCurveFrames
19
+ variable {X : ComplexManifold.{u}} {S : TangentSplitting X}
20
+ {e : ProjectiveEmbedding X} {g : RationalCurve X} (F : RationalCurveFrames e g)
21
+ (L : LeafJetAtlas S)
22
+ {A B : Type*}
23
+ [NormedAddCommGroup A] [NormedSpace ℂ A] [CompleteSpace A]
24
+ [NormedAddCommGroup B] [NormedSpace ℂ B] [CompleteSpace B]
25
+ (P : AlignedProductChart S A B)
26
+
27
+ include L in
28
+ theorem leaf_homogeneous_relation
29
+ (hy : g.finite 1∈P.chart.source) (ht : g.TangentTo S.first)
30
+ (hg : PointedGenerated g S.first)
31
+ (D : MvPolynomial.homogeneousSubmodule (Fin (e.N+1)) ℂ 1)
32
+ (H : Fin (Module.finrank ℂ (S.first (g.finite 1))+1) →
33
+ MvPolynomial.homogeneousSubmodule (Fin (e.N+1)) ℂ 1) :
34
+ ∃(k : ℕ) (Q : MvPolynomial.homogeneousSubmodule (Fin (e.N+1)) ℂ k),
35
+ Q∈F.leafPolynomialKernel P k ∧
36
+ ∃p : MvPolynomial (Fin (Module.finrank ℂ (S.first (g.finite 1))+1)) ℂ,
37
+ p≠0 ∧ ∀x : Fin (e.N+1) → ℂ,MvPolynomial.eval x D.val≠0 →
38
+ MvPolynomial.eval x Q.val=(MvPolynomial.eval x D.val)^k*
39
+ MvPolynomial.eval (fun i => MvPolynomial.eval x (H i).val/MvPolynomial.eval x D.val) p := by
40
+ classical
41
+ let r := Module.finrank ℂ (S.first (g.finite 1))
42
+ let C := (F.degree+r+1)^r*(F.degree+1)
43
+ obtain ⟨t,hbig⟩ := PolynomialGrowthArithmetic.box_exceeds C r
44
+ let k := (r+1)*t
45
+ obtain ⟨hfin,hbound⟩ := F.leaf_polynomial_growth L P hy ht hg k
46
+ let := hfin
47
+ let q : BoxMonomials.Box (r+1) t → F.LeafPolynomialGerms P k :=
48
+ fun b => (F.leafPolynomialKernel P k).mkQ (BoxMonomials.homogeneousForms D H b)
49
+ have hnot : ¬LinearIndependent ℂ q := by
50
+ intro hlin
51
+ have hcard := hlin.fintype_card_le_finrank
52
+ have hc : (t+1)^(r+1) ≤ Module.finrank ℂ (F.LeafPolynomialGerms P k) := by
53
+ simpa only [BoxMonomials.Box,Fintype.card_fun,Fintype.card_fin] using hcard
54
+ exact (Nat.not_lt_of_ge (hc.trans hbound)) hbig
55
+ obtain ⟨c,hc,i,hi⟩ := Fintype.not_linearIndependent_iff.mp hnot
56
+ let p : MvPolynomial (Fin (r+1)) ℂ := ∑b,c b • BoxMonomials.affine b
57
+ have hp : p≠0 := by
58
+ intro he
59
+ exact hi (Fintype.linearIndependent_iff.mp (BoxMonomials.affine_independent (r+1) t) c he i)
60
+ refine ⟨k,∑b,c b • BoxMonomials.homogeneousForms D H b,?_,p,hp,?_⟩
61
+ · apply (Submodule.Quotient.mk_eq_zero _).mp
62
+ change (F.leafPolynomialKernel P k).mkQ (∑b,c b • BoxMonomials.homogeneousForms D H b)=0
63
+ simpa only [map_sum,map_smul] using hc
64
+ · intro x hx
65
+ simp only [Submodule.coe_sum,Submodule.coe_smul,map_sum,MvPolynomial.smul_eval,p,
66
+ BoxMonomials.eval_homogeneousForms D H _ _ hx,Finset.mul_sum]
67
+ apply Finset.sum_congr rfl
68
+ intro b hb
69
+ ring
70
+
71
+ end SplitTangent.RationalCurveFrames
72
+
73
+ end
74
+
75
+ end OAI
lean/OAI/Geometry/SplitTangent/LeafJetAtlas.lean ADDED
@@ -0,0 +1,99 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Mathlib
2
+ import OAI.Geometry.SplitTangent.TensorVanishing
3
+ import OAI.Geometry.SplitTangent.Basic
4
+ import OAI.Geometry.SplitTangent.TwistedCurveTensor
5
+ import OAI.Geometry.SplitTangent.HolomorphicManifoldProduct
6
+ import OAI.Geometry.SplitTangent.ManifoldLeafJets
7
+ import OAI.Geometry.SplitTangent.ManifoldJetAnalytic
8
+
9
+ namespace OAI
10
+
11
+ /-! Leaf Jet Atlas. -/
12
+
13
+ noncomputable section
14
+ open Set Filter Topology Bundle
15
+ open scoped Manifold ContDiff
16
+ universe u
17
+ namespace SplitTangent
18
+
19
+
20
+ structure LeafJetAtlas {X : ComplexManifold.{u}} (S : TangentSplitting X) where
21
+ chart : ∀x, AlignedProductChart S (S.FirstModel x) (S.SecondModel x)
22
+ mem_source : ∀x,x∈(chart x).chart.source
23
+
24
+ def TangentSplitting.leafJetAtlas {X : ComplexManifold.{u}} (S : TangentSplitting X)
25
+ (hI₁ : Integrable X S.first) (hI₂ : Integrable X S.second) : LeafJetAtlas S where
26
+ chart x := (S.exists_aligned_product_chart hI₁ hI₂ x).choose
27
+ mem_source x := (S.exists_aligned_product_chart hI₁ hI₂ x).choose_spec.1
28
+
29
+ namespace LeafJetAtlas
30
+ variable {X : ComplexManifold.{u}} {S : TangentSplitting X} (A : LeafJetAtlas S)
31
+
32
+ abbrev jet (f : X.Carrier → ℂ) (y : X.Carrier) (m : ℕ) : TangentTensor X m :=
33
+ (A.chart y).jet f y m
34
+
35
+ lemma jet_add {f h : X.Carrier → ℂ} {y : X.Carrier}
36
+ (hf : ContMDiffAt (ModelWithCorners X) 𝓘(ℂ,ℂ) ω f y)
37
+ (hh : ContMDiffAt (ModelWithCorners X) 𝓘(ℂ,ℂ) ω h y) (m : ℕ) :
38
+ A.jet (f+h) y m=A.jet f y m+A.jet h y m :=
39
+ (A.chart y).jet_add (A.mem_source y) hf hh m
40
+
41
+ lemma jet_csmul {f : X.Carrier → ℂ} {y : X.Carrier}
42
+ (hf : ContMDiffAt (ModelWithCorners X) 𝓘(ℂ,ℂ) ω f y) (m : ℕ) (c : ℂ) :
43
+ A.jet (c • f) y m=c • A.jet f y m :=
44
+ (A.chart y).jet_csmul (A.mem_source y) hf m c
45
+
46
+ @[simp] lemma jet_zero (y : X.Carrier) (m : ℕ) : A.jet 0 y m=0 :=
47
+ (A.chart y).jet_zero y m
48
+
49
+ lemma jet_smul {f v : X.Carrier → ℂ} {y : X.Carrier}
50
+ (hf : ContMDiffAt (ModelWithCorners X) 𝓘(ℂ,ℂ) ω f y)
51
+ (hv : ContMDiffAt (ModelWithCorners X) 𝓘(ℂ,ℂ) ω v y)
52
+ (m : ℕ) (hz : ∀n,n < m → A.jet f y n=0) :
53
+ A.jet (fun x => v x*f x) y m=v y • A.jet f y m :=
54
+ (A.chart y).jet_smul (A.mem_source y) hf hv m hz
55
+
56
+ lemma jet_congr {f h : X.Carrier → ℂ} {y : X.Carrier}
57
+ (he : f=ᶠ[𝓝 y] h) (m : ℕ) : A.jet f y m=A.jet h y m :=
58
+ (A.chart y).jet_congr (A.mem_source y) he m
59
+
60
+ lemma parameter_slice {f : ℂ × X.Carrier → ℂ} {z : ℂ} {y : X.Carrier}
61
+ (hf : ContMDiffAt (𝓘(ℂ,ℂ).prod (ModelWithCorners X)) 𝓘(ℂ,ℂ) ω f (z,y)) :
62
+ ContMDiffAt (ModelWithCorners X) 𝓘(ℂ,ℂ) ω (fun x => f (z,x)) y :=
63
+ hf.comp y (contMDiffAt_const.prodMk contMDiffAt_id)
64
+
65
+
66
+
67
+ theorem leading_analytic {g : ℂ → X.Carrier} {f : ℂ × X.Carrier → ℂ}
68
+ (hg : ContMDiff 𝓘(ℂ,ℂ) (ModelWithCorners X) ω g)
69
+ (hf : ∀z,ContMDiffAt (𝓘(ℂ,ℂ).prod (ModelWithCorners X)) 𝓘(ℂ,ℂ) ω f (z,g z))
70
+ (m : ℕ) (hz : ∀z n,n < m → A.jet (fun x => f (z,x)) (g z) n=0) (z₀ : ℂ) :
71
+ AnalyticAt ℂ (tangentTensorCoordinates g
72
+ (fun z => A.jet (fun x => f (z,x)) (g z) m) z₀) z₀ := by
73
+ let P := A.chart (g z₀)
74
+ have hp := P.jet_parameter_analytic (hg z₀) (A.mem_source _) (hf z₀) m
75
+ apply hp.congr
76
+ filter_upwards [(hg z₀).continuousAt.preimage_mem_nhds
77
+ (P.chart.open_source.mem_nhds (A.mem_source _))] with z hPz
78
+ have he := P.jet_independent (A.chart (g z)) hPz (A.mem_source _)
79
+ (parameter_slice (hf z)) m (hz z)
80
+ exact congrArg (fun t : TangentTensor X m =>
81
+ tangentTensorCoordinates g (fun _ => t) z₀ z) he
82
+
83
+ lemma jet_supported (f : X.Carrier → ℂ) (y : X.Carrier) (m : ℕ)
84
+ (v : Fin m → Tangent X y) :
85
+ A.jet f y m (fun i => S.projector y (v i))=A.jet f y m v :=
86
+ (A.chart y).jet_supported f (A.mem_source _) m v
87
+
88
+ lemma jet_symmetric {f : X.Carrier → ℂ} {y : X.Carrier}
89
+ (hf : ContMDiffAt (ModelWithCorners X) 𝓘(ℂ,ℂ) ω f y)
90
+ (m : ℕ) (v : Fin m → Tangent X y) (σ : Equiv.Perm (Fin m)) :
91
+ A.jet f y m (v ∘ σ)=A.jet f y m v :=
92
+ (A.chart y).jet_symmetric (A.mem_source _) hf m v σ
93
+
94
+ end LeafJetAtlas
95
+ end SplitTangent
96
+
97
+ end
98
+
99
+ end OAI
lean/OAI/Geometry/SplitTangent/LeafLimitRelations.lean ADDED
@@ -0,0 +1,105 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Mathlib
2
+ import OAI.Geometry.SplitTangent.BoxRelationLocus
3
+ import OAI.Geometry.SplitTangent.CompactPolynomialRelations
4
+ import OAI.Geometry.SplitTangent.LeafJetAtlas
5
+ import OAI.Geometry.SplitTangent.Basic
6
+ import OAI.Geometry.SplitTangent.PolynomialRelationLocus
7
+ import OAI.Geometry.SplitTangent.ProjectiveLinearCoordinates
8
+ import OAI.Geometry.SplitTangent.LeafCompactLimits
9
+
10
+ namespace OAI
11
+
12
+ /-! Leaf Limit Relations. -/
13
+
14
+ noncomputable section
15
+ open Set Filter Topology TopologicalSpace
16
+ open scoped Manifold ContDiff BigOperators
17
+ universe u
18
+ namespace SplitTangent.LeafJetAtlas
19
+ variable {X : ComplexManifold.{u}} {S : TangentSplitting X}
20
+ [CompactSpace X.Carrier] [ConnectedSpace X.Carrier]
21
+ (L : LeafJetAtlas S) (e : ProjectiveEmbedding X)
22
+ (hRC : RationallyConnected e) (hdim : 0<X.dim)
23
+
24
+ lemma leafLimits_relation {K : Compacts X.Carrier} (hK : K∈L.leafLimits e hRC hdim)
25
+ (x₀ : X.Carrier)
26
+ (D : MvPolynomial.homogeneousSubmodule (Fin (e.N+1)) ℂ 1)
27
+ (H : Fin (Module.finrank ℂ (S.first x₀)+1) →
28
+ MvPolynomial.homogeneousSubmodule (Fin (e.N+1)) ℂ 1) :
29
+ ∃p : MvPolynomial (Fin (Module.finrank ℂ (S.first x₀)+1)) ℂ,p≠0 ∧
30
+ ∀z∈(K : Set X.Carrier),MvPolynomial.eval (e.map z).rep D.val≠0 →
31
+ MvPolynomial.eval (fun i => MvPolynomial.eval (e.map z).rep (H i).val /
32
+ MvPolynomial.eval (e.map z).rep D.val) p=0 := by
33
+ classical
34
+ obtain ⟨t,ht⟩ := L.exists_uniform_boxRelationLocus e hRC hdim x₀ D H
35
+ have hmem : K∈compactRelationLocus e (BoxMonomials.indexedForms D H t) := by
36
+ apply (closure_minimal ?_ (compactRelationLocus_isClosed e _)) hK
37
+ rintro _ ⟨y,rfl⟩
38
+ obtain ⟨c,hc,hzero⟩ := show y∈L.boxRelationLocus e D H t from ht ▸ mem_univ y
39
+ exact ⟨c,hc,fun z hz => hzero (subset_closure hz)⟩
40
+ obtain ⟨c,hc,hzero⟩ := hmem
41
+ let r := Module.finrank ℂ (S.first x₀)
42
+ let p : MvPolynomial (Fin (r+1)) ℂ := ∑j,c j • BoxMonomials.indexedAffine j
43
+ refine ⟨p,?_,?_⟩
44
+ · intro he
45
+ apply hc
46
+ funext j
47
+ exact Fintype.linearIndependent_iff.mp (BoxMonomials.indexedAffine_independent (r+1) t) c he j
48
+ · intro z hz hD
49
+ have hh : MvPolynomial.eval (e.map z).rep
50
+ (relationPolynomial e (BoxMonomials.indexedForms D H t) c).val=0 := hzero hz
51
+ rw [relation_eval] at hh
52
+ simp only [BoxMonomials.indexedForms_eval D H _ _ hD,mul_assoc,←Finset.mul_sum] at hh
53
+ apply (mul_eq_zero_iff_left (pow_ne_zero _ hD)).mp
54
+ convert hh using 1
55
+ simp only [p,map_sum,MvPolynomial.smul_eval]
56
+ congr 1
57
+ apply Finset.sum_congr rfl
58
+ intro j hj
59
+ ring
60
+
61
+ lemma leafLimits_affine_relation {K : Compacts X.Carrier} (hK : K∈L.leafLimits e hRC hdim)
62
+ (x₀ : X.Carrier)
63
+ (p : (Fin (e.N+1) → ℂ) →ₗ[ℂ] (Fin (Module.finrank ℂ (S.first x₀)) → ℂ))
64
+ (i j : Fin (e.N+1)) :
65
+ ∃q : MvPolynomial (Option (Fin (Module.finrank ℂ (S.first x₀)))) ℂ,
66
+ q≠0 ∧ ∀x∈(K : Set X.Carrier),(e.map x).rep i≠0 →
67
+ MvPolynomial.eval (fun t => Option.elim t (projectiveCoordinates i (e.map x) j)
68
+ (p (projectiveCoordinates i (e.map x)))) q=0 := by
69
+ classical
70
+ let r := Module.finrank ℂ (S.first x₀)
71
+ let D : MvPolynomial.homogeneousSubmodule (Fin (e.N+1)) ℂ 1 :=
72
+ ⟨MvPolynomial.X i,MvPolynomial.isHomogeneous_X ℂ i⟩
73
+ let H : Option (Fin r) → MvPolynomial.homogeneousSubmodule (Fin (e.N+1)) ℂ 1 :=
74
+ fun t => Option.elim t ⟨MvPolynomial.X j,MvPolynomial.isHomogeneous_X ℂ j⟩
75
+ (fun a => ProjectiveLinearCoordinates.form ((LinearMap.proj a).comp p))
76
+ obtain ⟨q,hq,hrel⟩ := L.leafLimits_relation e hRC hdim hK x₀ D (H ∘ finSuccEquiv r)
77
+ refine ⟨MvPolynomial.rename (finSuccEquiv r) q,?_,?_⟩
78
+ · exact fun he => hq ((MvPolynomial.rename_injective _ (finSuccEquiv r).injective)
79
+ (he.trans (map_zero _).symm))
80
+ · intro x hx hi
81
+ have hd : MvPolynomial.eval (e.map x).rep D.val≠0 := by
82
+ simpa only [D,MvPolynomial.eval_X] using hi
83
+ have he := hrel x hx hd
84
+ have hv : ∀t : Option (Fin r),
85
+ MvPolynomial.eval (e.map x).rep (H t).val/MvPolynomial.eval (e.map x).rep D.val =
86
+ Option.elim t (projectiveCoordinates i (e.map x) j) (p (projectiveCoordinates i (e.map x))) := by
87
+ intro t
88
+ cases t with
89
+ | none => simp only [H,D,Option.elim_none,MvPolynomial.eval_X,projectiveCoordinates,div_eq_mul_inv,mul_comm]
90
+ | some a =>
91
+ simp only [H,D,Option.elim_some,MvPolynomial.eval_X]
92
+ rw [ProjectiveLinearCoordinates.eval_form_ratio]
93
+ rfl
94
+ rw [MvPolynomial.eval_rename]
95
+ convert he using 1
96
+ congr 1
97
+ apply congrArg MvPolynomial.eval
98
+ funext t
99
+ exact (hv (finSuccEquiv r t)).symm
100
+
101
+ end SplitTangent.LeafJetAtlas
102
+
103
+ end
104
+
105
+ end OAI
lean/OAI/Geometry/SplitTangent/LeafLimitsSinglePlaque.lean ADDED
@@ -0,0 +1,145 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Mathlib
2
+ import OAI.Geometry.SplitTangent.FoliationLeaves
3
+ import OAI.Geometry.SplitTangent.PlaqueConnectedSets
4
+ import OAI.Geometry.SplitTangent.TensorVanishing
5
+ import OAI.Geometry.SplitTangent.LeafJetAtlas
6
+ import OAI.Geometry.SplitTangent.Basic
7
+ import OAI.Geometry.SplitTangent.LeafCompactLimits
8
+ import OAI.Geometry.SplitTangent.LeafLimitRelations
9
+ import OAI.Geometry.SplitTangent.AllCompactLeaves
10
+
11
+ namespace OAI
12
+
13
+ /-! Leaf Limits Single Plaque. -/
14
+
15
+ noncomputable section
16
+ open Set Filter Topology TopologicalSpace
17
+ open scoped Manifold ContDiff
18
+ universe u
19
+ namespace SplitTangent.LeafJetAtlas
20
+ variable {X : ComplexManifold.{u}} {S : TangentSplitting X}
21
+ [CompactSpace X.Carrier] [ConnectedSpace X.Carrier]
22
+ (L : LeafJetAtlas S) (e : ProjectiveEmbedding X)
23
+
24
+ lemma leafLimits_locallySinglePlaque (hRC : RationallyConnected e) (hdim : 0<X.dim)
25
+ {K : Compacts X.Carrier} (hK : K∈L.leafLimits e hRC hdim)
26
+ (x₀ z : X.Carrier) :
27
+ L.plaques.LocallySinglePlaque ((K : Set X.Carrier)) z := by
28
+ classical
29
+ let P := L.chart z
30
+ let x := P.chart z
31
+ have hzs : z∈P.chart.source := L.mem_source z
32
+ have hxt : x∈P.chart.target := P.chart.map_source hzs
33
+ obtain ⟨i,hi⟩ := Function.ne_iff.mp (e.map z).rep_nonzero
34
+ have hi' : (e.map (P.chart.symm x)).rep i≠0 := by
35
+ simpa only [x,P.chart.left_inv hzs,Pi.zero_apply] using hi
36
+ let patch := {y : X.Carrier | (e.map y).rep i≠0}
37
+ have hpatch : P.chart.symm ⁻¹' patch∈𝓝 x :=
38
+ (P.chart.symm.continuousAt hxt).preimage_mem_nhds ((e.open_patch i).mem_nhds hi')
39
+ obtain ⟨U,V,hU,hUc,hV,hx,hrect⟩ := UniformPlaqueSlices.connected_rectangle
40
+ (Filter.inter_mem (P.chart.open_target.mem_nhds hxt) hpatch)
41
+ have hrectT : U ×ˢ V⊆P.chart.target := fun t hh => (hrect hh).1
42
+ have hrectP : ∀t∈U ×ˢ V,(e.map (P.chart.symm t)).rep i≠0 := fun t hh => (hrect hh).2
43
+ obtain ⟨p,Q,hxQ,hQ,_,_⟩ := e.exists_linear_plaque_coordinates P hxt i hi'
44
+ have hsecond : ∀t,(Q t).2=t.2 := by
45
+ intro t
46
+ rw [hQ]
47
+ obtain ⟨U',V',hU',hUc',hV',hxU',hxV',hVV,hQT,hslice⟩ :=
48
+ UniformPlaqueSlices.exists_slices Q hxQ hsecond hU hV hx
49
+ let T : Set (S.SecondModel z) := {b | b∈V' ∧ ∃a∈U,P.chart.symm (a,b)∈(K : Set X.Carrier)}
50
+ let lift : S.FirstModel z → S.SecondModel z → X.Carrier := fun a b => P.chart.symm (Q.symm (a,b))
51
+ have hliftUV : ∀a∈U',∀b∈T,Q.symm (a,b)∈U ×ˢ V :=
52
+ fun a ha b hb => (hslice a ha b hb.1).1
53
+ have hliftP : ∀a∈U',∀b∈T,(e.map (lift a b)).rep i≠0 :=
54
+ fun a ha b hb => hrectP _ (hliftUV a ha b hb)
55
+ have hliftW : ∀a∈U',∀b∈T,lift a b∈(K : Set X.Carrier) := by
56
+ intro a ha b hb
57
+ obtain ⟨a₀,ha₀,hw⟩ := hb.2
58
+ have hs := hslice a ha b hb.1
59
+ have hh := L.leafLimits_saturated e hRC hdim hK hU hUc hV hrectT ha₀ hs.1.1 (hVV hb.1) hw
60
+ change P.chart.symm _∈(K : Set X.Carrier)
61
+ have he : ((Q.symm (a,b)).1,b)=Q.symm (a,b) := by
62
+ exact Prod.ext rfl hs.2.symm
63
+ rwa [he] at hh
64
+ let r := Module.finrank ℂ (S.first x₀)
65
+ have hr : Module.finrank ℂ (S.FirstModel z)=Module.finrank ℂ (Fin r → ℂ) := by
66
+ rw [←P.first_finrank hzs]
67
+ simpa only [Module.finrank_fintype_fun_eq_card,Fintype.card_fin,r] using
68
+ L.first_rank_eq z x₀
69
+ let E : S.FirstModel z ≃L[ℂ] (Fin r → ℂ) := ContinuousLinearEquiv.ofFinrankEq hr
70
+ let coord : X.Carrier → Fin (e.N+1) → ℂ := fun y => projectiveCoordinates i (e.map y)
71
+ let first : X.Carrier → Fin r → ℂ := fun y => E (p (coord y))
72
+ have hfirst : ∀a∈U',∀b∈T,first (lift a b)=E a := by
73
+ intro a ha b hb
74
+ have hh := congrArg Prod.fst (Q.right_inv (hQT (show (a,b)∈U' ×ˢ V' from ⟨ha,hb.1⟩)))
75
+ rw [hQ] at hh
76
+ exact congrArg E hh
77
+ have hinj : ∀a∈U',InjOn (fun b => coord (lift a b)) T := by
78
+ intro a ha b hb c hc he
79
+ have he' := e.coordinates_injOn i (hliftP a ha b hb) (hliftP a ha c hc) he
80
+ have hP₁ := P.chart.right_inv (hrectT (hliftUV a ha b hb))
81
+ have hP₂ := P.chart.right_inv (hrectT (hliftUV a ha c hc))
82
+ have hh := congrArg (fun y => (P.chart y).2) he'
83
+ change (P.chart (P.chart.symm (Q.symm (a,b)))).2=
84
+ (P.chart (P.chart.symm (Q.symm (a,c)))).2 at hh
85
+ rw [hP₁,hP₂,(hslice a ha b hb.1).2,(hslice a ha c hc.1).2] at hh
86
+ exact hh
87
+ have hrels := fun j => L.leafLimits_affine_relation e hRC hdim hK x₀ (E.toLinearMap.comp p.toLinearMap) i j
88
+ choose q hq hroot using hrels
89
+ have hT : T.Finite := PolynomialSpecialization.finite_transversal T hU' ⟨(Q x).1,hxU'⟩
90
+ E lift coord first hfirst hinj q hq (by
91
+ intro a ha b hb j
92
+ exact hroot j (lift a b) (hliftW a ha b hb) (hliftP a ha b hb))
93
+ apply L.plaques.locallySinglePlaque_of_finite_transversal hU hUc hV'
94
+ (fun t ht => hrectT ⟨ht.1,hVV ht.2⟩) hzs ⟨hx.1,hxV'⟩ hT
95
+ intro y hy hys hyUV
96
+ refine ⟨hyUV.2,(P.chart y).1,hyUV.1,?_⟩
97
+ change P.chart.symm (P.chart y)∈(K : Set X.Carrier)
98
+ simpa only [P.chart.left_inv hys] using hy
99
+
100
+ lemma leafLimits_subset_leaf (hRC : RationallyConnected e) (hdim : 0<X.dim)
101
+ {K : Compacts X.Carrier} (hK : K∈L.leafLimits e hRC hdim)
102
+ {x : X.Carrier} (hx : x∈(K : Set X.Carrier)) : (K : Set X.Carrier)⊆L.leaf x :=
103
+ L.plaques.preconnected_subset_leaf (L.leafLimits_preconnected e hRC hdim hK)
104
+ (fun z _ => L.leafLimits_locallySinglePlaque e hRC hdim hK x z) hx
105
+
106
+ lemma leafLimits_eq_leaf (hRC : RationallyConnected e) (hdim : 0<X.dim)
107
+ {K : Compacts X.Carrier} (hK : K∈L.leafLimits e hRC hdim)
108
+ {x : X.Carrier} (hx : x∈(K : Set X.Carrier)) : (K : Set X.Carrier)=L.leaf x := by
109
+ apply subset_antisymm (L.leafLimits_subset_leaf e hRC hdim hK hx)
110
+ let Y := L.leaf x
111
+ let : PreconnectedSpace Y := isPreconnected_iff_preconnectedSpace.mp (L.plaques.leaf_isConnected x).2
112
+ let W : Set Y := {y | y.val∈(K : Set X.Carrier)}
113
+ have hWc : IsClosed W := K.isCompact.isClosed.preimage continuous_subtype_val
114
+ have hWo : IsOpen W := by
115
+ apply isOpen_iff_mem_nhds.mpr
116
+ intro y hy
117
+ obtain ⟨i,U,V,hU,hUc,hV,hT,hys,hyUV,huniq⟩ :=
118
+ L.all_leaf_locallySinglePlaque e hRC hdim x y.val y.property
119
+ let P := (L.chart i).chart
120
+ have hn : ∀ᶠ z : Y in 𝓝 y,z.val∈P.source ∧ P z.val∈U ×ˢ V :=
121
+ (continuous_subtype_val.tendsto y).eventually
122
+ (Filter.Eventually.and (P.open_source.mem_nhds hys)
123
+ ((P.continuousAt hys).preimage_mem_nhds ((hU.prod hV).mem_nhds hyUV)))
124
+ filter_upwards [hn] with z hz
125
+ have he := huniq z.val z.property hz.1 hz.2
126
+ have hh := L.leafLimits_saturated e hRC hdim hK hU hUc hV hT
127
+ hyUV.1 hz.2.1 hyUV.2 (show P.symm ((P y.val).1,(P y.val).2)∈(K : Set X.Carrier) by
128
+ simpa only [Prod.mk.eta,P.left_inv hys] using (show y.val∈(K : Set X.Carrier) from hy))
129
+ change (P z.val).2=(P y.val).2 at he
130
+ have hze : P.symm ((P z.val).1,(P y.val).2)=z.val := by
131
+ rw [←he]
132
+ exact P.left_inv hz.1
133
+ change P.symm ((P z.val).1,(P y.val).2)∈(K : Set X.Carrier) at hh
134
+ change z.val∈(K : Set X.Carrier)
135
+ rwa [hze] at hh
136
+ have hWu : W=univ := IsClopen.eq_univ ⟨hWc,hWo⟩
137
+ ⟨⟨x,PlaqueSystem.Reachable.refl L.plaques x⟩,hx⟩
138
+ intro z hz
139
+ exact show (⟨z,hz⟩ : Y)∈W from hWu ▸ mem_univ _
140
+
141
+ end SplitTangent.LeafJetAtlas
142
+
143
+ end
144
+
145
+ end OAI
lean/OAI/Geometry/SplitTangent/LeafPlaques.lean ADDED
@@ -0,0 +1,111 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Mathlib
2
+ import OAI.Geometry.SplitTangent.FoliationLeaves
3
+ import OAI.Geometry.SplitTangent.TensorVanishing
4
+ import OAI.Geometry.SplitTangent.LeafJetAtlas
5
+ import OAI.Geometry.SplitTangent.Basic
6
+ import OAI.Geometry.SplitTangent.ManifoldLeafJets
7
+
8
+ namespace OAI
9
+
10
+ /-! Leaf Plaques. -/
11
+
12
+ noncomputable section
13
+ open Set Filter Topology
14
+ open scoped Manifold ContDiff
15
+ universe u
16
+ namespace SplitTangent
17
+ namespace AlignedProductChart
18
+ variable {X : ComplexManifold.{u}} {S : TangentSplitting X}
19
+ {A B C D : Type*}
20
+ [NormedAddCommGroup A] [NormedSpace ℂ A]
21
+ [NormedAddCommGroup B] [NormedSpace ℂ B]
22
+ [NormedAddCommGroup C] [NormedSpace ℂ C] [CompleteSpace C]
23
+ [NormedAddCommGroup D] [NormedSpace ℂ D] [CompleteSpace D]
24
+
25
+ def GermIn (P : AlignedProductChart S A B) (Z : Set X.Carrier) (y : X.Carrier) : Prop :=
26
+ ∀ᶠ a in 𝓝 (P.chart y).1,P.chart.symm (a,(P.chart y).2)∈Z
27
+
28
+ lemma germIn_transfer [CompleteSpace A] [CompleteSpace B]
29
+ (P : AlignedProductChart S A B) (Q : AlignedProductChart S C D)
30
+ {Z : Set X.Carrier} {y : X.Carrier} (hy : y∈P.chart.source) (hq : y∈Q.chart.source)
31
+ (h : Q.GermIn Z y) : P.GermIn Z y := by
32
+ let s : A → X.Carrier := fun a => P.chart.symm (a,(P.chart y).2)
33
+ have hs : s (P.chart y).1=y := P.chart.left_inv hy
34
+ have hsc : ContinuousAt s (P.chart y).1 := by
35
+ exact (P.inverse_holomorphicAt (P.chart.map_source hy)).continuousAt.comp
36
+ (f := fun a : A => (a,(P.chart y).2)) (x := (P.chart y).1)
37
+ (continuousAt_id.prodMk continuousAt_const)
38
+ have ht : ContinuousAt (Q.chart ∘ s) (P.chart y).1 :=
39
+ (Q.chart.continuousAt hq).comp_of_eq hsc hs
40
+ have hQ : ∀ᶠ a in 𝓝 (P.chart y).1,s a∈Q.chart.source :=
41
+ hsc.preimage_mem_nhds (by rw [hs]; exact Q.chart.open_source.mem_nhds hq)
42
+ have hpi : Tendsto (fun a : A => (a,(P.chart y).2)) (𝓝 (P.chart y).1) (𝓝 (P.chart y)) :=
43
+ continuousAt_id.prodMk continuousAt_const
44
+ have haxes := hpi.eventually (P.transition_product Q (P.chart.map_source hy)
45
+ (by simpa only [P.chart.left_inv hy] using hq))
46
+ have hfirst : Tendsto (fun a => (Q.chart (s a)).1) (𝓝 (P.chart y).1) (𝓝 (Q.chart y).1) := by
47
+ simpa only [ContinuousAt,Function.comp_apply,hs] using ht.fst
48
+ filter_upwards [hQ,haxes,hfirst.eventually h] with a hQa hax ha
49
+ have hb : (Q.chart (s a)).2=(Q.chart y).2 := by
50
+ have hb := congrArg Prod.snd hax
51
+ simpa only [Function.comp_apply,Prod.mk.eta,P.chart.left_inv hy,s] using hb
52
+ change s a∈Z
53
+ have he : Q.chart.symm ((Q.chart (s a)).1,(Q.chart y).2)=s a := by
54
+ rw [←hb,Prod.mk.eta,Q.chart.left_inv hQa]
55
+ rwa [he] at ha
56
+
57
+ lemma germIn_iff [CompleteSpace A] [CompleteSpace B]
58
+ (P : AlignedProductChart S A B) (Q : AlignedProductChart S C D)
59
+ {Z : Set X.Carrier} {y : X.Carrier} (hy : y∈P.chart.source) (hq : y∈Q.chart.source) :
60
+ P.GermIn Z y ↔ Q.GermIn Z y :=
61
+ ⟨Q.germIn_transfer P hq hy,P.germIn_transfer Q hy hq⟩
62
+
63
+ lemma all_jets_of_germ_zero [CompleteSpace A] [CompleteSpace B]
64
+ (P : AlignedProductChart S A B) (L : LeafJetAtlas S)
65
+ {f : X.Carrier → ℂ} {y : X.Carrier} (hy : y∈P.chart.source)
66
+ (hf : ContMDiffAt (ModelWithCorners X) 𝓘(ℂ,ℂ) ω f y)
67
+ (hz : (fun a => f (P.chart.symm (a,(P.chart y).2))) =ᶠ[𝓝 (P.chart y).1] 0) :
68
+ ∀m,L.jet f y m=0 := by
69
+ have hP : ∀m,P.jet f y m=0 := by
70
+ intro m
71
+ apply (P.jet_eq_zero_iff f hy m).mpr
72
+ apply (HorizontalJet.value_eq_zero_iff _ _ _).mpr
73
+ have he := (hz.iteratedFDeriv ℂ m).self_of_nhds
74
+ simpa only [Function.comp_apply,iteratedFDeriv_zero,Pi.zero_apply] using he
75
+ intro m
76
+ induction m using Nat.strong_induction_on with
77
+ | h m ih =>
78
+ change (L.chart y).jet f y m=0
79
+ rw [← P.jet_independent (L.chart y) hy (L.mem_source y) hf m (fun n hn => ih n hn)]
80
+ exact hP m
81
+
82
+ end AlignedProductChart
83
+
84
+ namespace LeafJetAtlas
85
+ variable {X : ComplexManifold.{u}} {S : TangentSplitting X} (L : LeafJetAtlas S)
86
+
87
+ def plaques : PlaqueSystem X.Carrier S.FirstModel S.SecondModel where
88
+ chart x := (L.chart x).chart
89
+ covering x := ⟨x,L.mem_source x⟩
90
+
91
+ abbrev leaf (x : X.Carrier) : Set X.Carrier := L.plaques.leaf x
92
+
93
+ def GermIn (Z : Set X.Carrier) (y : X.Carrier) : Prop := (L.chart y).GermIn Z y
94
+
95
+ lemma germIn_iff {A B : Type*}
96
+ [NormedAddCommGroup A] [NormedSpace ℂ A] [CompleteSpace A]
97
+ [NormedAddCommGroup B] [NormedSpace ℂ B] [CompleteSpace B]
98
+ (P : AlignedProductChart S A B) {Z : Set X.Carrier} {y : X.Carrier}
99
+ (hy : y∈P.chart.source) : L.GermIn Z y ↔ P.GermIn Z y :=
100
+ (L.chart y).germIn_iff P (L.mem_source y) hy
101
+
102
+ lemma germIn_mem {Z : Set X.Carrier} {y : X.Carrier} (h : L.GermIn Z y) : y∈Z := by
103
+ have he := h.self_of_nhds
104
+ simpa only [Prod.mk.eta,(L.chart y).chart.left_inv (L.mem_source y)] using he
105
+
106
+ end LeafJetAtlas
107
+ end SplitTangent
108
+
109
+ end
110
+
111
+ end OAI
lean/OAI/Geometry/SplitTangent/LeafPolynomialGrowth.lean ADDED
@@ -0,0 +1,125 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Mathlib
2
+ import OAI.Geometry.SplitTangent.AmbientLeafSectionBound
3
+ import OAI.Geometry.SplitTangent.CurveHomogeneousSections
4
+ import OAI.Geometry.SplitTangent.TensorVanishing
5
+ import OAI.Geometry.SplitTangent.LeafJetAtlas
6
+ import OAI.Geometry.SplitTangent.Basic
7
+ import OAI.Geometry.SplitTangent.PositiveTangentCurves
8
+ import OAI.Geometry.SplitTangent.RationalCurveFrames
9
+ import OAI.Geometry.SplitTangent.PolynomialLeafGerms
10
+
11
+ namespace OAI
12
+
13
+ /-! Leaf Polynomial Growth. -/
14
+
15
+ noncomputable section
16
+ open Set Filter Topology
17
+ open scoped Manifold ContDiff BigOperators
18
+ universe u
19
+ namespace SplitTangent.RationalCurveFrames
20
+ variable {X : ComplexManifold.{u}} {S : TangentSplitting X}
21
+ {e : ProjectiveEmbedding X} {g : RationalCurve X} (F : RationalCurveFrames e g)
22
+ (L : LeafJetAtlas S)
23
+ {A B : Type*}
24
+ [NormedAddCommGroup A] [NormedSpace ℂ A] [CompleteSpace A]
25
+ [NormedAddCommGroup B] [NormedSpace ℂ B] [CompleteSpace B]
26
+ (P : AlignedProductChart S A B)
27
+
28
+ def leafPolynomialKernel (k : ℕ) :
29
+ Submodule ℂ (MvPolynomial.homogeneousSubmodule (Fin (e.N+1)) ℂ k) where
30
+ carrier := {p | (fun t : A => MvPolynomial.eval
31
+ (F.finite 1 (P.chart.symm (t,(P.chart (g.finite 1)).2))) p.val)
32
+ =ᶠ[𝓝 (P.chart (g.finite 1)).1] 0}
33
+ zero_mem' := by
34
+ filter_upwards [] with t
35
+ simp
36
+ add_mem' := by
37
+ intro p q hp hq
38
+ filter_upwards [hp,hq] with t ht ht'
39
+ simp only [Submodule.coe_add,MvPolynomial.eval_add,ht,ht',Pi.zero_apply,add_zero]
40
+ smul_mem' := by
41
+ intro c p hp
42
+ filter_upwards [hp] with t ht
43
+ simp only [Submodule.coe_smul,MvPolynomial.smul_eval,ht,Pi.zero_apply,mul_zero]
44
+
45
+ abbrev LeafPolynomialGerms (k : ℕ) :=
46
+ (MvPolynomial.homogeneousSubmodule (Fin (e.N+1)) ℂ k) ⧸ F.leafPolynomialKernel P k
47
+
48
+ def coefficientQuotient (a k : ℕ) : HomogeneousTuple (e := e) a k →ₗ[ℂ]
49
+ (Fin (a+1) → F.LeafPolynomialGerms P k) where
50
+ toFun p i := (F.leafPolynomialKernel P k).mkQ (p i)
51
+ map_add' _ _ := by ext i; exact map_add _ _ _
52
+ map_smul' c p := by
53
+ funext i
54
+ exact (F.leafPolynomialKernel P k).mkQ.map_smul c (p i)
55
+
56
+ omit [CompleteSpace A] [CompleteSpace B] in
57
+ lemma coefficientQuotient_surjective (a k : ℕ) :
58
+ Function.Surjective (F.coefficientQuotient P a k) := by
59
+ intro q
60
+ choose p hp using fun i => (F.leafPolynomialKernel P k).mkQ_surjective (q i)
61
+ exact ⟨p,funext hp⟩
62
+
63
+ def sectionGermMap (a k : ℕ) : HomogeneousTuple (e := e) a k →ₗ[ℂ]
64
+ (F.ambientTransition a k).GermSpace L :=
65
+ (SeparatedQuotientFiltration.zeroPart ((F.ambientTransition a k).contact L)).mkQ.comp (F.sections a k)
66
+
67
+ lemma sectionGermMap_ker_le (hy : g.finite 1∈P.chart.source) (ht : g.TangentTo S.first)
68
+ (a k : ℕ) : (F.sectionGermMap L a k).ker ≤ (F.coefficientQuotient P a k).ker := by
69
+ intro p hp
70
+ have hf : F.sections a k p∈SeparatedQuotientFiltration.zeroPart
71
+ ((F.ambientTransition a k).contact L) := (Submodule.Quotient.mk_eq_zero _).mp hp
72
+ have hc := F.flat_section_coefficients L P hy ht p hf
73
+ change F.coefficientQuotient P a k p=0
74
+ funext i
75
+ exact (Submodule.Quotient.mk_eq_zero _).mpr (hc i)
76
+
77
+ include L in
78
+
79
+
80
+ theorem leaf_polynomial_finite_and_bound
81
+ (hy : g.finite 1∈P.chart.source) (ht : g.TangentTo S.first)
82
+ (hg : PointedGenerated g S.first) (a k : ℕ) :
83
+ Module.Finite ℂ (F.LeafPolynomialGerms P k) ∧
84
+ (a+1)*Module.finrank ℂ (F.LeafPolynomialGerms P k) ≤
85
+ (a+k*F.degree+Module.finrank ℂ (S.first (g.finite 1))).choose
86
+ (Module.finrank ℂ (S.first (g.finite 1)))*(a+k*F.degree+1) := by
87
+ obtain ⟨hfin,hbound⟩ := (F.ambientTransition a k).germ_finite_and_bound L hg
88
+ let := hfin
89
+ obtain ⟨hQ,hb⟩ := LinearKernelDimension.finite_and_bound (F.sectionGermMap L a k)
90
+ (F.coefficientQuotient P a k) (F.sectionGermMap_ker_le L P hy ht a k)
91
+ (F.coefficientQuotient_surjective P a k)
92
+ let := hQ
93
+ let ev : (Fin (a+1) → F.LeafPolynomialGerms P k) →ₗ[ℂ] F.LeafPolynomialGerms P k :=
94
+ LinearMap.proj (0 : Fin (a+1))
95
+ have hev : Function.Surjective ev := fun v => ⟨fun _ => v,rfl⟩
96
+ let : Module.Finite ℂ (F.LeafPolynomialGerms P k) := Module.Finite.of_surjective ev hev
97
+ refine ⟨inferInstance,?_⟩
98
+ let : AddCommGroup (F.LeafPolynomialGerms P k) :=
99
+ Module.addCommMonoidToAddCommGroup ℂ
100
+ have he : Module.finrank ℂ (Fin (a+1) → F.LeafPolynomialGerms P k)=
101
+ (a+1)*Module.finrank ℂ (F.LeafPolynomialGerms P k) := by
102
+ rw [Module.finrank_pi_fintype]
103
+ simp
104
+ rw [he] at hb
105
+ exact hb.trans hbound
106
+
107
+ include L in
108
+
109
+
110
+ theorem leaf_polynomial_growth
111
+ (hy : g.finite 1∈P.chart.source) (ht : g.TangentTo S.first)
112
+ (hg : PointedGenerated g S.first) (k : ℕ) :
113
+ Module.Finite ℂ (F.LeafPolynomialGerms P k) ∧
114
+ Module.finrank ℂ (F.LeafPolynomialGerms P k) ≤
115
+ (F.degree+Module.finrank ℂ (S.first (g.finite 1))+1)^
116
+ (Module.finrank ℂ (S.first (g.finite 1)))*(F.degree+1)*
117
+ (k+1)^(Module.finrank ℂ (S.first (g.finite 1))) := by
118
+ obtain ⟨hf,hb⟩ := F.leaf_polynomial_finite_and_bound L P hy ht hg k k
119
+ exact ⟨hf,PolynomialGrowthArithmetic.cancel_graph_dimension _ _ _ _ hb⟩
120
+
121
+ end SplitTangent.RationalCurveFrames
122
+
123
+ end
124
+
125
+ end OAI
lean/OAI/Geometry/SplitTangent/LeafProducts.lean ADDED
@@ -0,0 +1,107 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Mathlib
2
+ import OAI.Geometry.SplitTangent.LeafJetAtlas
3
+ import OAI.Geometry.SplitTangent.LeafPlaques
4
+ import OAI.Geometry.SplitTangent.Basic
5
+ import OAI.Geometry.SplitTangent.SmoothLeafManifold
6
+ import OAI.Geometry.SplitTangent.SmoothLeafProjection
7
+ import OAI.Geometry.SplitTangent.EverywhereSmoothLeafQuotient
8
+ import OAI.Geometry.SplitTangent.ProductCriteria
9
+
10
+ namespace OAI
11
+
12
+ /-! Leaf Products. -/
13
+
14
+ noncomputable section
15
+ open Set Filter Topology
16
+ open scoped Manifold ContDiff
17
+ universe u
18
+ namespace SplitTangent
19
+
20
+ lemma TangentSplitting.ext_projector {X : ComplexManifold.{u}} {S T : TangentSplitting X}
21
+ (h : S.projector=T.projector) : S=T := by
22
+ cases S
23
+ cases T
24
+ cases h
25
+ rfl
26
+
27
+ lemma TangentSplitting.swap_swap_eq {X : ComplexManifold.{u}} (S : TangentSplitting X) :
28
+ S.swap.swap=S := by
29
+ apply TangentSplitting.ext_projector
30
+ funext x
31
+ ext v
32
+ change v-(v-S.projector x v)=S.projector x v
33
+ abel
34
+
35
+ namespace LeafJetAtlas
36
+
37
+ lemma leaf_cast {X : ComplexManifold.{u}} {S T : TangentSplitting X}
38
+ (h : S=T) (L : LeafJetAtlas S) (x : X.Carrier) :
39
+ (h ▸ L).leaf x=L.leaf x := by
40
+ cases h
41
+ rfl
42
+
43
+ variable {X : ComplexManifold.{u}} {S : TangentSplitting X}
44
+ [CompactSpace X.Carrier] [ConnectedSpace X.Carrier]
45
+ (L : LeafJetAtlas S) (M : LeafJetAtlas S.swap) (e : ProjectiveEmbedding X)
46
+ (hRC : RationallyConnected e) (hdim : 0<X.dim)
47
+
48
+
49
+
50
+ theorem compatible_projective_product_of_leafPair_injective
51
+ (hinj : Function.Injective (L.leafPair M e hRC hdim)) :
52
+ HasCompatibleProjectiveProduct X S := by
53
+ let N : LeafJetAtlas S.swap.swap := S.swap_swap_eq.symm ▸ L
54
+ have hinj' : Function.Injective (M.leafPair N e hRC hdim) := by
55
+ intro x y hxy
56
+ apply hinj
57
+ apply Prod.ext
58
+ · have he := congrArg Prod.snd hxy
59
+ change N.leafQuotient e hRC hdim x=N.leafQuotient e hRC hdim y at he
60
+ have hm := (N.leafQuotient_eq_iff e hRC hdim x y).mp he
61
+ apply (L.leafQuotient_eq_iff e hRC hdim x y).mpr
62
+ change y∈N.leaf x at hm
63
+ rw [leaf_cast S.swap_swap_eq.symm L x] at hm
64
+ exact hm
65
+ · exact congrArg Prod.fst hxy
66
+ have hL : ∀x,L.leafQuotient e hRC hdim x∈L.smoothLeafLocus e hRC hdim := by
67
+ intro x
68
+ rw [L.smoothLeafLocus_eq_univ_of_pair_injective M e hRC hdim hinj]
69
+ exact mem_univ _
70
+ have hM : ∀x,M.leafQuotient e hRC hdim x∈M.smoothLeafLocus e hRC hdim := by
71
+ intro x
72
+ rw [M.smoothLeafLocus_eq_univ_of_pair_injective N e hRC hdim hinj']
73
+ exact mem_univ _
74
+ let x₀ := Classical.arbitrary X.Carrier
75
+ let Y := SmoothLeafManifold.manifold (L := M) (e := e) (hRC := hRC) (hdim := hdim) N x₀
76
+ let Z := SmoothLeafManifold.manifold (L := L) (e := e) (hRC := hRC) (hdim := hdim) M x₀
77
+ let p : X.Carrier → Y.Carrier := SmoothLeafManifold.projection N x₀ hM
78
+ let q : X.Carrier → Z.Carrier := SmoothLeafManifold.projection M x₀ hL
79
+ have hp := SmoothLeafManifold.projection_holomorphic N x₀ hM
80
+ have hq := SmoothLeafManifold.projection_holomorphic M x₀ hL
81
+ have hk₁ (x) : LinearMap.ker
82
+ (mfderiv (ModelWithCorners X) (ModelWithCorners Y) p x).toLinearMap=S.second x := by
83
+ have h := SmoothLeafManifold.projection_kernel N x₀ hM x
84
+ rw [S.swap_first] at h
85
+ exact h
86
+ have hk₂ (x) : LinearMap.ker
87
+ (mfderiv (ModelWithCorners X) (ModelWithCorners Z) q x).toLinearMap=S.first x :=
88
+ SmoothLeafManifold.projection_kernel M x₀ hL x
89
+ have hb : Function.Bijective (fun x => (p x,q x)) := by
90
+ constructor
91
+ · intro x y hxy
92
+ apply hinj
93
+ exact Prod.ext (congrArg (fun z => z.2.val) hxy) (congrArg (fun z => z.1.val) hxy)
94
+ · intro yz
95
+ obtain ⟨x,hx⟩ := L.surjective_leafPair M e hRC hdim (yz.2.val,yz.1.val)
96
+ exact ⟨x,Prod.ext (Subtype.ext (congrArg Prod.snd hx))
97
+ (Subtype.ext (congrArg Prod.fst hx))⟩
98
+ exact S.compatible_product_of_bijective_quotients e Y Z p q hp hq
99
+ (SmoothLeafManifold.projection_submersion N x₀ hM)
100
+ (SmoothLeafManifold.projection_submersion M x₀ hL) hk₁ hk₂ hb
101
+
102
+ end LeafJetAtlas
103
+ end SplitTangent
104
+
105
+ end
106
+
107
+ end OAI
lean/OAI/Geometry/SplitTangent/LeafRank.lean ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Mathlib
2
+ import OAI.Geometry.SplitTangent.TensorVanishing
3
+ import OAI.Geometry.SplitTangent.LeafJetAtlas
4
+ import OAI.Geometry.SplitTangent.Basic
5
+
6
+ namespace OAI
7
+
8
+ /-! Leaf Rank. -/
9
+
10
+ noncomputable section
11
+ open Set Filter Topology
12
+ open scoped Manifold ContDiff
13
+ universe u
14
+ namespace SplitTangent
15
+ namespace AlignedProductChart
16
+ variable {X : ComplexManifold.{u}} {S : TangentSplitting X}
17
+ {A B : Type*} [NormedAddCommGroup A] [NormedSpace ℂ A]
18
+ [NormedAddCommGroup B] [NormedSpace ℂ B]
19
+
20
+ def firstLinearMap (P : AlignedProductChart S A B) (y : X.Carrier) : S.first y →ₗ[ℂ] A :=
21
+ (ContinuousLinearMap.fst ℂ A B).toLinearMap.comp
22
+ ((mfderiv (ModelWithCorners X) 𝓘(ℂ,A × B) P.chart y).toLinearMap.comp (S.first y).subtype)
23
+
24
+ lemma firstLinearMap_bijective (P : AlignedProductChart S A B) {y : X.Carrier}
25
+ (hy : y∈P.chart.source) : Function.Bijective (P.firstLinearMap y) := by
26
+ have hz : ∀ v : S.first y,
27
+ (mfderiv (ModelWithCorners X) 𝓘(ℂ,A × B) P.chart y v.val).2=0 := by
28
+ intro v
29
+ have hm := Submodule.mem_map_of_mem (f :=
30
+ (mfderiv (ModelWithCorners X) 𝓘(ℂ,A × B) P.chart y).toLinearMap) v.property
31
+ rw [P.first y hy] at hm
32
+ exact hm
33
+ constructor
34
+ · intro v w he
35
+ apply Subtype.ext
36
+ apply P.mdifferentiable.mfderiv_injective hy
37
+ exact Prod.ext he ((hz v).trans (hz w).symm)
38
+ · intro a
39
+ have ha : (a,0)∈Submodule.map
40
+ (mfderiv (ModelWithCorners X) 𝓘(ℂ,A × B) P.chart y).toLinearMap (S.first y) := by
41
+ rw [P.first y hy]
42
+ rfl
43
+ obtain ⟨v,hv,he⟩ := ha
44
+ exact ⟨⟨v,hv⟩,congrArg Prod.fst he⟩
45
+
46
+ lemma first_finrank (P : AlignedProductChart S A B) {y : X.Carrier}
47
+ (hy : y∈P.chart.source) : Module.finrank ℂ (S.first y)=Module.finrank ℂ A :=
48
+ (LinearEquiv.ofBijective (P.firstLinearMap y) (P.firstLinearMap_bijective hy)).finrank_eq
49
+
50
+ end AlignedProductChart
51
+ namespace LeafJetAtlas
52
+ variable {X : ComplexManifold.{u}} {S : TangentSplitting X} (L : LeafJetAtlas S)
53
+
54
+ include L in
55
+ lemma first_rank_locally_constant : IsLocallyConstant (fun x => Module.finrank ℂ (S.first x)) := by
56
+ apply (IsLocallyConstant.iff_eventually_eq _).mpr
57
+ intro x
58
+ filter_upwards [(L.chart x).chart.open_source.mem_nhds (L.mem_source x)] with y hy
59
+ exact ((L.chart x).first_finrank hy).trans ((L.chart x).first_finrank (L.mem_source x)).symm
60
+
61
+ include L in
62
+ lemma first_rank_eq [PreconnectedSpace X.Carrier] (x y : X.Carrier) :
63
+ Module.finrank ℂ (S.first x)=Module.finrank ℂ (S.first y) :=
64
+ L.first_rank_locally_constant.apply_eq_of_preconnectedSpace x y
65
+
66
+ end LeafJetAtlas
67
+ end SplitTangent
68
+
69
+ end
70
+
71
+ end OAI
lean/OAI/Geometry/SplitTangent/LeafTopology.lean ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Mathlib
2
+ import OAI.Geometry.SplitTangent.FoliationLeaves
3
+
4
+ namespace OAI
5
+
6
+ /-! Leaf Topology. -/
7
+
8
+ noncomputable section
9
+ open Set Filter Topology
10
+ universe u v w
11
+ namespace PlaqueSystem
12
+ variable {ι : Type v} {X : Type u} [TopologicalSpace X]
13
+ {A B : ι → Type w} [∀i,TopologicalSpace (A i)] [∀i,TopologicalSpace (B i)]
14
+ (P : PlaqueSystem X A B)
15
+
16
+ lemma related_connected_subset {x y : X} (h : P.Related x y) :
17
+ ∃Z, Z⊆P.leaf x ∧ x∈Z ∧ y∈Z ∧ IsPreconnected Z := by
18
+ obtain ⟨i,b,U,hU,hT,a,ha,c,hc,hx,hy⟩ := h
19
+ let f : A i → X := fun t => (P.chart i).symm (t,b)
20
+ have hf : ContinuousOn f U := (P.chart i).symm.continuousOn.comp
21
+ ((continuous_id.prodMk continuous_const).continuousOn) (fun t ht => hT t ht)
22
+ refine ⟨f '' U,?_,⟨a,ha,hx⟩,⟨c,hc,hy⟩,hU.image f hf⟩
23
+ rintro z ⟨d,hd,rfl⟩
24
+ apply Relation.ReflTransGen.single
25
+ exact ⟨i,b,U,hU,hT,a,ha,d,hd,hx,rfl⟩
26
+
27
+ lemma reachable_connected_subset {x y : X} (h : P.Reachable x y) :
28
+ ∃Z, Z⊆P.leaf x ∧ x∈Z ∧ y∈Z ∧ IsPreconnected Z := by
29
+ induction h with
30
+ | refl => exact ⟨{x},by intro z hz; subst z; exact Relation.ReflTransGen.refl,by simp,by simp,isPreconnected_singleton⟩
31
+ | @tail y z hyz h ih =>
32
+ obtain ⟨U,hU,hx,hy,hUc⟩ := ih
33
+ obtain ⟨V,hV,hy',hz,hVc⟩ := P.related_connected_subset h
34
+ refine ⟨U∪V,?_,Or.inl hx,Or.inr hz,hUc.union y hy hy' hVc⟩
35
+ intro w hw
36
+ rcases hw with hw | hw
37
+ · exact hU hw
38
+ · exact Relation.ReflTransGen.trans hyz (hV hw)
39
+
40
+ lemma leaf_isConnected (x : X) : IsConnected (P.leaf x) := by
41
+ refine ⟨⟨x,Relation.ReflTransGen.refl⟩,isPreconnected_of_forall x ?_⟩
42
+ intro y hy
43
+ exact P.reachable_connected_subset hy
44
+
45
+ lemma leaf_eq_of_mem {x y : X} (h : y∈P.leaf x) : P.leaf y=P.leaf x := by
46
+ ext z
47
+ exact ⟨fun hz => Relation.ReflTransGen.trans h hz,
48
+ fun hz => Relation.ReflTransGen.trans (Reachable.symm P h) hz⟩
49
+
50
+ end PlaqueSystem
51
+
52
+ end
53
+
54
+ end OAI
lean/OAI/Geometry/SplitTangent/ManifoldJetAnalytic.lean ADDED
@@ -0,0 +1,114 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Mathlib
2
+ import OAI.Geometry.SplitTangent.TensorVanishing
3
+ import OAI.Geometry.SplitTangent.Basic
4
+ import OAI.Geometry.SplitTangent.TwistedCurveTensor
5
+ import OAI.Geometry.SplitTangent.ManifoldLeafJets
6
+
7
+ namespace OAI
8
+
9
+ /-! Manifold Jet Analytic. -/
10
+
11
+ noncomputable section
12
+ open Set Filter Topology Bundle
13
+ open scoped Manifold ContDiff
14
+ universe u
15
+ namespace SplitTangent.AlignedProductChart
16
+ variable {X : ComplexManifold.{u}} {S : TangentSplitting X}
17
+ {A B : Type*}
18
+ [NormedAddCommGroup A] [NormedSpace ℂ A] [CompleteSpace A]
19
+ [NormedAddCommGroup B] [NormedSpace ℂ B] [CompleteSpace B]
20
+
21
+ lemma derivative_coordinates_analytic (P : AlignedProductChart S A B)
22
+ {g : ℂ → X.Carrier} {z₀ : ℂ}
23
+ (hg : ContMDiffAt 𝓘(ℂ,ℂ) (ModelWithCorners X) ω g z₀)
24
+ (hy : g z₀∈P.chart.source) :
25
+ AnalyticAt ℂ (F := Model X →L[ℂ] A × B) (fun z : ℂ =>
26
+ ((mfderiv (ModelWithCorners X) 𝓘(ℂ,A × B) P.chart (g z) : Model X →L[ℂ] A × B).comp
27
+ ((trivializationAt (Model X) (Tangent X) (g z₀)).symmL ℂ (g z)) : Model X →L[ℂ] A × B)) z₀ := by
28
+ let c := chartAt (Model X) (g z₀)
29
+ let t := trivializationAt (Model X) (Tangent X) (g z₀)
30
+ have hc0 : g z₀∈c.source := mem_chart_source _ _
31
+ have hcinv := contMDiffAt_symm_of_mem_maximalAtlas
32
+ (IsManifold.chart_mem_maximalAtlas (I := ModelWithCorners X) (n := ω) (g z₀))
33
+ (c.map_source hc0)
34
+ have hP : ContMDiffAt (ModelWithCorners X) 𝓘(ℂ,A × B) ω P.chart (c.symm (c (g z₀))) := by
35
+ simpa only [c.left_inv hc0] using P.holomorphicAt hy
36
+ have hpc : AnalyticAt ℂ (P.chart ∘ c.symm) (c (g z₀)) :=
37
+ (hP.comp _ hcinv).contDiffAt.analyticAt
38
+ have hcg : AnalyticAt ℂ (c ∘ g) z₀ :=
39
+ ((contMDiffAt_of_mem_maximalAtlas
40
+ (IsManifold.chart_mem_maximalAtlas (I := ModelWithCorners X) (n := ω) (g z₀)) hc0).comp _ hg).contDiffAt.analyticAt
41
+ have h := AnalyticAt.comp (g := fderiv ℂ (P.chart ∘ c.symm)) (f := c ∘ g) hpc.fderiv hcg
42
+ apply h.congr
43
+ filter_upwards [hg.continuousAt.preimage_mem_nhds (c.open_source.mem_nhds hc0),
44
+ hg.continuousAt.preimage_mem_nhds (P.chart.open_source.mem_nhds hy)] with z hcz hpz
45
+ have ht : t.symmL ℂ (g z)=mfderiv 𝓘(ℂ,Model X) (ModelWithCorners X) c.symm (c (g z)) := by
46
+ simpa [t,c,extChartAt_coe_symm,extChartAt_coe,ModelWithCorners] using
47
+ (TangentBundle.symmL_trivializationAt (I := ModelWithCorners X) hcz)
48
+ have hci := (contMDiffAt_symm_of_mem_maximalAtlas
49
+ (IsManifold.chart_mem_maximalAtlas (I := ModelWithCorners X) (n := ω) (g z₀))
50
+ (c.map_source hcz)).mdifferentiableAt (by simp)
51
+ have hpi : MDifferentiableAt (ModelWithCorners X) 𝓘(ℂ,A × B) P.chart (c.symm (c (g z))) := by
52
+ simpa only [c.left_inv hcz] using (P.holomorphicAt hpz).mdifferentiableAt (by simp)
53
+ change fderiv ℂ (P.chart ∘ c.symm) (c (g z))=_
54
+ rw [←mfderiv_eq_fderiv,mfderiv_comp _ hpi hci,c.left_inv hcz,←ht]
55
+ rfl
56
+
57
+
58
+ lemma jet_analytic (P : AlignedProductChart S A B)
59
+ {g : ℂ → X.Carrier} {z₀ : ℂ} {f : X.Carrier → ℂ}
60
+ (hg : ContMDiffAt 𝓘(ℂ,ℂ) (ModelWithCorners X) ω g z₀)
61
+ (hy : g z₀∈P.chart.source)
62
+ (hf : ContMDiffAt (ModelWithCorners X) 𝓘(ℂ,ℂ) ω f (g z₀)) (m : ℕ) :
63
+ AnalyticAt ℂ (tangentTensorCoordinates g (fun z => P.jet f (g z) m) z₀) z₀ := by
64
+ have hv := AnalyticAt.comp (f := P.chart ∘ g) (g := fun y => HorizontalJet.value (f ∘ P.chart.symm) y m)
65
+ (HorizontalJet.analytic_value (P.coordinate_function_analytic hy hf) m)
66
+ (((P.holomorphicAt hy).comp _ hg).contDiffAt.analyticAt)
67
+ have hd := P.derivative_coordinates_analytic hg hy
68
+ have hdp : AnalyticAt ℂ (F := Fin m → (Model X →L[ℂ] A × B)) (fun z : ℂ => fun _ : Fin m =>
69
+ ((mfderiv (ModelWithCorners X) 𝓘(ℂ,A × B) P.chart (g z) : Model X →L[ℂ] A × B).comp
70
+ ((trivializationAt (Model X) (Tangent X) (g z₀)).symmL ℂ (g z)) : Model X →L[ℂ] A × B)) z₀ :=
71
+ analyticAt_pi_iff.mpr fun _ => hd
72
+ have hh := ContinuousMultilinearMap.analyticAt_uncurry_compContinuousLinearMap.comp
73
+ (hdp.prod hv)
74
+ exact hh
75
+
76
+
77
+
78
+ lemma jet_parameter_analytic (P : AlignedProductChart S A B)
79
+ {g : ℂ → X.Carrier} {z₀ : ℂ} {f : ℂ × X.Carrier → ℂ}
80
+ (hg : ContMDiffAt 𝓘(ℂ,ℂ) (ModelWithCorners X) ω g z₀)
81
+ (hy : g z₀∈P.chart.source)
82
+ (hf : ContMDiffAt (𝓘(ℂ,ℂ).prod (ModelWithCorners X)) 𝓘(ℂ,ℂ) ω f (z₀,g z₀))
83
+ (m : ℕ) :
84
+ AnalyticAt ℂ (tangentTensorCoordinates g
85
+ (fun z => P.jet (fun x => f (z,x)) (g z) m) z₀) z₀ := by
86
+ let h : ℂ × (A × B) → ℂ := fun w => f (w.1,P.chart.symm w.2)
87
+ have hf' : ContMDiffAt (𝓘(ℂ,ℂ).prod (ModelWithCorners X)) 𝓘(ℂ,ℂ) ω
88
+ f (z₀,P.chart.symm (P.chart (g z₀))) := by
89
+ simpa only [P.chart.left_inv hy] using hf
90
+ have hh : AnalyticAt ℂ h (z₀,P.chart (g z₀)) := by
91
+ have hi : ContMDiffAt 𝓘(ℂ,ℂ × (A × B)) (ModelWithCorners X) ω
92
+ (fun w : ℂ × (A × B) => P.chart.symm w.2) (z₀,P.chart (g z₀)) :=
93
+ (P.inverse_holomorphicAt (P.chart.map_source hy)).comp (z₀,P.chart (g z₀))
94
+ (show ContMDiffAt 𝓘(ℂ,ℂ × (A × B)) 𝓘(ℂ,A × B) ω Prod.snd _ from
95
+ contDiff_snd.contDiffAt.contMDiffAt)
96
+ exact (hf'.comp (z₀,P.chart (g z₀))
97
+ ((show ContMDiffAt 𝓘(ℂ,ℂ × (A × B)) 𝓘(ℂ,ℂ) ω Prod.fst _ from
98
+ contDiff_fst.contDiffAt.contMDiffAt).prodMk hi)).contDiffAt.analyticAt
99
+ have hv := HorizontalJet.analytic_parameter_value (g := P.chart ∘ g) hh
100
+ (((P.holomorphicAt hy).comp _ hg).contDiffAt.analyticAt) m
101
+ have hd := P.derivative_coordinates_analytic hg hy
102
+ have hdp : AnalyticAt ℂ (F := Fin m → (Model X →L[ℂ] A × B))
103
+ (fun z : ℂ => fun _ : Fin m =>
104
+ (mfderiv (ModelWithCorners X) 𝓘(ℂ,A × B) P.chart (g z) : Model X →L[ℂ] A × B).comp
105
+ ((trivializationAt (Model X) (Tangent X) (g z₀)).symmL ℂ (g z))) z₀ :=
106
+ analyticAt_pi_iff.mpr fun _ => hd
107
+ exact ContinuousMultilinearMap.analyticAt_uncurry_compContinuousLinearMap.comp
108
+ (hdp.prod hv)
109
+
110
+ end SplitTangent.AlignedProductChart
111
+
112
+ end
113
+
114
+ end OAI
lean/OAI/Geometry/SplitTangent/ManifoldLeafJets.lean ADDED
@@ -0,0 +1,205 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Mathlib
2
+ import OAI.Geometry.SplitTangent.TensorVanishing
3
+ import OAI.Geometry.SplitTangent.Basic
4
+
5
+ namespace OAI
6
+
7
+ /-! Manifold Leaf Jets. -/
8
+
9
+ noncomputable section
10
+ open Set Filter Topology Bundle
11
+ open scoped Manifold ContDiff
12
+ universe u
13
+ namespace SplitTangent.AlignedProductChart
14
+ variable {X : ComplexManifold.{u}} {S : TangentSplitting X}
15
+ {A B C D : Type*}
16
+ [NormedAddCommGroup A] [NormedSpace ℂ A]
17
+ [NormedAddCommGroup B] [NormedSpace ℂ B]
18
+ [NormedAddCommGroup C] [NormedSpace ℂ C]
19
+ [NormedAddCommGroup D] [NormedSpace ℂ D]
20
+
21
+
22
+ def jet (P : AlignedProductChart S A B) (f : X.Carrier → ℂ)
23
+ (y : X.Carrier) (m : ℕ) :
24
+ ContinuousMultilinearMap ℂ (fun _ : Fin m => Tangent X y) ℂ :=
25
+ (HorizontalJet.value (f ∘ P.chart.symm) (P.chart y) m).compContinuousLinearMap
26
+ (fun _ => mfderiv (ModelWithCorners X) 𝓘(ℂ,A × B) P.chart y)
27
+
28
+ lemma jet_eq_zero_iff [CompleteSpace A] [CompleteSpace B]
29
+ (P : AlignedProductChart S A B) (f : X.Carrier → ℂ)
30
+ {y : X.Carrier} (hy : y∈P.chart.source) (m : ℕ) :
31
+ P.jet f y m=0 ↔ HorizontalJet.value (f ∘ P.chart.symm) (P.chart y) m=0 := by
32
+ constructor
33
+ · intro h
34
+ ext w
35
+ choose v hv using fun i => P.mdifferentiable.mfderiv_surjective hy (w i)
36
+ have he := congrArg (fun K => K v) h
37
+ change HorizontalJet.value (f ∘ P.chart.symm) (P.chart y) m
38
+ (fun i => mfderiv (ModelWithCorners X) 𝓘(ℂ,A × B) P.chart y (v i))=0 at he
39
+ have hw : (fun i => mfderiv (ModelWithCorners X) 𝓘(ℂ,A × B) P.chart y (v i))=w := funext hv
40
+ rwa [hw] at he
41
+ · intro h
42
+ ext v
43
+ simp only [jet,h]
44
+ rfl
45
+
46
+ lemma coordinate_function_analytic [CompleteSpace A] [CompleteSpace B]
47
+ (P : AlignedProductChart S A B)
48
+ {f : X.Carrier → ℂ} {y : X.Carrier} (hy : y∈P.chart.source)
49
+ (hf : ContMDiffAt (ModelWithCorners X) 𝓘(ℂ,ℂ) ω f y) :
50
+ AnalyticAt ℂ (f ∘ P.chart.symm) (P.chart y) := by
51
+ have hf' : ContMDiffAt (ModelWithCorners X) 𝓘(ℂ,ℂ) ω f
52
+ (P.chart.symm (P.chart y)) := by simpa only [P.chart.left_inv hy] using hf
53
+ exact (hf'.comp _ (P.inverse_holomorphicAt (P.chart.map_source hy))).contDiffAt.analyticAt
54
+
55
+ lemma transition_derivative [CompleteSpace A] [CompleteSpace B]
56
+ [CompleteSpace C] [CompleteSpace D] (P : AlignedProductChart S A B)
57
+ (Q : AlignedProductChart S C D) {y : X.Carrier}
58
+ (hy : y∈P.chart.source) (hq : y∈Q.chart.source) :
59
+ (fderiv ℂ (Q.chart ∘ P.chart.symm) (P.chart y)).comp
60
+ (mfderiv (ModelWithCorners X) 𝓘(ℂ,A × B) P.chart y) =
61
+ mfderiv (ModelWithCorners X) 𝓘(ℂ,C × D) Q.chart y := by
62
+ have hq' : P.chart.symm (P.chart y)∈Q.chart.source := by simpa only [P.chart.left_inv hy] using hq
63
+ have ht := (Q.holomorphicAt hq').comp _ (P.inverse_holomorphicAt (P.chart.map_source hy))
64
+ have hc := mfderiv_comp y (ht.mdifferentiableAt (by simp))
65
+ ((P.holomorphicAt hy).mdifferentiableAt (by simp))
66
+ rw [mfderiv_eq_fderiv] at hc
67
+ have he : ((Q.chart ∘ P.chart.symm) ∘ P.chart) =ᶠ[𝓝 y] Q.chart := by
68
+ filter_upwards [P.chart.open_source.mem_nhds hy] with z hz
69
+ exact congrArg Q.chart (P.chart.left_inv hz)
70
+ exact hc.symm.trans he.mfderiv_eq
71
+
72
+
73
+
74
+ theorem jet_independent [CompleteSpace A] [CompleteSpace B]
75
+ [CompleteSpace C] [CompleteSpace D] (P : AlignedProductChart S A B)
76
+ (Q : AlignedProductChart S C D) {f : X.Carrier → ℂ} {y : X.Carrier}
77
+ (hy : y∈P.chart.source) (hq : y∈Q.chart.source)
78
+ (hf : ContMDiffAt (ModelWithCorners X) 𝓘(ℂ,ℂ) ω f y)
79
+ (m : ℕ) (hz : ∀n,n < m → Q.jet f y n=0) :
80
+ P.jet f y m=Q.jet f y m := by
81
+ let T : A × B → C × D := Q.chart ∘ P.chart.symm
82
+ have hq' : P.chart.symm (P.chart y)∈Q.chart.source := by simpa only [P.chart.left_inv hy] using hq
83
+ have hT : AnalyticAt ℂ T (P.chart y) :=
84
+ ((Q.holomorphicAt hq').comp _ (P.inverse_holomorphicAt (P.chart.map_source hy))).contDiffAt.analyticAt
85
+ have hx : T (P.chart y)=Q.chart y := congrArg Q.chart (P.chart.left_inv hy)
86
+ have hfc : AnalyticAt ℂ (f ∘ Q.chart.symm) (T (P.chart y)) :=
87
+ hx.symm ▸ Q.coordinate_function_analytic hq hf
88
+ have hzero (n : ℕ) (hn : n < m) :
89
+ HorizontalJet.value (f ∘ Q.chart.symm) (T (P.chart y)) n=0 :=
90
+ hx.symm ▸ (Q.jet_eq_zero_iff f hq n).mp (hz n hn)
91
+ have hcomp := HorizontalJet.value_comp hfc hT
92
+ (P.transition_axes Q (P.chart.map_source hy) hq') m hzero
93
+ have he : (f ∘ P.chart.symm) =ᶠ[𝓝 (P.chart y)] ((f ∘ Q.chart.symm) ∘ T) := by
94
+ filter_upwards [(P.inverse_holomorphicAt (P.chart.map_source hy)).continuousAt.preimage_mem_nhds
95
+ (Q.chart.open_source.mem_nhds hq')] with z hz
96
+ exact congrArg f (Q.chart.left_inv hz).symm
97
+ have hval := (HorizontalJet.value_congr he m).trans hcomp
98
+ have hd := P.transition_derivative Q hy hq
99
+ ext v
100
+ change HorizontalJet.value (f ∘ P.chart.symm) (P.chart y) m
101
+ (fun i => mfderiv (ModelWithCorners X) 𝓘(ℂ,A × B) P.chart y (v i)) = _
102
+ rw [hval]
103
+ change HorizontalJet.value (f ∘ Q.chart.symm) (T (P.chart y)) m
104
+ (fun i => ((fderiv ℂ T (P.chart y)).comp
105
+ (mfderiv (ModelWithCorners X) 𝓘(ℂ,A × B) P.chart y)) (v i)) = _
106
+ rw [hx,hd]
107
+ rfl
108
+
109
+
110
+
111
+ theorem jet_smul [CompleteSpace A] [CompleteSpace B] (P : AlignedProductChart S A B)
112
+ {f v : X.Carrier → ℂ} {y : X.Carrier} (hy : y∈P.chart.source)
113
+ (hf : ContMDiffAt (ModelWithCorners X) 𝓘(ℂ,ℂ) ω f y)
114
+ (hv : ContMDiffAt (ModelWithCorners X) 𝓘(ℂ,ℂ) ω v y)
115
+ (m : ℕ) (hz : ∀n,n < m → P.jet f y n=0) :
116
+ P.jet (fun z => v z*f z) y m=v y • P.jet f y m := by
117
+ have he := HorizontalJet.value_smul (P.coordinate_function_analytic hy hf)
118
+ (P.coordinate_function_analytic hy hv) m
119
+ (fun n hn => (P.jet_eq_zero_iff f hy n).mp (hz n hn))
120
+ ext w
121
+ change HorizontalJet.value (fun z => (v ∘ P.chart.symm) z • (f ∘ P.chart.symm) z)
122
+ (P.chart y) m _ = _
123
+ rw [he]
124
+ simp only [smul_apply,Function.comp_apply,P.chart.left_inv hy]
125
+ rfl
126
+
127
+
128
+
129
+ lemma jet_supported [CompleteSpace A] [CompleteSpace B]
130
+ (P : AlignedProductChart S A B) (f : X.Carrier → ℂ)
131
+ {y : X.Carrier} (hy : y∈P.chart.source) (m : ℕ)
132
+ (v : Fin m → Tangent X y) :
133
+ P.jet f y m (fun i => S.projector y (v i))=P.jet f y m v := by
134
+ have he (w : Tangent X y) :
135
+ (mfderiv (ModelWithCorners X) 𝓘(ℂ,A × B) P.chart y (S.projector y w)).1=
136
+ (mfderiv (ModelWithCorners X) 𝓘(ℂ,A × B) P.chart y w).1 := by
137
+ have hk : w-S.projector y w∈S.second y := by
138
+ change S.projector y (w-S.projector y w)=0
139
+ rw [map_sub,S.idempotent,sub_self]
140
+ have hm := Submodule.mem_map_of_mem (f :=
141
+ (mfderiv (ModelWithCorners X) 𝓘(ℂ,A × B) P.chart y).toLinearMap) hk
142
+ rw [P.second y hy] at hm
143
+ change (mfderiv (ModelWithCorners X) 𝓘(ℂ,A × B) P.chart y (w-S.projector y w)).1=0 at hm
144
+ erw [map_sub,Prod.fst_sub,sub_eq_zero] at hm
145
+ exact hm.symm
146
+ change iteratedFDeriv ℂ m (fun a => (f ∘ P.chart.symm) (a,(P.chart y).2)) (P.chart y).1
147
+ (fun i => (mfderiv (ModelWithCorners X) 𝓘(ℂ,A × B) P.chart y (S.projector y (v i))).1)=_
148
+ simp only [he]
149
+ rfl
150
+
151
+ lemma jet_symmetric [CompleteSpace A] [CompleteSpace B] (P : AlignedProductChart S A B)
152
+ {f : X.Carrier → ℂ} {y : X.Carrier} (hy : y∈P.chart.source)
153
+ (hf : ContMDiffAt (ModelWithCorners X) 𝓘(ℂ,ℂ) ω f y)
154
+ (m : ℕ) (v : Fin m → Tangent X y) (σ : Equiv.Perm (Fin m)) :
155
+ P.jet f y m (v ∘ σ)=P.jet f y m v := by
156
+ exact (HorizontalJet.slice_analytic (P.coordinate_function_analytic hy hf)).contDiffAt.iteratedFDeriv_comp_perm
157
+ (fun i => (mfderiv (ModelWithCorners X) 𝓘(ℂ,A × B) P.chart y (v i)).1) σ
158
+
159
+ lemma jet_congr [CompleteSpace A] [CompleteSpace B]
160
+ (P : AlignedProductChart S A B) {f h : X.Carrier → ℂ}
161
+ {y : X.Carrier} (hy : y∈P.chart.source) (he : f=ᶠ[𝓝 y] h) (m : ℕ) :
162
+ P.jet f y m=P.jet h y m := by
163
+ have hi : Tendsto P.chart.symm (𝓝 (P.chart y)) (𝓝 y) := by
164
+ simpa only [P.chart.left_inv hy] using
165
+ (P.inverse_holomorphicAt (P.chart.map_source hy)).continuousAt.tendsto
166
+ have hc' := he.comp_tendsto hi
167
+ unfold jet
168
+ rw [HorizontalJet.value_congr hc' m]
169
+
170
+ lemma jet_add [CompleteSpace A] [CompleteSpace B]
171
+ (P : AlignedProductChart S A B) {f h : X.Carrier → ℂ}
172
+ {y : X.Carrier} (hy : y∈P.chart.source)
173
+ (hf : ContMDiffAt (ModelWithCorners X) 𝓘(ℂ,ℂ) ω f y)
174
+ (hh : ContMDiffAt (ModelWithCorners X) 𝓘(ℂ,ℂ) ω h y) (m : ℕ) :
175
+ P.jet (f+h) y m=P.jet f y m+P.jet h y m := by
176
+ have hf' := (HorizontalJet.slice_analytic (P.coordinate_function_analytic hy hf)).contDiffAt (n := m)
177
+ have hh' := (HorizontalJet.slice_analytic (P.coordinate_function_analytic hy hh)).contDiffAt (n := m)
178
+ ext v
179
+ exact congrArg (fun K => K (fun i =>
180
+ (mfderiv (ModelWithCorners X) 𝓘(ℂ,A × B) P.chart y (v i)).1))
181
+ (iteratedFDeriv_add_apply hf' hh')
182
+
183
+ lemma jet_csmul [CompleteSpace A] [CompleteSpace B]
184
+ (P : AlignedProductChart S A B) {f : X.Carrier → ℂ}
185
+ {y : X.Carrier} (hy : y∈P.chart.source)
186
+ (hf : ContMDiffAt (ModelWithCorners X) 𝓘(ℂ,ℂ) ω f y) (m : ℕ) (c : ℂ) :
187
+ P.jet (c • f) y m=c • P.jet f y m := by
188
+ ext v
189
+ have hf' := (HorizontalJet.slice_analytic (P.coordinate_function_analytic hy hf)).contDiffAt (n := m)
190
+ exact congrArg (fun K => K (fun i =>
191
+ (mfderiv (ModelWithCorners X) 𝓘(ℂ,A × B) P.chart y (v i)).1))
192
+ (iteratedFDeriv_const_smul_apply (a := c) hf')
193
+
194
+ @[simp] lemma jet_zero [CompleteSpace A] [CompleteSpace B]
195
+ (P : AlignedProductChart S A B) (y : X.Carrier) (m : ℕ) :
196
+ P.jet 0 y m=0 := by
197
+ ext v
198
+ simp [jet,HorizontalJet.value]
199
+ rfl
200
+
201
+ end SplitTangent.AlignedProductChart
202
+
203
+ end
204
+
205
+ end OAI
lean/OAI/Geometry/SplitTangent/OpenManifold.lean ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Mathlib
2
+ import OAI.Geometry.SplitTangent.Basic
3
+
4
+ namespace OAI
5
+
6
+ /-! Open Manifold. -/
7
+
8
+ noncomputable section
9
+ open Set Filter Topology
10
+ open scoped ContDiff Manifold
11
+ universe u
12
+ namespace SplitTangent
13
+ namespace OpenManifold
14
+ variable {d : ℕ} (U : Set (Fin d → ℂ)) (hU : IsOpen U) (hne : U.Nonempty)
15
+
16
+ abbrev Carrier := ULift.{u} U
17
+ include hne in
18
+ theorem nonempty : Nonempty (Carrier.{u} U) := ⟨⟨⟨hne.choose,hne.choose_spec⟩⟩⟩
19
+ def val (x : Carrier.{u} U) : Fin d → ℂ := x.down.val
20
+ include hU in
21
+ lemma isOpenEmbedding_val : IsOpenEmbedding (val (U := U) : Carrier.{u} U → _) :=
22
+ hU.isOpenEmbedding_subtypeVal.comp Homeomorph.ulift.isOpenEmbedding
23
+
24
+ def manifold : ComplexManifold.{u} where
25
+ dim := d
26
+ Carrier := Carrier.{u} U
27
+ charts := by
28
+ letI := nonempty U hne
29
+ exact (isOpenEmbedding_val U hU).singletonChartedSpace
30
+ secondCountable := Homeomorph.ulift.isInducing.secondCountableTopology
31
+ holomorphicAtlas := by
32
+ let := nonempty U hne
33
+ exact (isOpenEmbedding_val U hU).isManifold_singleton
34
+
35
+ lemma val_holomorphic : ContMDiff (ModelWithCorners (manifold.{u} U hU hne))
36
+ 𝓘(ℂ, Fin d → ℂ) ω (fun x : (manifold.{u} U hU hne).Carrier => val U x) := by
37
+ let := nonempty U hne
38
+ exact contMDiff_isOpenEmbedding (isOpenEmbedding_val U hU)
39
+
40
+ lemma val_mem (x : (manifold.{u} U hU hne).Carrier) : val (U := U) x∈U := x.down.property
41
+
42
+ lemma range_val : Set.range (val (U := U) : (manifold.{u} U hU hne).Carrier → _)=U := by
43
+ ext x
44
+ exact ⟨fun ⟨y,hy⟩ => hy ▸ y.down.property, fun hx => ⟨⟨⟨x,hx⟩⟩,rfl⟩⟩
45
+
46
+ lemma val_mfderiv_bijective (x : (manifold.{u} U hU hne).Carrier) :
47
+ Function.Bijective (mfderiv (ModelWithCorners (manifold.{u} U hU hne))
48
+ 𝓘(ℂ, Fin d → ℂ) (fun y : (manifold.{u} U hU hne).Carrier => val U y) x) := by
49
+ have H := (mdifferentiable_chart (I := ModelWithCorners (manifold.{u} U hU hne)) x).mfderiv_bijective
50
+ (mem_chart_source (Model (manifold.{u} U hU hne)) x)
51
+ exact H
52
+
53
+ end OpenManifold
54
+ end SplitTangent
55
+
56
+ end
57
+
58
+ end OAI
lean/OAI/Geometry/SplitTangent/OpenPositiveLeaves.lean ADDED
@@ -0,0 +1,87 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Mathlib
2
+ import OAI.Geometry.SplitTangent.TensorVanishing
3
+ import OAI.Geometry.SplitTangent.BracketIntegrability
4
+ import OAI.Geometry.SplitTangent.LeafJetAtlas
5
+ import OAI.Geometry.SplitTangent.Basic
6
+ import OAI.Geometry.SplitTangent.PositiveTangentCurves
7
+ import OAI.Geometry.SplitTangent.CompactPositiveLeaf
8
+ import OAI.Geometry.SplitTangent.ProjectivePositiveLeaf
9
+
10
+ namespace OAI
11
+
12
+ /-! Open Positive Leaves. -/
13
+
14
+ noncomputable section
15
+ open Set Filter Topology
16
+ open scoped Manifold ContDiff
17
+ universe u
18
+ namespace SplitTangent
19
+
20
+ namespace RationalFamily
21
+ variable {X T : ComplexManifold.{u}} (G : RationalFamily X T)
22
+
23
+ def evaluation (a : ℂ) (τ : T.Carrier) : X.Carrier := G.finite (a,τ)
24
+
25
+ lemma evaluation_holomorphic (a : ℂ) :
26
+ ContMDiff (ModelWithCorners T) (ModelWithCorners X) ω (G.evaluation a) :=
27
+ G.finite_holomorphic.comp (contMDiff_const.prodMk contMDiff_id)
28
+
29
+ lemma evaluation_surjective_derivative {τ : T.Carrier}
30
+ (hs : Function.Surjective (mfderiv (ModelWithCorners T)
31
+ ((ModelWithCorners X).prod (ModelWithCorners X)) (G.twoPointEvaluation 0 1) τ)) :
32
+ Function.Surjective (mfderiv (ModelWithCorners T) (ModelWithCorners X) (G.evaluation 1) τ) := by
33
+ intro w
34
+ obtain ⟨v,hv⟩ := hs (0,w)
35
+ refine ⟨v,?_⟩
36
+ rw [G.twoPointEvaluation_derivative] at hv
37
+ exact congrArg Prod.snd hv
38
+
39
+ lemma evaluation_open
40
+ (hs : ∀τ,Function.Surjective (mfderiv (ModelWithCorners T)
41
+ ((ModelWithCorners X).prod (ModelWithCorners X)) (G.twoPointEvaluation 0 1) τ)) :
42
+ IsOpenMap (G.evaluation 1) :=
43
+ HolomorphicLocalDiffeomorph.isOpenMap_of_surjective_mfderiv (G.evaluation_holomorphic 1)
44
+ (fun τ => G.evaluation_surjective_derivative (hs τ))
45
+
46
+ end RationalFamily
47
+ namespace TangentSplitting
48
+ variable {X : ComplexManifold.{u}} [CompactSpace X.Carrier] [ConnectedSpace X.Carrier]
49
+ (S : TangentSplitting X) (e : ProjectiveEmbedding X)
50
+
51
+
52
+
53
+ omit [ConnectedSpace X.Carrier] in
54
+ theorem exists_open_positive_leaves (hRC : RationallyConnected e) (hdim : 0<X.dim) :
55
+ ∃U : Set X.Carrier,IsOpen U ∧ U.Nonempty ∧
56
+ ∀x∈U,∃g : RationalCurve X,g.finite 1=x ∧ g.TangentTo S.first ∧ PointedGenerated g S.first := by
57
+ obtain ⟨T,hT,G,hs⟩ := hRC.exists_submersive_family e hdim
58
+ let := hT
59
+ refine ⟨Set.range (G.evaluation 1),(G.evaluation_open hs).isOpen_range,
60
+ Set.range_nonempty _,?_⟩
61
+ rintro x ⟨τ,rfl⟩
62
+ obtain ⟨B⟩ := S.exists_projective_tangent_box e (G.curve τ)
63
+ exact ⟨B.firstFactor 1,B.firstFactor_diagonal 1,B.firstFactor_tangentTo 1,
64
+ B.firstFactor_pointedGenerated (G.pointedGenerated_of_submersive S τ (hs τ))⟩
65
+
66
+
67
+
68
+ theorem exists_open_compact_leaves (hRC : RationallyConnected e) (hdim : 2≤X.dim) :
69
+ ∃L : LeafJetAtlas S,∃U : Set X.Carrier,IsOpen U ∧ U.Nonempty ∧
70
+ ∀x∈U,IsCompact (L.leaf x) ∧
71
+ ∀y∈L.leaf x,L.plaques.LocallySinglePlaque (L.leaf x) y := by
72
+ obtain ⟨hI₁,hI₂⟩ := S.integrable_of_rationallyConnected e hRC hdim
73
+ let L := S.leafJetAtlas hI₁ hI₂
74
+ obtain ⟨U,hU,hUn,hg⟩ := S.exists_open_positive_leaves e hRC (by omega)
75
+ refine ⟨L,U,hU,hUn,?_⟩
76
+ intro x hx
77
+ obtain ⟨g,he,ht,hp⟩ := hg x hx
78
+ obtain ⟨F⟩ := g.exists_frames e
79
+ rw [←he]
80
+ exact ⟨F.leaf_isCompact L ht hp,F.leaf_locallySinglePlaque L ht hp⟩
81
+
82
+ end TangentSplitting
83
+ end SplitTangent
84
+
85
+ end
86
+
87
+ end OAI
lean/OAI/Geometry/SplitTangent/PlaqueConnectedSets.lean ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Mathlib
2
+ import OAI.Geometry.SplitTangent.FoliationLeaves
3
+
4
+ namespace OAI
5
+
6
+ /-! Plaque Connected Sets. -/
7
+
8
+ noncomputable section
9
+ open Set Filter Topology
10
+ universe u v w
11
+ namespace PlaqueSystem
12
+ variable {ι : Type v} {X : Type u} [TopologicalSpace X]
13
+ {A B : ι → Type w} [∀i,TopologicalSpace (A i)] [∀i,TopologicalSpace (B i)]
14
+ (P : PlaqueSystem X A B)
15
+
16
+ lemma LocallySinglePlaque.eventually_reachable {Z : Set X} {z : X}
17
+ (h : P.LocallySinglePlaque Z z) : ∀ᶠ y in 𝓝[Z] z,P.Reachable z y := by
18
+ obtain ⟨i,U,V,hU,hUc,hV,hT,hzs,hzUV,huniq⟩ := h
19
+ have hn : ∀ᶠ y in 𝓝 z,y∈(P.chart i).source ∧ (P.chart i) y∈U ×ˢ V :=
20
+ Filter.Eventually.and ((P.chart i).open_source.mem_nhds hzs)
21
+ (((P.chart i).continuousAt hzs).preimage_mem_nhds ((hU.prod hV).mem_nhds hzUV))
22
+ filter_upwards [hn.filter_mono nhdsWithin_le_nhds,self_mem_nhdsWithin] with y hy hyZ
23
+ have he := huniq y hyZ hy.1 hy.2
24
+ have hr := P.related_in_rectangle hUc hT hzUV.1 hy.2.1 hzUV.2
25
+ have hy' : (P.chart i).symm (((P.chart i) y).1,((P.chart i) z).2)=y := by
26
+ rw [←he]
27
+ exact (P.chart i).left_inv hy.1
28
+ change P.Related ((P.chart i).symm ((P.chart i) z))
29
+ ((P.chart i).symm (((P.chart i) y).1,((P.chart i) z).2)) at hr
30
+ rw [(P.chart i).left_inv hzs,hy'] at hr
31
+ exact Relation.ReflTransGen.single hr
32
+
33
+
34
+
35
+ lemma preconnected_subset_leaf {Z : Set X} (hZ : IsPreconnected Z)
36
+ (hlocal : ∀z∈Z,P.LocallySinglePlaque Z z) {x : X} (hx : x∈Z) : Z⊆P.leaf x := by
37
+ let : PreconnectedSpace Z := isPreconnected_iff_preconnectedSpace.mp hZ
38
+ let f : Z → Prop := fun y => P.Reachable x y.val
39
+ have hf : IsLocallyConstant f := by
40
+ apply (IsLocallyConstant.iff_eventually_eq f).mpr
41
+ intro y
42
+ have ht : Tendsto (Subtype.val : Z → X) (𝓝 y) (𝓝[Z] y.val) :=
43
+ tendsto_inf.mpr ⟨continuous_subtype_val.tendsto y,
44
+ tendsto_principal.mpr (Filter.Eventually.of_forall (fun z : Z => z.property))⟩
45
+ have hh := ht.eventually
46
+ ((hlocal y.val y.property).eventually_reachable P)
47
+ filter_upwards [hh] with z hz
48
+ apply propext
49
+ exact ⟨fun hxz => Reachable.trans P hxz (Reachable.symm P hz),fun hxy => Reachable.trans P hxy hz⟩
50
+ intro y hy
51
+ have hh := hf.apply_eq_of_preconnectedSpace (⟨y,hy⟩ : Z) ⟨x,hx⟩
52
+ exact hh.mpr (Reachable.refl P x)
53
+
54
+ end PlaqueSystem
55
+
56
+ end
57
+
58
+ end OAI
lean/OAI/Geometry/SplitTangent/PlaqueTangentImage.lean ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Mathlib
2
+ import OAI.Geometry.SplitTangent.TensorVanishing
3
+ import OAI.Geometry.SplitTangent.Basic
4
+
5
+ namespace OAI
6
+
7
+ /-! Plaque Tangent Image. -/
8
+
9
+ noncomputable section
10
+ open Set Filter Topology
11
+ open scoped Manifold ContDiff
12
+ universe u v
13
+ namespace SplitTangent.AlignedProductChart
14
+ variable {X : ComplexManifold.{u}} {Y : ComplexManifold.{v}} {S : TangentSplitting X}
15
+ {A B : Type*} [NormedAddCommGroup A] [NormedSpace ℂ A]
16
+ [NormedAddCommGroup B] [NormedSpace ℂ B]
17
+
18
+ lemma mfderiv_into_first (P : AlignedProductChart S A B) {f : Y.Carrier → X.Carrier}
19
+ {y : Y.Carrier} (hf : ContMDiffAt (ModelWithCorners Y) (ModelWithCorners X) ω f y)
20
+ (hy : f y∈P.chart.source)
21
+ (hplaque : ∀ᶠ z in 𝓝 y,(P.chart (f z)).2=(P.chart (f y)).2)
22
+ (v : Tangent Y y) :
23
+ mfderiv (ModelWithCorners Y) (ModelWithCorners X) f y v∈S.first (f y) := by
24
+ have hp := P.holomorphicAt hy
25
+ have hcomp := hp.comp y hf
26
+ have hzero : mfderiv (ModelWithCorners Y) 𝓘(ℂ,B) (fun z => (P.chart (f z)).2) y=0 := by
27
+ have he : (fun z => (P.chart (f z)).2) =ᶠ[𝓝 y] (fun _ => (P.chart (f y)).2) := hplaque
28
+ rw [he.mfderiv_eq,mfderiv_const]
29
+ simp
30
+ have hds := mfderiv_comp y ((ContinuousLinearMap.snd ℂ A B).differentiableAt.mdifferentiableAt)
31
+ (hcomp.mdifferentiableAt (by simp))
32
+ have hdc := mfderiv_comp y (hp.mdifferentiableAt (by simp)) (hf.mdifferentiableAt (by simp))
33
+ have hs : (mfderiv (ModelWithCorners X) 𝓘(ℂ,A × B) P.chart (f y)
34
+ (mfderiv (ModelWithCorners Y) (ModelWithCorners X) f y v)).2=0 := by
35
+ have he := DFunLike.congr_fun hzero v
36
+ change mfderiv (ModelWithCorners Y) 𝓘(ℂ,B) ((ContinuousLinearMap.snd ℂ A B) ∘ P.chart ∘ f) y v=0 at he
37
+ rw [hds,hdc,mfderiv_eq_fderiv] at he
38
+ simp only [ContinuousLinearMap.fderiv] at he
39
+ exact he
40
+ have hm : mfderiv (ModelWithCorners X) 𝓘(ℂ,A × B) P.chart (f y)
41
+ (mfderiv (ModelWithCorners Y) (ModelWithCorners X) f y v) ∈
42
+ Submodule.map (mfderiv (ModelWithCorners X) 𝓘(ℂ,A × B) P.chart (f y)).toLinearMap
43
+ (S.first (f y)) := by
44
+ rw [P.first _ hy]
45
+ exact hs
46
+ obtain ⟨w,hw,he⟩ := hm
47
+ have he' := P.mdifferentiable.mfderiv_injective hy he
48
+ exact he' ▸ hw
49
+
50
+ end SplitTangent.AlignedProductChart
51
+
52
+ end
53
+
54
+ end OAI
lean/OAI/Geometry/SplitTangent/PolynomialLeafGerms.lean ADDED
@@ -0,0 +1,96 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Mathlib
2
+ import OAI.Geometry.SplitTangent.AmbientLeafGerm
3
+ import OAI.Geometry.SplitTangent.CurveHomogeneousSections
4
+ import OAI.Geometry.SplitTangent.TensorVanishing
5
+ import OAI.Geometry.SplitTangent.LeafJetAtlas
6
+ import OAI.Geometry.SplitTangent.Basic
7
+ import OAI.Geometry.SplitTangent.ProjectiveLineFrame
8
+ import OAI.Geometry.SplitTangent.RationalCurveFrames
9
+
10
+ namespace OAI
11
+
12
+ /-! Polynomial Leaf Germs. -/
13
+
14
+ noncomputable section
15
+ open Set Filter Topology
16
+ open scoped Manifold ContDiff BigOperators
17
+ universe u
18
+ namespace SplitTangent.RationalCurveFrames
19
+ variable {X : ComplexManifold.{u}} {S : TangentSplitting X}
20
+ {e : ProjectiveEmbedding X} {g : RationalCurve X} (F : RationalCurveFrames e g)
21
+
22
+ def baseMultiplier (q : ℂ × X.Carrier) : ℂ :=
23
+ ∑i,(F.a i).eval 1*F.finite q.1 q.2 i
24
+
25
+ lemma baseMultiplier_holomorphic :
26
+ ContMDiffAt (𝓘(ℂ,ℂ).prod (ModelWithCorners X)) 𝓘(ℂ,ℂ) ω
27
+ F.baseMultiplier (1,g.finite 1) := by
28
+ apply contMDiffAt_finsetSum
29
+ intro i hi
30
+ exact (contMDiffAt_const (I' := 𝓘(ℂ,ℂ))).mul
31
+ (contMDiffAt_pi_space.mp (F.finite_joint_holomorphicAt 1) i)
32
+
33
+ lemma baseMultiplier_one : F.baseMultiplier (1,g.finite 1)=1 := by
34
+ simp only [baseMultiplier,F.finite_on_curve]
35
+ exact F.finite_unit 1
36
+
37
+ lemma base_frame_eventually : ∀ᶠ q : ℂ × X.Carrier in 𝓝 (1,g.finite 1),
38
+ F.finite q.1 q.2=F.baseMultiplier q • F.finite 1 q.2 ∧ F.baseMultiplier q≠0 := by
39
+ have hn : F.baseMultiplier (1,g.finite 1)≠0 := by rw [F.baseMultiplier_one]; exact one_ne_zero
40
+ filter_upwards [F.baseMultiplier_holomorphic.continuousAt.eventually_ne hn] with q hq
41
+ have he : F.baseMultiplier q=
42
+ (∑i,(F.a i).eval q.1*(e.map q.2).rep i)⁻¹ *
43
+ (∑i,(F.a i).eval 1*(e.map q.2).rep i) := by
44
+ simp only [baseMultiplier,finite,ProjectiveEmbedding.linearFrame,Pi.smul_apply,smul_eq_mul]
45
+ rw [Finset.mul_sum]
46
+ apply Finset.sum_congr rfl
47
+ intro i hi
48
+ ring
49
+ have hb : (∑i,(F.a i).eval 1*(e.map q.2).rep i)≠0 := by
50
+ rw [he] at hq
51
+ exact (mul_ne_zero_iff.mp hq).2
52
+ exact ⟨e.linearFrame_change _ _ q.2 hb,hq⟩
53
+
54
+ variable (L : LeafJetAtlas S)
55
+ {A B : Type*}
56
+ [NormedAddCommGroup A] [NormedSpace ℂ A] [CompleteSpace A]
57
+ [NormedAddCommGroup B] [NormedSpace ℂ B] [CompleteSpace B]
58
+
59
+
60
+
61
+ theorem flat_section_coefficients (P : AlignedProductChart S A B)
62
+ (hy : g.finite 1∈P.chart.source) (ht : g.TangentTo S.first)
63
+ {a k : ℕ} (p : HomogeneousTuple (e := e) a k)
64
+ (hf : F.sections a k p∈SeparatedQuotientFiltration.zeroPart ((F.ambientTransition a k).contact L)) :
65
+ ∀i,(fun t : A => MvPolynomial.eval (F.finite 1 (P.chart.symm (t,(P.chart (g.finite 1)).2))) (p i).val)
66
+ =ᶠ[𝓝 (P.chart (g.finite 1)).1] 0 := by
67
+ let b := (P.chart (g.finite 1)).2
68
+ let t₀ := (P.chart (g.finite 1)).1
69
+ have hh := (F.ambientTransition a k).flat_joint_germ L (F.sections a k p) hf ht P hy
70
+ have hm : Tendsto (fun q : ℂ × A => (q.1,P.chart.symm (q.2,b)))
71
+ (𝓝 (1,t₀)) (𝓝 (1,g.finite 1)) := by
72
+ have hInv : ContinuousAt P.chart.symm (t₀,b) :=
73
+ (P.inverse_holomorphicAt (P.chart.map_source hy)).continuousAt
74
+ have hP : ContinuousAt (fun q : ℂ × A => P.chart.symm (q.2,b)) (1,t₀) :=
75
+ hInv.comp (f := fun q : ℂ × A => (q.2,b)) (x := (1,t₀))
76
+ (continuousAt_snd.prodMk continuousAt_const)
77
+ simpa only [ContinuousAt,t₀,b,Prod.mk.eta,P.chart.left_inv hy] using continuousAt_fst.prodMk hP
78
+ apply PolynomialCoefficientGerms.coefficient_germs _ (1 : ℂ)
79
+ filter_upwards [hh,hm.eventually F.base_frame_eventually] with q hq hframe
80
+ change (∑i : Fin (a+1),q.1^i.val*MvPolynomial.eval (F.finite q.1 (P.chart.symm (q.2,b))) (p i).val)=0 at hq
81
+ have he : (∑i : Fin (a+1),q.1^i.val*MvPolynomial.eval (F.finite q.1 (P.chart.symm (q.2,b))) (p i).val)=
82
+ (F.baseMultiplier (q.1,P.chart.symm (q.2,b)))^k*
83
+ (∑i : Fin (a+1),q.1^i.val*MvPolynomial.eval (F.finite 1 (P.chart.symm (q.2,b))) (p i).val) := by
84
+ rw [Finset.mul_sum]
85
+ apply Finset.sum_congr rfl
86
+ intro i hi
87
+ rw [hframe.1,_root_.OAI.MvPolynomial.IsHomogeneous.eval_scale (p i).property]
88
+ ring
89
+ rw [he] at hq
90
+ exact (mul_eq_zero.mp hq).resolve_left (pow_ne_zero _ hframe.2)
91
+
92
+ end SplitTangent.RationalCurveFrames
93
+
94
+ end
95
+
96
+ end OAI
lean/OAI/Geometry/SplitTangent/PolynomialRelationLocus.lean ADDED
@@ -0,0 +1,122 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Mathlib
2
+ import OAI.Geometry.SplitTangent.TensorVanishing
3
+ import OAI.Geometry.SplitTangent.HolomorphicCommonZeros
4
+ import OAI.Geometry.SplitTangent.LeafJetAtlas
5
+ import OAI.Geometry.SplitTangent.Basic
6
+ import OAI.Geometry.SplitTangent.ProjectiveHypersurfaces
7
+
8
+ namespace OAI
9
+
10
+ /-! Polynomial Relation Locus. -/
11
+
12
+ noncomputable section
13
+ open Set Filter Topology
14
+ open scoped Manifold ContDiff BigOperators
15
+ universe u
16
+ namespace SplitTangent.LeafJetAtlas
17
+ variable {X : ComplexManifold.{u}} {S : TangentSplitting X}
18
+ (L : LeafJetAtlas S) (e : ProjectiveEmbedding X) {n k : ℕ}
19
+ (Q : Fin n → MvPolynomial.homogeneousSubmodule (Fin (e.N+1)) ℂ k)
20
+
21
+ def relationPolynomial (c : Fin n → ℂ) : MvPolynomial.homogeneousSubmodule (Fin (e.N+1)) ℂ k :=
22
+ ∑j,c j • Q j
23
+
24
+ def relationLocus : Set X.Carrier := {x | ∃c : Fin n → ℂ,c≠0 ∧
25
+ closure (L.leaf x) ⊆ e.homogeneousZeroLocus (relationPolynomial e Q c).val}
26
+
27
+ lemma relation_eval (c : Fin n → ℂ) (w : Fin (e.N+1) → ℂ) :
28
+ MvPolynomial.eval w (relationPolynomial e Q c).val=∑j,MvPolynomial.eval w (Q j).val*c j := by
29
+ simp only [relationPolynomial,Submodule.coe_sum,Submodule.coe_smul,map_sum,MvPolynomial.smul_eval]
30
+ apply Finset.sum_congr rfl
31
+ intro j hj
32
+ simp only [mul_comm]
33
+
34
+ lemma relation_rectangle_iff {x z : X.Carrier} (i : Fin (e.N+1))
35
+ {U : Set (S.FirstModel x)} {V : Set (S.SecondModel x)}
36
+ (hU : IsOpen U) (hUc : IsPreconnected U)
37
+ (hrect : U ×ˢ V ⊆ (L.chart x).chart.target)
38
+ (hpatch : ∀t∈U ×ˢ V,(e.map ((L.chart x).chart.symm t)).rep i≠0)
39
+ (hz : z∈(L.chart x).chart.source) (hzUV : (L.chart x).chart z∈U ×ˢ V) :
40
+ z∈L.relationLocus e Q ↔ ∃c : Fin n → ℂ,c≠0 ∧ ∀a : U,
41
+ ∑j,MvPolynomial.eval (projectiveCoordinates i (e.map ((L.chart x).chart.symm
42
+ (a.val,((L.chart x).chart z).2)))) (Q j).val*c j=0 := by
43
+ let P := L.chart x
44
+ constructor
45
+ · rintro ⟨c,hc,hzero⟩
46
+ refine ⟨c,hc,fun a => ?_⟩
47
+ have hrel := L.plaques.related_in_rectangle hUc hrect hzUV.1 a.property hzUV.2
48
+ change L.plaques.Related (P.chart.symm (P.chart z))
49
+ (P.chart.symm (a.val,(P.chart z).2)) at hrel
50
+ rw [P.chart.left_inv hz] at hrel
51
+ have hleaf : P.chart.symm (a.val,(P.chart z).2)∈L.leaf z :=
52
+ Relation.ReflTransGen.single hrel
53
+ have hh := (e.homogeneous_coordinates_zero_iff (relationPolynomial e Q c).property i
54
+ (hpatch (a.val,(P.chart z).2) ⟨a.property,hzUV.2⟩)).mp (hzero (subset_closure hleaf))
55
+ rwa [relation_eval] at hh
56
+ · rintro ⟨c,hc,hzero⟩
57
+ refine ⟨c,hc,?_⟩
58
+ apply L.closure_leaf_subset
59
+ (e.homogeneousZeroLocus_locally_holomorphic (relationPolynomial e Q c).property)
60
+ (e.homogeneousZeroLocus_isClosed (relationPolynomial e Q c).property)
61
+ apply (L.germIn_iff P hz).mpr
62
+ change ∀ᶠa in 𝓝 (P.chart z).1,
63
+ P.chart.symm (a,(P.chart z).2)∈e.homogeneousZeroLocus (relationPolynomial e Q c).val
64
+ filter_upwards [hU.mem_nhds hzUV.1] with a ha
65
+ apply (e.homogeneous_coordinates_zero_iff (relationPolynomial e Q c).property i
66
+ (hpatch (a,(P.chart z).2) ⟨ha,hzUV.2⟩)).mpr
67
+ rw [relation_eval]
68
+ exact hzero ⟨a,ha⟩
69
+
70
+
71
+
72
+ theorem relationLocus_locally_holomorphic :
73
+ LocallyHolomorphicCommonZeros X (L.relationLocus e Q) := by
74
+ classical
75
+ intro x
76
+ let P := L.chart x
77
+ have hxs : x∈P.chart.source := L.mem_source x
78
+ have hxt : P.chart x∈P.chart.target := P.chart.map_source hxs
79
+ obtain ⟨i,hi⟩ := Function.ne_iff.mp (e.map x).rep_nonzero
80
+ change (e.map x).rep i≠0 at hi
81
+ let patch := {y : X.Carrier | (e.map y).rep i≠0}
82
+ have hpatch : P.chart.symm ⁻¹' patch∈𝓝 (P.chart x) := by
83
+ apply (P.chart.symm.continuousAt hxt).preimage_mem_nhds
84
+ simpa only [P.chart.left_inv hxs] using (e.open_patch i).mem_nhds hi
85
+ obtain ⟨U,V,hU,hUc,hV,hxUV,hrect⟩ := UniformPlaqueSlices.connected_rectangle
86
+ (Filter.inter_mem (P.chart.open_target.mem_nhds hxt) hpatch)
87
+ have hrectT : U ×ˢ V⊆P.chart.target := fun t ht => (hrect ht).1
88
+ have hrectP : ∀t∈U ×ˢ V,(e.map (P.chart.symm t)).rep i≠0 := fun t ht => (hrect ht).2
89
+ let W := P.chart.source ∩ P.chart ⁻¹' (U ×ˢ V)
90
+ have hW : IsOpen W := P.chart.continuousOn.isOpen_inter_preimage P.chart.open_source (hU.prod hV)
91
+ let row : U → X.Carrier → Fin n → ℂ := fun a y j =>
92
+ MvPolynomial.eval (projectiveCoordinates i (e.map (P.chart.symm (a.val,(P.chart y).2)))) (Q j).val
93
+ let f : (Fin n → U) → X.Carrier → ℂ := fun s y => Matrix.det (fun a b => row (s a) y b)
94
+ refine ⟨W,hW,⟨hxs,hxUV⟩,Set.range f,?_,?_⟩
95
+ · rintro _ ⟨s,rfl⟩ y hy
96
+ apply ContMDiffAt.contMDiffWithinAt
97
+ apply HolomorphicDeterminant.contMDiffAt_det
98
+ intro a b
99
+ have hC : ContMDiffAt (ModelWithCorners X) 𝓘(ℂ,S.FirstModel x × S.SecondModel x) ω
100
+ (fun z => ((s a).val,(P.chart z).2)) y := by
101
+ apply (contMDiffAt_prod_module_iff _).mpr
102
+ exact ⟨contMDiffAt_const,(contMDiffAt_prod_module_iff _).mp (P.holomorphicAt hy.1) |>.2⟩
103
+ have hI := (P.inverse_holomorphicAt (hrectT (show ((s a).val,(P.chart y).2)∈U ×ˢ V from ⟨(s a).property,hy.2.2⟩))).comp y hC
104
+ have he := ((e.holomorphic i).contMDiffAt ((e.open_patch i).mem_nhds
105
+ (hrectP ((s a).val,(P.chart y).2) ⟨(s a).property,hy.2.2⟩))).comp y hI
106
+ exact _root_.OAI.MvPolynomial.contMDiffAt_eval_comp (ModelWithCorners X) (Q b).val
107
+ (fun j => contMDiffAt_pi_space.mp he j)
108
+ · intro y hy
109
+ have hiff := L.relation_rectangle_iff e Q i hU hUc hrectT hrectP hy.1 hy.2
110
+ rw [hiff,FiniteSampling.relation_iff_det_zero]
111
+ constructor
112
+ · intro hd f' hf'
113
+ obtain ⟨s,rfl⟩ := hf'
114
+ exact hd s
115
+ · intro hd s
116
+ exact hd (f s) ⟨s,rfl⟩
117
+
118
+ end SplitTangent.LeafJetAtlas
119
+
120
+ end
121
+
122
+ end OAI
lean/OAI/Geometry/SplitTangent/PolynomialSpecialization.lean ADDED
@@ -0,0 +1,100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Mathlib
2
+
3
+ namespace OAI
4
+
5
+ /-! Polynomial Specialization. -/
6
+
7
+ noncomputable section
8
+ open Set Filter Topology
9
+ open scoped ContDiff Manifold BigOperators
10
+ namespace PolynomialSpecialization
11
+ open MvPolynomial
12
+
13
+ lemma eval_analyticAt {σ : Type*} [Fintype σ] (p : MvPolynomial σ ℂ) (x : σ → ℂ) :
14
+ AnalyticAt ℂ (fun y => eval y p) x := by
15
+ induction p using MvPolynomial.induction_on with
16
+ | C c => simpa only [eval_C] using (analyticAt_const (v := c) (x := x))
17
+ | add p q hp hq =>
18
+ have he : (fun y => eval y (p+q))=((fun y => eval y p)+(fun y => eval y q)) := by
19
+ funext y
20
+ exact eval_add
21
+ rw [he]
22
+ exact hp.add hq
23
+ | mul_X p i hp =>
24
+ have he : (fun y => eval y (p*X i))=((fun y => eval y p)*(fun y => y i)) := by
25
+ funext y
26
+ simp only [eval_mul,eval_X,Pi.mul_apply]
27
+ rw [he]
28
+ exact hp.mul ((ContinuousLinearMap.proj i : (σ → ℂ) →L[ℂ] ℂ).analyticAt x)
29
+
30
+ lemma eq_zero_of_zero_on_open {σ : Type*} [Fintype σ]
31
+ (p : MvPolynomial σ ℂ) {U : Set (σ → ℂ)} (hU : IsOpen U) (hne : U.Nonempty)
32
+ (hp : ∀a∈U,eval a p=0) : p=0 := by
33
+ obtain ⟨a,ha⟩ := hne
34
+ have hz : (fun y => eval y p) =ᶠ[𝓝 a] 0 := by
35
+ filter_upwards [hU.mem_nhds ha] with y hy
36
+ exact hp y hy
37
+ have he := (show AnalyticOnNhd ℂ (fun y => eval y p) univ from
38
+ fun y _ => eval_analyticAt p y).eqOn_zero_of_preconnected_of_eventuallyEq_zero
39
+ isPreconnected_univ (mem_univ a) hz
40
+ apply MvPolynomial.funext
41
+ intro y
42
+ simpa using he (mem_univ y)
43
+
44
+ lemma exists_simultaneously_nonzero {σ ι : Type*} [Fintype σ] [Fintype ι]
45
+ (p : ι → MvPolynomial σ ℂ) (hp : ∀i,p i≠0)
46
+ {U : Set (σ → ℂ)} (hU : IsOpen U) (hne : U.Nonempty) :
47
+ ∃a∈U,∀i,eval a (p i)≠0 := by
48
+ classical
49
+ by_contra! h
50
+ have he : (∏i,p i)=0 := eq_zero_of_zero_on_open _ hU hne (by
51
+ intro a ha
52
+ obtain ⟨i,hi⟩ := h a ha
53
+ rw [map_prod]
54
+ exact Finset.prod_eq_zero (Finset.mem_univ i) hi)
55
+ exact (Finset.prod_ne_zero_iff.mpr (fun i _ => hp i)) he
56
+
57
+
58
+
59
+ theorem generic_specialization {σ ι : Type*} [Fintype σ] [Fintype ι]
60
+ (p : ι → MvPolynomial (Option σ) ℂ) (hp : ∀i,p i≠0)
61
+ {U : Set (σ → ℂ)} (hU : IsOpen U) (hne : U.Nonempty) :
62
+ ∃a∈U,∀i,Polynomial.map (eval a) (optionEquivLeft ℂ σ (p i))≠0 := by
63
+ classical
64
+ have hc : ∀i,∃n,(optionEquivLeft ℂ σ (p i)).coeff n≠0 := by
65
+ intro i
66
+ by_contra! h
67
+ apply hp i
68
+ apply (optionEquivLeft ℂ σ).injective
69
+ rw [map_zero]
70
+ exact Polynomial.ext (by simpa using h)
71
+ choose n hn using hc
72
+ obtain ⟨a,ha,h⟩ := exists_simultaneously_nonzero
73
+ (fun i => (optionEquivLeft ℂ σ (p i)).coeff (n i)) hn hU hne
74
+ refine ⟨a,ha,fun i he => h i ?_⟩
75
+ have hec := congrArg (fun q : Polynomial ℂ => q.coeff (n i)) he
76
+ simpa only [Polynomial.coeff_map,Polynomial.coeff_zero] using hec
77
+
78
+
79
+
80
+ theorem finite_fiber {ι B : Type*} [Fintype ι]
81
+ (T : Set B) (f : B → ι → ℂ) (hf : Set.InjOn f T)
82
+ (p : ι → Polynomial ℂ) (hp : ∀i,p i≠0)
83
+ (hroot : ∀b∈T,∀i,(p i).IsRoot (f b i)) : T.Finite := by
84
+ let R (i : ι) := {c : ℂ // (p i).IsRoot c}
85
+ let : ∀i,Finite (R i) := fun i => (Polynomial.finite_setOfPred_isRoot (hp i)).to_subtype
86
+ let g : T → ∀i,R i := fun b i => ⟨f b.val i,hroot b.val b.property i⟩
87
+ have hg : Function.Injective g := by
88
+ intro a b he
89
+ apply Subtype.ext
90
+ apply hf a.property b.property
91
+ funext i
92
+ exact congrArg Subtype.val (congrFun he i)
93
+ let : Finite T := Finite.of_injective g hg
94
+ exact Set.toFinite T
95
+
96
+ end PolynomialSpecialization
97
+
98
+ end
99
+
100
+ end OAI
lean/OAI/Geometry/SplitTangent/PositiveCoverLift.lean ADDED
@@ -0,0 +1,148 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Mathlib
2
+ import OAI.Geometry.SplitTangent.HolomorphicTangentMapAt
3
+ import OAI.Geometry.SplitTangent.BracketIntegrability
4
+ import OAI.Geometry.SplitTangent.Basic
5
+ import OAI.Geometry.SplitTangent.PositiveTangentCurves
6
+ import OAI.Geometry.SplitTangent.RationalCoverLift
7
+
8
+ namespace OAI
9
+
10
+ /-! Positive Cover Lift. -/
11
+
12
+ noncomputable section
13
+ open Set Filter Topology Bundle
14
+ open scoped Manifold ContDiff
15
+ universe u
16
+ namespace SplitTangent
17
+ variable {X Y : ComplexManifold.{u}} {p : Y.Carrier → X.Carrier}
18
+
19
+
20
+ def coverTangentLift
21
+ (hp : IsLocalDiffeomorph (ModelWithCorners Y) (ModelWithCorners X) ω p)
22
+ (y : Y.Carrier) : Tangent X (p y) →L[ℂ] Tangent Y y :=
23
+ ((hp y).mfderivToContinuousLinearEquiv (by simp)).symm.toContinuousLinearMap
24
+
25
+ lemma coverTangentLift_leftInverse
26
+ (hp : IsLocalDiffeomorph (ModelWithCorners Y) (ModelWithCorners X) ω p)
27
+ (y : Y.Carrier) (v : Tangent Y y) :
28
+ coverTangentLift hp y (mfderiv (ModelWithCorners Y) (ModelWithCorners X) p y v)=v :=
29
+ ((hp y).mfderivToContinuousLinearEquiv (by simp)).symm_apply_apply v
30
+
31
+ lemma coverTangentLift_eq_localInverse
32
+ (hp : IsLocalDiffeomorph (ModelWithCorners Y) (ModelWithCorners X) ω p)
33
+ (y z : Y.Carrier) (hz : z∈(hp y).localInverse.target) (v : Tangent X (p z)) :
34
+ coverTangentLift hp z v=
35
+ mfderiv (ModelWithCorners X) (ModelWithCorners Y) (hp y).localInverse (p z) v := by
36
+ let h := hp y
37
+ have hps : p z∈h.localInverse.source := by
38
+ rw [h.choose_spec.2 hz]
39
+ exact h.choose.map_source hz
40
+ have hdi := (h.localInverse_contMDiffOn.contMDiffAt
41
+ (h.localInverse.open_source.mem_nhds hps)).mdifferentiableAt (by simp)
42
+ have he : h.localInverse ∘ p =ᶠ[𝓝 z] id :=
43
+ Filter.eventuallyEq_of_mem (h.localInverse.open_target.mem_nhds hz)
44
+ h.localInverse_eqOn_left
45
+ have hd := mfderiv_comp z hdi ((hp z).mdifferentiableAt (by simp))
46
+ rw [he.mfderiv_eq,mfderiv_id] at hd
47
+ let C := (hp z).mfderivToContinuousLinearEquiv (by simp)
48
+ have hh := DFunLike.congr_fun hd (C.symm v)
49
+ change C.symm v=mfderiv (ModelWithCorners X) (ModelWithCorners Y)
50
+ h.localInverse (p z) (C (C.symm v)) at hh
51
+ change C.symm v=mfderiv (ModelWithCorners X) (ModelWithCorners Y)
52
+ h.localInverse (p z) v
53
+ simpa only [C.apply_symm_apply] using hh
54
+
55
+ lemma coverTangentLift_holomorphic
56
+ (hp : IsLocalDiffeomorph (ModelWithCorners Y) (ModelWithCorners X) ω p)
57
+ {g : ℂ → Y.Carrier} {σ : ∀t,Tangent X (p (g t))}
58
+ (hg : Continuous g)
59
+ (hσ : ContMDiff 𝓘(ℂ,ℂ) ((ModelWithCorners X).prod 𝓘(ℂ,Model X)) ω
60
+ (fun t => (⟨p (g t),σ t⟩ : TangentBundle (ModelWithCorners X) X.Carrier))) :
61
+ ContMDiff 𝓘(ℂ,ℂ) ((ModelWithCorners Y).prod 𝓘(ℂ,Model Y)) ω
62
+ (fun t => (⟨g t,coverTangentLift hp (g t) (σ t)⟩ :
63
+ TangentBundle (ModelWithCorners Y) Y.Carrier)) := by
64
+ intro t
65
+ have hh := (holomorphicAt_tangentMap
66
+ (hp (g t)).localInverse_contMDiffAt (σ t)).comp t (hσ t)
67
+ apply hh.congr_of_eventuallyEq
68
+ filter_upwards [hg.continuousAt.preimage_mem_nhds
69
+ ((hp (g t)).localInverse.open_target.mem_nhds
70
+ (hp (g t)).localInverse_mem_target)] with w hw
71
+ exact Bundle.TotalSpace.ext ((hp (g t)).localInverse_left_inv hw).symm
72
+ (heq_of_eq (coverTangentLift_eq_localInverse hp (g t) (g w) hw (σ w)))
73
+
74
+ namespace RationalCurve
75
+ variable {g : RationalCurve X} {k : RationalCurve Y}
76
+ (hp : IsLocalDiffeomorph (ModelWithCorners Y) (ModelWithCorners X) ω p)
77
+ (hf : ∀z,p (k.finite z)=g.finite z) (hi : ∀z,p (k.infinity z)=g.infinity z)
78
+
79
+ def coverSection (σ : CurveTangentSection g) : CurveTangentSection k where
80
+ finite z := coverTangentLift hp (k.finite z) (σ.finite z)
81
+ infinity z := coverTangentLift hp (k.infinity z) (σ.infinity z)
82
+ finite_holomorphic := coverTangentLift_holomorphic hp k.finite_holomorphic.continuous
83
+ (by
84
+ have he : (fun t => (⟨p (k.finite t),σ.finite t⟩ :
85
+ TangentBundle (ModelWithCorners X) X.Carrier))=
86
+ (fun t => (⟨g.finite t,σ.finite t⟩ :
87
+ TangentBundle (ModelWithCorners X) X.Carrier)) := by
88
+ funext t
89
+ exact Bundle.TotalSpace.ext (hf t) (heq_of_eq rfl)
90
+ rw [he]
91
+ exact σ.finite_holomorphic)
92
+ infinity_holomorphic := coverTangentLift_holomorphic hp k.infinity_holomorphic.continuous
93
+ (by
94
+ have he : (fun t => (⟨p (k.infinity t),σ.infinity t⟩ :
95
+ TangentBundle (ModelWithCorners X) X.Carrier))=
96
+ (fun t => (⟨g.infinity t,σ.infinity t⟩ :
97
+ TangentBundle (ModelWithCorners X) X.Carrier)) := by
98
+ funext t
99
+ exact Bundle.TotalSpace.ext (hi t) (heq_of_eq rfl)
100
+ rw [he]
101
+ exact σ.infinity_holomorphic)
102
+ overlap z hz := by rw [k.overlap z hz,σ.overlap z hz]
103
+
104
+ include hp hf hi in
105
+
106
+ theorem pointedGenerated_cover_lift (hg : PointedGenerated g (fun _ => ⊤)) :
107
+ PointedGenerated k (fun _ => ⊤) := by
108
+ intro v hv
109
+ let D := mfderiv (ModelWithCorners Y) (ModelWithCorners X) p (k.finite 1)
110
+ obtain ⟨σ,_,_,h0,h1⟩ := hg (D v) Submodule.mem_top
111
+ refine ⟨coverSection hp hf hi σ,fun _ => Submodule.mem_top,
112
+ fun _ => Submodule.mem_top,?_,?_⟩
113
+ · change coverTangentLift hp (k.finite 0) (σ.finite 0)=0
114
+ erw [h0,map_zero]
115
+ · change coverTangentLift hp (k.finite 1) (σ.finite 1)=v
116
+ rw [h1]
117
+ exact coverTangentLift_leftInverse hp (k.finite 1) v
118
+
119
+
120
+
121
+ theorem exists_positive_cover_lift
122
+ (g : RationalCurve X) (hg : PointedGenerated g (fun _ => ⊤))
123
+ (hcover : IsCoveringMap p)
124
+ (hp : IsLocalDiffeomorph (ModelWithCorners Y) (ModelWithCorners X) ω p)
125
+ (y : Y.Carrier) (hy : p y=g.finite 0) :
126
+ ∃k : RationalCurve Y,k.finite 0=y ∧ PointedGenerated k (fun _ => ⊤) ∧
127
+ (∀z,p (k.finite z)=g.finite z) ∧ (∀z,p (k.infinity z)=g.infinity z) := by
128
+ obtain ⟨k,hk,hf,hi⟩ := g.exists_cover_lift hcover hp y hy
129
+ exact ⟨k,hk,pointedGenerated_cover_lift hp hf hi hg,hf,hi⟩
130
+
131
+
132
+
133
+ theorem exists_positive_cover_lift_at
134
+ (g : RationalCurve X) (hg : PointedGenerated g (fun _ => ⊤))
135
+ (hcover : IsCoveringMap p)
136
+ (hp : IsLocalDiffeomorph (ModelWithCorners Y) (ModelWithCorners X) ω p)
137
+ (a : ℂ) (y : Y.Carrier) (hy : p y=g.finite a) :
138
+ ∃k : RationalCurve Y,k.finite a=y ∧ PointedGenerated k (fun _ => ⊤) ∧
139
+ (∀z,p (k.finite z)=g.finite z) ∧ (∀z,p (k.infinity z)=g.infinity z) := by
140
+ obtain ⟨k,hk,hf,hi⟩ := g.exists_cover_lift_at hcover hp a y hy
141
+ exact ⟨k,hk,pointedGenerated_cover_lift hp hf hi hg,hf,hi⟩
142
+
143
+ end RationalCurve
144
+ end SplitTangent
145
+
146
+ end
147
+
148
+ end OAI
lean/OAI/Geometry/SplitTangent/PositiveJetFiltration.lean ADDED
@@ -0,0 +1,103 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Mathlib
2
+ import OAI.Geometry.SplitTangent.Basic
3
+ import OAI.Geometry.SplitTangent.PositiveTangentCurves
4
+ import OAI.Geometry.SplitTangent.FormalBoxes
5
+ import OAI.Geometry.SplitTangent.SymmetricConormalBound
6
+ import OAI.Geometry.SplitTangent.TensorSectionSpace
7
+
8
+ namespace OAI
9
+
10
+ /-! Positive Jet Filtration. -/
11
+
12
+ noncomputable section
13
+ open Set Filter Topology Bundle
14
+ open scoped Manifold ContDiff
15
+ universe u
16
+ namespace SplitTangent.PositiveJetFiltration
17
+ variable {X : ComplexManifold.{u}} {g : RationalCurve X} {S : TangentSplitting X}
18
+ {V : Type*} [AddCommGroup V] [Module ℂ V] {d : ℕ}
19
+ (F : ℕ → Submodule ℂ V) (hF : Antitone F)
20
+ (L : ∀m,F m →ₗ[ℂ] symmetricSupportedTensors g S (d : ℤ) m)
21
+ (hker : ∀m s,L m s=0 ↔ s.val∈F (m+1))
22
+
23
+ include hF hker L
24
+
25
+
26
+
27
+ def kernelEquiv (m : ℕ) : LinearMap.ker (L m) ≃ₗ[ℂ] F (m+1) where
28
+ toFun s := ⟨s.val.val,(hker m s.val).mp s.property⟩
29
+ invFun s := ⟨⟨s.val,hF (Nat.le_succ m) s.property⟩,
30
+ (hker m _).mpr s.property⟩
31
+ left_inv _ := rfl
32
+ right_inv _ := rfl
33
+ map_add' _ _ := rfl
34
+ map_smul' _ _ := rfl
35
+
36
+ theorem high_eq_zero (hg : PointedGenerated g S.first)
37
+ (hsep : ∀v,(∀m,v∈F m) → v=0) {k : ℕ} (hk : d < k) (s : F k) : s=0 := by
38
+ have hs (n : ℕ) : s.val∈F n := by
39
+ induction n with
40
+ | zero => exact hF (Nat.zero_le k) s.property
41
+ | succ n ih =>
42
+ by_cases hn : n+1≤k
43
+ · exact hF hn s.property
44
+ · exact (hker n ⟨s.val,ih⟩).mp
45
+ (symmetricSupportedTensors.eq_zero_of_degree_lt_order hg (by omega) _)
46
+ exact Subtype.ext (hsep s.val hs)
47
+
48
+
49
+
50
+ theorem finite_and_bound (hg : PointedGenerated g S.first)
51
+ (hsep : ∀v,(∀m,v∈F m) → v=0) (N k : ℕ) (hk : d < k+N) :
52
+ Module.Finite ℂ (F k) ∧ Module.finrank ℂ (F k) ≤
53
+ ∑j∈Finset.range N,
54
+ (Module.finrank ℂ (S.first (g.finite 1))+(k+j)-1).choose (k+j)*(d+1) := by
55
+ induction N generalizing k with
56
+ | zero =>
57
+ have : Subsingleton (F k) := ⟨fun s t =>
58
+ (high_eq_zero F hF L hker hg hsep (by simpa using hk) s).trans
59
+ (high_eq_zero F hF L hker hg hsep (by simpa using hk) t).symm⟩
60
+ exact ⟨inferInstance,by simp [Module.finrank_zero_of_subsingleton]⟩
61
+ | succ N ih =>
62
+ obtain ⟨hf,hb⟩ := ih (k+1) (by omega)
63
+ let : Module.Finite ℂ (F (k+1)) := hf
64
+ let : AddCommGroup (symmetricSupportedTensors g S (d : ℤ) k) :=
65
+ Module.addCommMonoidToAddCommGroup ℂ
66
+ obtain ⟨ht,htb⟩ := symmetricSupportedTensors.finite_and_finrank_le hg d k
67
+ let : Module.Finite ℂ (symmetricSupportedTensors g S (d : ℤ) k) := ht
68
+ let : Module.Finite ℂ (LinearMap.ker (L k)) :=
69
+ Module.Finite.equiv (kernelEquiv F hF L hker k).symm
70
+ let : Module.Finite ℂ (F k) := DiagonalRationality.finite_of_kernel (L k)
71
+ refine ⟨inferInstance,?_⟩
72
+ have hrank := LinearMap.finrank_range_add_finrank_ker (K := ℂ) (L k)
73
+ have hrange := (LinearMap.range (L k)).finrank_le
74
+ have hkernel := (kernelEquiv F hF L hker k).finrank_eq
75
+ rw [Finset.sum_range_succ']
76
+ have hshift : (∑j∈Finset.range N,
77
+ (Module.finrank ℂ (S.first (g.finite 1))+(k+(j+1))-1).choose (k+(j+1))*(d+1)) =
78
+ ∑j∈Finset.range N,
79
+ (Module.finrank ℂ (S.first (g.finite 1))+(k+1+j)-1).choose (k+1+j)*(d+1) := by
80
+ apply Finset.sum_congr rfl
81
+ intro j hj
82
+ simp only [Nat.add_assoc, Nat.add_comm, Nat.add_left_comm]
83
+ rw [hshift]
84
+ simp only [Nat.add_zero]
85
+ omega
86
+
87
+
88
+
89
+ theorem polynomial_bound (hg : PointedGenerated g S.first)
90
+ (hsep : ∀v,(∀m,v∈F m) → v=0) :
91
+ Module.Finite ℂ (F 0) ∧ Module.finrank ℂ (F 0) ≤
92
+ (d+Module.finrank ℂ (S.first (g.finite 1))).choose
93
+ (Module.finrank ℂ (S.first (g.finite 1)))*(d+1) := by
94
+ obtain ⟨hf,hb⟩ := finite_and_bound F hF L hker hg hsep (d+1) 0 (by omega)
95
+ refine ⟨hf,?_⟩
96
+ simpa only [Nat.zero_add,←Nat.multichoose_eq,←Finset.sum_mul,Nat.sum_range_multichoose]
97
+ using hb
98
+
99
+ end SplitTangent.PositiveJetFiltration
100
+
101
+ end
102
+
103
+ end OAI
lean/OAI/Geometry/SplitTangent/PositiveTangentCurves.lean ADDED
@@ -0,0 +1,99 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Mathlib
2
+ import OAI.Geometry.SplitTangent.BoxTransportBase
3
+ import OAI.Geometry.SplitTangent.BracketIntegrability
4
+ import OAI.Geometry.SplitTangent.Basic
5
+ import OAI.Geometry.SplitTangent.BoxFirstTransport
6
+ import OAI.Geometry.SplitTangent.TangentRationalChains
7
+ import OAI.Geometry.SplitTangent.RationalVariation
8
+
9
+ namespace OAI
10
+
11
+ /-! Positive Tangent Curves. -/
12
+
13
+ noncomputable section
14
+ open Set Filter Topology Bundle
15
+ open scoped ContDiff Manifold
16
+ universe u
17
+ namespace SplitTangent
18
+
19
+
20
+
21
+ def PointedGenerated {X : ComplexManifold.{u}} (g : RationalCurve X)
22
+ (D : ∀x : X.Carrier, Submodule ℂ (Tangent X x)) : Prop :=
23
+ ∀ v : Tangent X (g.finite 1), v∈D (g.finite 1) →
24
+ ∃σ : CurveTangentSection g,
25
+ (∀z, σ.finite z∈D (g.finite z)) ∧
26
+ (∀z, σ.infinity z∈D (g.infinity z)) ∧
27
+ σ.finite 0=0 ∧ σ.finite 1=v
28
+
29
+ namespace TangentBox
30
+ variable {X : ComplexManifold.{u}} {S : TangentSplitting X} {g : RationalCurve X}
31
+ (B : TangentBox S g)
32
+
33
+ lemma firstFactor_tangentTo (b : ℂ) : (B.firstFactor b).TangentTo S.first := by
34
+ exact B.horizontal_tangent false b
35
+
36
+
37
+
38
+ theorem firstFactor_pointedGenerated
39
+ (hg : PointedGenerated g S.first) : PointedGenerated (B.firstFactor 1) S.first := by
40
+ intro v hv
41
+ have hv' : v∈S.first (g.finite 1) := by
42
+ change v∈S.first (B.chart false false (1,1)) at hv
43
+ erw [B.finite_diagonal 1] at hv
44
+ exact hv
45
+ obtain ⟨σ,σf,σi,σ0,σ1⟩ := hg v hv'
46
+ let τ := ((B.firstMap 1).mapSection σ).project S
47
+ refine ⟨τ,fun z => CurveTangentSection.project_mem_first_finite S _ z,
48
+ fun z => CurveTangentSection.project_mem_first_infinity S _ z,?_,?_⟩
49
+ · change S.projector _ ((B.firstMap 1).finite 0 (σ.finite 0))=0
50
+ rw [σ0,map_zero,map_zero]
51
+ · change S.projector _ ((B.firstMap 1).finite 1 (σ.finite 1))=v
52
+ rw [σ1,B.firstMap_normalized]
53
+ have hfix := (S.mem_first_iff (g.finite 1) v).mp hv'
54
+ erw [B.firstFactor_diagonal,hfix,hfix]
55
+
56
+ end TangentBox
57
+
58
+ namespace RationalFamily
59
+ variable {X T : ComplexManifold.{u}} (G : RationalFamily X T)
60
+
61
+ theorem pointedGenerated_of_submersive (S : TangentSplitting X) (τ : T.Carrier)
62
+ (hτ : Function.Surjective (mfderiv (ModelWithCorners T)
63
+ ((ModelWithCorners X).prod (ModelWithCorners X)) (G.twoPointEvaluation 0 1) τ)) :
64
+ PointedGenerated (G.curve τ) S.first :=
65
+ fun v hv => G.exists_first_section_zero_value S hτ v hv
66
+
67
+ end RationalFamily
68
+
69
+ namespace TangentSplitting
70
+
71
+
72
+
73
+ theorem exists_positive_tangent_curve {X : ComplexManifold.{u}}
74
+ [CompactSpace X.Carrier] (S : TangentSplitting X) (e : ProjectiveEmbedding X)
75
+ (hRC : RationallyConnected e) (hdim : 0<X.dim) :
76
+ ∃h : RationalCurve X, h.TangentTo S.first ∧ PointedGenerated h S.first := by
77
+ obtain ⟨T,hT,G,hG⟩ := hRC.exists_submersive_family e hdim
78
+ let := hT
79
+ let τ : T.Carrier := Classical.arbitrary _
80
+ obtain ⟨B⟩ := S.exists_projective_tangent_box e (G.curve τ)
81
+ exact ⟨B.firstFactor 1,B.firstFactor_tangentTo 1,
82
+ B.firstFactor_pointedGenerated (G.pointedGenerated_of_submersive S τ (hG τ))⟩
83
+
84
+
85
+
86
+ theorem exists_positive_tangent_curves {X : ComplexManifold.{u}}
87
+ [CompactSpace X.Carrier] (S : TangentSplitting X) (e : ProjectiveEmbedding X)
88
+ (hRC : RationallyConnected e) (hdim : 0<X.dim) :
89
+ (∃h : RationalCurve X, h.TangentTo S.first ∧ PointedGenerated h S.first) ∧
90
+ (∃h : RationalCurve X, h.TangentTo S.second ∧ PointedGenerated h S.second) := by
91
+ refine ⟨S.exists_positive_tangent_curve e hRC hdim,?_⟩
92
+ simpa only [S.swap_first] using S.swap.exists_positive_tangent_curve e hRC hdim
93
+
94
+ end TangentSplitting
95
+ end SplitTangent
96
+
97
+ end
98
+
99
+ end OAI
lean/OAI/Geometry/SplitTangent/ProductCriteria.lean ADDED
@@ -0,0 +1,128 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Mathlib
2
+ import OAI.Geometry.SplitTangent.EmbeddedHolomorphicAtlas
3
+ import OAI.Geometry.SplitTangent.TensorVanishing
4
+ import OAI.Geometry.SplitTangent.HolomorphicLocalDiffeomorph
5
+ import OAI.Geometry.SplitTangent.Basic
6
+
7
+ namespace OAI
8
+
9
+ /-! Product Criteria. -/
10
+
11
+ noncomputable section
12
+ open Set Filter Topology Bundle
13
+ open scoped Manifold ContDiff
14
+ universe u
15
+ namespace SplitTangent
16
+
17
+
18
+ theorem injective_mfderiv_of_leftInverse {X Y : ComplexManifold.{u}}
19
+ {i : Y.Carrier → X.Carrier} {p : X.Carrier → Y.Carrier}
20
+ (hi : ContMDiff (ModelWithCorners Y) (ModelWithCorners X) ω i)
21
+ (hp : ContMDiff (ModelWithCorners X) (ModelWithCorners Y) ω p)
22
+ (hpi : Function.LeftInverse p i) (y : Y.Carrier) :
23
+ Function.Injective (mfderiv (ModelWithCorners Y) (ModelWithCorners X) i y) := by
24
+ have he : p ∘ i = id := funext hpi
25
+ have hd := mfderiv_comp y ((hp (i y)).mdifferentiableAt (by simp))
26
+ ((hi y).mdifferentiableAt (by simp))
27
+ rw [he, mfderiv_id] at hd
28
+ intro v w hvw
29
+ have h := congrArg (mfderiv (ModelWithCorners X) (ModelWithCorners Y) p (i y)) hvw
30
+ have hdv := congrArg (fun L : Model Y →L[ℂ] Model Y => L v) hd
31
+ have hdw := congrArg (fun L : Model Y →L[ℂ] Model Y => L w) hd
32
+ exact hdv.trans (h.trans hdw.symm)
33
+
34
+
35
+
36
+ theorem isProjective_factors {X Y Z : ComplexManifold.{u}}
37
+ [Nonempty X.Carrier] [CompactSpace X.Carrier]
38
+ (e : ProjectiveEmbedding X)
39
+ (f : Diffeomorph (ModelWithCorners X)
40
+ ((ModelWithCorners Y).prod (ModelWithCorners Z)) X.Carrier
41
+ (Y.Carrier × Z.Carrier) ω) : IsProjective Y ∧ IsProjective Z := by
42
+ let yz := f (Classical.arbitrary X.Carrier)
43
+ let p : X.Carrier → Y.Carrier := fun x => (f x).1
44
+ let q : X.Carrier → Z.Carrier := fun x => (f x).2
45
+ let i : Y.Carrier → X.Carrier := fun y => f.symm (y, yz.2)
46
+ let j : Z.Carrier → X.Carrier := fun z => f.symm (yz.1, z)
47
+ have hp : ContMDiff (ModelWithCorners X) (ModelWithCorners Y) ω p :=
48
+ contMDiff_fst.comp f.contMDiff
49
+ have hq : ContMDiff (ModelWithCorners X) (ModelWithCorners Z) ω q :=
50
+ contMDiff_snd.comp f.contMDiff
51
+ have hi : ContMDiff (ModelWithCorners Y) (ModelWithCorners X) ω i :=
52
+ f.symm.contMDiff.comp (contMDiff_id.prodMk contMDiff_const)
53
+ have hj : ContMDiff (ModelWithCorners Z) (ModelWithCorners X) ω j :=
54
+ f.symm.contMDiff.comp (contMDiff_const.prodMk contMDiff_id)
55
+ have hpi : Function.LeftInverse p i := by intro y; simp [p, i]
56
+ have hqj : Function.LeftInverse q j := by intro z; simp [q, j]
57
+ have hpc : CompactSpace Y.Carrier :=
58
+ hpi.surjective.compactSpace hp.continuous
59
+ have hqc : CompactSpace Z.Carrier :=
60
+ hqj.surjective.compactSpace hq.continuous
61
+ exact ⟨⟨hpc, ⟨e.pullback i hi hpi.injective
62
+ (injective_mfderiv_of_leftInverse hi hp hpi)⟩⟩,
63
+ ⟨hqc, ⟨e.pullback j hj hqj.injective
64
+ (injective_mfderiv_of_leftInverse hj hq hqj)⟩⟩⟩
65
+
66
+ namespace TangentSplitting
67
+ variable {X : ComplexManifold.{u}} (S : TangentSplitting X)
68
+
69
+
70
+
71
+ theorem compatible_product_of_bijective_quotients [CompactSpace X.Carrier] [ConnectedSpace X.Carrier]
72
+ (e : ProjectiveEmbedding X) (Y Z : ComplexManifold.{u})
73
+ (q₁ : X.Carrier → Y.Carrier) (q₂ : X.Carrier → Z.Carrier)
74
+ (hq₁ : ContMDiff (ModelWithCorners X) (ModelWithCorners Y) ω q₁)
75
+ (hq₂ : ContMDiff (ModelWithCorners X) (ModelWithCorners Z) ω q₂)
76
+ (hs₁ : ∀x, Function.Surjective (mfderiv (ModelWithCorners X) (ModelWithCorners Y) q₁ x))
77
+ (hs₂ : ∀x, Function.Surjective (mfderiv (ModelWithCorners X) (ModelWithCorners Z) q₂ x))
78
+ (hk₁ : ∀x, LinearMap.ker (mfderiv (ModelWithCorners X) (ModelWithCorners Y) q₁ x).toLinearMap=
79
+ S.second x)
80
+ (hk₂ : ∀x, LinearMap.ker (mfderiv (ModelWithCorners X) (ModelWithCorners Z) q₂ x).toLinearMap=
81
+ S.first x)
82
+ (hpair : Function.Bijective (fun x => (q₁ x,q₂ x))) : HasCompatibleProjectiveProduct X S := by
83
+ let : ChartedSpace (Model Y × Model Z) (Y.Carrier × Z.Carrier) :=
84
+ prodChartedSpace (Model Y) Y.Carrier (Model Z) Z.Carrier
85
+ let : IsManifold 𝓘(ℂ,Model Y × Model Z) ω (Y.Carrier × Z.Carrier) := by
86
+ rw [modelWithCornersSelf_prod]
87
+ exact IsManifold.prod Y.Carrier Z.Carrier
88
+ let q : X.Carrier → Y.Carrier × Z.Carrier := fun x => (q₁ x,q₂ x)
89
+ let I := (ModelWithCorners Y).prod (ModelWithCorners Z)
90
+ have hq : ContMDiff (ModelWithCorners X) I ω q := hq₁.prodMk hq₂
91
+ have hd (x : X.Carrier) : mfderiv (ModelWithCorners X) I q x=
92
+ (mfderiv (ModelWithCorners X) (ModelWithCorners Y) q₁ x).prod
93
+ (mfderiv (ModelWithCorners X) (ModelWithCorners Z) q₂ x) :=
94
+ mfderiv_prodMk ((hq₁ x).mdifferentiableAt (by simp)) ((hq₂ x).mdifferentiableAt (by simp))
95
+ have hb (x : X.Carrier) : Function.Bijective (mfderiv (ModelWithCorners X) I q x) := by
96
+ rw [hd]
97
+ exact HolomorphicFrobenius.complementary_quotients_bijective
98
+ (E := Model X) (F := Model Y) (G := Model Z) (S.projector x)
99
+ (S.idempotent x) _ _ (hs₁ x) (hs₂ x) (hk₁ x) (hk₂ x)
100
+ let : LocallyPathConnectedSpace Y.Carrier := ChartedSpace.locallyPathConnectedSpace (Model Y) Y.Carrier
101
+ let : LocallyPathConnectedSpace Z.Carrier := ChartedSpace.locallyPathConnectedSpace (Model Z) Z.Carrier
102
+ have hl : IsLocalDiffeomorph (ModelWithCorners X) I ω q := by
103
+ intro x
104
+ have hI : I=𝓘(ℂ,Model Y × Model Z) := modelWithCornersSelf_prod.symm
105
+ rw [hI] at hq hb ⊢
106
+ exact HolomorphicLocalDiffeomorph.manifold_ift (hq x) (hb x)
107
+ let f : Diffeomorph (ModelWithCorners X) I X.Carrier (Y.Carrier × Z.Carrier) ω :=
108
+ hl.diffeomorphOfBijective hpair
109
+ have hf : (f : X.Carrier → Y.Carrier × Z.Carrier)=q := rfl
110
+ obtain ⟨hY,hZ⟩ := isProjective_factors e f
111
+ refine ⟨Y,Z,hY,hZ,f,?_⟩
112
+ intro x
113
+ change Submodule.map (mfderiv (ModelWithCorners X) I q x).toLinearMap (S.first x)=_ ∧
114
+ Submodule.map (mfderiv (ModelWithCorners X) I q x).toLinearMap (S.second x)=_
115
+ rw [hd]
116
+ exact ⟨HolomorphicFrobenius.image_range_projector_of_quotients
117
+ (E := Model X) (F := Model Y) (G := Model Z) (S.projector x)
118
+ (S.idempotent x) _ _ (hs₁ x) (hk₁ x) (hk₂ x),
119
+ HolomorphicFrobenius.image_kernel_projector_of_quotients
120
+ (E := Model X) (F := Model Y) (G := Model Z) (S.projector x)
121
+ (S.idempotent x) _ _ (hs₂ x) (hk₁ x) (hk₂ x)⟩
122
+
123
+ end TangentSplitting
124
+ end SplitTangent
125
+
126
+ end
127
+
128
+ end OAI
lean/OAI/Geometry/SplitTangent/ProjectiveHypersurfaces.lean ADDED
@@ -0,0 +1,96 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Mathlib
2
+ import OAI.Geometry.SplitTangent.HolomorphicHypersurfaces
3
+ import OAI.Geometry.SplitTangent.Basic
4
+ import OAI.Geometry.SplitTangent.ProjectiveLineFrame
5
+ import OAI.Geometry.SplitTangent.RationalCurveFrames
6
+
7
+ namespace OAI
8
+
9
+ /-! Projective Hypersurfaces. -/
10
+
11
+ noncomputable section
12
+ open Set Filter Topology
13
+ open scoped Manifold ContDiff BigOperators
14
+ universe u
15
+ namespace SplitTangent
16
+
17
+ lemma LocallyHolomorphicZeroSet.isClosed {X : ComplexManifold.{u}} {Z : Set X.Carrier}
18
+ (h : LocallyHolomorphicZeroSet X Z) : IsClosed Z := by
19
+ rw [← isOpen_compl_iff]
20
+ apply isOpen_iff_mem_nhds.mpr
21
+ intro x hx
22
+ obtain ⟨U,hU,hxU,f,hf,he⟩ := h x
23
+ have hfc := (hf.contMDiffAt (hU.mem_nhds hxU)).continuousAt
24
+ have hn : f x≠0 := fun hz => hx ((he x hxU).mpr hz)
25
+ have hne := hfc.eventually_ne hn
26
+ filter_upwards [hU.mem_nhds hxU,hne] with y hy hyn
27
+ exact fun hz => hyn ((he y hy).mp hz)
28
+
29
+ namespace ProjectiveEmbedding
30
+ variable {X : ComplexManifold.{u}} (e : ProjectiveEmbedding X)
31
+
32
+ def homogeneousZeroLocus (p : MvPolynomial (Fin (e.N+1)) ℂ) : Set X.Carrier :=
33
+ {x | MvPolynomial.eval (e.map x).rep p=0}
34
+
35
+ lemma homogeneous_coordinates_eval {p : MvPolynomial (Fin (e.N+1)) ℂ} {k : ℕ}
36
+ (hp : p.IsHomogeneous k) (i : Fin (e.N+1)) (x : X.Carrier) :
37
+ MvPolynomial.eval (projectiveCoordinates i (e.map x)) p=
38
+ ((e.map x).rep i)⁻¹^k*MvPolynomial.eval (e.map x).rep p := by
39
+ exact _root_.OAI.MvPolynomial.IsHomogeneous.eval_scale hp ((e.map x).rep i)⁻¹ (e.map x).rep
40
+
41
+ lemma homogeneous_coordinates_zero_iff {p : MvPolynomial (Fin (e.N+1)) ℂ} {k : ℕ}
42
+ (hp : p.IsHomogeneous k) (i : Fin (e.N+1)) {x : X.Carrier} (hi : (e.map x).rep i≠0) :
43
+ x∈e.homogeneousZeroLocus p ↔ MvPolynomial.eval (projectiveCoordinates i (e.map x)) p=0 := by
44
+ rw [e.homogeneous_coordinates_eval hp]
45
+ exact (mul_eq_zero_iff_left (pow_ne_zero _ (inv_ne_zero hi))).symm
46
+
47
+ lemma homogeneousZeroLocus_locally_holomorphic
48
+ {p : MvPolynomial (Fin (e.N+1)) ℂ} {k : ℕ} (hp : p.IsHomogeneous k) :
49
+ LocallyHolomorphicZeroSet X (e.homogeneousZeroLocus p) := by
50
+ intro x
51
+ obtain ⟨i,hi⟩ := Function.ne_iff.mp (e.map x).rep_nonzero
52
+ change (e.map x).rep i≠0 at hi
53
+ refine ⟨{y | (e.map y).rep i≠0},e.open_patch i,hi,
54
+ fun y => MvPolynomial.eval (projectiveCoordinates i (e.map y)) p,?_,?_⟩
55
+ · intro y hy
56
+ apply ContMDiffAt.contMDiffWithinAt
57
+ apply _root_.OAI.MvPolynomial.contMDiffAt_eval_comp (ModelWithCorners X) p
58
+ intro j
59
+ exact contMDiffAt_pi_space.mp
60
+ ((e.holomorphic i).contMDiffAt ((e.open_patch i).mem_nhds hy)) j
61
+ · intro y hy
62
+ exact e.homogeneous_coordinates_zero_iff hp i hy
63
+
64
+ lemma homogeneousZeroLocus_isClosed
65
+ {p : MvPolynomial (Fin (e.N+1)) ℂ} {k : ℕ} (hp : p.IsHomogeneous k) :
66
+ IsClosed (e.homogeneousZeroLocus p) :=
67
+ (e.homogeneousZeroLocus_locally_holomorphic hp).isClosed
68
+
69
+ lemma linearFrame_zero_iff
70
+ {p : MvPolynomial (Fin (e.N+1)) ℂ} {k : ℕ} (hp : p.IsHomogeneous k)
71
+ (a : Fin (e.N+1) → ℂ) {x : X.Carrier} (ha : (∑i,a i*(e.map x).rep i)≠0) :
72
+ MvPolynomial.eval (e.linearFrame a x) p=0 ↔ x∈e.homogeneousZeroLocus p := by
73
+ rw [linearFrame,_root_.OAI.MvPolynomial.IsHomogeneous.eval_scale hp]
74
+ exact mul_eq_zero_iff_left (pow_ne_zero _ (inv_ne_zero ha))
75
+
76
+ lemma linearFrame_denominator_eventually
77
+ (a : Fin (e.N+1) → ℂ) {x : X.Carrier} (ha : (∑i,a i*(e.map x).rep i)≠0) :
78
+ ∀ᶠ y in 𝓝 x,(∑i,a i*(e.map y).rep i)≠0 := by
79
+ have hframe : e.linearFrame a x≠0 :=
80
+ smul_ne_zero (inv_ne_zero ha) (e.map x).rep_nonzero
81
+ obtain ⟨j,hj⟩ := Function.ne_iff.mp hframe
82
+ have hc := (e.linearFrame_holomorphicAt (ModelWithCorners X)
83
+ (f := id) (a := fun _ => a) contMDiffAt_id contMDiffAt_const ha).continuousAt
84
+ have hn := ((continuous_apply j).continuousAt.comp hc).eventually_ne hj
85
+ filter_upwards [hn] with y hy
86
+ intro hh
87
+ apply hy
88
+ change e.linearFrame a y j=0
89
+ simp only [linearFrame,hh,inv_zero,zero_smul,Pi.zero_apply]
90
+
91
+ end ProjectiveEmbedding
92
+ end SplitTangent
93
+
94
+ end
95
+
96
+ end OAI
lean/OAI/Geometry/SplitTangent/ProjectiveLineFrame.lean ADDED
@@ -0,0 +1,132 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Mathlib
2
+ import OAI.Geometry.SplitTangent.Basic
3
+ import OAI.Geometry.SplitTangent.FormalBoxes
4
+
5
+ namespace OAI
6
+
7
+ /-! Projective Line Frame. -/
8
+
9
+ noncomputable section
10
+ open Set Filter Topology
11
+ open scoped Manifold ContDiff BigOperators
12
+ universe u
13
+ namespace SplitTangent.ProjectiveEmbedding
14
+ variable {X : ComplexManifold.{u}} (e : ProjectiveEmbedding X)
15
+
16
+
17
+ def linearFrame (a : Fin (e.N+1) → ℂ) (x : X.Carrier) : Fin (e.N+1) → ℂ :=
18
+ (∑i,a i*(e.map x).rep i)⁻¹ • (e.map x).rep
19
+
20
+ lemma linearFrame_eq_coordinates {a : Fin (e.N+1) → ℂ} {x : X.Carrier}
21
+ {k : Fin (e.N+1)} (hk : (e.map x).rep k ≠ 0) :
22
+ e.linearFrame a x = (∑i,a i*projectiveCoordinates k (e.map x) i)⁻¹ •
23
+ projectiveCoordinates k (e.map x) := by
24
+ have he : (∑i,a i*projectiveCoordinates k (e.map x) i)=
25
+ ((e.map x).rep k)⁻¹ * ∑i,a i*(e.map x).rep i := by
26
+ rw [Finset.mul_sum]
27
+ apply Finset.sum_congr rfl
28
+ intro i hi
29
+ simp only [projectiveCoordinates]
30
+ ring
31
+ ext i
32
+ simp only [linearFrame,Pi.smul_apply,smul_eq_mul]
33
+ rw [he]
34
+ simp only [projectiveCoordinates,mul_inv_rev,inv_inv]
35
+ symm
36
+ calc
37
+ _ = (∑ j, a j*(e.map x).rep j)⁻¹ *
38
+ (((e.map x).rep k * ((e.map x).rep k)⁻¹) * (e.map x).rep i) := by ring
39
+ _ = _ := by rw [mul_inv_cancel₀ hk,one_mul]
40
+
41
+ lemma linearFrame_denominator_ne {a v : Fin (e.N+1) → ℂ} {x : X.Carrier}
42
+ (hv : e.Incidence x v) (ha : ∑i,a i*v i=1) :
43
+ (∑i,a i*(e.map x).rep i) ≠ 0 := by
44
+ obtain ⟨k,hk⟩ := Function.ne_iff.mp (e.map x).rep_nonzero
45
+ change (e.map x).rep k ≠ 0 at hk
46
+ have hvk : v k ≠ 0 := by
47
+ intro hz
48
+ have hvz : v=0 := by
49
+ ext i
50
+ rw [(e.incidence_iff_coordinates hk).mp hv i,hz,zero_mul]
51
+ rfl
52
+ simp [hvz] at ha
53
+ have hcross : (∑i,a i*(e.map x).rep i)*v k=(e.map x).rep k := by
54
+ calc
55
+ _ = ∑i,a i*((e.map x).rep i*v k) := by rw [Finset.sum_mul]; congr 1; funext i; ring
56
+ _ = ∑i,a i*((e.map x).rep k*v i) := by
57
+ apply Finset.sum_congr rfl
58
+ intro i hi
59
+ rw [← hv k i]
60
+ _ = (e.map x).rep k*(∑i,a i*v i) := by rw [Finset.mul_sum]; congr 1; funext i; ring
61
+ _ = _ := by rw [ha,mul_one]
62
+ intro h
63
+ exact hk (by simpa only [h,zero_mul] using hcross.symm)
64
+
65
+ lemma linearFrame_eq_of_incidence {a v : Fin (e.N+1) → ℂ} {x : X.Carrier}
66
+ (hv : e.Incidence x v) (ha : ∑i,a i*v i=1) : e.linearFrame a x=v := by
67
+ have hden := e.linearFrame_denominator_ne hv ha
68
+ ext j
69
+ change (∑i,a i*(e.map x).rep i)⁻¹ * (e.map x).rep j=v j
70
+ apply (inv_mul_eq_iff_eq_mul₀ hden).mpr
71
+ calc
72
+ _ = ∑i,a i*((e.map x).rep j*v i) := by
73
+ rw [show (∑i,a i*((e.map x).rep j*v i))=
74
+ (e.map x).rep j*(∑i,a i*v i) by rw [Finset.mul_sum]; congr 1; funext i; ring,ha,mul_one]
75
+ _ = ∑i,a i*((e.map x).rep i*v j) := by
76
+ apply Finset.sum_congr rfl
77
+ intro i hi
78
+ rw [hv j i]
79
+ _ = _ := by rw [Finset.sum_mul]; congr 1; funext i; ring
80
+
81
+
82
+ lemma linearFrame_change (a b : Fin (e.N+1) → ℂ) (x : X.Carrier)
83
+ (hb : (∑i,b i*(e.map x).rep i)≠0) :
84
+ e.linearFrame a x = (∑i,b i*e.linearFrame a x i) • e.linearFrame b x := by
85
+ have he : (∑i,b i*e.linearFrame a x i)=
86
+ (∑i,a i*(e.map x).rep i)⁻¹ * (∑i,b i*(e.map x).rep i) := by
87
+ simp only [linearFrame,Pi.smul_apply,smul_eq_mul,Finset.mul_sum]
88
+ apply Finset.sum_congr rfl
89
+ intro i hi
90
+ ring
91
+ rw [he]
92
+ ext i
93
+ simp only [linearFrame,Pi.smul_apply,smul_eq_mul]
94
+ field_simp
95
+
96
+ lemma linearFrame_holomorphicAt
97
+ {E H M : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E]
98
+ [TopologicalSpace H] (I : _root_.ModelWithCorners ℂ E H)
99
+ [TopologicalSpace M] [ChartedSpace H M]
100
+ {f : M → X.Carrier} {a : M → Fin (e.N+1) → ℂ} {y : M}
101
+ (hf : ContMDiffAt I (ModelWithCorners X) ω f y)
102
+ (ha : ContMDiffAt I 𝓘(ℂ,Fin (e.N+1) → ℂ) ω a y)
103
+ (hn : (∑i,a y i*(e.map (f y)).rep i)≠0) :
104
+ ContMDiffAt I 𝓘(ℂ,Fin (e.N+1) → ℂ) ω
105
+ (fun z => e.linearFrame (a z) (f z)) y := by
106
+ obtain ⟨k,hk⟩ := Function.ne_iff.mp (e.map (f y)).rep_nonzero
107
+ change (e.map (f y)).rep k ≠ 0 at hk
108
+ have hc := ((e.holomorphic k).contMDiffAt ((e.open_patch k).mem_nhds hk)).comp y hf
109
+ have hd : ContMDiffAt I 𝓘(ℂ,ℂ) ω
110
+ (fun z => ∑i,a z i*projectiveCoordinates k (e.map (f z)) i) y := by
111
+ apply contMDiffAt_finsetSum
112
+ intro i hi
113
+ exact (contMDiffAt_pi_space.mp ha i).mul (contMDiffAt_pi_space.mp hc i)
114
+ have hd0 : (∑i,a y i*projectiveCoordinates k (e.map (f y)) i)≠0 := by
115
+ have he : (∑i,a y i*projectiveCoordinates k (e.map (f y)) i)=
116
+ ((e.map (f y)).rep k)⁻¹ * (∑i,a y i*(e.map (f y)).rep i) := by
117
+ rw [Finset.mul_sum]
118
+ apply Finset.sum_congr rfl
119
+ intro i hi
120
+ simp only [projectiveCoordinates]
121
+ ring
122
+ rw [he]
123
+ exact mul_ne_zero (inv_ne_zero hk) hn
124
+ apply ((hd.inv₀ hd0).smul hc).congr_of_eventuallyEq
125
+ filter_upwards [hf.continuousAt.preimage_mem_nhds ((e.open_patch k).mem_nhds hk)] with z hz
126
+ exact e.linearFrame_eq_coordinates hz
127
+
128
+ end SplitTangent.ProjectiveEmbedding
129
+
130
+ end
131
+
132
+ end OAI
lean/OAI/Geometry/SplitTangent/ProjectiveLinearCoordinates.lean ADDED
@@ -0,0 +1,105 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Mathlib
2
+ import OAI.Geometry.SplitTangent.TensorVanishing
3
+ import OAI.Geometry.SplitTangent.Basic
4
+
5
+ namespace OAI
6
+
7
+ /-! Projective Linear Coordinates. -/
8
+
9
+ noncomputable section
10
+ open Set Filter Topology
11
+ open scoped Manifold ContDiff BigOperators
12
+ universe u
13
+ namespace ProjectiveLinearCoordinates
14
+ open _root_.MvPolynomial _root_.OAI.MvPolynomial
15
+ variable {σ : Type*} [Fintype σ]
16
+
17
+
18
+ def form (l : (σ → ℂ) →ₗ[ℂ] ℂ) : homogeneousSubmodule σ ℂ 1 := by
19
+ classical
20
+ exact ∑i,l (Pi.single i 1) • ⟨X i,isHomogeneous_X ℂ i⟩
21
+
22
+ lemma eval_form (l : (σ → ℂ) →ₗ[ℂ] ℂ) (x : σ → ℂ) : eval x (form l).val=l x := by
23
+ classical
24
+ have he : (∑i,x i • Pi.single i (1 : ℂ))=x := by
25
+ ext j
26
+ simp [Pi.single_apply]
27
+ calc
28
+ _ = ∑i,x i*l (Pi.single i 1) := by
29
+ simp only [form,Submodule.coe_sum,Submodule.coe_smul,map_sum,MvPolynomial.smul_eval,eval_X]
30
+ apply Finset.sum_congr rfl
31
+ intro i hi
32
+ exact mul_comm _ _
33
+ _ = l (∑i,x i • Pi.single i 1) := by simp only [map_sum,map_smul,smul_eq_mul]
34
+ _ = l x := congrArg l he
35
+
36
+ lemma eval_form_ratio (l : (σ → ℂ) →ₗ[ℂ] ℂ) (x : σ → ℂ) (i : σ) :
37
+ eval x (form l).val / x i=l ((x i)⁻¹ • x) := by
38
+ rw [eval_form,map_smul]
39
+ simp only [smul_eq_mul,div_eq_mul_inv,mul_comm]
40
+
41
+ end ProjectiveLinearCoordinates
42
+ namespace SplitTangent.ProjectiveEmbedding
43
+ variable {X : ComplexManifold.{u}} (e : ProjectiveEmbedding X)
44
+ {S : TangentSplitting X} {A B : Type*}
45
+ [NormedAddCommGroup A] [NormedSpace ℂ A] [FiniteDimensional ℂ A]
46
+ [NormedAddCommGroup B] [NormedSpace ℂ B] [FiniteDimensional ℂ B]
47
+
48
+ omit [FiniteDimensional ℂ A] [FiniteDimensional ℂ B] in
49
+ lemma plaque_coordinates_analytic (P : AlignedProductChart S A B)
50
+ {z : A × B} (hz : z∈P.chart.target) (i : Fin (e.N+1))
51
+ (hi : (e.map (P.chart.symm z)).rep i≠0) :
52
+ AnalyticAt ℂ (fun t => projectiveCoordinates i (e.map (P.chart.symm t))) z :=
53
+ (((e.holomorphic i).contMDiffAt ((e.open_patch i).mem_nhds hi)).comp z
54
+ (P.inverse_holomorphicAt hz)).contDiffAt.analyticAt
55
+
56
+ omit [FiniteDimensional ℂ A] [FiniteDimensional ℂ B] in
57
+ lemma plaque_coordinates_first_injective (P : AlignedProductChart S A B)
58
+ {z : A × B} (hz : z∈P.chart.target) (i : Fin (e.N+1))
59
+ (hi : (e.map (P.chart.symm z)).rep i≠0) :
60
+ Function.Injective ((fderiv ℂ (fun t => projectiveCoordinates i (e.map (P.chart.symm t))) z).comp
61
+ (ContinuousLinearMap.inl ℂ A B)) := by
62
+ have hd := mfderiv_comp z
63
+ (((e.holomorphic i).contMDiffAt ((e.open_patch i).mem_nhds hi)).mdifferentiableAt (by simp))
64
+ ((P.inverse_holomorphicAt hz).mdifferentiableAt (by simp))
65
+ rw [mfderiv_eq_fderiv] at hd
66
+ change Function.Injective ((fderiv ℂ ((fun x => projectiveCoordinates i (e.map x)) ∘ P.chart.symm) z).comp
67
+ (ContinuousLinearMap.inl ℂ A B))
68
+ rw [hd]
69
+ exact (e.immersion _ i hi).comp ((P.mdifferentiable.symm.mfderiv_injective hz).comp
70
+ (fun _ _ h => congrArg Prod.fst h))
71
+
72
+ lemma coordinates_injOn (i : Fin (e.N+1)) :
73
+ Set.InjOn (fun x => projectiveCoordinates i (e.map x)) {x | (e.map x).rep i≠0} := by
74
+ intro x hx y hy h
75
+ apply e.injective
76
+ rw [←Projectivization.mk_rep (e.map x),←Projectivization.mk_rep (e.map y),
77
+ Projectivization.mk_eq_mk_iff']
78
+ refine ⟨(e.map x).rep i*((e.map y).rep i)⁻¹,?_⟩
79
+ ext j
80
+ have hh := congrFun h j
81
+ change ((e.map x).rep i)⁻¹*(e.map x).rep j=
82
+ ((e.map y).rep i)⁻¹*(e.map y).rep j at hh
83
+ change ((e.map x).rep i*((e.map y).rep i)⁻¹)*(e.map y).rep j=(e.map x).rep j
84
+ calc
85
+ _ = (e.map x).rep i*(((e.map y).rep i)⁻¹*(e.map y).rep j) := by ring
86
+ _ = (e.map x).rep i*(((e.map x).rep i)⁻¹*(e.map x).rep j) := by rw [hh]
87
+ _ = _ := by rw [←mul_assoc,mul_inv_cancel₀ hx,one_mul]
88
+
89
+
90
+
91
+ theorem exists_linear_plaque_coordinates (P : AlignedProductChart S A B)
92
+ {z : A × B} (hz : z∈P.chart.target) (i : Fin (e.N+1))
93
+ (hi : (e.map (P.chart.symm z)).rep i≠0) :
94
+ ∃(p : (Fin (e.N+1) → ℂ) →L[ℂ] A)
95
+ (Q : OpenPartialHomeomorph (A × B) (A × B)), z∈Q.source ∧
96
+ (∀t,Q t=(p (projectiveCoordinates i (e.map (P.chart.symm t))),t.2)) ∧
97
+ AnalyticAt ℂ Q z ∧ AnalyticAt ℂ Q.symm (Q z) :=
98
+ RectangularInverse.exists_chart (e.plaque_coordinates_analytic P hz i hi)
99
+ (e.plaque_coordinates_first_injective P hz i hi)
100
+
101
+ end SplitTangent.ProjectiveEmbedding
102
+
103
+ end
104
+
105
+ end OAI
lean/OAI/Geometry/SplitTangent/ProjectivePositiveLeaf.lean ADDED
@@ -0,0 +1,124 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Mathlib
2
+ import OAI.Geometry.SplitTangent.LeafJetAtlas
3
+ import OAI.Geometry.SplitTangent.Basic
4
+ import OAI.Geometry.SplitTangent.PositiveTangentCurves
5
+ import OAI.Geometry.SplitTangent.RationalCurveFrames
6
+ import OAI.Geometry.SplitTangent.EmbeddedLeafCharts
7
+ import OAI.Geometry.SplitTangent.CompactPositiveLeaf
8
+ import OAI.Geometry.SplitTangent.PlaqueTangentImage
9
+ import OAI.Geometry.SplitTangent.TangentCurveLeaf
10
+
11
+ namespace OAI
12
+
13
+ /-! Projective Positive Leaf. -/
14
+
15
+ noncomputable section
16
+ open Set Filter Topology
17
+ open scoped Manifold ContDiff
18
+ universe u
19
+ namespace SplitTangent.LeafJetAtlas
20
+ variable {X : ComplexManifold.{u}} {S : TangentSplitting X}
21
+ (L : LeafJetAtlas S) (x₀ : X.Carrier) [PreconnectedSpace X.Carrier]
22
+ (h : ∀y∈L.leaf x₀,L.plaques.LocallySinglePlaque (L.leaf x₀) y)
23
+
24
+ lemma embedded_inclusion_tangent : let A := L.embeddedAtlas x₀ h;
25
+ letI := A.chartedSpace;
26
+ ∀y : L.leaf x₀,LinearMap.range
27
+ (mfderiv 𝓘(ℂ,Fin (Module.finrank ℂ (S.first x₀)) → ℂ) (ModelWithCorners X)
28
+ (Subtype.val : L.leaf x₀ → X.Carrier) y).toLinearMap=S.first y.val := by
29
+ dsimp only
30
+ let A := L.embeddedAtlas x₀ h
31
+ let := A.chartedSpace
32
+ intro y
33
+ let Y := A.manifold
34
+ let i : Y.Carrier → X.Carrier := Subtype.val
35
+ have hi : ContMDiff (ModelWithCorners Y) (ModelWithCorners X) ω i := A.inclusion_holomorphic
36
+ let D : Model Y →L[ℂ] Tangent X y.val := mfderiv (ModelWithCorners Y) (ModelWithCorners X) i y
37
+ have hsub : LinearMap.range D.toLinearMap ≤ S.first y.val := by
38
+ obtain ⟨j,U,V,hU,_,hV,hrect,hys,hyUV,huniq⟩ := h y.val y.property
39
+ let P := L.chart j
40
+ have hc : ContinuousAt (fun z : Y.Carrier => P.chart z.val) y :=
41
+ (P.chart.continuousAt hys).comp continuousAt_subtype_val
42
+ have hs : ∀ᶠ z : Y.Carrier in 𝓝 y,z.val∈P.chart.source :=
43
+ continuousAt_subtype_val.preimage_mem_nhds (P.chart.open_source.mem_nhds hys)
44
+ have hUV : ∀ᶠ z : Y.Carrier in 𝓝 y,P.chart z.val∈U ×ˢ V :=
45
+ hc.preimage_mem_nhds ((hU.prod hV).mem_nhds hyUV)
46
+ have hplaque : ∀ᶠ z : Y.Carrier in 𝓝 y,(P.chart (i z)).2=(P.chart (i y)).2 := by
47
+ filter_upwards [hs,hUV] with z hzs hzUV
48
+ exact huniq z.val z.property hzs hzUV
49
+ rintro v ⟨w,rfl⟩
50
+ exact P.mfderiv_into_first (hi y) hys hplaque w
51
+ let : FiniteDimensional ℂ (Tangent X y.val) := by
52
+ change FiniteDimensional ℂ (Model X)
53
+ infer_instance
54
+ apply Submodule.eq_of_le_of_finrank_eq hsub
55
+ change Module.finrank ℂ (LinearMap.range
56
+ (mfderiv 𝓘(ℂ,Fin (Module.finrank ℂ (S.first x₀)) → ℂ) (ModelWithCorners X)
57
+ (Subtype.val : L.leaf x₀ → X.Carrier) y).toLinearMap)=Module.finrank ℂ (S.first y.val)
58
+ rw [LinearMap.finrank_range_of_inj (A.inclusion_mfderiv_injective y)]
59
+ change Module.finrank ℂ (Fin (Module.finrank ℂ (S.first x₀)) → ℂ)=Module.finrank ℂ (S.first y.val)
60
+ rw [Module.finrank_fintype_fun_eq_card,Fintype.card_fin]
61
+ exact L.first_rank_eq x₀ y.val
62
+
63
+ include h in
64
+
65
+
66
+ theorem exists_projective_leaf (e : ProjectiveEmbedding X) (hc : IsCompact (L.leaf x₀)) :
67
+ ∃Y : ComplexManifold.{u}, IsProjective Y ∧ ConnectedSpace Y.Carrier ∧
68
+ Y.dim=Module.finrank ℂ (S.first x₀) ∧
69
+ ∃i : Y.Carrier → X.Carrier,
70
+ ContMDiff (ModelWithCorners Y) (ModelWithCorners X) ω i ∧
71
+ Function.Injective i ∧ Set.range i=L.leaf x₀ ∧
72
+ ∀y,LinearMap.range (mfderiv (ModelWithCorners Y) (ModelWithCorners X) i y).toLinearMap=
73
+ S.first (i y) := by
74
+ let A := L.embeddedAtlas x₀ h
75
+ let := A.chartedSpace
76
+ refine ⟨A.manifold,⟨isCompact_iff_compactSpace.mp hc,⟨A.projectiveEmbedding e⟩⟩,
77
+ isConnected_iff_connectedSpace.mp (L.plaques.leaf_isConnected x₀),rfl,
78
+ Subtype.val,A.inclusion_holomorphic,Subtype.val_injective,?_,?_⟩
79
+ · exact Subtype.range_coe
80
+ · exact L.embedded_inclusion_tangent x₀ h
81
+
82
+ end SplitTangent.LeafJetAtlas
83
+ namespace SplitTangent.RationalCurveFrames
84
+ variable {X : ComplexManifold.{u}} {S : TangentSplitting X}
85
+ {e : ProjectiveEmbedding X} {g : RationalCurve X} (F : RationalCurveFrames e g)
86
+ (L : LeafJetAtlas S) [PreconnectedSpace X.Carrier] [CompactSpace X.Carrier]
87
+
88
+ include F in
89
+ omit [CompactSpace X.Carrier] in
90
+ lemma leaf_locallySinglePlaque (ht : g.TangentTo S.first) (hg : PointedGenerated g S.first) :
91
+ ∀y∈L.leaf (g.finite 1),L.plaques.LocallySinglePlaque (L.leaf (g.finite 1)) y := by
92
+ intro y hy
93
+ have hh := F.closure_locallySinglePlaque L ht hg (subset_closure hy)
94
+ rwa [(F.leaf_isClosed L ht hg).closure_eq] at hh
95
+
96
+ include F in
97
+ theorem exists_projective_leaf (ht : g.TangentTo S.first) (hg : PointedGenerated g S.first) :
98
+ ∃Y : ComplexManifold.{u}, IsProjective Y ∧ ConnectedSpace Y.Carrier ∧
99
+ Y.dim=Module.finrank ℂ (S.first (g.finite 1)) ∧
100
+ ∃i : Y.Carrier → X.Carrier,
101
+ ContMDiff (ModelWithCorners Y) (ModelWithCorners X) ω i ∧
102
+ Function.Injective i ∧ Set.range i=L.leaf (g.finite 1) ∧
103
+ (∀y,LinearMap.range (mfderiv (ModelWithCorners Y) (ModelWithCorners X) i y).toLinearMap=
104
+ S.first (i y)) ∧
105
+ ∃k : RationalCurve Y,(∀z,i (k.finite z)=g.finite z) ∧ (∀z,i (k.infinity z)=g.infinity z) := by
106
+ let h := F.leaf_locallySinglePlaque L ht hg
107
+ let A := L.embeddedAtlas (g.finite 1) h
108
+ let := A.chartedSpace
109
+ let k : RationalCurve A.manifold := {
110
+ finite := fun z => ⟨g.finite z,L.tangent_rational_curve_finite ht z⟩
111
+ infinity := fun z => ⟨g.infinity z,L.tangent_rational_curve_infinity ht z⟩
112
+ finite_holomorphic := A.holomorphic_lift g.finite_holomorphic (L.tangent_rational_curve_finite ht)
113
+ infinity_holomorphic := A.holomorphic_lift g.infinity_holomorphic (L.tangent_rational_curve_infinity ht)
114
+ overlap := fun z hz => Subtype.ext (g.overlap z hz) }
115
+ refine ⟨A.manifold,⟨isCompact_iff_compactSpace.mp (F.leaf_isCompact L ht hg),
116
+ ⟨A.projectiveEmbedding e⟩⟩,isConnected_iff_connectedSpace.mp (L.plaques.leaf_isConnected _),rfl,
117
+ Subtype.val,A.inclusion_holomorphic,Subtype.val_injective,Subtype.range_coe,
118
+ L.embedded_inclusion_tangent _ h,k,fun _ => rfl,fun _ => rfl⟩
119
+
120
+ end SplitTangent.RationalCurveFrames
121
+
122
+ end
123
+
124
+ end OAI
lean/OAI/Geometry/SplitTangent/ProjectiveTangentBox.lean ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Mathlib
2
+ import OAI.Geometry.SplitTangent.Basic
3
+ import OAI.Geometry.SplitTangent.FormalBoxes
4
+
5
+ namespace OAI
6
+
7
+ /-! Projective Tangent Box. -/
8
+
9
+ noncomputable section
10
+ open scoped Manifold ContDiff LinearAlgebra.Projectivization
11
+ open Set Bundle
12
+
13
+ universe u
14
+ namespace SplitTangent
15
+
16
+ attribute [instance] ComplexManifold.topology ComplexManifold.charts
17
+ ComplexManifold.holomorphicAtlas ComplexManifold.hausdorff
18
+ ComplexManifold.secondCountable
19
+
20
+ namespace FormalCauchy
21
+
22
+ variable {V : Type*} [AddCommGroup V] [Module ℂ V]
23
+
24
+ instance projectiveTangentBoxAnalyticFunctionCoeFun (U : Set ℂ) :
25
+ CoeFun (AnalyticFunction U) (fun _ => ℂ → ℂ) := ⟨Subtype.val⟩
26
+
27
+ open scoped MvPowerSeries.WithPiTopology
28
+
29
+ end FormalCauchy
30
+ end SplitTangent
31
+
32
+ open Set Filter Topology
33
+
34
+ namespace SplitTangent.TangentSplitting
35
+ open HolomorphicJets
36
+ variable {X : ComplexManifold.{u}} (S : TangentSplitting X)
37
+
38
+ theorem coordinateCurve_analyticAlternative {g : ℂ → X.Carrier}
39
+ (hg : ContMDiff 𝓘(ℂ,ℂ) (ModelWithCorners X) ω g) (x : X.Carrier) :
40
+ AnalyticOnNhd ℂ (coordinateCurve g x) (coordinateDomain g x) := by
41
+ intro z hz
42
+ have hc := contMDiffAt_of_mem_maximalAtlas
43
+ (IsManifold.chart_mem_maximalAtlas (I := ModelWithCorners X) (n := ω) x) hz
44
+ exact (hc.comp z (hg z)).contDiffAt.analyticAt
45
+
46
+
47
+
48
+ def localJetAlternative {g : ℂ → X.Carrier}
49
+ (hg : ContMDiff 𝓘(ℂ,ℂ) (ModelWithCorners X) ω g) (x : X.Carrier) :
50
+ ℕ → ℂ → Model X := Classical.choose
51
+ (exists_cauchyOn (coordinateDomain_open hg x) (coordinateCurve g x)
52
+ (fun i z hz => analyticAt_pi_iff.mp (coordinateCurve_analyticAlternative hg x z hz) i)
53
+ (S.coordinateMatrix x) (fun i j _ hz => S.coordinateMatrix_analytic x i j _
54
+ ((chartAt (Model X) x).map_source hz)))
55
+
56
+ end SplitTangent.TangentSplitting
57
+
58
+ open Filter Topology
59
+
60
+ section FiniteBaseImport
61
+ open Polynomial
62
+ namespace SplitTangent.RationalSurface
63
+
64
+ local instance projectiveTangentBoxDecidableEq : DecidableEq K := Classical.decEq K
65
+
66
+ variable {ι : Type*} [Fintype ι]
67
+
68
+ end SplitTangent.RationalSurface
69
+
70
+ end FiniteBaseImport
71
+
72
+ open Filter Topology
73
+
74
+ open Filter Topology Metric Set
75
+
76
+
77
+
78
+ open MvPowerSeries
79
+
80
+ open Filter Topology Set Metric
81
+
82
+ end
83
+
84
+ end OAI
lean/OAI/Geometry/SplitTangent/QuotientSubmersions.lean ADDED
@@ -0,0 +1,99 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Mathlib
2
+ import OAI.Geometry.SplitTangent.ActualQuotientCharts
3
+ import OAI.Geometry.SplitTangent.BasicSubmersionTransport
4
+ import OAI.Geometry.SplitTangent.LeafJetAtlas
5
+ import OAI.Geometry.SplitTangent.Basic
6
+ import OAI.Geometry.SplitTangent.SwappedProductChart
7
+ import OAI.Geometry.SplitTangent.ChartSubmersion
8
+ import OAI.Geometry.SplitTangent.BasicDerivativeKernel
9
+
10
+ namespace OAI
11
+
12
+ /-! Quotient Submersions. -/
13
+
14
+ noncomputable section
15
+ open Set Filter Topology
16
+ open scoped Manifold ContDiff
17
+ universe u
18
+ namespace SplitTangent.LeafJetAtlas
19
+ variable {X : ComplexManifold.{u}} {S : TangentSplitting X}
20
+ [CompactSpace X.Carrier] [ConnectedSpace X.Carrier]
21
+ {L : LeafJetAtlas S} (M : LeafJetAtlas S.swap) {e : ProjectiveEmbedding X}
22
+ {hRC : RationallyConnected e} {hdim : 0<X.dim}
23
+ namespace QuotientChartData
24
+ variable {i : X.Carrier} (D : L.QuotientChartData e hRC hdim i)
25
+
26
+ lemma chart_comp_quotient_eventuallyEq_rectangle {a : S.FirstModel i} {b : S.SecondModel i}
27
+ (ha : a∈D.U) (hb : b∈D.V) :
28
+ D.chart ∘ L.leafQuotient e hRC hdim =ᶠ[𝓝 ((L.chart i).chart.symm (a,b))]
29
+ (fun y => ((L.chart i).chart y).2) := by
30
+ let P := L.chart i
31
+ have ht : (a,b)∈P.chart.target := D.rectangle ⟨ha,hb⟩
32
+ have hs := P.chart.map_target ht
33
+ have hx : P.chart (P.chart.symm (a,b))=(a,b) := P.chart.right_inv ht
34
+ have hn := Filter.Eventually.and (P.chart.open_source.mem_nhds hs)
35
+ ((P.chart.continuousAt hs).preimage_mem_nhds (by
36
+ rw [hx]
37
+ exact (D.open_U.prod D.open_V).mem_nhds ⟨ha,hb⟩))
38
+ filter_upwards [hn] with y hy
39
+ change D.chart (L.leafQuotient e hRC hdim y)=(P.chart y).2
40
+ conv_lhs => rw [←P.chart.left_inv hy.1]
41
+ exact D.chart_quotient_rectangle hy.2.1 hy.2.2
42
+
43
+ lemma chart_comp_quotient_submersion_rectangle {a : S.FirstModel i} {b : S.SecondModel i}
44
+ (ha : a∈D.U) (hb : b∈D.V) :
45
+ BasicSubmersionAt (D.chart ∘ L.leafQuotient e hRC hdim) ((L.chart i).chart.symm (a,b)) := by
46
+ refine ⟨D.chart_comp_quotient_contMDiffAt_rectangle ha hb,?_⟩
47
+ let P := L.chart i
48
+ have hs := P.chart.map_target (D.rectangle (show (a,b)∈D.U ×ˢ D.V from ⟨ha,hb⟩))
49
+ rw [(D.chart_comp_quotient_eventuallyEq_rectangle ha hb).mfderiv_eq]
50
+ exact P.snd_mfderiv_surjective hs
51
+
52
+ lemma chart_comp_quotient_submersion {x : X.Carrier}
53
+ (hx : L.leafQuotient e hRC hdim x∈D.chart.source) :
54
+ BasicSubmersionAt (D.chart ∘ L.leafQuotient e hRC hdim) x := by
55
+ obtain ⟨b,hb,he⟩ := hx
56
+ exact (L.basic_submersion_leaf D.chart_comp_quotient_basic
57
+ ((L.leafQuotient_eq_iff e hRC hdim _ _).mp he)).mp
58
+ (D.chart_comp_quotient_submersion_rectangle D.mem_U hb)
59
+
60
+ include M in
61
+ lemma chart_comp_quotient_kernel {x : X.Carrier}
62
+ (hx : L.leafQuotient e hRC hdim x∈D.chart.source) :
63
+ LinearMap.ker (mfderiv (ModelWithCorners X) 𝓘(ℂ,S.SecondModel i)
64
+ (D.chart ∘ L.leafQuotient e hRC hdim) x).toLinearMap=S.first x := by
65
+ let : FiniteDimensional ℂ (Tangent X x) := by
66
+ change FiniteDimensional ℂ (Model X)
67
+ infer_instance
68
+ let d := (mfderiv (ModelWithCorners X) 𝓘(ℂ,S.SecondModel i)
69
+ (D.chart ∘ L.leafQuotient e hRC hdim) x).toLinearMap
70
+ have hs := D.chart_comp_quotient_submersion hx
71
+ have hsub : S.first x≤d.ker := by
72
+ intro v hv
73
+ exact L.basic_derivative_annihilates_first D.chart_comp_quotient_basic
74
+ (hs.1.mdifferentiableAt (by simp)) hv
75
+ apply Eq.symm
76
+ apply Submodule.eq_of_le_of_finrank_le hsub
77
+ have hd := d.finrank_range_add_finrank_ker
78
+ have hsur : d.range=⊤ := LinearMap.range_eq_top.mpr hs.2
79
+ rw [hsur,finrank_top] at hd
80
+ have hr := (L.chart i).swap.first_finrank (by
81
+ rw [AlignedProductChart.swap_source]
82
+ exact L.mem_source i)
83
+ have hc := M.first_rank_eq i x
84
+ rw [S.swap_first] at hr hc
85
+ have hp := (S.projector x).toLinearMap.finrank_range_add_finrank_ker
86
+ change Module.finrank ℂ (S.first x)+Module.finrank ℂ (S.second x)=_ at hp
87
+ change Module.finrank ℂ (S.SecondModel i)+Module.finrank ℂ d.ker=
88
+ Module.finrank ℂ (Tangent X x) at hd
89
+ rw [←hr,hc,Nat.add_comm] at hd
90
+ have hk : Module.finrank ℂ d.ker=Module.finrank ℂ (S.first x) :=
91
+ Nat.add_right_cancel (hd.trans hp.symm)
92
+ exact hk.le
93
+
94
+ end QuotientChartData
95
+ end SplitTangent.LeafJetAtlas
96
+
97
+ end
98
+
99
+ end OAI
lean/OAI/Geometry/SplitTangent/RCCovariantVanishing.lean ADDED
@@ -0,0 +1,176 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Mathlib
2
+ import OAI.Geometry.SplitTangent.BracketIntegrability
3
+ import OAI.Geometry.SplitTangent.Basic
4
+ import OAI.Geometry.SplitTangent.PositiveTangentCurves
5
+ import OAI.Geometry.SplitTangent.TwistedCurveTensor
6
+ import OAI.Geometry.SplitTangent.PositiveCoverLift
7
+ import OAI.Geometry.SplitTangent.OpenPositiveLeaves
8
+
9
+ namespace OAI
10
+
11
+ /-! R C Covariant Vanishing. -/
12
+
13
+ noncomputable section
14
+ open Set Filter Topology
15
+ open scoped Manifold ContDiff
16
+ universe u
17
+ namespace SplitTangent
18
+
19
+
20
+
21
+ structure HolomorphicTangentTensor (X : ComplexManifold.{u}) (m : ℕ) where
22
+ value : X.Carrier → TangentTensor X m
23
+ holomorphic : ∀x,ContMDiffOn (ModelWithCorners X) 𝓘(ℂ,TangentTensor X m) ω
24
+ (fun y => (value y).compContinuousLinearMap (fun _ =>
25
+ (trivializationAt (Model X) (Tangent X) x).symmL ℂ y))
26
+ (trivializationAt (Model X) (Tangent X) x).baseSet
27
+
28
+ namespace HolomorphicTangentTensor
29
+ variable {X : ComplexManifold.{u}} {m : ℕ} (A : HolomorphicTangentTensor X m)
30
+
31
+ def coordinates (x y : X.Carrier) : TangentTensor X m :=
32
+ (A.value y).compContinuousLinearMap (fun _ =>
33
+ (trivializationAt (Model X) (Tangent X) x).symmL ℂ y)
34
+
35
+ lemma coordinates_zero_iff {x y : X.Carrier}
36
+ (hy : y∈(trivializationAt (Model X) (Tangent X) x).baseSet) :
37
+ A.coordinates x y=0 ↔ A.value y=0 := by
38
+ let t := trivializationAt (Model X) (Tangent X) x
39
+ constructor
40
+ · intro h
41
+ apply ContinuousMultilinearMap.ext
42
+ intro v
43
+ have h' := congrArg (fun B : TangentTensor X m =>
44
+ B (fun i => t.continuousLinearMapAt ℂ y (v i))) h
45
+ change A.value y (fun i => t.symmL ℂ y (t.continuousLinearMapAt ℂ y (v i)))=0 at h'
46
+ have he : (fun i => t.symmL ℂ y (t.continuousLinearMapAt ℂ y (v i))) = v := by
47
+ funext i
48
+ exact t.symmL_continuousLinearMapAt hy (v i)
49
+ rw [he] at h'
50
+ exact h'
51
+ · intro h
52
+ apply ContinuousMultilinearMap.ext
53
+ intro v
54
+ simp [coordinates,h]
55
+ rfl
56
+
57
+ def along (g : RationalCurve X) : TwistedCurveTensor g 0 m where
58
+ finite := A.value ∘ g.finite
59
+ infinity := A.value ∘ g.infinity
60
+ finite_holomorphic z := by
61
+ exact (((A.holomorphic (g.finite z)).contMDiffAt
62
+ ((trivializationAt (Model X) (Tangent X) (g.finite z)).open_baseSet.mem_nhds
63
+ (FiberBundle.mem_baseSet_trivializationAt' _))).comp z
64
+ (g.finite_holomorphic z)).contDiffAt.analyticAt
65
+ infinity_holomorphic z := by
66
+ exact (((A.holomorphic (g.infinity z)).contMDiffAt
67
+ ((trivializationAt (Model X) (Tangent X) (g.infinity z)).open_baseSet.mem_nhds
68
+ (FiberBundle.mem_baseSet_trivializationAt' _))).comp z
69
+ (g.infinity_holomorphic z)).contDiffAt.analyticAt
70
+ overlap z hz := by simp [g.overlap z hz]
71
+
72
+ lemma zero_on_positive_curve (hm : 0 < m) (g : RationalCurve X)
73
+ (hg : PointedGenerated g (fun _ => ⊤)) : A.value (g.finite 1)=0 := by
74
+ apply ContinuousMultilinearMap.ext
75
+ intro v
76
+ exact (A.along g).vanish_on_generated_fiber hg hm v (fun _ => Submodule.mem_top)
77
+
78
+ lemma local_analytic_zero_locus (x : X.Carrier) :
79
+ ∃e : OpenPartialHomeomorph X.Carrier (Model X),x∈e.source ∧
80
+ ∃f : Model X → TangentTensor X m,AnalyticOnNhd ℂ f e.target ∧
81
+ ∀y∈e.source,A.value y=0 ↔ f (e y)=0 := by
82
+ let t := trivializationAt (Model X) (Tangent X) x
83
+ let c := chartAt (Model X) x
84
+ let e := c.restr t.baseSet
85
+ have hsrc : e.source=c.source ∩ t.baseSet := c.restr_source' _ t.open_baseSet
86
+ have htarg : e.target=c.target ∩ c.symm ⁻¹' t.baseSet := by
87
+ rw [OpenPartialHomeomorph.restr_target,t.open_baseSet.interior_eq]
88
+ refine ⟨e,?_,fun z => A.coordinates x (c.symm z),?_,?_⟩
89
+ · rw [hsrc]
90
+ exact ⟨mem_chart_source (Model X) x,FiberBundle.mem_baseSet_trivializationAt' _⟩
91
+ · intro z hz
92
+ rw [htarg] at hz
93
+ have hc : ContMDiffAt 𝓘(ℂ,Model X) (ModelWithCorners X) ω c.symm z :=
94
+ contMDiffAt_symm_of_mem_maximalAtlas
95
+ (IsManifold.chart_mem_maximalAtlas (I := ModelWithCorners X) x) hz.1
96
+ exact (((A.holomorphic x).contMDiffAt (t.open_baseSet.mem_nhds hz.2)).comp z hc).contDiffAt.analyticAt
97
+ · intro y hy
98
+ rw [hsrc] at hy
99
+ change A.value y=0 ↔ A.coordinates x (c.symm (c y))=0
100
+ rw [c.left_inv hy.1]
101
+ exact (A.coordinates_zero_iff hy.2).symm
102
+
103
+ lemma eq_zero_of_nonempty_open [PreconnectedSpace X.Carrier]
104
+ {U : Set X.Carrier} (hU : IsOpen U) (hne : U.Nonempty)
105
+ (hzero : ∀x∈U,A.value x=0) : ∀x,A.value x=0 := by
106
+ have hZ : {x | A.value x=0}=univ :=
107
+ AnalyticContinuation.eq_univ_of_local_analytic_zero_locus
108
+ A.local_analytic_zero_locus (by
109
+ obtain ⟨x,hx⟩ := hne
110
+ exact ⟨x,mem_interior_iff_mem_nhds.mpr
111
+ (Filter.mem_of_superset (hU.mem_nhds hx) hzero)⟩)
112
+ intro x
113
+ have := Set.mem_univ x
114
+ rwa [←hZ] at this
115
+
116
+ end HolomorphicTangentTensor
117
+
118
+ namespace RationallyConnected
119
+ variable {X : ComplexManifold.{u}} [CompactSpace X.Carrier]
120
+ (e : ProjectiveEmbedding X) (hRC : RationallyConnected e)
121
+ include e hRC
122
+
123
+
124
+
125
+ theorem exists_open_positive_tangent_curves (hdim : 0<X.dim) :
126
+ ∃U : Set X.Carrier,IsOpen U ∧ U.Nonempty ∧
127
+ ∀x∈U,∃g : RationalCurve X,g.finite 1=x ∧ PointedGenerated g (fun _ => ⊤) := by
128
+ obtain ⟨T,hT,G,hs⟩ := hRC.exists_submersive_family e hdim
129
+ let := hT
130
+ refine ⟨Set.range (G.evaluation 1),(G.evaluation_open hs).isOpen_range,
131
+ Set.range_nonempty _,?_⟩
132
+ rintro x ⟨τ,rfl⟩
133
+ refine ⟨G.curve τ,rfl,?_⟩
134
+ intro v hv
135
+ obtain ⟨σ,h0,h1⟩ := G.exists_section_endpoints (hs τ) 0 v
136
+ exact ⟨σ,fun _ => Submodule.mem_top,fun _ => Submodule.mem_top,h0,h1⟩
137
+
138
+
139
+
140
+ theorem holomorphic_tensor_zero [PreconnectedSpace X.Carrier] (hdim : 0<X.dim)
141
+ {m : ℕ} (hm : 0 < m) (A : HolomorphicTangentTensor X m) :
142
+ ∀x,A.value x=0 := by
143
+ obtain ⟨U,hU,hUn,hpos⟩ := hRC.exists_open_positive_tangent_curves e hdim
144
+ apply A.eq_zero_of_nonempty_open hU hUn
145
+ intro x hx
146
+ obtain ⟨g,hg0,hg⟩ := hpos x hx
147
+ rw [←hg0]
148
+ exact A.zero_on_positive_curve hm g hg
149
+
150
+
151
+
152
+ theorem holomorphic_cover_tensor_zero [ConnectedSpace X.Carrier]
153
+ {Y : ComplexManifold.{u}} [CompactSpace Y.Carrier] [ConnectedSpace Y.Carrier]
154
+ {p : Y.Carrier → X.Carrier} (hcover : IsCoveringMap p)
155
+ (hp : IsLocalDiffeomorph (ModelWithCorners Y) (ModelWithCorners X) ω p)
156
+ (hdim : 0<X.dim) {m : ℕ} (hm : 0 < m) (A : HolomorphicTangentTensor Y m) :
157
+ ∀y,A.value y=0 := by
158
+ have hs : Function.Surjective p := by
159
+ have hc : IsClopen (Set.range p) :=
160
+ ⟨isCompact_range hcover.continuous |>.isClosed,hcover.isOpenMap.isOpen_range⟩
161
+ exact Set.range_eq_univ.mp (hc.eq_univ (Set.range_nonempty _))
162
+ obtain ⟨U,hU,hUn,hpos⟩ := hRC.exists_open_positive_tangent_curves e hdim
163
+ apply A.eq_zero_of_nonempty_open (hU.preimage hcover.continuous)
164
+ (hUn.preimage hs)
165
+ intro y hy
166
+ obtain ⟨g,hg1,hg⟩ := hpos (p y) hy
167
+ obtain ⟨k,hk1,hk,_,_⟩ := g.exists_positive_cover_lift_at hg hcover hp 1 y hg1.symm
168
+ rw [←hk1]
169
+ exact A.zero_on_positive_curve hm k hk
170
+
171
+ end RationallyConnected
172
+ end SplitTangent
173
+
174
+ end
175
+
176
+ end OAI
lean/OAI/Geometry/SplitTangent/RationalAccepted.lean ADDED
@@ -0,0 +1,97 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Mathlib
2
+ import OAI.Geometry.SplitTangent.RationalFamilies
3
+ import OAI.Geometry.SplitTangent.Basic
4
+
5
+ namespace OAI
6
+
7
+ /-! Rational Accepted. -/
8
+
9
+ noncomputable section
10
+ open Set Filter Topology
11
+ open scoped ContDiff Manifold
12
+
13
+ universe u
14
+ namespace SplitTangent.RationalParameters
15
+ open AnalyticZeroCover
16
+
17
+ variable {X : ComplexManifold.{u}} (e : ProjectiveEmbedding X) [CompactSpace X.Carrier]
18
+
19
+
20
+
21
+ lemma analyticSetOn_incidenceAlternative {m : ℕ} {U : Set (Space m)} (hU : IsOpen U)
22
+ {Q : Space m → Fin (e.N+1) → ℂ} (hQ : AnalyticOnNhd ℂ Q U)
23
+ (hnz : ∀ z∈U, Q z≠0) :
24
+ AnalyticSetOn U {z | z∈U ∧ ∃ x, e.Incidence x (Q z)} where
25
+ subset := fun _ h => h.1
26
+ closed := by
27
+ intro z hz
28
+ refine ⟨hz.2,?_⟩
29
+ change Q z ∈ {v | ∃ x, e.Incidence x v}
30
+ rw [← e.isClosed_cone.closure_eq]
31
+ exact (closure_mono (show Q '' {z | z∈U ∧ ∃ x, e.Incidence x (Q z)} ⊆
32
+ {v | ∃ x, e.Incidence x v} from by rintro _ ⟨y,hy,rfl⟩; exact hy.2)
33
+ (mem_closure_image (hQ z hz.2).continuousAt hz.1))
34
+ local_equations := by
35
+ intro z hz
36
+ obtain ⟨D,hD,hDeq⟩ := e.cone_local_equations_any (hnz z hz.1)
37
+ have hcomp : AnalyticAt ℂ (D ∘ Q) z := hD.comp (hQ z hz.1)
38
+ have heq := (hQ z hz.1).continuousAt.eventually hDeq
39
+ obtain ⟨V,hV,hVo,hVz⟩ := eventually_nhds_iff.mp
40
+ (Filter.Eventually.and (hU.mem_nhds hz.1) (hcomp.eventually_analyticAt.and heq))
41
+ let f : Fin (e.N+1) → Space m → ℂ := fun i y => D (Q y) i
42
+ refine ⟨V,hVo,hVz,fun y hy => (hV y hy).1,Set.range f,?_,?_⟩
43
+ · rintro g ⟨i,rfl⟩ y hy
44
+ exact ((ContinuousLinearMap.proj i).analyticAt _).comp (hV y hy).2.1
45
+ · intro y hy
46
+ simp only [mem_ofPred_eq,forall_mem_range]
47
+ have hyU : y∈U := (hV y hy).1
48
+ simp only [hyU,true_and]
49
+ rw [(hV y hy).2.2]
50
+ exact ⟨fun h i => congrFun h i,fun h => funext h⟩
51
+
52
+ lemma accepted_test {d : ℕ} (P : Patch (Coeff e.N d))
53
+ (hPM : P.image ⊆ regular e.N d) (hPA : ¬P.image ⊆ accepted e d) :
54
+ ∃ B : Set (Space P.dim), AnalyticSetOn P.domain B ∧
55
+ (∃ x∈P.domain, x∉B) ∧ {x | x∈P.domain ∧ P.map x∈accepted e d} ⊆ B := by
56
+ classical
57
+ obtain ⟨τ,hτ,hτA⟩ := Set.not_subset.mp hPA
58
+ obtain ⟨x,hx,rfl⟩ := hτ
59
+ have hn : ∃ b : Bool, ∃ z : ℂ, ¬∃ y, e.Incidence y (ev b (P.map x) z) := by
60
+ simpa only [accepted,mem_ofPred_eq,not_forall] using hτA
61
+ obtain ⟨b,z,hbad⟩ := hn
62
+ let Q : Space P.dim → (Fin (e.N+1) → ℂ) := fun y => ev b (P.map y) z
63
+ have hQ : AnalyticOnNhd ℂ Q P.domain := fun y hy =>
64
+ AnalyticAt.comp (f := fun y => (z,P.map y)) (x := y) (ev_analytic b (z,P.map y))
65
+ (analyticAt_const.prod (P.analytic y hy))
66
+ refine ⟨{y | y∈P.domain ∧ ∃ q, e.Incidence q (Q y)},
67
+ analyticSetOn_incidenceAlternative e P.isOpen_domain hQ
68
+ (fun y hy => regular_nonzero (hPM ⟨y,hy,rfl⟩) b z),?_,?_⟩
69
+ · exact ⟨x,hx,fun h => hbad h.2⟩
70
+ · intro y hy
71
+ exact ⟨hy.1,hy.2 b z⟩
72
+
73
+
74
+
75
+ theorem countable_accepted {d : ℕ} :
76
+ ∃ C : Set (Patch (Coeff e.N d)), C.Countable ∧
77
+ (∀ P∈C, P.image ⊆ regular e.N d ∩ accepted e d) ∧
78
+ regular e.N d ∩ accepted e d ⊆ ⋃ P∈C,P.image := by
79
+ classical
80
+ obtain ⟨D,hD,hDdim,hcover⟩ := countable_open_patches (isOpen_regular e.N d)
81
+ have H (i : D) := i.val.countable_accepted_cover (accepted_test e) (hDdim i.val i.property).2
82
+ choose C hC hCp hCc using H
83
+ let : Countable D := hD.to_subtype
84
+ refine ⟨⋃ i,C i,Set.countable_iUnion hC,?_,?_⟩
85
+ · intro P hP
86
+ obtain ⟨i,hi⟩ := mem_iUnion.mp hP
87
+ exact (hCp i P hi).2
88
+ · intro τ hτ
89
+ obtain ⟨P,hP,hτP⟩ := mem_iUnion₂.mp (hcover hτ.1)
90
+ obtain ⟨Q,hQ,hτQ⟩ := mem_iUnion₂.mp (hCc ⟨P,hP⟩ ⟨hτP,hτ.2⟩)
91
+ exact mem_iUnion₂.mpr ⟨Q,mem_iUnion.mpr ⟨⟨P,hP⟩,hQ⟩,hτQ⟩
92
+
93
+ end SplitTangent.RationalParameters
94
+
95
+ end
96
+
97
+ end OAI
lean/OAI/Geometry/SplitTangent/RationalCoverLift.lean ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Mathlib
2
+ import OAI.Geometry.SplitTangent.Basic
3
+
4
+ namespace OAI
5
+
6
+ /-! Rational Cover Lift. -/
7
+
8
+ noncomputable section
9
+ open Set Filter Topology
10
+ open scoped Manifold ContDiff
11
+ universe u
12
+ namespace SplitTangent
13
+ variable {X Y : ComplexManifold.{u}} {p : Y.Carrier → X.Carrier}
14
+
15
+ lemma holomorphic_of_continuous_cover_lift
16
+ (hp : IsLocalDiffeomorph (ModelWithCorners Y) (ModelWithCorners X) ω p)
17
+ {f : ℂ → X.Carrier} {g : ℂ → Y.Carrier}
18
+ (hf : ContMDiff 𝓘(ℂ,ℂ) (ModelWithCorners X) ω f)
19
+ (hg : Continuous g) (he : ∀z,p (g z)=f z) :
20
+ ContMDiff 𝓘(ℂ,ℂ) (ModelWithCorners Y) ω g := by
21
+ intro z
22
+ let h := hp (g z)
23
+ have hinv := h.localInverse_contMDiffAt
24
+ rw [he z] at hinv
25
+ have hh := hinv.comp z (hf z)
26
+ apply hh.congr_of_eventuallyEq
27
+ have hn := hg.continuousAt.preimage_mem_nhds
28
+ (h.localInverse.open_target.mem_nhds h.localInverse_mem_target)
29
+ filter_upwards [hn] with w hw
30
+ change g w=h.localInverse (f w)
31
+ rw [←he w,h.localInverse_left_inv hw]
32
+
33
+
34
+
35
+ theorem RationalCurve.exists_cover_lift_at (g : RationalCurve X)
36
+ (hcover : IsCoveringMap p)
37
+ (hp : IsLocalDiffeomorph (ModelWithCorners Y) (ModelWithCorners X) ω p)
38
+ (a₀ : ℂ) (y : Y.Carrier) (hy : p y=g.finite a₀) :
39
+ ∃k : RationalCurve Y,k.finite a₀=y ∧
40
+ (∀z,p (k.finite z)=g.finite z) ∧ (∀z,p (k.infinity z)=g.infinity z) := by
41
+ let f : C(ℂ,X.Carrier) := ⟨g.finite,g.finite_holomorphic.continuous⟩
42
+ obtain ⟨F,hF,_⟩ := hcover.existsUnique_continuousMap_lifts f a₀ y hy
43
+ have hF' z : p (F z)=g.finite z := congrFun hF.2 z
44
+ have h1 : p (F 1)=g.infinity 1 := by
45
+ rw [hF' 1,g.overlap 1 one_ne_zero,inv_one]
46
+ let q : C(ℂ,X.Carrier) := ⟨g.infinity,g.infinity_holomorphic.continuous⟩
47
+ obtain ⟨G,hG,_⟩ := hcover.existsUnique_continuousMap_lifts q (1 : ℂ) (F 1) h1
48
+ have hG' z : p (G z)=g.infinity z := congrFun hG.2 z
49
+ have hconn : IsPreconnected {z : ℂ | z≠0} := by
50
+ have hh := (isConnected_compl_singleton_of_one_lt_rank
51
+ (E := ℂ) (by norm_num [Complex.rank_real_complex]) (0 : ℂ)).isPreconnected
52
+ exact hh
53
+ let : PreconnectedSpace {z : ℂ // z≠0} := isPreconnected_iff_preconnectedSpace.mp hconn
54
+ let a : {z : ℂ // z≠0} → Y.Carrier := fun z => F z.val
55
+ let b : {z : ℂ // z≠0} → Y.Carrier := fun z => G z.val⁻¹
56
+ have ha : Continuous a := F.continuous.comp continuous_subtype_val
57
+ have hb : Continuous b := G.continuous.comp
58
+ (continuous_subtype_val.inv₀ (fun z => z.property))
59
+ have hab : p ∘ a=p ∘ b := by
60
+ funext z
61
+ exact (hF' z.val).trans ((g.overlap z.val z.property).trans (hG' z.val⁻¹).symm)
62
+ have hab1 : a ⟨1,one_ne_zero⟩=b ⟨1,one_ne_zero⟩ := by
63
+ change F 1=G 1⁻¹
64
+ rw [inv_one,hG.1]
65
+ have heq : a=b := hcover.eq_of_comp_eq ha hb hab ⟨1,one_ne_zero⟩ hab1
66
+ let k : RationalCurve Y := {
67
+ finite := F
68
+ infinity := G
69
+ finite_holomorphic := holomorphic_of_continuous_cover_lift hp
70
+ g.finite_holomorphic F.continuous hF'
71
+ infinity_holomorphic := holomorphic_of_continuous_cover_lift hp
72
+ g.infinity_holomorphic G.continuous hG'
73
+ overlap z hz := congrFun heq ⟨z,hz⟩ }
74
+ exact ⟨k,hF.1,hF',hG'⟩
75
+
76
+
77
+ theorem RationalCurve.exists_cover_lift (g : RationalCurve X)
78
+ (hcover : IsCoveringMap p)
79
+ (hp : IsLocalDiffeomorph (ModelWithCorners Y) (ModelWithCorners X) ω p)
80
+ (y : Y.Carrier) (hy : p y=g.finite 0) :
81
+ ∃k : RationalCurve Y,k.finite 0=y ∧
82
+ (∀z,p (k.finite z)=g.finite z) ∧ (∀z,p (k.infinity z)=g.infinity z) :=
83
+ g.exists_cover_lift_at hcover hp 0 y hy
84
+
85
+ end SplitTangent
86
+
87
+ end
88
+
89
+ end OAI
lean/OAI/Geometry/SplitTangent/RationalCurveFrames.lean ADDED
@@ -0,0 +1,134 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Mathlib
2
+ import OAI.Geometry.SplitTangent.Basic
3
+ import OAI.Geometry.SplitTangent.FormalBoxes
4
+ import OAI.Geometry.SplitTangent.ProjectiveLineFrame
5
+
6
+ namespace OAI
7
+
8
+ /-! Rational Curve Frames. -/
9
+
10
+ noncomputable section
11
+ open Set Filter Topology
12
+ open scoped Manifold ContDiff BigOperators
13
+ universe u
14
+ namespace SplitTangent
15
+
16
+
17
+
18
+ structure RationalCurveFrames {X : ComplexManifold.{u}}
19
+ (e : ProjectiveEmbedding X) (g : RationalCurve X) where
20
+ degree : ℕ
21
+ P : Fin (e.N+1) → Polynomial ℂ
22
+ Q : Fin (e.N+1) → Polynomial ℂ
23
+ a : Fin (e.N+1) → Polynomial ℂ
24
+ b : Fin (e.N+1) → Polynomial ℂ
25
+ finite_bezout : ∑i,a i*P i=1
26
+ infinity_bezout : ∑i,b i*Q i=1
27
+ finite_incidence : ∀z,e.Incidence (g.finite z) (fun i => (P i).eval z)
28
+ infinity_incidence : ∀z,e.Incidence (g.infinity z) (fun i => (Q i).eval z)
29
+ transition : ∀z,z≠0 → ∀i,(P i).eval z=z^degree*(Q i).eval z⁻¹
30
+
31
+ theorem RationalCurve.exists_frames {X : ComplexManifold.{u}}
32
+ (e : ProjectiveEmbedding X) (g : RationalCurve X) : Nonempty (RationalCurveFrames e g) := by
33
+ classical
34
+ obtain ⟨d,P,Q,hP,hQ,hdeg,hf,hi,ht⟩ := rationalCurve_two_chart_polynomials e g
35
+ obtain ⟨a,ha⟩ := PolynomialTuple.bezout P hP
36
+ obtain ⟨b,hb⟩ := PolynomialTuple.bezout Q hQ
37
+ refine ⟨⟨d,P,Q,a,b,ha,hb,?_,?_,ht⟩⟩
38
+ · intro z
39
+ obtain ⟨k,hk⟩ := Function.ne_iff.mp (e.map (g.finite z)).rep_nonzero
40
+ refine (e.incidence_iff_coordinates hk).mpr (fun j => ?_)
41
+ exact (hf z k j hk).trans (mul_comm _ _)
42
+ · intro z
43
+ obtain ⟨k,hk⟩ := Function.ne_iff.mp (e.map (g.infinity z)).rep_nonzero
44
+ refine (e.incidence_iff_coordinates hk).mpr (fun j => ?_)
45
+ exact (hi z k j hk).trans (mul_comm _ _)
46
+
47
+ namespace RationalCurveFrames
48
+ variable {X : ComplexManifold.{u}} {e : ProjectiveEmbedding X} {g : RationalCurve X}
49
+ (F : RationalCurveFrames e g)
50
+
51
+ def finite (z : ℂ) (x : X.Carrier) := e.linearFrame (fun i => (F.a i).eval z) x
52
+ def infinity (z : ℂ) (x : X.Carrier) := e.linearFrame (fun i => (F.b i).eval z) x
53
+
54
+ lemma finite_unit (z : ℂ) : ∑i,(F.a i).eval z*(F.P i).eval z=1 := by
55
+ simpa only [Polynomial.eval_finsetSum,Polynomial.eval_mul,Polynomial.eval_one]
56
+ using congrArg (Polynomial.eval z) F.finite_bezout
57
+ lemma infinity_unit (z : ℂ) : ∑i,(F.b i).eval z*(F.Q i).eval z=1 := by
58
+ simpa only [Polynomial.eval_finsetSum,Polynomial.eval_mul,Polynomial.eval_one]
59
+ using congrArg (Polynomial.eval z) F.infinity_bezout
60
+
61
+ lemma finite_denominator_ne (z : ℂ) :
62
+ (∑i,(F.a i).eval z*(e.map (g.finite z)).rep i)≠0 :=
63
+ e.linearFrame_denominator_ne (F.finite_incidence z) (F.finite_unit z)
64
+ lemma infinity_denominator_ne (z : ℂ) :
65
+ (∑i,(F.b i).eval z*(e.map (g.infinity z)).rep i)≠0 :=
66
+ e.linearFrame_denominator_ne (F.infinity_incidence z) (F.infinity_unit z)
67
+
68
+ lemma finite_on_curve (z : ℂ) : F.finite z (g.finite z)=fun i => (F.P i).eval z :=
69
+ e.linearFrame_eq_of_incidence (F.finite_incidence z) (F.finite_unit z)
70
+ lemma infinity_on_curve (z : ℂ) : F.infinity z (g.infinity z)=fun i => (F.Q i).eval z :=
71
+ e.linearFrame_eq_of_incidence (F.infinity_incidence z) (F.infinity_unit z)
72
+
73
+
74
+ def multiplier (z : ℂ) (x : X.Carrier) : ℂ :=
75
+ ∑i,(F.b i).eval z⁻¹ * F.finite z x i
76
+
77
+ lemma multiplier_on_curve {z : ℂ} (hz : z≠0) :
78
+ F.multiplier z (g.finite z)=z^F.degree := by
79
+ simp only [multiplier,F.finite_on_curve,F.transition z hz]
80
+ calc
81
+ _ = z^F.degree * (∑i,(F.b i).eval z⁻¹ * (F.Q i).eval z⁻¹) := by
82
+ rw [Finset.mul_sum]
83
+ apply Finset.sum_congr rfl
84
+ intro i hi
85
+ ring
86
+ _ = _ := by rw [F.infinity_unit,mul_one]
87
+
88
+ lemma frame_transition (z : ℂ) (x : X.Carrier)
89
+ (hb : (∑i,(F.b i).eval z⁻¹*(e.map x).rep i)≠0) :
90
+ F.finite z x=F.multiplier z x • F.infinity z⁻¹ x :=
91
+ e.linearFrame_change _ _ x hb
92
+
93
+ lemma finite_holomorphicAt (z : ℂ) :
94
+ ContMDiffAt (ModelWithCorners X) 𝓘(ℂ,Fin (e.N+1) → ℂ) ω
95
+ (F.finite z) (g.finite z) :=
96
+ e.linearFrame_holomorphicAt (ModelWithCorners X) contMDiffAt_id
97
+ contMDiffAt_const (F.finite_denominator_ne z)
98
+
99
+ lemma infinity_holomorphicAt (z : ℂ) :
100
+ ContMDiffAt (ModelWithCorners X) 𝓘(ℂ,Fin (e.N+1) → ℂ) ω
101
+ (F.infinity z) (g.infinity z) :=
102
+ e.linearFrame_holomorphicAt (ModelWithCorners X) contMDiffAt_id
103
+ contMDiffAt_const (F.infinity_denominator_ne z)
104
+
105
+
106
+
107
+ lemma finite_joint_holomorphicAt (z : ℂ) :
108
+ ContMDiffAt (𝓘(ℂ,ℂ).prod (ModelWithCorners X)) 𝓘(ℂ,Fin (e.N+1) → ℂ) ω
109
+ (fun q : ℂ × X.Carrier => F.finite q.1 q.2) (z,g.finite z) := by
110
+ apply e.linearFrame_holomorphicAt _ contMDiffAt_snd _ (F.finite_denominator_ne z)
111
+ apply contMDiffAt_pi_space.mpr
112
+ intro i
113
+ have hp : ContMDiffAt 𝓘(ℂ,ℂ) 𝓘(ℂ,ℂ) ω (fun t => (F.a i).eval t) z := by
114
+ simpa [Polynomial.aeval_def] using
115
+ ((F.a i).contDiff_aeval (𝕜 := ℂ) ω).contDiffAt.contMDiffAt
116
+ exact hp.comp (z,g.finite z) (contMDiffAt_fst (I := 𝓘(ℂ,ℂ)) (J := ModelWithCorners X))
117
+
118
+ lemma infinity_joint_holomorphicAt (z : ℂ) :
119
+ ContMDiffAt (𝓘(ℂ,ℂ).prod (ModelWithCorners X)) 𝓘(ℂ,Fin (e.N+1) → ℂ) ω
120
+ (fun q : ℂ × X.Carrier => F.infinity q.1 q.2) (z,g.infinity z) := by
121
+ apply e.linearFrame_holomorphicAt _ contMDiffAt_snd _ (F.infinity_denominator_ne z)
122
+ apply contMDiffAt_pi_space.mpr
123
+ intro i
124
+ have hp : ContMDiffAt 𝓘(ℂ,ℂ) 𝓘(ℂ,ℂ) ω (fun t => (F.b i).eval t) z := by
125
+ simpa [Polynomial.aeval_def] using
126
+ ((F.b i).contDiff_aeval (𝕜 := ℂ) ω).contDiffAt.contMDiffAt
127
+ exact hp.comp (z,g.infinity z) (contMDiffAt_fst (I := 𝓘(ℂ,ℂ)) (J := ModelWithCorners X))
128
+
129
+ end RationalCurveFrames
130
+ end SplitTangent
131
+
132
+ end
133
+
134
+ end OAI