lemmaboundedCTransform_perturbation_bound (v f : M→ᵇ ℝ) (t : ℝ) (x : M) :
|boundedCTransform (v+t • f) x-boundedCTransform v x|≤|t| *‖f‖ :=by
proof · 6
lines
haveH:= boundedCTransform_nonexpansive.norm_sub_le (v+t • f) v
have hp :=BoundedContinuousFunction.norm_coe_le_norm
(boundedCTransform (v+t • f)-boundedCTransform v) x
simp only [BoundedContinuousFunction.sub_apply,Real.norm_eq_abs] at hp
apply hp.trans
simpa only [NNReal.coe_one,one_mul,add_sub_cancel_left,norm_smul,Real.norm_eq_abs] usingH
lemmaboundedCTransform_perturbation_hasDerivAt (v f : M→ᵇ ℝ) {x y₀ : M}
(hy₀ : contactGap (boundedCTransform v) v x y₀=0)
(huniq : ∀ y, contactGap (boundedCTransform v) v x y=0→ y=y₀) :
HasDerivAt (funt : ℝ=> boundedCTransform (v+t • f) x) (-f y₀) 0:=by
proof · 33
lines
rw [hasDerivAt_iff_isLittleO,Asymptotics.isLittleO_iff]
intro ε hε
obtain ⟨δ,hδ,hcontrol⟩ := contact_gap_level_control v.continuous huniq f hε
havehden : 0<2*‖f‖+1:=by positivity
filter_upwards [Metric.ball_mem_nhds (0:ℝ) (div_pos hδ hden)] with t ht
haveht' : |t|<δ/(2*‖f‖+1) :=by simpa only [mem_ball,Real.dist_eq,sub_zero] using ht
havehtδ : |t| *(2*‖f‖+1)<δ := (lt_div_iff₀ hden).mp ht'
obtain ⟨y,hy⟩ := cTransform_gap_zero (v+t • f).continuous x
have hgap := cTransform_gap_nonneg v.continuous x y
have hbound := boundedCTransform_perturbation_bound v f t x
have hf :=BoundedContinuousFunction.norm_coe_le_norm f y
rw [Real.norm_eq_abs] at hf
havehtf : |t*f y|≤|t| *‖f‖ :=by rw [abs_mul]; exact mul_le_mul_of_nonneg_left hf (abs_nonneg t)
havehy' : boundedCTransform (v+t • f) x + cost x y+v y+t*f y=0:=by
simpa only [contactGap,BoundedContinuousFunction.add_apply,BoundedContinuousFunction.smul_apply,
smul_eq_mul,add_assoc,boundedCTransform_apply] using hy
havehsmall : contactGap (boundedCTransform v) v x y≤δ :=by
dsimp only [contactGap]
nlinarith [(abs_le.mp hbound).1,(abs_le.mp htf).1,abs_nonneg t]
have hc := hcontrol y hsmall
have hrem := cTransform_gap_nonneg (v+t • f).continuous x y₀
change 0≤boundedCTransform (v+t • f) x+cost x y₀+(v+t • f) y₀ at hrem
simp only [BoundedContinuousFunction.add_apply,BoundedContinuousFunction.smul_apply,smul_eq_mul] at hrem
dsimp only [contactGap] at hy₀ hgap
change 0≤boundedCTransform v x+cost x y+v y at hgap
havehab : |t*(f y₀-f y)|≤|t| *ε :=by
rw [abs_mul]
exact mul_le_mul_of_nonneg_left hc (abs_nonneg t)
simp only [sub_zero,zero_smul,add_zero,smul_eq_mul,Real.norm_eq_abs]
rw [abs_le]
constructor
· nlinarith [mul_nonneg hε.le (abs_nonneg t)]
· nlinarith [(abs_le.mp hab).2]