theoremforcingCoefficient_eq_energy {g : MetricField} {U : SetCoord}
(hg : SmoothPositiveOn g U) (z : Coord→ℝ) {p : Coord} (hp : p ∈U) :
forcingCoefficient g z p =
heightEnergy g z p / (2 * (g p).det * covHessian g z p 00) :=by
proof · 5
lines
unfold forcingCoefficient heightEnergy
have hd := metricDet_ne_zero hg hp
by_cases hh : covHessian g z p 00 = 0
· simp [hh]
· field_simp [hd, hh]
theoremforcingCoefficient_contDiffOn {g : MetricField} {z : Coord→ℝ}
{US : SetCoord} (hg : SmoothPositiveOn g U) (hz : ContDiffOnℝ∞ z U)
(hU : IsOpenU) (hSU : S⊆U)
(hxx : ∀ p ∈S, covHessian g z p 00≠0) :
ContDiffOnℝ∞ (forcingCoefficient g z) S:=by
proof · 4
lines
apply (contDiffOn_const.sub ((covectorNormSq_contDiffOn hg hU hz).mono hSU)).div
(contDiffOn_const.mul ((covHessian_contDiffOn hg hU hz 00).mono hSU))
intro p hp
exact mul_ne_zero (by norm_num) (hxx p hp)
theoremforcingCoefficient_abs_eq {g : MetricField} {z : Coord→ℝ}
{U : SetCoord} (hg : SmoothPositiveOn g U) {p : Coord} (hp : p ∈U)
(hE : 0≤ heightEnergy g z p) :
|forcingCoefficient g z p| =
heightEnergy g z p / (2 * (g p).det * |covHessian g z p 00|) :=by
proof · 2
lines
rw [forcingCoefficient_eq_energy hg z hp, abs_div, abs_of_nonneg hE]
simp only [abs_mul, abs_of_pos (hg.2 p hp).det_pos, abs_of_pos (bynorm_num : (0 : ℝ) < 2)]
theoremforcingCoefficient_bounds {g : MetricField} {z : Coord→ℝ}
{U : SetCoord} (hg : SmoothPositiveOn g U) {p : Coord} (hp : p ∈U)
{e E d D c C : ℝ} (he : 0 < e) (hd : 0 < d) (hc : 0 < c)
(hE : e ≤ heightEnergy g z p) (hEup : heightEnergy g z p ≤E)
(hdet : d ≤ (g p).det) (hdetup : (g p).det ≤D)
(hxx : c ≤ |covHessian g z p 00|) (hxxup : |covHessian g z p 00| ≤C) :
0 < e / (2 * D * C) ∧
e / (2 * D * C) ≤ |forcingCoefficient g z p| ∧
|forcingCoefficient g z p| ≤E / (2 * d * c) :=by
proof · 15
lines
havehDp : 0 < D:= hd.trans_le (hdet.trans hdetup)
havehCp : 0 < C:= hc.trans_le (hxx.trans hxxup)
havehgdet : 0 < (g p).det := hd.trans_le hdet
havehgxx : 0 < |covHessian g z p 00| := hc.trans_le hxx
havehden : 0 < 2 * (g p).det * |covHessian g z p 00| :=by positivity
havehdenlo : 2 * d * c ≤2 * (g p).det * |covHessian g z p 00| :=
mul_le_mul (mul_le_mul_of_nonneg_left hdet (by norm_num)) hxx hc.le
(by positivity)
havehdenup : 2 * (g p).det * |covHessian g z p 00| ≤2 * D * C:=
mul_le_mul (mul_le_mul_of_nonneg_left hdetup (by norm_num)) hxxup hgxx.le
(by positivity)
rw [forcingCoefficient_abs_eq hg hp (he.le.trans hE)]
refine ⟨by positivity, ?_, ?_⟩
· exact div_le_div₀ (he.le.trans hE) hE hden hdenup
· exact div_le_div₀ (he.le.trans (hE.trans hEup)) hEup (by positivity) hdenlo
theoremforcingCoefficient_one_sign {g : MetricField} {z : Coord→ℝ}
{US : SetCoord} (hg : SmoothPositiveOn g U) (hz : ContDiffOnℝ∞ z U)
(hU : IsOpenU) (hSU : S⊆U) (hS : IsPreconnectedS)
(hE : ∀ p ∈S, 0 < heightEnergy g z p)
(hxx : ∀ p ∈S, covHessian g z p 00≠0) :
∀ p ∈S, ∀ q ∈S, 0 < forcingCoefficient g z p * forcingCoefficient g z q :=by
proof · 19
lines
have hcont := (forcingCoefficient_contDiffOn hg hz hU hSU hxx).continuousOn
have hne (p : Coord) (hp : p ∈S) : forcingCoefficient g z p ≠0:=by
rw [forcingCoefficient_eq_energy hg z (hSU hp)]
exact div_ne_zero (hE p hp).ne'
(mul_ne_zero (mul_ne_zero (by norm_num) (metricDet_ne_zero hg (hSU hp))) (hxx p hp))
intro p hp q hq
rcases lt_or_gt_of_ne (hne p hp) with hpneg | hppos
· havehqneg : forcingCoefficient g z q < 0:=by
by_contra hn
obtain ⟨b, hb, heq⟩ := hS.intermediate_value₂ hp hq hcont continuousOn_const
hpneg.le (le_of_not_gt hn)
exact hne b hb heq
exact mul_pos_of_neg_of_neg hpneg hqneg
· havehqpos : 0 < forcingCoefficient g z q :=by
by_contra hn
obtain ⟨b, hb, heq⟩ := hS.intermediate_value₂ hq hp hcont continuousOn_const
(le_of_not_gt hn) hppos.le
exact hne b hb heq
exact mul_pos hppos hqpos