Download data/lean/OAI/MeasureTheory/Falconer/Geometry/ChartGeometry.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 3.11 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/MeasureTheory/Falconer/Geometry/ChartGeometry.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/MeasureTheory/Falconer/Geometry/ChartGeometry.lean
-
curl -L -o ChartGeometry.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/MeasureTheory/Falconer/Geometry/ChartGeometry.lean
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 | |