cfahlgren1/math / lean /OAI /Geometry /BallPacking /Annuli /QuadricCylinderChart.lean
cfahlgren1's picture
download
raw
24.4 kB
15
def transverseCylinder : PartialDiffeomorph 𝓘(ℝ,CylinderModel) 𝓘(ℝ,RealModel)
    HandleCylinder (Surface m) ∞ :=
body · 2 lines
  (cylinderComplexDiffeomorph.trans
    Complex.equivRealProdCLM.toDiffeomorph.toPartialDiffeomorph).trans (transverseDiffeomorph m)
20
@[simp] theorem transverseCylinder_apply (q : HandleCylinder) :
    transverseCylinder m q=transverseAnnulusInverse m (cylinderComplexMap q) := rfl
23
@[simp] theorem transverseCylinder_symm_apply (x : Surface m) :
    (transverseCylinder m).symm x=cylinderComplexInverse (transverseCoordinate m x.val) := by
proof · 3 lines
  change cylinderComplexInverse (Complex.equivRealProdCLM.symm
    (Complex.equivRealProdCLM (transverseCoordinate m x.val)))=_
  rw [ContinuousLinearEquiv.symm_apply_apply]
29
@[simp] theorem transverseCylinder_source : (transverseCylinder m).source=
    cylinderComplexMap ⁻¹' transverseAnnulusDomain m := by
proof · 5 lines
  ext q
  simp [transverseCylinder,PartialDiffeomorph.trans,cylinderComplexDiffeomorph,
    Diffeomorph.toPartialDiffeomorph,transverseDiffeomorph_source]
  change Complex.equivRealProdCLM.symm (Complex.equivRealProdCLM (cylinderComplexMap q))∈transverseAnnulusDomain m ↔ _
  rw [ContinuousLinearEquiv.symm_apply_apply]
37
theorem transverseCylinder_core (u : Circle) : (0,u)∈(transverseCylinder m).source := by
proof · 2 lines
  rw [transverseCylinder_source]
  exact unitCircle_subset_transverseDomain m (by simp)
41
theorem exists_transverseCylinderWidth : ∃ a : ℝ,0<a ∧
    Icc (-a) a ×ˢ (univ : Set Circle)⊆(transverseCylinder m).source := by
proof · 14 lines
  have hc : ({0}:Set ℝ) ×ˢ (univ : Set Circle)⊆(transverseCylinder m).source := by
    rintro ⟨s,u⟩ ⟨hs,_⟩
    have hs' : s=0 := hs
    subst s
    exact transverseCylinder_core m u
  obtain ⟨U,V,hU,_,h0,hV,hUV⟩ := generalized_tube_lemma isCompact_singleton
    (isCompact_univ : IsCompact (univ : Set Circle)) (transverseCylinder m).open_source hc
  obtain ⟨ε,hε,hball⟩ := Metric.mem_nhds_iff.mp (hU.mem_nhds (h0 (mem_singleton 0)))
  refine ⟨ε/2,half_pos hε,?_⟩
  rintro ⟨s,u⟩ ⟨hs,_⟩
  apply hUV
  refine ⟨hball ?_,hV (mem_univ u)⟩
  rw [Metric.mem_ball,Real.dist_eq,sub_zero,abs_lt]
  constructor <;> linarith [hs.1,hs.2]
58
def transverseCylinderWidth : ℝ := (exists_transverseCylinderWidth m).choose
60
theorem transverseCylinderWidth_pos : 0<transverseCylinderWidth m :=
proof · 1 line
  (exists_transverseCylinderWidth m).choose_spec.1
63
theorem transverseCylinderWidth_subset :
    Icc (-transverseCylinderWidth m) (transverseCylinderWidth m) ×ˢ (univ : Set Circle)⊆
      (transverseCylinder m).source := (exists_transverseCylinderWidth m).choose_spec.2
67
theorem transverseCylinder_compact : IsCompact ((transverseCylinder m) ''
    (Icc (-transverseCylinderWidth m) (transverseCylinderWidth m) ×ˢ (univ : Set Circle))) :=
proof · 2 lines
  (isCompact_Icc.prod isCompact_univ).image_of_continuousOn
    ((transverseCylinder m).contMDiffOn_toFun.continuousOn.mono (transverseCylinderWidth_subset m))
