math / data /lean /OAI /MeasureTheory /Falconer /Geometry /ChartGeometry.lean
introvoyz045's picture
Migrated from GitHub
4a56cd6 verified
Raw History Blame Contribute Delete
3.11 kB
import OAI.MeasureTheory.Falconer.Angular.AngularChart
namespace OAI
/-!
# The failed perpendicular test in an actual spherical chart
The normalized affine chart stays within twice its tangent displacement
of the cap center. Its coordinate derivative therefore inherits the
uniform lower bound proved for the tangential sphere field.
-/
namespace Falconer
variable {E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E]
theorem norm_normalization_sub_le {w z : E} (hw : β€–wβ€– = 1) (hz : z β‰  0) :
β€–β€–z‖⁻¹ β€’ z - wβ€– ≀ 2*β€–z-wβ€– := by
have hzn : β€–zβ€– β‰  0 := norm_ne_zero_iff.mpr hz
have he : β€–z‖⁻¹ β€’ z - w = (z-w) + (β€–z‖⁻¹-1) β€’ z := by module
have hnorm : β€–(β€–z‖⁻¹-1) β€’ zβ€– = |β€–zβ€–-1| := by
rw [norm_smul,Real.norm_eq_abs]
calc
_ = |(β€–z‖⁻¹-1)*β€–zβ€–| := by rw [abs_mul,abs_of_nonneg (norm_nonneg z)]
_ = |1-β€–zβ€–| := by rw [sub_mul,inv_mul_cancelβ‚€ hzn,one_mul]
_ = _ := abs_sub_comm _ _
rw [he]
calc
_ ≀ β€–z-wβ€– + β€–(β€–z‖⁻¹-1) β€’ zβ€– := norm_add_le _ _
_ = β€–z-wβ€– + |β€–zβ€–-1| := by rw [hnorm]
_ ≀ β€–z-wβ€– + β€–z-wβ€– := by
exact add_le_add le_rfl (by simpa only [hw] using abs_norm_sub_norm_le z w)
_ = _ := by ring
theorem tangent_chart_nonzero {w h : E} (hw : β€–wβ€– = 1) (hh : inner ℝ w h = 0) :
w+h β‰  0 := by
intro he
have hi := congrArg (inner ℝ w) he
simp only [inner_add_right,real_inner_self_eq_norm_sq,hw,one_pow,hh,add_zero,
inner_zero_right] at hi
norm_num at hi
/-- A single coordinate direction works for every allowed point and
direction replacement in the discarded cell--cap term. -/
theorem perpendicular_failure_chart_nonstationary {wβ‚€ d : E}
(hwβ‚€ : β€–wβ‚€β€– = 1) {Ο„ : ℝ} (hΟ„ : 0 < Ο„)
(hbad : Ο„ < β€–perpendicularPart wβ‚€ dβ€–) :
βˆƒ t : E, β€–tβ€– = 1 ∧ inner ℝ wβ‚€ t = 0 ∧
βˆ€ (y v : E) (u : ℝ), inner ℝ wβ‚€ y = 0 β†’ β€–y+uβ€’tβ€– ≀ 1 β†’
β€–v-dβ€– + 4*β€–y+uβ€’tβ€–*β€–dβ€– ≀ Ο„/2 β†’
Ο„/4 ≀ |deriv (fun x => inner ℝ (normalizedLine (wβ‚€+y) t x) v) u| := by
obtain ⟨t,ht,htan,hfield⟩ := perpendicular_failure_nonstationary hwβ‚€ hΟ„ hbad
refine ⟨t,ht,htan,?_⟩
intro y v u hy hsmall herr
have hh : inner ℝ wβ‚€ (y+uβ€’t) = 0 := by
simp only [inner_add_right,real_inner_smul_right,hy,htan,mul_zero,add_zero]
have hne : (wβ‚€+y)+uβ€’t β‰  0 := by
rw [add_assoc]
exact tangent_chart_nonzero hwβ‚€ hh
have hnorm : β€–(wβ‚€+y)+uβ€’tβ€– ≀ 2 := by
rw [add_assoc]
exact (norm_add_le _ _).trans (by rw [hwβ‚€]; linarith)
have hnear : β€–normalizedLine (wβ‚€+y) t u - wβ‚€β€– ≀ 2*β€–y+uβ€’tβ€– := by
have hp := norm_normalization_sub_le hwβ‚€ hne
simpa only [normalizedLine,add_assoc,add_sub_cancel_left] using hp
have hfield' := hfield (normalizedLine (wβ‚€+y) t u) v
(normalizedLine_norm _ _ hne) (by
have hm := mul_le_mul_of_nonneg_right hnear (norm_nonneg d)
nlinarith)
exact normalizedLine_phase_nonstationary _ _ _ hne hnorm hΟ„.le hfield'
end Falconer
end OAI