Lean 4 ยท 4
declarations statementsfull
def diagonalSplitAction (x : M) (t : โ)
(q : TangentSpace ๐(โ,Model n) x ร TangentSpace ๐(โ,Model n) x) : โ := body ยท 1 line
splitNormalAction x t q.1 (0,q.2)lemma split_regular_legs_near {x : M} {p : TangentSpace ๐(โ,Model n) x} {t : โ}
(hleft : t โข p โ injectivityDomain x)
(hright : (1-t) โข (sprayFlow t (โจx,pโฉ : TangentBundle ๐(โ,Model n) M)).2 โ
injectivityDomain (sprayFlow t (โจx,pโฉ : TangentBundle ๐(โ,Model n) M)).1) :
โแถ v : TangentSpace ๐(โ,Model n) x in ๐ p, t โข v โ injectivityDomain x โง
(1-t) โข (sprayFlow t (โจx,vโฉ : TangentBundle ๐(โ,Model n) M)).2 โ
injectivityDomain (sprayFlow t (โจx,vโฉ : TangentBundle ๐(โ,Model n) M)).1 := by proof ยท 11 lines
have hscale : Continuous (fun v : TangentSpace ๐(โ,Model n) x => t โข v) := by fun_prop
have hโ : โแถ v : TangentSpace ๐(โ,Model n) x in ๐ p, t โข v โ injectivityDomain x :=
hscale.continuousAt.preimage_mem_nhds
((isOpen_injectivityDomain x).mem_nhds hleft)
have hZ := contMDiff_tangentScale.comp ((contMDiff_const (c := 1-t)).prodMk (contMDiff_spray_fiber (E := Model n) x t))
have hโ : โแถ v : TangentSpace ๐(โ,Model n) x in ๐ p,
(1-t) โข (sprayFlow t (โจx,vโฉ : TangentBundle ๐(โ,Model n) M)).2 โ
injectivityDomain (sprayFlow t (โจx,vโฉ : TangentBundle ๐(โ,Model n) M)).1 :=
(hZ.continuous.continuousAt (x := p)).preimage_mem_nhds
(isOpen_total_injectivityDomain.mem_nhds hright)
exact hโ.and hโlemma diagonalSplitAction_contDiffAt {x : M} {p : TangentSpace ๐(โ,Model n) x}
{t : โ} (hleft : t โข p โ injectivityDomain x)
(hright : (1-t) โข (sprayFlow t (โจx,pโฉ : TangentBundle ๐(โ,Model n) M)).2 โ
injectivityDomain (sprayFlow t (โจx,pโฉ : TangentBundle ๐(โ,Model n) M)).1) :
ContDiffAt โ โ (diagonalSplitAction x t) (p,p) := proof ยท 2 lines
(splitNormalAction_contDiffAt hleft hright).comp (p,p)
(contDiffAt_fst.prodMk (contDiffAt_const.prodMk contDiffAt_snd))lemma diagonalSplitAction_stationary {x : M} {p : TangentSpace ๐(โ,Model n) x}
{t : โ} (ht : 0<t) (ht1 : t<1) (hleft : t โข p โ injectivityDomain x)
(hright : (1-t) โข (sprayFlow t (โจx,pโฉ : TangentBundle ๐(โ,Model n) M)).2 โ
injectivityDomain (sprayFlow t (โจx,pโฉ : TangentBundle ๐(โ,Model n) M)).1)
(xi : TangentSpace ๐(โ,Model n) x) :
fderiv โ (diagonalSplitAction x t) (p,p) (0,xi)=0 := by proof ยท 33 lines
have hD := cost_start_gradient_of_injectivityDomain hright
rw [shifted_exp_endpoint] at hD
have hD' : HasMFDerivAt ๐(โ,Model n) ๐(โ,โ)
(fun b => dist b (riemannianExp x p)^2/2)
(sprayFlow t (โจx,pโฉ : TangentBundle ๐(โ,Model n) M)).1
(innerSL โ ((-(1-t)) โข (sprayFlow t (โจx,pโฉ : TangentBundle ๐(โ,Model n) M)).2)) := by
simpa only [cost,neg_smul] using hD
have H := spray_action_line_stationary x p xi t (1-t) (sub_pos.mpr ht1).ne' (riemannianExp x p) hD'
have hline : ContinuousAt (fun s : โ => p+s โข xi) 0 := by fun_prop
have hnear : โแถ s : โ in ๐ 0, t โข (p+s โข xi) โ injectivityDomain x := by
have hn := (split_regular_legs_near hleft hright).mono (fun _ h => h.1)
have hl : Tendsto (fun s : โ => p+s โข xi) (๐ 0) (๐ p) := by simpa only [ContinuousAt,zero_smul,add_zero] using hline
exact hl.eventually hn
have heq : (fun s : โ => diagonalSplitAction x t (p,p+s โข xi)) =แถ [๐ 0]
(fun s : โ => t*โp+s โข xiโ^2/2 +
dist (sprayFlow t (โจx,p+s โข xiโฉ : TangentBundle ๐(โ,Model n) M)).1 (riemannianExp x p)^2/2/(1-t)) := by
filter_upwards [hnear] with s hs
have hm := injectivityDomain_subset_minimizingVectors x hs
change dist x (riemannianExp x (t โข (p+s โข xi)))=โt โข (p+s โข xi)โ at hm
simp only [diagonalSplitAction,splitNormalAction,riemannianExp_zero,cost]
rw [hm,norm_smul,Real.norm_eq_abs,abs_of_pos ht]
rw [riemannianExp_smul]
field_simp
have hstat := H.congr_of_eventuallyEq heq
have hpโ : HasDerivAt (fun s : โ => (p,p+s โข xi)) (0,xi) 0 := by
convert! (hasDerivAt_const (0:โ) p).prodMk
((hasDerivAt_const (0:โ) p).add ((hasDerivAt_id (0:โ)).smul_const xi)) using 1
simp
have hf := ((diagonalSplitAction_contDiffAt hleft hright).differentiableAt (by simp)).hasFDerivAt
have hf' : HasFDerivAt (diagonalSplitAction x t)
(fderiv โ (diagonalSplitAction x t) (p,p)) (p,p+(0:โ) โข xi) := by
simpa only [zero_smul,add_zero] using hf
exact (hf'.comp_hasDerivAt (f := fun s : โ => (p,p+s โข xi)) 0 hpโ).unique hstatOutline
Xet Storage Details
- Size:
- 7.83 kB
- Xet hash:
- 719d7db0bca1172123dd4a610d0f3045318fc444cfdba3fa88165a93e6d21750
ยท
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.