Download data/lean/OAI/MeasureTheory/Falconer/Graphs/GraphAmplitudeScale.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 3.61 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/MeasureTheory/Falconer/Graphs/GraphAmplitudeScale.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/MeasureTheory/Falconer/Graphs/GraphAmplitudeScale.lean
-
curl -L -o GraphAmplitudeScale.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/MeasureTheory/Falconer/Graphs/GraphAmplitudeScale.lean
3.61 kB
| import OAI.MeasureTheory.Falconer.Graphs.GraphAmplitudeDerivatives | |
| import OAI.MeasureTheory.Falconer.Geometry.InactiveBinScales | |
| namespace OAI | |
| namespace PlanarFalconer | |
| noncomputable def graphNonedgeDerivativeScale (N : β) (sig u : β) : β := | |
| (2:β)^u * ((2:β)^N)^(4*sig) | |
| theorem graphNonedgeDerivativeScale_one_le (N : β) {sig u : β} | |
| (hsig : 0 β€ sig) (hu : 0 β€ u) : 1 β€ graphNonedgeDerivativeScale N sig u := by | |
| apply one_le_mul_of_one_le_of_one_le | |
| Β· exact Real.one_le_rpow (by norm_num) hu | |
| Β· exact Real.one_le_rpow (one_le_powβ (by norm_num)) (by positivity) | |
| theorem source_symbol_le_nonedge_scale (N L : β) {sig u : β} | |
| (hsig : 0 β€ sig) (hu : 0 β€ u) (hL : (L:β) β€ u+2*sig*(N:β)) : | |
| sourceSymbolScale N sig L β€ graphNonedgeDerivativeScale N sig u := by | |
| have hN : (0:β) β€ N := Nat.cast_nonneg _ | |
| unfold sourceSymbolScale graphNonedgeDerivativeScale | |
| rw [mul_max_of_nonneg _ _ (by positivity)] | |
| apply max_le | |
| Β· simp only [mul_one,dyadic_power_real,β Real.rpow_add (by norm_num : (0:β)<2)] | |
| apply Real.rpow_le_rpow_of_exponent_le (by norm_num) | |
| nlinarith only [hu, mul_nonneg hsig hN] | |
| Β· rw [β Real.rpow_natCast (2:β) L] | |
| simp only [dyadic_power_real,β Real.rpow_add (by norm_num : (0:β)<2)] | |
| apply Real.rpow_le_rpow_of_exponent_le (by norm_num) | |
| nlinarith [mul_nonneg hsig hN] | |
| theorem graph_bin_le_nonedge_scale (N : β) {sig t u cβ : β} | |
| (hsig : 0 β€ sig) (hu : 0 β€ u) (_hc : 0 < cβ) | |
| (ht : t β€ u+2*sig*(N:β)) : | |
| max 1 (graphAngularScale N sig t cβ)β»ΒΉ β€ | |
| max 1 cββ»ΒΉ * graphNonedgeDerivativeScale N sig u := by | |
| have hE := graphNonedgeDerivativeScale_one_le N hsig hu | |
| have hN : (0:β) β€ N := Nat.cast_nonneg _ | |
| have hunc : (graphUncappedAngularScale N sig t)β»ΒΉ β€ graphNonedgeDerivativeScale N sig u := by | |
| simp only [graphUncappedAngularScale,graphNonedgeDerivativeScale,dyadic_power_real, | |
| β Real.rpow_add (by norm_num : (0:β)<2),β Real.rpow_neg_one, | |
| β Real.rpow_mul (by norm_num : (0:β)β€2)] | |
| apply Real.rpow_le_rpow_of_exponent_le (by norm_num) | |
| nlinarith [mul_nonneg hsig hN] | |
| have hM : 1 β€ max 1 cββ»ΒΉ := le_max_left _ _ | |
| have hEM : graphNonedgeDerivativeScale N sig u β€ max 1 cββ»ΒΉ * graphNonedgeDerivativeScale N sig u := | |
| le_mul_of_one_le_left (zero_le_one.trans hE) hM | |
| apply max_le (hE.trans hEM) | |
| unfold graphAngularScale | |
| by_cases hcap : cβ β€ graphUncappedAngularScale N sig t | |
| Β· rw [min_eq_left hcap] | |
| exact (le_max_right 1 cββ»ΒΉ).trans (le_mul_of_one_le_right (zero_le_one.trans hM) hE) | |
| Β· rw [min_eq_right (le_of_not_ge hcap)] | |
| exact hunc.trans hEM | |
| theorem graph_total_amplitude_scale (N L : β) {sig t u cβ : β} | |
| (hsig : 0 β€ sig) (hu : 0 β€ u) (hc : 0 < cβ) | |
| (ht : t β€ u+2*sig*(N:β)) (hL : (L:β) β€ u+2*sig*(N:β)) : | |
| 1+4*max 1 (graphAngularScale N sig t cβ)β»ΒΉ+sourceSymbolScale N sig L β€ | |
| (2+4*max 1 cββ»ΒΉ)*graphNonedgeDerivativeScale N sig u := by | |
| have hE := graphNonedgeDerivativeScale_one_le N hsig hu | |
| have hB := graph_bin_le_nonedge_scale N hsig hu hc ht | |
| have hD := source_symbol_le_nonedge_scale N L hsig hu hL | |
| nlinarith | |
| theorem graph_nonedge_scale_gain (N : β) (sig v p : β) : | |
| graphNonedgeDerivativeScale N sig (v-p) / | |
| ((2:β)^v*((2:β)^(-p)*((2:β)^N)^(30*sig))) = ((2:β)^N)^(-26*sig) := by | |
| simp only [graphNonedgeDerivativeScale,dyadic_power_real, | |
| β Real.rpow_add (by norm_num : (0:β)<2),β Real.rpow_sub (by norm_num : (0:β)<2)] | |
| congr 1 | |
| ring | |
| end PlanarFalconer | |
| end OAI | |