78
def complexClosedAnnulus (ε : ℝ) : Set ℂ := {z | 1-ε≤‖z‖ ∧ ‖z‖≤1+ε}
80
theorem complexClosedAnnulus_isCompact (ε : ℝ) : IsCompact (complexClosedAnnulus ε) := by
proof · 5 lines
  apply (isCompact_closedBall (0:ℂ) (1+ε)).of_isClosed_subset
  · exact isClosed_le continuous_const continuous_norm |>.inter
      (isClosed_le continuous_norm continuous_const)
  · intro z hz
    simpa only [Metric.mem_closedBall,dist_zero_right] using hz.2
87
theorem complex_normalize_dist {z : ℂ} (hz : z≠0) :
    dist z (‖z‖⁻¹ • z)=|‖z‖-1| := by
proof · 8 lines
  rw [dist_eq_norm,show z-‖z‖⁻¹ • z=(1-‖z‖⁻¹) • z by module,norm_smul,
    Real.norm_eq_abs]
  calc
    |1-‖z‖⁻¹| * ‖z‖ = |(1-‖z‖⁻¹)*‖z‖| := by
      rw [abs_mul,abs_of_nonneg (norm_nonneg z)]
    _ = |‖z‖-1| := by
      congr 1
      field_simp [norm_ne_zero_iff.mpr hz]
98
theorem exists_complexClosedAnnulus_subset {U : Set ℂ} (hU : IsOpen U)
    (hs : Metric.sphere (0:ℂ) 1⊆U) :
    ∃ ε : ℝ,0<ε ∧ ε<1/2 ∧ complexClosedAnnulus ε⊆U := by
