File size: 7,227 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 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 | import OAI.MeasureTheory.Falconer.Estimates.ComparableComplexRebin
import OAI.MeasureTheory.Falconer.Angular.ActualStationaryProductKernel
import OAI.MeasureTheory.Falconer.Angular.ActualFourStationarySupport
import OAI.MeasureTheory.Falconer.Angular.AngularComparableCarrier
namespace OAI
namespace PlanarFalconer
open Set MeasureTheory
open scoped ENNReal ContDiff
attribute [local instance] Classical.propDecidable
theorem uniform_actual_comparable_shell_rebin {Ξ¨ : β β β}
(hΞ¨ : ContDiff β β Ξ¨) (hsΞ¨ : β t, Ξ¨ t β 0 β t β Ioo (1/4:β) 4)
{sig : β} (hsig : 0 < sig) (K o : β) {J : β} (hJ : 0 < J) :
β H : β, 0 β€ H β§ β Nβ : β, β N β₯ Nβ,
β (Q : Fin 2 β DyadicSquare), (β l, (Q l).side = 1) β
β (Ο : Fin 2 β Measure Plane) [β l, IsFiniteMeasure (Ο l)],
(β l, Ο l (Q l).carrierαΆ = 0) β
β (m : Fin 2 β β β β) (q aβ tβ a d n v : β),
0 < q β aβ β€ a+n β v β€ tβ β v β€ N β
β (S : Fin 2 β Finset PolicyDescriptor) (k : Fin 2 β PolicyDescriptor β β),
(β l, remainingPolicyDescriptors (fun t => m l t-(t:β)/(N:β)) N q aβ tβ a β S l) β
(β l, (S l).card β€ (N+1)^3+1) β (β l, β t β S l, k l t β€ K) β
β L : β, (β l t, t β S l β descriptorLength t β€ L) β
β Lβ : β, (v:β)-(a+d:β) = 2*Lβ β (L:β) β€ Lβ β 10*sig*(N:β) β€ Lβ β
β (lam : Fin 2 β β) (i : Fin 2 β β) (hsp : Fin 2 β Plane β β),
(β l x, βhsp l xβ β€ 1) β
β A B : CellPath, A.length = a β B.length = a β
let Ξ² := fun l => inheritedCircleSymbol (S l) id (k l) (Q l) (Ο l) (m l)
N (lam l) sig J (i l) (hsp l)
let good := fun l => positiveDistanceGoodSet (Q l) (Ο l) (m l) N q (a+n) v (lam l) sig J (i l+1)
ββ row β sourceProductVertices (Q 0) (Q 1) (Ο 0) (Ο 1) A B d,
β col β sourceProductVertices (Q 0) (Q 1) (Ο 0) (Ο 1) A B d,
if Β¬ angularNear (Q 0) (Q 1) (a+d) row col then
β« x in angularLengthShell (a+n), angularStationarySpatialKernel (Ξ² 0) (Ξ² 1) o v Ξ¨ x
βangularFourCellMeasure (Q 0) (Q 1) (Ο 0) (Ο 1) row col
else 0ββ β€
(ENNReal.ofReal H * ENNReal.ofReal ((2:β)^(-((v:β)-(a+n:β))))) *
β row β sourceProductVertices (Q 0) (Q 1) (Ο 0) (Ο 1) A B n,
β col β sourceProductVertices (Q 0) (Q 1) (Ο 0) (Ο 1) A B n,
if angularSeparated (Q 0) (Q 1) (a+n) row col then
β«β» x in angularLengthShell (a+n),
(fourPairGood (good 0) (good 1)).indicator (distanceDifferenceKernel v) x
βangularFourCellMeasure (Q 0) (Q 1) (Ο 0) (Ο 1) row col
else 0 := by
obtain β¨H,hH,Nβ,hββ© := uniform_actual_stationary_product_kernel hΞ¨ hsΞ¨ hsig K o
obtain β¨Nβ,hββ© := uniform_actual_four_approximant_good hsig hJ
refine β¨H,hH,max Nβ Nβ,?_β©
intro N hN Q hQ Ο inst hcarry m q aβ tβ a d n v hq haβ ht hv S k hS hcard hK L hL
Lβ hvh hLL hLβ lam i hsp hspb A B hA hB
let Ξ² := fun l => inheritedCircleSymbol (S l) id (k l) (Q l) (Ο l) (m l)
N (lam l) sig J (i l) (hsp l)
let good := fun l => positiveDistanceGoodSet (Q l) (Ο l) (m l) N q (a+n) v (lam l) sig J (i l+1)
have hQp (l : Fin 2) : 0 < (Q l).side := by rw [hQ l]; norm_num
dsimp only
convert angular_complex_shell_rebin (Q 0) (Q 1) (hQ 0) (hQ 1) (Ο 0) (Ο 1) A B a d n hA hB
(fun row col => Β¬ angularNear (Q 0) (Q 1) (a+d) row col)
(angularStationarySpatialKernel (Ξ² 0) (Ξ² 1) o v Ξ¨) (distanceDifferenceKernel v)
(fourPairGood (good 0) (good 1))
(measurable_fourPairGood (measurable_positiveDistanceGoodSet _ _ _ _ _ _ _ _ _ _ _)
(measurable_positiveDistanceGoodSet _ _ _ _ _ _ _ _ _ _ _))
(ENNReal.ofReal H * ENNReal.ofReal ((2:β)^(-((v:β)-(a+n:β))))) (by finiteness) ?_ ?_ using 1
Β· congr 1
apply Finset.sum_congr rfl
intro row hr
apply Finset.sum_congr rfl
intro col hc
by_cases hg : Β¬ angularNear (Q 0) (Q 1) (a+d) row col <;> simp only [hg,βreduceIte,Ξ²]
Β· intro row hr col hc hfar
have hf := angular_comparable_far_ae (Q 0) (Q 1) (hQ 0) (hQ 1) (Ο 0) (Ο 1) (a+d) row col
(sourceProductVertices_subset _ _ _ _ _ _ a d hA hB hr)
(sourceProductVertices_subset _ _ _ _ _ _ a d hA hB hc) hfar
have hf' := ae_restrict_of_ae_restrict_of_subset (show angularLengthShell (a+n) β
angularLengthComparable from inter_subset_left) hf
filter_upwards [hf',ae_restrict_mem (measurable_angularLengthShell (a+n))] with x hx hs
have hl := angularLengthShell_lengths (a+n) hs
have hd : β l : Fin 2, (2:β)^(-(a+n:β):β) β€ β(![x 0,x 2] : Fin 2 β Plane) l-(![x 1,x 3] : Fin 2 β Plane) lβ := by
intro l
have hp : 0 < (2:β)^(-(a+n:β):β) := by positivity
fin_cases l
Β· change (2:β)^(-((a+n:β):β)) β€ βx 0-x 1β
rw [β dist_eq_norm]
linarith [hl.1.1]
Β· change (2:β)^(-((a+n:β):β)) β€ βx 2-x 3β
rw [β dist_eq_norm]
linarith [hl.2.1]
have hD : β l : Fin 2, sourceSymbolScale N sig L^2 β€
(2:β)^(v:β)*β(![x 0,x 2] : Fin 2 β Plane) l-(![x 1,x 3] : Fin 2 β Plane) lβ := by
intro l
apply sourceSymbolScale_far_frequency_le hsig.le N L hvh hLL hLβ
fin_cases l
Β· exact hx.1
Β· exact hx.2
have he := hβ N ((le_max_left _ _).trans hN) S (fun _ => id) k hcard hK L hL
Q hQp Ο m lam (fun _ => J) i hsp ![x 0,x 2] ![x 1,x 3]
(fun l => hspb l _) (fun l => hspb l _) v (a+n:β) hd hD
have hxvec : (![x 0,x 1,x 2,x 3] : Fin 4 β Plane) = x := by ext j; fin_cases j <;> rfl
simp only [Matrix.cons_val_zero,Matrix.cons_val_one,hxvec,β dist_eq_norm] at he
rw [β ofReal_norm]
have he' := ENNReal.ofReal_le_ofReal he
convert he' using 1
dsimp [distanceDifferenceKernel]
rw [β ENNReal.ofReal_mul hH,β ENNReal.ofReal_mul (mul_nonneg hH (by positivity))]
congr 1
ring
Β· intro row hr col hc hfar
let X : Fin 4 β Set Plane := ![((Q 0).descendant row.1).carrier,((Q 0).descendant col.1).carrier, ((Q 1).descendant row.2).carrier,((Q 1).descendant col.2).carrier]
have hs := hβ N ((le_max_right _ _).trans hN) Q hQ Ο hcarry m q aβ tβ a (a+n) v
hq haβ ht (Nat.le_add_right _ _) hv S k hS lam i hsp X
have hs' : βα΅ x β(angularFourCellMeasure (Q 0) (Q 1) (Ο 0) (Ο 1) row col).restrict
(angularLengthShell (a+n)), β (o : β) (w : β) (Ξ¨ : β β β),
(β t, Ξ¨ t β 0 β 0 < t) β x 0 β x 1 β x 2 β x 3 β
angularStationarySpatialKernel (Ξ² 0) (Ξ² 1) o w Ξ¨ x β 0 β
(x 0,x 1) β good 0 β§ (x 2,x 3) β good 1 := ae_restrict_of_ae hs
filter_upwards [hs',ae_restrict_mem (measurable_angularLengthShell (a+n))] with x hx hshell
have hl := angularLengthShell_lengths (a+n) hshell
have hp : 0 < 256*(2:β)^(-(a+n:β):β) := by positivity
exact hx o v Ψ (fun t ht => lt_trans (by norm_num) (hsΨ t ht).1)
(dist_pos.mp (hp.trans hl.1.1)) (dist_pos.mp (hp.trans hl.2.1))
end PlanarFalconer
end OAI
|