File size: 5,127 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 | import Mathlib
import OAI.Geometry.CAT0Fillings.Calculus.ClosedBivariate
namespace OAI
section
open Set Filter MeasureTheory
open scoped Topology ENNReal NNReal
namespace CAT0Fillings.ChartGeometry
open ClosedCalculus
variable {X : Type*} [MetricSpace X] [MeasurableSpace X] [BorelSpace X]
[CompactSpace X] [Nonempty X] {k : β} {T : Functional X (k+1)}
{hT : IsMetricCurrent T} (q : ChartGeometry hT)
lemma closed_compact_bivariate {r : X β β} {K : ββ₯0} (hr : LipschitzWith K r)
{F : β Γ β β β} (hF : ContDiff β 1 F) (hs : HasCompactSupport F) (P : q.Sobolev) :
β Q : q.Sobolev,
(q.inclusion Q : X β β) =α΅[MassMeasure.currentMassMeasure hT]
(fun x => F (r x,q.inclusion P x)) β§
(q.closedGradient Q : _ β _) =α΅[q.atlasMeasure]
(fun w => fderiv β F (r (q.atlasParam w),q.inclusion P (q.atlasParam w)) (1,0) β’ q.gradient hr w +
fderiv β F (r (q.atlasParam w),q.inclusion P (q.atlasParam w)) (0,1) β’ q.closedGradient P w) := by
obtain β¨B,hBβ© := ContDiff.lipschitzWith_of_hasCompactSupport hs hF one_ne_zero
exact q.closed_bivariate hr hB (hasFDerivAt_binary (hF.differentiable one_ne_zero))
((hF.continuous_fderiv one_ne_zero).clm_apply continuous_const)
((hF.continuous_fderiv one_ne_zero).clm_apply continuous_const)
B.coe_nonneg (fun t => (binary_coeff_bound hB t).1) (fun t => (binary_coeff_bound hB t).2) P
lemma closed_bounded_bivariate {r : X β β} {K : ββ₯0} (hr : LipschitzWith K r)
{F : β Γ β β β} (hF : ContDiff β 1 F) (P : q.Sobolev) {M : β}
(hb : βα΅ x βMassMeasure.currentMassMeasure hT, β(r x,q.inclusion P x)β β€ M) :
β Q : q.Sobolev,
(q.inclusion Q : X β β) =α΅[MassMeasure.currentMassMeasure hT]
(fun x => F (r x,q.inclusion P x)) β§
(q.closedGradient Q : _ β _) =α΅[q.atlasMeasure]
(fun w => fderiv β F (r (q.atlasParam w),q.inclusion P (q.atlasParam w)) (1,0) β’ q.gradient hr w +
fderiv β F (r (q.atlasParam w),q.inclusion P (q.atlasParam w)) (0,1) β’ q.closedGradient P w) := by
let Ξ· : ContDiffBump (0 : β Γ β) :=
{ rIn := max M 0+1, rOut := max M 0+2,
rIn_pos := by positivity, rIn_lt_rOut := by linarith }
let G (t : β Γ β) := Ξ· t * F t
have hG : ContDiff β 1 G := Ξ·.contDiff.mul hF
have he (t : β Γ β) (ht : βtβ β€ M) : G =αΆ [π t] F := by
have hball : t β Metric.ball 0 Ξ·.rIn := by
simp only [Metric.mem_ball,dist_zero_right]
dsimp [Ξ·]
exact lt_of_le_of_lt (ht.trans (le_max_left _ _)) (lt_add_one _)
filter_upwards [Ξ·.eventuallyEq_one_of_mem_ball hball] with z hz
dsimp [G]
rw [hz,Pi.one_apply,one_mul]
obtain β¨Q,hQ,hQGβ© := q.closed_compact_bivariate hr hG (Ξ·.hasCompactSupport.mul_right) P
refine β¨Q,?_,?_β©
Β· filter_upwards [hQ,hb] with x hx hb
rw [hx,(he _ hb).eq_of_nhds]
Β· have ha : βα΅ w βq.atlasMeasure, β(r (q.atlasParam w),q.inclusion P (q.atlasParam w))β β€ M :=
q.atlas_preserving.quasiMeasurePreserving.ae (p := fun x : X => β(r x,q.inclusion P x)β β€ M) hb
filter_upwards [hQG,ha] with w hw ha
rw [hw,(he _ ha).fderiv_eq]
end CAT0Fillings.ChartGeometry
end
section
open Set Filter
open scoped Topology
namespace CAT0Fillings.ClosedCalculus
lemma positive_strip_extension {F : β Γ β β β}
(hF : ContDiffOn β 1 F {z | 0 < z.2}) {Ξ΅ N : β}
(he : 0 < Ξ΅) (hN : Ξ΅ β€ N) :
β G : β Γ β β β, ContDiff β 1 G β§
β z : β Γ β, z.2 β Icc Ξ΅ N β G =αΆ [π z] F := by
let c : β := (N+Ξ΅)/2
let Ξ· : ContDiffBump c :=
{ rIn := (N-Ξ΅)/2+Ξ΅/4, rOut := (N-Ξ΅)/2+Ξ΅/2,
rIn_pos := by nlinarith, rIn_lt_rOut := by nlinarith }
let G (z : β Γ β) := Ξ· z.2 * F z
have hs (z : β Γ β) (hz : z.2 β€ 0) : G =αΆ [π z] 0 := by
have ho : z.2 β Metric.closedBall c Ξ·.rOut := by
rw [Metric.mem_closedBall,Real.dist_eq]
dsimp [c,Ξ·]
have hneg : z.2-(N+Ξ΅)/2 < 0 := by nlinarith
rw [abs_of_neg hneg]
nlinarith
have ht : z.2 β tsupport Ξ· := by simpa only [Ξ·.tsupport_eq] using ho
have hzero := notMem_tsupport_iff_eventuallyEq.mp ht
filter_upwards [hzero.comp_tendsto continuous_snd.continuousAt] with w hw
change Ξ· w.2 * F w = 0
change Ξ· w.2 = 0 at hw
rw [hw,zero_mul]
have hG : ContDiff β 1 G := by
rw [contDiff_iff_contDiffAt]
intro z
by_cases hz : 0 < z.2
Β· exact ((Ξ·.contDiff.comp contDiff_snd).contDiffAt).mul
(hF.contDiffAt ((isOpen_lt continuous_const continuous_snd).mem_nhds hz))
Β· exact contDiffAt_const.congr_of_eventuallyEq (hs z (le_of_not_gt hz))
refine β¨G,hG,?_β©
intro z hz
have hb : z.2 β Metric.ball c Ξ·.rIn := by
rw [Metric.mem_ball,Real.dist_eq,abs_lt]
dsimp [c,Ξ·]
constructor <;> nlinarith [hz.1,hz.2]
have hone := Ξ·.eventuallyEq_one_of_mem_ball hb
filter_upwards [hone.comp_tendsto continuous_snd.continuousAt] with w hw
dsimp [G]
change Ξ· w.2 = 1 at hw
rw [hw,one_mul]
end CAT0Fillings.ClosedCalculus
end
end OAI
|