proof · 18 lines
  obtain ⟨δ,hδ,hδU⟩ := (isCompact_sphere (0:ℂ) 1).exists_cthickening_subset_open hU hs
  let ε := min (δ/2) (1/4)
  have hε : 0<ε := lt_min (half_pos hδ) (by norm_num)
  have hεδ : ε≤δ := (min_le_left _ _).trans (half_le_self hδ.le)
  have hεh : ε<1/2 := lt_of_le_of_lt (min_le_right _ _) (by norm_num)
  refine ⟨ε,hε,hεh,?_⟩
  intro z hz
  have hzn : 0<‖z‖ := by linarith [hz.1]
  have hz0 : z≠0 := norm_pos_iff.mp hzn
  have hyn : ‖‖z‖⁻¹ • z‖=1 := by
    rw [norm_smul,Real.norm_eq_abs,abs_of_pos (inv_pos.mpr hzn),inv_mul_cancel₀ hzn.ne']
  have hyd : dist z (‖z‖⁻¹ • z)≤δ := by
    rw [complex_normalize_dist hz0]
    exact (abs_le.mpr ⟨by linarith [hz.1],by linarith [hz.2]⟩ : |‖z‖-1|≤ε).trans hεδ
  apply hδU
  apply Metric.mem_cthickening_of_dist_le z (‖z‖⁻¹ • z) δ (Metric.sphere (0:ℂ) 1)
  · simpa only [Metric.mem_sphere,dist_zero_right] using hyn
  · exact hyd
126
abbrev RadialPlane := ℝ × ℝ
128
def planeRadiusSq (x : RadialPlane) : ℝ := x.1^2+x.2^2
130
def planeRadialStep (ε : ℝ) (x : RadialPlane) : ℝ :=
body · 1 line
  Real.smoothTransition ((planeRadiusSq x-(1-ε)^2)/((1+ε)^2-(1-ε)^2))
133
def planeClosedAnnulus (ε : ℝ) : Set RadialPlane :=
body · 1 line
  Complex.equivRealProdCLM.symm ⁻¹' complexClosedAnnulus ε
136
theorem planeRadiusSq_norm (x : RadialPlane) :
    planeRadiusSq x=‖Complex.equivRealProdCLM.symm x‖^2 := by
proof · 2 lines
  rw [← Complex.normSq_eq_norm_sq]
  simp [planeRadiusSq,Complex.normSq_apply,pow_two]
141
theorem planeRadialStep_smooth (ε : ℝ) : ContDiff ℝ ∞ (planeRadialStep ε) := by
proof · 2 lines
  exact Real.smoothTransition.contDiff.comp
    (((contDiff_fst.pow 2).add (contDiff_snd.pow 2)).sub contDiff_const |>.div_const _)
145
theorem planeClosedAnnulus_compact (ε : ℝ) : IsCompact (planeClosedAnnulus ε) := by
proof · 9 lines
  have he : planeClosedAnnulus ε=Complex.equivRealProdCLM '' complexClosedAnnulus ε := by
    ext x
    constructor
    · intro hx
      exact ⟨Complex.equivRealProdCLM.symm x,hx,Complex.equivRealProdCLM.apply_symm_apply x⟩
    · rintro ⟨z,hz,rfl⟩
      simpa only [planeClosedAnnulus,mem_preimage,ContinuousLinearEquiv.symm_apply_apply] using hz
  rw [he]
  exact (complexClosedAnnulus_isCompact ε).image Complex.equivRealProdCLM.continuous
156
theorem planeRadialStep_zero {ε : ℝ} (hε : 0<ε) (hε1 : ε<1) {x : RadialPlane}
    (hx : ‖Complex.equivRealProdCLM.symm x‖≤1-ε) : planeRadialStep ε x=0 := by
proof · 5 lines
  apply Real.smoothTransition.zero_of_nonpos
  have hd : 0<(1+ε)^2-(1-ε)^2 := by nlinarith
  apply div_nonpos_of_nonpos_of_nonneg _ hd.le
  rw [planeRadiusSq_norm]
  nlinarith [norm_nonneg (Complex.equivRealProdCLM.symm x)]
164
theorem planeRadialStep_one {ε : ℝ} (hε : 0<ε) {x : RadialPlane}
    (hx : 1+ε≤‖Complex.equivRealProdCLM.symm x‖) : planeRadialStep ε x=1 := by
proof · 5 lines
  apply Real.smoothTransition.one_of_one_le
  have hd : 0<(1+ε)^2-(1-ε)^2 := by nlinarith
  rw [le_div_iff₀ hd]
  rw [planeRadiusSq_norm]
  nlinarith
172
theorem planeRadialDifferential_zero {ε : ℝ} (hε : 0<ε) (hε1 : ε<1)
    (x : RadialPlane) (hx : x∉planeClosedAnnulus ε) :
    manifoldScalarDifferential (E := RadialPlane) (planeRadialStep ε) x=0 := by
proof · 18 lines
  have hn := continuous_norm.comp Complex.equivRealProdCLM.symm.continuous
  change ¬(1-ε≤‖Complex.equivRealProdCLM.symm x‖ ∧
    ‖Complex.equivRealProdCLM.symm x‖≤1+ε) at hx
  by_cases hl : ‖Complex.equivRealProdCLM.symm x‖<1-ε
  · have he : planeRadialStep ε =ᶠ[𝓝 x] fun _ => (0:ℝ) := by
      filter_upwards [(isOpen_lt hn continuous_const).mem_nhds hl] with y hy
      exact planeRadialStep_zero hε hε1 hy.le
    exact he.mfderiv_eq.trans (by
      simp only [mfderiv_const,ContinuousLinearMap.comp_zero]
      rfl)
  · have hu : 1+ε<‖Complex.equivRealProdCLM.symm x‖ :=
      lt_of_not_ge (fun h => hx ⟨le_of_not_gt hl,h⟩)
    have he : planeRadialStep ε =ᶠ[𝓝 x] fun _ => (1:ℝ) := by
      filter_upwards [(isOpen_lt continuous_const hn).mem_nhds hu] with y hy
      exact planeRadialStep_one hε hy.le
    exact he.mfderiv_eq.trans (by
      simp only [mfderiv_const,ContinuousLinearMap.comp_zero]
      rfl)
203
theorem exists_annulusWidth : ∃ ε : ℝ,0<ε ∧ ε<1/2 ∧
    planeClosedAnnulus ε⊆(annulusDiffeomorph m).source := by
proof · 6 lines
  obtain ⟨ε,hε,hε1,hU⟩ := exists_complexClosedAnnulus_subset (annulusDomain_isOpen m)
    (fun z hz => unitCircle_subset_domain m (by simpa only [Metric.mem_sphere,dist_zero_right] using hz))
  refine ⟨ε,hε,hε1,?_⟩
  intro x hx
  rw [annulusDiffeomorph_source]
  exact hU hx
212
def annulusWidth : ℝ := (exists_annulusWidth m).choose
214
theorem annulusWidth_pos : 0<annulusWidth m := (exists_annulusWidth m).choose_spec.1
216
theorem annulusWidth_lt : annulusWidth m<1/2 := (exists_annulusWidth m).choose_spec.2.1
218
theorem annulusWidth_subset : planeClosedAnnulus (annulusWidth m)⊆(annulusDiffeomorph m).source :=
proof · 1 line
  (exists_annulusWidth m).choose_spec.2.2
221
def compactDualForm : ManifoldOneForm RealModel (Surface m) :=
body · 2 lines
  handlePushforwardOneForm (annulusDiffeomorph m)
    (manifoldScalarDifferential (planeRadialStep (annulusWidth m)))
225
theorem compactDualForm_smooth : SmoothOneFormFamily (fun _ : ℝ => compactDualForm m) := by
proof · 5 lines
  apply handlePushforwardOneForm_smooth (annulusDiffeomorph m)
    (planeClosedAnnulus_compact (annulusWidth m)) (annulusWidth_subset m)
  · exact manifoldScalarDifferential_smooth (planeRadialStep_smooth _).contMDiff
  · exact planeRadialDifferential_zero (annulusWidth_pos m)
      (lt_trans (annulusWidth_lt m) (by norm_num))
232
theorem compactDualForm_compact : HasCompactSupport (compactDualForm m) := by
proof · 4 lines
  exact handlePushforwardOneForm_compact (annulusDiffeomorph m)
    (planeClosedAnnulus_compact (annulusWidth m)) (annulusWidth_subset m)
    (planeRadialDifferential_zero (annulusWidth_pos m)
      (lt_trans (annulusWidth_lt m) (by norm_num)))
238
theorem compactDualForm_closed (x : Surface m) : manifoldExteriorOneForm (compactDualForm m) x=0 := by
proof · 6 lines
  apply handlePushforwardOneForm_closed (annulusDiffeomorph m)
    (planeClosedAnnulus_compact (annulusWidth m)) (annulusWidth_subset m)
  · exact manifoldScalarDifferential_smooth (planeRadialStep_smooth _).contMDiff
  · exact planeRadialDifferential_zero (annulusWidth_pos m)
      (lt_trans (annulusWidth_lt m) (by norm_num))
  · exact manifoldScalarDifferential_closed (planeRadialStep_smooth _).contMDiff
246
theorem compactDualForm_pullback {x : RealModel} (hx : x∈(annulusDiffeomorph m).source) :
    manifoldPullbackOneForm (fun _ => compactDualForm m) (annulusDiffeomorph m) 0 x=
      manifoldScalarDifferential (E := RealModel) (planeRadialStep (annulusWidth m)) x :=
proof · 1 line
  handlePushforwardOneForm_pullback (annulusDiffeomorph m) _ hx
251
theorem compactDualForm_support : tsupport (compactDualForm m)⊆
    (annulusDiffeomorph m) '' planeClosedAnnulus (annulusWidth m) :=
proof · 4 lines
  handlePushforwardOneForm_tsupport (annulusDiffeomorph m)
    (planeClosedAnnulus_compact (annulusWidth m)) (annulusWidth_subset m)
    (planeRadialDifferential_zero (annulusWidth_pos m)
      (lt_trans (annulusWidth_lt m) (by norm_num)))
258
def transversePoint (θ : ℝ) : Affine (m+2) :=
body · 2 lines
  ((Real.cos θ : ℂ),fun j => if j=0 then Complex.I*(Real.sin θ : ℂ)
    else Complex.I*(Real.sqrt ((j.val : ℝ)+1-Real.cos θ^2) : ℂ))
262
theorem transversePoint_mem (θ : ℝ) : transversePoint m θ∈locus (parameters m) := by
proof · 17 lines
  rw [mem_locus]
  intro j
  have hc := Real.cos_sq_le_one θ
  by_cases hj : j=0
  · subst j
    simp only [transversePoint,↓reduceIte,parameters_zero,mul_pow,Complex.I_sq]
    have he := Real.sin_sq_add_cos_sq θ
    have heC : (Real.sin θ : ℂ)^2+(Real.cos θ : ℂ)^2=1 := by exact_mod_cast he
    linear_combination -heC
  · have hn : 0≤(j.val : ℝ)+1-Real.cos θ^2 := by
      nlinarith [Nat.cast_nonneg (α := ℝ) j.val]
    have he := Real.sq_sqrt hn
    have heC : (Real.sqrt ((j.val : ℝ)+1-Real.cos θ^2) : ℂ)^2=
        (j.val : ℂ)+1-(Real.cos θ : ℂ)^2 := by exact_mod_cast he
    simp only [transversePoint,ite_eq_right hj,mul_pow,Complex.I_sq,parameters]
    rw [heC]
    ring
281
def transverseCycle (θ : ℝ) : Surface m := ⟨transversePoint m θ,transversePoint_mem m θ⟩
283
theorem transverseCycle_periodic : Function.Periodic (transverseCycle m) (2*Real.pi) := by
proof · 3 lines
  intro θ
  apply Subtype.ext
  simp only [transverseCycle,transversePoint,Real.cos_add_two_pi,Real.sin_add_two_pi]
288
theorem transversePoint_smooth : ContDiff ℝ ∞ (transversePoint m) := by
proof · 16 lines
  apply ContDiff.prodMk
  · exact Complex.ofRealCLM.contDiff.comp Real.contDiff_cos
  · apply contDiff_pi.mpr
    intro j
    by_cases hj : j=0
    · simp only [ite_eq_left hj]
      exact contDiff_const.mul (Complex.ofRealCLM.contDiff.comp Real.contDiff_sin)
    · simp only [ite_eq_right hj]
      apply contDiff_const.mul
      apply Complex.ofRealCLM.contDiff.comp
      have hp : ∀ θ : ℝ,0<(j.val : ℝ)+1-Real.cos θ^2 := by
        intro θ
        have hjp : 0<j.val := Fin.pos_iff_ne_zero.mpr hj
        have hr : 0<(j.val : ℝ) := by exact_mod_cast hjp
        nlinarith [Real.cos_sq_le_one θ]
      exact (contDiff_const.sub (Real.contDiff_cos.pow 2)).sqrt (fun θ => (hp θ).ne')
306
theorem transverseCycle_smooth : ContMDiff 𝓘(ℝ,ℝ) 𝓘(ℝ,RealModel) ∞ (transverseCycle m) := by
proof · 3 lines
  intro θ
  rw [← contMDiffWithinAt_univ]
  exact real_contMDiffWithinAt_of_ambient (parameters m) (transversePoint_smooth m).contDiffAt.contDiffWithinAt
311
@[simp] theorem transversePoint_first (θ : ℝ) : (transversePoint m θ).1=(Real.cos θ : ℂ) := rfl
313
@[simp] theorem transversePoint_zero (θ : ℝ) : (transversePoint m θ).2 0=Complex.I*(Real.sin θ : ℂ) := by
proof · 1 line
  simp [transversePoint]
316
@[simp] theorem transversePoint_one (θ : ℝ) : (transversePoint m θ).2 1=
    Complex.I*(Real.sqrt (1+Real.sin θ^2) : ℂ) := by
proof · 4 lines
  have he : (2:ℝ)-Real.cos θ^2=1+Real.sin θ^2 := by nlinarith [Real.sin_sq_add_cos_sq θ]
  have hj : (1 : Fin (m+2))≠0 := by simp
  simp only [transversePoint,ite_eq_right hj,Fin.val_one,Nat.cast_one,one_add_one_eq_two]
  rw [he]
323
theorem transverseCycle_coordinate (θ : ℝ) :
    annulusCoordinate m (transverseCycle m θ).val=
      Complex.I*((Real.sin θ+Real.sqrt (1+Real.sin θ^2) : ℝ) : ℂ) := by
proof · 2 lines
  change (transversePoint m θ).2 0+(transversePoint m θ).2 1=_
  rw [transversePoint_zero,transversePoint_one,Complex.ofReal_add,mul_add]
329
theorem transverseCycle_branch_iff (θ : ℝ) :
    transverseCycle m θ∈annulusBranch m ↔ 0<Real.cos θ := by
proof · 24 lines
  constructor
  · intro h
    exact h.2.1
  · intro h
    have hb : baseSquare (annulusCoordinate m (transverseCycle m θ).val)=(Real.cos θ : ℂ)^2 :=
      baseSquare_coordinate m (transversePoint_mem m θ)
    refine ⟨⟨annulusCoordinate_ne_zero m (transversePoint_mem m θ),?_,?_⟩,h,?_⟩
    · rw [hb,← Complex.ofReal_pow,Complex.ofReal_re]
      positivity
    · intro j hj
      rw [hb]
      simp only [parameters,Complex.sub_re,Complex.add_re,Complex.natCast_re,
        Complex.one_re,← Complex.ofReal_pow,Complex.ofReal_re]
      have hjp : (1:ℝ)<j.val := by exact_mod_cast hj
      nlinarith [Real.cos_sq_le_one θ]
    · intro j hj
      have hj0 : j≠0 := by intro he; subst j; simp at hj
      change 0<(if j=0 then Complex.I*(Real.sin θ : ℂ)
        else Complex.I*(Real.sqrt ((j.val : ℝ)+1-Real.cos θ^2) : ℂ)).im
      simp only [ite_eq_right hj0,Complex.mul_im,Complex.I_re,Complex.I_im,
        zero_mul,one_mul,zero_add,Complex.ofReal_re]
      apply Real.sqrt_pos.mpr
      have hjp : (1:ℝ)<j.val := by exact_mod_cast hj
      nlinarith [Real.cos_sq_le_one θ]
356
def transverseRadius (θ : ℝ) : ℝ := Real.sin θ+Real.sqrt (1+Real.sin θ^2)
358
theorem transverseRadius_pos (θ : ℝ) : 0<transverseRadius θ := by
proof · 5 lines
  have hp : 0<1+Real.sin θ^2 := by positivity
  have hs := Real.sq_sqrt hp.le
  have hn := Real.sqrt_pos.mpr hp
  unfold transverseRadius
  nlinarith
365
theorem transverseCycle_coord_norm (θ : ℝ) :
    ‖annulusCoordinate m (transverseCycle m θ).val‖=transverseRadius θ := by
proof · 3 lines
  rw [transverseCycle_coordinate,norm_mul,Complex.norm_I,one_mul,Complex.norm_real,
    Real.norm_eq_abs]
  exact abs_of_pos (transverseRadius_pos θ)
371
theorem transverseRadius_smooth : ContDiff ℝ ∞ transverseRadius :=
proof · 2 lines
  Real.contDiff_sin.add ((contDiff_const.add (Real.contDiff_sin.pow 2)).sqrt
    (fun θ => ne_of_gt (by positivity)))
375
theorem transverseRadius_lower : transverseRadius (-(Real.pi/2))<1/2 := by
proof · 4 lines
  have hs : (Real.sqrt 2)^2=2 := Real.sq_sqrt (by norm_num)
  have hn : 0≤Real.sqrt 2 := Real.sqrt_nonneg 2
  norm_num [transverseRadius,Real.sin_neg,Real.sin_pi_div_two]
  nlinarith
381
theorem transverseRadius_upper : 3/2<transverseRadius (Real.pi/2) := by
proof · 4 lines
  have hs : (Real.sqrt 2)^2=2 := Real.sq_sqrt (by norm_num)
  have hn : 0≤Real.sqrt 2 := Real.sqrt_nonneg 2
  norm_num [transverseRadius,Real.sin_pi_div_two]
  nlinarith
398
def curveOneForm (α : ManifoldOneForm E M) (q : ℝ → M) (t : ℝ) : ℝ :=
body · 1 line
  α (q t) (mfderiv 𝓘(ℝ,ℝ) 𝓘(ℝ,E) q t 1)
401
theorem curveOneForm_smooth {α : ManifoldOneForm E M} {q : ℝ → M}
    (hα : SmoothOneFormFamily (fun _ : ℝ => α))
    (hq : ContMDiff 𝓘(ℝ,ℝ) 𝓘(ℝ,E) ∞ q) : ContDiff ℝ ∞ (curveOneForm α q) := by
proof · 5 lines
  rw [contDiff_iff_contDiffAt]
  intro t
  have hs := (euclideanPullbackOneForm_contDiffAt (α := fun _ => α) (g := q) (p := (0,t)) hα (hq t)).comp t
    (contDiffAt_const.prodMk contDiffAt_id)
  exact hs.clm_apply contDiffAt_const
411
theorem curveOneForm_scalar {f : M → ℝ} (hf : ContMDiff 𝓘(ℝ,E) 𝓘(ℝ,ℝ) ∞ f)
    {q : ℝ → M} (hq : ContMDiff 𝓘(ℝ,ℝ) 𝓘(ℝ,E) ∞ q) (t : ℝ) :
    curveOneForm (manifoldScalarDifferential (E := E) f) q t=deriv (f ∘ q) t := by
proof · 3 lines
  have hd := mfderiv_comp t (hf.mdifferentiableAt (by simp)) (hq.mdifferentiableAt (by simp))
  rw [mfderiv_eq_fderiv] at hd
  exact (congrArg (fun D : ℝ →L[ℝ] ℝ => D 1) hd).symm
419
theorem curveOneForm_pushforward_scalar
    (e : PartialDiffeomorph 𝓘(ℝ,E) 𝓘(ℝ,F) M N ∞)
    {f : M → ℝ} (hf : ContMDiff 𝓘(ℝ,E) 𝓘(ℝ,ℝ) ∞ f)
    {q : ℝ → N} (hq : ContMDiff 𝓘(ℝ,ℝ) 𝓘(ℝ,F) ∞ q)
    {t : ℝ} (ht : q t∈e.target) :
    curveOneForm (handlePushforwardOneForm e (manifoldScalarDifferential (E := E) f)) q t=
      deriv (f ∘ e.symm ∘ q) t := by
proof · 11 lines
  have hi := e.symm.mdifferentiableAt (by simp) ht
  have hq' := hq.mdifferentiableAt (x := t) (by simp)
  have hd₁ := mfderiv_comp t hi hq'
  have hd₂ := mfderiv_comp t (hf.mdifferentiableAt (by simp)) (hi.comp t hq')
  rw [mfderiv_eq_fderiv] at hd₂
  rw [hd₁] at hd₂
  change (extendManifoldOneForm (E := F) e.target
    (manifoldPullbackOneForm (E := E) (F := F) (fun _ => manifoldScalarDifferential (E := E) f) e.symm 0) (q t))
      (mfderiv 𝓘(ℝ,ℝ) 𝓘(ℝ,F) q t 1)=_
  rw [extendManifoldOneForm_inside ht]
  exact (congrArg (fun D : ℝ →L[ℝ] ℝ => D 1) hd₂).symm
447
def transverseRealCoordinate (θ : ℝ) : RealModel :=
body · 1 line
  Complex.equivRealProdCLM (annulusCoordinate m (transverseCycle m θ).val)
450
def transverseStep (θ : ℝ) : ℝ := planeRadialStep (annulusWidth m) (transverseRealCoordinate m θ)
452
def dualAlongCycle (θ : ℝ) : ℝ := curveOneForm (compactDualForm m) (transverseCycle m) θ
454
theorem transverseRealCoordinate_smooth : ContDiff ℝ ∞ (transverseRealCoordinate m) :=
proof · 2 lines
  Complex.equivRealProdCLM.contDiff.comp
    (((annulusCoordinate m).restrictScalars ℝ).contDiff.comp (transversePoint_smooth m))
458
theorem transverseStep_smooth : ContDiff ℝ ∞ (transverseStep m) :=
proof · 1 line
  (planeRadialStep_smooth _).comp (transverseRealCoordinate_smooth m)
461
theorem dualAlongCycle_smooth : ContDiff ℝ ∞ (dualAlongCycle m) :=
proof · 1 line
  curveOneForm_smooth (compactDualForm_smooth m) (transverseCycle_smooth m)
464
theorem dualAlongCycle_zero {θ : ℝ} (hθ : Real.cos θ≤0) : dualAlongCycle m θ=0 := by
proof · 6 lines
  have ht : transverseCycle m θ∉(annulusDiffeomorph m).target := by
    rw [annulusDiffeomorph_target,transverseCycle_branch_iff]
    exact not_lt.mpr hθ
  change (extendManifoldOneForm (annulusDiffeomorph m).target _ (transverseCycle m θ)) _=0
  rw [extendManifoldOneForm_outside ht]
  rfl
472
theorem dualAlongCycle_deriv {θ : ℝ} (hθ : 0<Real.cos θ) :
    dualAlongCycle m θ=deriv (transverseStep m) θ := by
proof · 5 lines
  have ht : transverseCycle m θ∈(annulusDiffeomorph m).target := by
    rw [annulusDiffeomorph_target,transverseCycle_branch_iff]
    exact hθ
  exact curveOneForm_pushforward_scalar (annulusDiffeomorph m)
    (planeRadialStep_smooth _).contMDiff (transverseCycle_smooth m) ht
480
theorem transverseStep_lower : transverseStep m (-(Real.pi/2))=0 := by
proof · 4 lines
  apply planeRadialStep_zero (annulusWidth_pos m) (lt_trans (annulusWidth_lt m) (by norm_num))
  change ‖Complex.equivRealProdCLM.symm (Complex.equivRealProdCLM _)‖≤_
  rw [ContinuousLinearEquiv.symm_apply_apply,transverseCycle_coord_norm]
  linarith [transverseRadius_lower,annulusWidth_lt m]
486
theorem transverseStep_upper : transverseStep m (Real.pi/2)=1 := by
proof · 4 lines
  apply planeRadialStep_one (annulusWidth_pos m)
  change _≤‖Complex.equivRealProdCLM.symm (Complex.equivRealProdCLM _)‖
  rw [ContinuousLinearEquiv.symm_apply_apply,transverseCycle_coord_norm]
  linarith [transverseRadius_upper,annulusWidth_lt m]
492
theorem dualAlongCycle_integral_first :
    ∫ θ in -(Real.pi/2)..Real.pi/2,dualAlongCycle m θ=1 := by
proof · 8 lines
  have he := intervalIntegral.integral_eq_sub_of_hasDerivAt_of_le
    (by linarith [Real.pi_pos] : -(Real.pi/2)≤Real.pi/2)
    (transverseStep_smooth m).continuous.continuousOn
    (fun θ hθ => ?_)
    ((dualAlongCycle_smooth m).continuous.intervalIntegrable _ _)
  · simpa only [transverseStep_lower,transverseStep_upper,sub_zero] using he
  · rw [dualAlongCycle_deriv m (Real.cos_pos_of_mem_Ioo hθ)]
    exact ((transverseStep_smooth m).differentiable (by simp) θ).hasDerivAt
503
theorem dualAlongCycle_integral_second :
    ∫ θ in Real.pi/2..Real.pi+Real.pi/2,dualAlongCycle m θ=0 := by
proof · 7 lines
  calc
    _ = ∫ θ in Real.pi/2..Real.pi+Real.pi/2,(0:ℝ) := by
      apply intervalIntegral.integral_congr
      intro θ hθ
      rw [uIcc_of_le (by linarith [Real.pi_pos] : Real.pi/2≤Real.pi+Real.pi/2)] at hθ
      exact dualAlongCycle_zero m (Real.cos_nonpos_of_pi_div_two_le_of_le hθ.1 hθ.2)
    _ = 0 := by simp
513
theorem compactDualForm_period :
    ∫ θ in -(Real.pi/2)..Real.pi+Real.pi/2,
      curveOneForm (compactDualForm m) (transverseCycle m) θ=1 := by
proof · 4 lines
  have hi := (dualAlongCycle_smooth m).continuous
  change ∫ θ in -(Real.pi/2)..Real.pi+Real.pi/2,dualAlongCycle m θ=1
  rw [← intervalIntegral.integral_add_adjacent_intervals (b := Real.pi/2) (hi.intervalIntegrable _ _) (hi.intervalIntegrable _ _),
    dualAlongCycle_integral_first,dualAlongCycle_integral_second,add_zero]

Xet Storage Details

Size:
24.4 kB
·
Xet hash:
c0242ee28b103e316b364fd6782880fb7c7169dce9c67e56f7cfe5f4f0c63fd9

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.