math / data /lean /OAI /MeasureTheory /FalconerCompletion /Recursion /PrefixShellLeSourceShellSuccessor.lean
Download data/lean/OAI/MeasureTheory/FalconerCompletion/Recursion/PrefixShellLeSourceShellSuccessor.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 4.13 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/MeasureTheory/FalconerCompletion/Recursion/PrefixShellLeSourceShellSuccessor.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/MeasureTheory/FalconerCompletion/Recursion/PrefixShellLeSourceShellSuccessor.lean
-
curl -L -o PrefixShellLeSourceShellSuccessor.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/MeasureTheory/FalconerCompletion/Recursion/PrefixShellLeSourceShellSuccessor.lean
4.13 kB
| import Mathlib | |
| import OAI.MeasureTheory.Falconer.Fourier.DistanceSincSpectralIdentity | |
| import OAI.MeasureTheory.Falconer.Model | |
| import OAI.MeasureTheory.FalconerCompletion.Recursion.PrefixDescriptors | |
| import OAI.MeasureTheory.FalconerCompletion.Shells.PrefixShell | |
| import OAI.MeasureTheory.FalconerCompletion.Shells.WeightedMaskTransform | |
| namespace OAI | |
| /-! Recursive policies and quantitative depth estimates. -/ | |
| open _root_.OAI.PlanarFalconer | |
| section | |
| section | |
| open Set MeasureTheory | |
| open scoped ComplexConjugate RealInnerProductSpace | |
| namespace GraphLiteralSupport.CurrentFalconer.TreeND | |
| open Set MeasureTheory PlanarFalconer GraphLiteralSupport.Attempt4FullFar | |
| open scoped ContDiff | |
| variable {n : β} | |
| namespace PositiveDistanceState | |
| variable (e : PositiveDistanceState (n+1)) | |
| lemma prefixShell_le_sourceShell_successor [IsFiniteMeasure e.weightedDistance] (j : β) : | |
| e.prefixShell j β€ (2:β)^(-(e.a:β))* | |
| (β« r in Icc ((2:β)^(j+1:β)/2) (2*(2:β)^(j+1:β)), | |
| βAttempt4PrefixShell.weightedMaskTransformND e.prefixDescriptors e.prefixDescriptors | |
| e.prefixEndpointSmooth e.prefixEndpointSmooth (fun _ => 1) (fun _ => 1) | |
| e.Ο e.Ο (treeCell e.X) (treeCell e.Y) e.levelMass e.levelMass e.a rβ^2) := by | |
| simp_rw [e.prefix_shell_transform_exact] | |
| have hsub : Icc ((2:β)^j) ((2:β)^(j+1))βIcc ((2:β)^(j+1)/2) (2*(2:β)^(j+1)) := by | |
| intro r hr | |
| constructor | |
| Β· simpa only [pow_succ,mul_div_cancel_rightβ _ (by norm_num : (2:β) β 0)] using hr.1 | |
| Β· have hp : 0 β€ (2:β)^(j+1) := by positivity | |
| linarith [hr.2] | |
| have hi : Integrable (fun r => βcharFun e.weightedDistance rβ^2) | |
| (volume.restrict (Icc ((2:β)^(j+1)/2) (2*(2:β)^(j+1)))) := by | |
| simpa only [one_mul] using charFun_sq_integrable_finite e.weightedDistance | |
| (volume.restrict (Icc ((2:β)^(j+1)/2) (2*(2:β)^(j+1)))) 1 | |
| exact mul_le_mul_of_nonneg_left | |
| (integral_mono_measure (Measure.restrict_mono hsub le_rfl) | |
| (Filter.Eventually.of_forall (fun r => sq_nonneg βcharFun e.weightedDistance rβ)) hi) (by positivity) | |
| lemma prefixHigh_shell_regime {sig : β} (hsig : 0 < sig) | |
| (htN : e.t β€ e.N) (hwidth : e.a+100*e.q < e.t) (hq : sig*e.N β€ e.q) | |
| {v : β} (hv : v+1 β€ e.t) (hhigh : (e.t:β)-(v+1:β) < sig*e.N) : | |
| 20*sig*e.N β€ (v+1:β)-(e.a:β) β§ | |
| (((e.t-e.a)/2:β):β) β€ ((v+1:β)-(e.a:β))/2+sig*e.N β§ | |
| (v+1:β)-(e.a:β) β€ 2*e.N := by | |
| have hat : e.a β€ e.t := by omega | |
| have hw : (e.a:β)+100*e.q < e.t := by exact_mod_cast hwidth | |
| have hv' : ((v+1:β):β) β€ e.N := by exact_mod_cast hv.trans htN | |
| have hfloor : 2*(((e.t-e.a)/2:β):β) β€ (e.t:β)-e.a := by | |
| have hh := Nat.mul_div_le (e.t-e.a) 2 | |
| have hhc : (2:β)*(((e.t-e.a)/2:β):β) β€ ((e.t-e.a:β):β) := by exact_mod_cast hh | |
| simpa only [Nat.cast_sub hat] using hhc | |
| have hna : 0 β€ (e.a:β) := Nat.cast_nonneg _ | |
| have hnN : 0 β€ (e.N:β) := Nat.cast_nonneg _ | |
| have hsigN : 0 β€ sig*e.N := mul_nonneg hsig.le hnN | |
| constructor | |
| Β· linarith | |
| constructor <;> linarith | |
| lemma prefixShell_normalized_mass {B : β} {s sig : β} | |
| (hd : RegularizedProfileData e.Ο e.N B s sig e.mass) | |
| (ha : e.a β€ e.N) (hX : e.X.length=e.a) (hY : e.Y.length=e.a) : | |
| |(e.levelMass*e.levelMass)β»ΒΉ| * | |
| ((e.Ο.restrict (treeCell e.X)).prod (e.Ο.restrict (treeCell e.Y))).real univ β€ | |
| ((2:β)^e.N)^(2*(n+2:β)*sig) := by | |
| have h := e.normalized_cellPair_profile_mass hd ha hX hY | |
| have hm : |(e.levelMass*e.levelMass)β»ΒΉ| = e.levelMass^(-2:β€) := by | |
| rw [abs_of_nonneg (inv_nonneg.mpr (mul_self_nonneg e.levelMass))] | |
| simp [zpow_neg,pow_two] | |
| rw [hm] | |
| convert h using 1 <;> push_cast <;> congr 1 | |
| ring | |
| lemma prefixDescriptors_card_max (hN : 1 β€ e.N) (hq : 0 < e.q) : | |
| max 1 ((e.prefixDescriptors.card+e.prefixDescriptors.card:β):β) β€ 16*(e.N:β)^3 := by | |
| have hN' : (1:β) β€ e.N := by exact_mod_cast hN | |
| exact max_le (by nlinarith [one_le_powβ hN' (n:=3)]) (e.prefixDescriptors_card hN hq) | |
| end PositiveDistanceState | |
| end GraphLiteralSupport.CurrentFalconer.TreeND | |
| end | |
| end | |
| end OAI | |