@[simp]theoremcontinuousMetricInChart_apply (g : RealMetricFieldX) (c : X.Carrier)
(z u v : Model n) : continuousMetricInChart g c z u v = metricInChart g c z u v := rfl
theoremmetricInChart_smul (g : RealMetricFieldX) (c : X.Carrier)
(z u : Model n) (r : ℝ) :
metricInChart g c z (r • u) (r • u) = r ^ 2 * metricInChart g c z u u :=by
proof · 4
lines
change continuousMetricInChart g c z (r • u) (r • u) =
r ^ 2 * continuousMetricInChart g c z u u
simp only [map_smul, smul_apply, smul_eq_mul]
ring
theoremKahlerMetric.positive_quadraticInChart (g : KahlerMetricX) (c : X.Carrier)
{z u : Model n} (hz : z ∈ (extChartAt (model n) c).target) (hu : u ≠0) :
0 < metricInChart g.metric c z u u :=by
proof · 4
lines
apply g.positive
intro hzero
apply hu
exact chart_inverse_derivative_injective c hz (hzero.trans (map_zero _).symm)
theoremmetricInChart_forward (g : RealMetricFieldX) (c : X.Carrier)
{x : X.Carrier} (hx : x ∈ (extChartAt (model n) c).source) (u v : TangentX x) :
metricInChart g c ((extChartAt (model n) c) x)
((mfderiv (model n) (model n) (extChartAt (model n) c) x) u)
((mfderiv (model n) (model n) (extChartAt (model n) c) x) v) = g x u v :=by
proof · 12
lines
let e := extChartAt (model n) c
let p := mfderiv (model n) (model n) e x
let q := mfderiv (model n) (model n) e.symm (e x)
havehi : q.comp p = ContinuousLinearMap.id ℂ _ :=by
simpa only [ModelWithCorners.range_eq_univ, mfderivWithin_univ] using
mfderivWithin_extChartAt_symm_comp_mfderiv_extChartAt' hx
havehu : q (p u) = u := congrArg (funL : TangentX x →L[ℂ] TangentX x ↦L u) hi
havehv : q (p v) = v := congrArg (funL : TangentX x →L[ℂ] TangentX x ↦L v) hi
change g (e.symm (e x)) (q (p u)) (q (p v)) = g x u v
rw [e.left_inv hx]
change g x (q (p u)) (q (p v)) = g x u v
rw [hu,hv]
theoremprojectionInChart_forward (P : ProjectionFieldX) (c : X.Carrier)
{x : X.Carrier} (hx : x ∈ (extChartAt (model n) c).source) (u : TangentX x) :
projectionInChart P c ((extChartAt (model n) c) x)
((mfderiv (model n) (model n) (extChartAt (model n) c) x) u) =
(mfderiv (model n) (model n) (extChartAt (model n) c) x) (P x u) :=by
proof · 12
lines
let e := extChartAt (model n) c
let p := mfderiv (model n) (model n) e x
let q := mfderiv (model n) (model n) e.symm (e x)
havehi : q.comp p = ContinuousLinearMap.id ℂ _ :=by
simpa only [ModelWithCorners.range_eq_univ, mfderivWithin_univ] using
mfderivWithin_extChartAt_symm_comp_mfderiv_extChartAt' hx
havehu : q (p u) = u := congrArg (funL : TangentX x →L[ℂ] TangentX x ↦L u) hi
change (mfderiv (model n) (model n) e (e.symm (e x))) (P (e.symm (e x))
(q (p u))) = p (P x u)
rw [e.left_inv hx]
change p (P x (q (p u))) = p (P x u)
rw [hu]
theoremKahlerMetric.exists_projection_bound_on_chartCompact (g : KahlerMetricX)
(P : ProjectionFieldX) (hP : HolomorphicProjectionP) (c : X.Carrier)
{K : Set (Model n)} (hK : IsCompactK) (hKt : K⊆ (extChartAt (model n) c).target) :
∃C : ℝ, 0 < C∧∀ x ∈ (extChartAt (model n) c).source,
(extChartAt (model n) c) x ∈K→∀u : TangentX x,
g.metric x (P x u) (P x u) ≤C * g.metric x u u :=by
proof · 23
lines
have hm := (g.continuous_quadraticInChart c).mono (prod_mono hKt Subset.rfl)
havehp : ContinuousOn (fun z ↦ (projectionInChart P c z).restrictScalars ℝ) K:=
(ContinuousLinearMap.restrictScalarsL ℂ (Model n) (Model n) ℝℝ).continuous.comp_continuousOn
((hP c).continuousOn.mono hKt)
obtain ⟨C,hC,hbound⟩ := exists_quadratic_operator_bound hK
(fun z u ↦ metricInChart g.metric c z u u)
(fun z ↦ (projectionInChart P c z).restrictScalars ℝ) hm hp
(fun z hz u hu ↦ g.positive_quadraticInChart c (hKt hz) hu)
(fun z _ r u ↦ metricInChart_smul g.metric c z u r)
refine ⟨C,hC,fun x hx hxK u ↦ ?_⟩
have hb := hbound ((extChartAt (model n) c) x) hxK
((mfderiv (model n) (model n) (extChartAt (model n) c) x) u)
change metricInChart g.metric c ((extChartAt (model n) c) x)
(projectionInChart P c ((extChartAt (model n) c) x)
((mfderiv (model n) (model n) (extChartAt (model n) c) x) u))
(projectionInChart P c ((extChartAt (model n) c) x)
((mfderiv (model n) (model n) (extChartAt (model n) c) x) u)) ≤C * metricInChart g.metric c ((extChartAt (model n) c) x)
((mfderiv (model n) (model n) (extChartAt (model n) c) x) u)
((mfderiv (model n) (model n) (extChartAt (model n) c) x) u) at hb
rw [projectionInChart_forward P c hx u,
metricInChart_forward g.metric c hx, metricInChart_forward g.metric c hx] at hb
exact hb
theoremKahlerMetric.exists_uniform_projection_quadraticBound [CompactSpaceX.Carrier]
(g : KahlerMetricX) (P : ProjectionFieldX) (hP : HolomorphicProjectionP) :
∃C : ℝ, 0 < C∧∀ x (u : TangentX x),
g.metric x (P x u) (P x u) ≤C * g.metric x u u :=by
proof · 27
lines
classical
havehlocal : ∀x : X.Carrier, ∃ (C : ℝ) (U : SetX.Carrier),
0 < C∧U∈ 𝓝 x ∧∀ y ∈U, ∀u : TangentX y,
g.metric y (P y u) (P y u) ≤C * g.metric y u u :=by
intro x
let e := extChartAt (model n) x
obtain ⟨r,hr,hball⟩ :=Metric.isOpen_iff.mp (isOpen_extChartAt_target x)
(e x) (mem_extChartAt_target x)
havehr2 : 0 < r / 2:= half_pos hr
havehK : closedBall (e x) (r / 2) ⊆ e.target :=
(closedBall_subset_ball (bylinarith : r / 2 < r)).trans hball
obtain ⟨C,hC,hbound⟩ := g.exists_projection_bound_on_chartCompact P hP x
(isCompact_closedBall (e x) (r / 2)) hK
refine ⟨C, e.source ∩ e ⁻¹' ball (e x) (r / 2),hC,?_,?_⟩
· exact inter_mem (extChartAt_source_mem_nhds x)
((continuousAt_extChartAt x).preimage_mem_nhds (ball_mem_nhds (e x) hr2))
· intro y hy u
exact hbound y hy.1 (ball_subset_closedBall hy.2) u
choose CU hC hU hbound using hlocal
obtain ⟨t,_,ht⟩ := isCompact_univ.elim_nhds_subcover U (fun x _ ↦ hU x)
havehsum : 0≤∑ x ∈ t, C x :=Finset.sum_nonneg (fun x _ ↦ (hC x).le)
refine ⟨1 + ∑ x ∈ t, C x,by linarith,fun y u ↦ ?_⟩
obtain ⟨x,hxt,hy⟩ := mem_iUnion₂.mp (ht (mem_univ y))
havehle : C x ≤1 + ∑ z ∈ t, C z :=byhavehcx : C x ≤∑ z ∈ t, C z :=Finset.single_le_sum (fun z _ ↦ (hC z).le) hxt
linarith
exact (hbound x y hy u).trans (mul_le_mul_of_nonneg_right hle (g.nonnegative y u))
theoremKahlerMetric.exists_uniform_projection_normBound [CompactSpaceX.Carrier]
(g : KahlerMetricX) (P : ProjectionFieldX) (hP : HolomorphicProjectionP) :
∃C : ℝ, 0 < C∧∀ x (u : TangentX x),
metricNorm g x (P x u) ≤C * metricNorm g x u :=by
proof · 5
lines
obtain ⟨C,hC,hbound⟩ := g.exists_uniform_projection_quadraticBound P hP
refine ⟨Real.sqrt C,Real.sqrt_pos.mpr hC,fun x u ↦ ?_⟩
dsimp [metricNorm]
have hb :=Real.sqrt_le_sqrt (hbound x u)
rwa [Real.sqrt_mul hC.le] at hb
inner u v := g.metric x u v
conj_inner_symm u v :=by simpa using g.symmetric x v u
re_inner_nonneg u := g.nonnegative x u
add_left u v w :=by simp only [map_add, LinearMap.add_apply]
smul_left u v r :=by simp only [map_smul, LinearMap.smul_apply, smul_eq_mul, conj_trivial]
theoremmetricNorm_add_le (g : KahlerMetricX) (x : X.Carrier) (u v : TangentX x) :
metricNorm g x (u + v) ≤ metricNorm g x u + metricNorm g x v :=by
proof · 3
lines
let:= g.realInnerCore x
let:=InnerProductSpace.Core.toNorm (𝕜:=ℝ) (F:=TangentX x)
exact (InnerProductSpace.Core.toSeminormedSpaceCore (g.realInnerCore x)).norm_triangle u v
theoremKahlerMetric.orthogonal_I (g : KahlerMetricX) (x : X.Carrier) (u : TangentX x) :
g.metric x (Complex.I • u) u = 0:=by
proof · 4
lines
have hh := g.hermitian x (Complex.I • u) u
simp only [smul_smul, Complex.I_mul_I, neg_one_smul, map_neg, LinearMap.neg_apply] at hh
rw [g.symmetric x u (Complex.I • u)] at hh
linarith
theoremKahlerMetric.quadratic_complex_smul (g : KahlerMetricX) (x : X.Carrier)
(u : TangentX x) (z : ℂ) :
g.metric x (z • u) (z • u) = ‖z‖ ^ 2 * g.metric x u u :=by
proof · 9
lines
havehzu : z • u = z.re • u + z.im • (Complex.I • u) :=by
rw [←Complex.coe_smul, ←Complex.coe_smul, smul_smul, ← add_smul, Complex.re_add_im]
havehui : g.metric x u (Complex.I • u) = 0:=by
rw [g.symmetric x u (Complex.I • u)]
exact g.orthogonal_I x u
rw [hzu]
simp only [map_add, LinearMap.add_apply, map_smul, LinearMap.smul_apply, smul_eq_mul]
rw [hui,g.orthogonal_I x u,g.hermitian x u u,Complex.sq_norm,Complex.normSq_apply]
ring
theoremprojectionInChart_sub_id (P : ProjectionFieldX) (c : X.Carrier)
{z : Model n} (hz : z ∈ (extChartAt (model n) c).target) :
projectionInChart (fun x ↦ContinuousLinearMap.id ℂ (TangentX x) - P x) c z =
ContinuousLinearMap.id ℂ (Model n) - projectionInChart P c z :=by
proof · 20
lines
let e := extChartAt (model n) c
have heq := mfderiv_extChartAt_comp_mfderivWithin_extChartAt_symm' (e.map_target hz)
change (mfderiv (model n) (model n) e (e.symm z)).comp
(mfderivWithin (model n) (model n) e.symm (Set.range (model n)) (e (e.symm z))) =
ContinuousLinearMap.id ℂ (Model n) at heq
haveheq' : (mfderiv (model n) (model n) e (e.symm z)).comp
(mfderiv (model n) (model n) e.symm z) = ContinuousLinearMap.id ℂ _ :=by
simp only [ModelWithCorners.range_eq_univ, mfderivWithin_univ] at heq
erw [e.right_inv hz] at heq
exact heq
ext u : 1
change (mfderiv (model n) (model n) e (e.symm z))
(((ContinuousLinearMap.id ℂ (TangentX (e.symm z)) - P (e.symm z)))
((mfderiv (model n) (model n) e.symm z) u)) = _
simp only [sub_apply, ContinuousLinearMap.id_apply, map_sub]
have hh := congrArg (funL : Model n →L[ℂ] Model n ↦L u) heq'
change (mfderiv (model n) (model n) e (e.symm z))
((mfderiv (model n) (model n) e.symm z) u) = u at hh
rw [hh]
rfl
theoremKahlerMetric.exists_uniform_splitting_bound [CompactSpaceX.Carrier]
(g : KahlerMetricX) (S : HolomorphicSplittingX r₁ r₂) :
∃C₁C₂ : ℝ, 0 < C₁∧0 < C₂∧
(∀ x (u : TangentX x), metricNorm g x (S.projection x u) ≤C₁ * metricNorm g x u) ∧
(∀ x (u : TangentX x),
metricNorm g x (complementaryProjection S x u) ≤C₂ * metricNorm g x u) :=by
theoremexists_quadratic_comparison {K : SetB} (hK : IsCompactK)
(QT : B→E→ℝ)
(hQ : ContinuousOn (funp : B×E↦Q p.1 p.2) (K×ˢ univ))
(hT : ContinuousOn (funp : B×E↦T p.1 p.2) (K×ˢ univ))
(hpos : ∀ x ∈K, ∀ u, u ≠0→0 < Q x u)
(hhom : ∀ x ∈K, ∀ (r : ℝ) u, Q x (r • u) = r ^ 2 * Q x u)
(hThom : ∀ x ∈K, ∀ (r : ℝ) u, T x (r • u) = r ^ 2 * T x u) :
∃C : ℝ, 0 < C∧∀ x ∈K, ∀ u, T x u ≤C * Q x u :=by
proof · 40
lines
letL : Set (B×E) :=K×ˢ sphere 01havehL : IsCompactL:= hK.prod (isCompact_sphere 01)
havehQL : ContinuousOn (funp : B×E↦Q p.1 p.2) L:=
hQ.mono (prod_mono_right (subset_univ _))
havehnum : ContinuousOn (funp : B×E↦T p.1 p.2) L:=
hT.mono (prod_mono_right (subset_univ _))
havehden : ∀ p ∈L, Q p.1 p.2≠0:=by
intro p hp
apply ne_of_gt (hpos p.1 hp.1 p.2 _)
intro he
havehn : ‖p.2‖ = (1:ℝ) :=by simpa using hp.2
simp [he] at hn
obtain ⟨C,hC⟩ := hL.bddAbove_image (hnum.div hQL hden)
refine ⟨max C1, by positivity, fun x hx u ↦ ?_⟩
havehzero : Q x 0 = 0:=by simpa using hhom x hx 0 (0:E)
havehTzero : T x 0 = 0:=by simpa using hThom x hx 0 (0:E)
by_cases hu : u = 0
· simp [hu,hzero,hTzero]
havehn : 0 < ‖u‖ := norm_pos_iff.mpr hu
let v := ‖u‖⁻¹ • u
havehvnorm : ‖v‖ = 1:=by
dsimp [v]
rw [norm_smul_of_nonneg (inv_nonneg.mpr hn.le), inv_mul_cancel₀ hn.ne']
havehv : v ∈ sphere (0:E) 1:=by simpa using hvnorm
havehb : T x v / Q x v ≤ max C1:=
(hC ⟨(x,v),⟨hx,hv⟩,rfl⟩).trans (le_max_left _ _)
havehvpos : 0 < Q x v := hpos x hx v (by intro hh; simp [hh] at hvnorm)
havehquad : T x v ≤ max C1 * Q x v := (div_le_iff₀ hvpos).mp hb
havehuv : ‖u‖ • v = u :=by
dsimp [v]
rw [smul_smul, mul_inv_cancel₀ hn.ne', one_smul]
calcT x u = ‖u‖ ^ 2 * T x v :=by
conv_lhs => rw [← huv]
exact hThom x hx ‖u‖ v
_ ≤ ‖u‖ ^ 2 * (max C1 * Q x v) := mul_le_mul_of_nonneg_left hquad (sq_nonneg _)
_ = max C1 * Q x u :=byhavehs : Q x u = ‖u‖ ^ 2 * Q x v :=by rw [← hhom x hx ‖u‖ v, huv]
rw [hs]
ring
theoremKahlerMetric.exists_chart_metric_comparison (g : KahlerMetricX) (c : X.Carrier)
{K : Set (Model n)} (hK : IsCompactK) (he : K⊆ (extChartAt (model n) c).target) :
∃CD : ℝ, 0 < C∧0 < D∧∀ z ∈K, ∀u : Model n,
‖u‖ ^ 2≤C * metricInChart g.metric c z u u ∧
metricInChart g.metric c z u u ≤D * ‖u‖ ^ 2:=by
proof · 15
lines
havehN : ContinuousOn (funp : Model n ×Model n ↦ ‖p.2‖ ^ 2) (K×ˢ univ) :=
(continuous_snd.norm.pow 2).continuousOn
have hQ := (g.continuous_quadraticInChart c).mono (prod_mono_left he)
have hnormhom (z : Model n) (_ : z ∈K) (r : ℝ) (u : Model n) :
‖r • u‖ ^ 2 = r ^ 2 * ‖u‖ ^ 2:=by rw [norm_smul, mul_pow, Real.norm_eq_abs, sq_abs]
have hnormpos (z : Model n) (_ : z ∈K) (u : Model n) (hu : u ≠0) :
0 < ‖u‖ ^ 2:= sq_pos_of_pos (norm_pos_iff.mpr hu)
obtain ⟨C,hC,hCb⟩ := exists_quadratic_comparison hK
(fun z u ↦ metricInChart g.metric c z u u) (fun _ u ↦ ‖u‖ ^ 2) hQ hN
(fun z hz u hu ↦ g.positive_quadraticInChart c (he hz) hu)
(fun z _ r u ↦ metricInChart_smul g.metric c z u r) hnormhom
obtain ⟨D,hD,hDb⟩ := exists_quadratic_comparison hK
(fun _ u ↦ ‖u‖ ^ 2) (fun z u ↦ metricInChart g.metric c z u u) hN hQ
hnormpos hnormhom (fun z _ r u ↦ metricInChart_smul g.metric c z u r)
exact ⟨C,D,hC,hD,fun z hz u ↦ ⟨hCb z hz u,hDb z hz u⟩⟩
intro z hz
let c := f z
let e := extChartAt (model n) c
havehcf : ContinuousAt f z := (hf.mdifferentiableAt (hU.mem_nhds hz)).continuousAt
havehN : U∩ f ⁻¹' e.source ∈ 𝓝 z := inter_mem (hU.mem_nhds hz)
(hcf (extChartAt_source_mem_nhds (I:= model n) c))
obtain ⟨r,hr,hrs⟩ :=Metric.mem_nhds_iff.mp hN
havehd : DifferentiableOnℂ (e ∘ f) (ball z r) :=by
intro w hw
havehe : MDifferentiableAt (model n) (model n) e (f w) :=
mdifferentiableAt_extChartAt (by simpa only [e, extChartAt_source, mem_preimage] using (hrs hw).2)
exact (he.comp w (hf.mdifferentiableAt (hU.mem_nhds (hrs hw).1))).differentiableAt.differentiableWithinAt
havehcchart : ContinuousOn (fun w ↦ ((e (f w)), deriv (e ∘ f) w)) (ball z r) :=
hd.continuousOn.prodMk (hd.deriv isOpen_ball).continuousOn
havehQ : ContinuousOn (fun w ↦Real.sqrt (metricInChart g.metric c
(e (f w)) (deriv (e ∘ f) w) (deriv (e ∘ f) w))) (ball z r) :=
(g.continuous_quadraticInChart c |>.comp hcchart
(fun w hw ↦ ⟨e.map_source (hrs hw).2, mem_univ _⟩)).sqrt
havehS : ContinuousOn (curveSpeed g f) (ball z r) := hQ.congr (fun w hw ↦
curveSpeed_eq_chart g (hf.mdifferentiableAt (hU.mem_nhds (hrs hw).1)) c (hrs hw).2)
exact (hS.continuousAt (ball_mem_nhds z hr)).continuousWithinAt
theoremcurveSpeed_affine (g : KahlerMetricX) {f : ℂ→X.Carrier}
(p b z : ℂ) (hf : MDifferentiableAt 𝓘(ℂ, ℂ) (model n) f (p + b * z)) :
curveSpeed g (fun w ↦ f (p + b * w)) z = ‖b‖ * curveSpeed g f (p + b * z) :=by
proof · 14
lines
haveha : HasDerivAt (funw : ℂ↦ p + b * w) b z :=by
convert! ((hasDerivAt_id z).const_mul b).const_add p using1; simp
unfold curveSpeed
havehe : (fun w ↦ f (p + b * w)) = f ∘ (funw : ℂ↦ p + b * w) := rfl
rw [he, mfderiv_comp z hf ha.differentiableAt.mdifferentiableAt,
mfderiv_eq_fderiv]
change metricNorm g (f (p + b * z))
(mfderiv 𝓘(ℂ, ℂ) (model n) f (p + b * z) (fderiv ℂ (funw : ℂ↦ p + b * w) z 1)) = _
rw [fderiv_apply_one_eq_deriv, ha.deriv]
letD : ℂ→L[ℂ] TangentX (f (p + b * z)) := mfderiv 𝓘(ℂ, ℂ) (model n) f (p + b * z)
change metricNorm g (f (p + b*z)) (D b) = ‖b‖ * metricNorm g (f (p + b*z)) (D (1 : ℂ))
havehDb : D b = b • D (1 : ℂ) :=by
simpa only [smul_eq_mul, mul_one] usingD.map_smul b (1 : ℂ)
rw [hDb,metricNorm_complex_smul]