File size: 3,607 Bytes
4a56cd6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 | 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
|