File size: 5,561 Bytes
4a56cd6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 | import Mathlib
import OAI.Analysis.FourierExtension.SmoothCharts
import OAI.Analysis.FourierExtension.ConvexExtension
namespace OAI
/-! Local convex graph coordinates for curved surfaces. -/
open MeasureTheory
open scoped NNReal ENNReal ContDiff
noncomputable section
open Filter
open scoped Topology ContDiff
open MeasureTheory Set
open scoped ContDiff FourierTransform InnerProductSpace ENNReal
open MeasureTheory Set Filter Metric
open scoped ContDiff Topology
open Set Filter
namespace DiagonalExtension.SmoothLevel
abbrev Ambient := EuclideanSpace β (Fin 3)
abbrev Plane := EuclideanSpace β (Fin 2)
lemma tangent_finrank (L : Ambient βL[β] β) (hL : L β 0) :
Module.finrank β L.ker = 2 := by
have hL' : L.toLinearMap β 0 := by
intro he; apply hL; ext x; exact DFunLike.congr_fun he x
have hh := Module.Dual.finrank_ker_add_one_of_ne_zero hL'
have hdim : Module.finrank β Ambient = 3 := by simp [Ambient]
rw [hdim] at hh
omega
def tangentPlaneEquiv (L : Ambient βL[β] β) (hL : L β 0) : L.ker ββα΅’[β] Plane :=
((stdOrthonormalBasis β L.ker).reindex (finCongr (tangent_finrank L hL))).repr
end DiagonalExtension.SmoothLevel
namespace DiagonalExtension.LocalGraph
open SmoothLevel Set Filter
open scoped Topology
abbrev Plane := EuclideanSpace β (Fin 2)
abbrev Space := WithLp 2 (Plane Γ β)
def graph (Ο : Plane β β) (u : Plane) : Space := WithLp.toLp 2 (u,Ο u)
lemma hessian_comp_linear {V W : Type*} [NormedAddCommGroup V] [NormedSpace β V]
[NormedAddCommGroup W] [NormedSpace β W] {f : W β β} (hf : ContDiff β β f)
(L : V βL[β] W) (x v : V) :
(fderiv β (fderiv β (f β L)) x v) v =
(fderiv β (fderiv β f) (L x) (L v)) (L v) := by
have h := congrArg (fun B => B ![v,v])
(L.iteratedFDeriv_comp_right hf x (i := 2) (by exact WithTop.coe_le_coe.mpr le_top))
simpa only [iteratedFDeriv_two_apply, ContinuousMultilinearMap.compContinuousLinearMap_apply,
Matrix.cons_val_zero,Matrix.cons_val_one] using h
theorem exists_local_graph {S : Set E3} (hS : IsSurface S) {a : E3} (ha : a β S) :
β (A : Space βL[β] E3) (Ο : Plane β β) (c R : β) (V : Set E3),
0 < c β§ 0 < R β§ ContDiff β β Ο β§
(β x v, c * βvβ^2 β€ (fderiv β (fderiv β Ο) x v) v) β§
IsOpen V β§ a β V β§
S β© V β (fun u => a + A (graph Ο u)) '' Metric.closedBall 0 R := by
obtain β¨U,F,G,n,h,c,r,hU,haU,hF,hG,hreg,hF0,hG0,hn,hc,hr,hh0,hd0,
hh,hlower,hiff,hbdβ© := hS.exists_convex_chart ha
let K := (fderiv β F a).ker
let e : K ββα΅’[β] Plane := tangentPlaneEquiv (fderiv β F a) hreg
let L : (K Γ β) βL[β] E3 := kernelNormalEquiv (fderiv β F a) n hn
obtain β¨c',hc',Ο,hΟ,hΟh,hΟout,hΟcomp,hΟlowerβ© :=
ConvexNeighborhood.local_convex_extension Metric.isOpen_ball
(Metric.mem_ball_self hr) hh (fun v hv =>
lt_of_lt_of_le (mul_pos hc (sq_pos_of_ne_zero (norm_ne_zero_iff.mpr hv)))
(hlower 0 (Metric.mem_ball_self hr) v)) (by norm_num : (0:β)<1)
let Ο : Plane β β := Ο β e.symm
have hΟ : ContDiff β β Ο := hΟ.comp e.symm.toContinuousLinearEquiv.contDiff
have hΟlower (x v : Plane) : c' * βvβ^2 β€ (fderiv β (fderiv β Ο) x v) v := by
rw [show Ο = Ο β e.symm.toContinuousLinearEquiv.toContinuousLinearMap from rfl,
hessian_comp_linear hΟ]
simpa only [ContinuousLinearEquiv.coe_coe, LinearIsometryEquiv.coe_toContinuousLinearEquiv,
LinearIsometryEquiv.norm_map] using hΟlower (e.symm x) (e.symm v)
let A : Space βL[β] E3 :=
((WithLp.prodContinuousLinearEquiv 2 β Plane β).trans
(e.symm.toContinuousLinearEquiv.prodCongr (ContinuousLinearEquiv.refl β β))).trans L
obtain β¨s,hs,hseβ© := Metric.eventually_nhds_iff.mp hΟh
let R : β := min r s / 2
have hR : 0 < R := half_pos (lt_min hr hs)
have hRr : R < r := (half_lt_self (lt_min hr hs)).trans_le (min_le_left _ _)
have hRs : R < s := (half_lt_self (lt_min hr hs)).trans_le (min_le_right _ _)
let V : Set E3 := {y | βL.symm (y-a)β < R}
have hV : IsOpen V := isOpen_lt (by fun_prop) continuous_const
have haV : a β V := by simpa [V] using hR
refine β¨A,Ο,c',R,V,hc',hR,hΟ,hΟlower,hV,haV,?_β©
rintro y β¨hyS,hyVβ©
let z : K Γ β := L.symm (y-a)
have hzR : βzβ < R := hyV
have hzr : z β Metric.ball 0 r := by simpa only [Metric.mem_ball,dist_zero_right] using hzR.trans hRr
have hyEq : a + (z.1 : E3) + z.2 β’ n = y := by
have heq := L.apply_symm_apply (y-a)
change (z.1 : E3) + z.2 β’ n = y-a at heq
rw [add_assoc,heq]
abel
have hheight : z.2 = h z.1 := ((hiff z hzr).2.mp (by rwa [hyEq])).1
have hz1 : βz.1β < R := (norm_fst_le z).trans_lt hzR
have hpatch : Ο z.1 = h z.1 := hse (by simpa only [dist_zero_right] using hz1.trans hRs)
refine β¨e z.1,?_,?_β©
Β· simpa only [Metric.mem_closedBall,dist_zero_right,LinearIsometryEquiv.norm_map]
using hz1.le
Β· have heval : A (graph Ο (e z.1)) = L z := by
simp only [A,graph,ContinuousLinearEquiv.trans_apply,
WithLp.prodContinuousLinearEquiv_apply,ContinuousLinearEquiv.prodCongr_apply,
ContinuousLinearEquiv.refl_apply,Ο,Function.comp_apply,
LinearIsometryEquiv.coe_toContinuousLinearEquiv,LinearIsometryEquiv.symm_apply_apply]
rw [hpatch, β hheight]
change a + A (graph Ο (e z.1)) = y
rw [heval]
change a + ((z.1 : E3) + z.2 β’ n) = y
rwa [β add_assoc]
end DiagonalExtension.LocalGraph
end
end OAI
|