File size: 4,867 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 | import OAI.MeasureTheory.Falconer.Shells.ActualComparableShellDistance
import OAI.MeasureTheory.Falconer.Measures.ComparableNormalization
namespace OAI
namespace PlanarFalconer
open Set MeasureTheory
open scoped ENNReal ContDiff
attribute [local instance] Classical.propDecidable
theorem uniform_actual_comparable_shell_normalized {Ξ¨ : β β β}
(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 : β β β) (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 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β β
β (Bβ : β) (Ξ΄ lam : β),
(β l, RegularizedProfileData (Q l) (Ο l) N Bβ Ξ΄ lam m) β a+n β€ N β
β (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)
N (lam) sig J (i l) (hsp l)
let D : Fin 2 β PositiveDistanceData := fun l =>
β¨Q l,Ο l,m,N,q,a+n,v,lam,sig,J,i l+1,[],[]β©
β((2:β)^(2*((v:β)-a))/(((2:β)^N)^(-m a))^4) β’
(β 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)β β€
H * ((2:β)^N)^(-2*(m (a+n)-(a+n:β)/N-(m a-(a:β)/N))+12*lam) *
((D 0).separatedMaximum (D 1) (sourceProductVertices (Q 0) (Q 1) (Ο 0) (Ο 1) A B n) (a+n)).toReal := by
obtain β¨H,hH,Nβ,hββ© := uniform_actual_comparable_shell_distance hΞ¨ hsΞ¨ hsig K o hJ
let C : ββ₯0β := ENNReal.ofReal H*binKernelConstant*257025537024256*4096
have hC : C β β€ := by
dsimp only [C]
exact ENNReal.mul_ne_top
(ENNReal.mul_ne_top (ENNReal.mul_ne_top ENNReal.ofReal_ne_top binKernelConstant_ne_top) (by norm_num))
(by norm_num)
refine β¨C.toReal,ENNReal.toReal_nonneg,max 1 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β Bβ Ξ΄ lam hd hp i hsp hspb A B hA hB
let D : Fin 2 β PositiveDistanceData := fun l =>
β¨Q l,Ο l,m,N,q,a+n,v,lam,sig,J,i l+1,[],[]β©
have hNp : 0 < N := lt_of_lt_of_le (by norm_num : 0 < 1) ((le_max_left _ _).trans hN)
have he := hβ N ((le_max_right _ _).trans hN) Q hQ Ο 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
have hc := sourceProductVertices_profile_count (Q 0) (Q 1) (hQ 0) (hQ 1) (Ο 0) (Ο 1)
N Bβ Ξ΄ lam m m (hd 0) (hd 1) A B a n hA hB hp
have hcc : ((sourceProductVertices (Q 0) (Q 1) (Ο 0) (Ο 1) A B n).card:β) β€
4096*((2:β)^N)^(2*(m (a+n)-m a)+12*lam) := by
convert hc using 1
congr 2
ring
have hn := comparable_normalized_bound N hNp m a (a+n:β) v lam
(sourceProductVertices (Q 0) (Q 1) (Ο 0) (Ο 1) A B n).card
(ENNReal.ofReal H*binKernelConstant)
((D 0).separatedMaximum (D 1) (sourceProductVertices (Q 0) (Q 1) (Ο 0) (Ο 1) A B n) (a+n))
_ (by simpa only [Nat.cast_add] using hcc) (by simpa only [Nat.cast_add] using he)
have hmax := PositiveDistanceData.separatedMaximum_ne_top (D 0) (D 1)
(sourceProductVertices (Q 0) (Q 1) (Ο 0) (Ο 1) A B n) (a+n)
have hfin : C * ENNReal.ofReal (((2:β)^N)^(-2*(m (a+n)-(a+n:β)/N-(m a-(a:β)/N))+12*lam)) *
(D 0).separatedMaximum (D 1) (sourceProductVertices (Q 0) (Q 1) (Ο 0) (Ο 1) A B n) (a+n) β β€ :=
ENNReal.mul_ne_top (ENNReal.mul_ne_top hC ENNReal.ofReal_ne_top) hmax
simp only [Nat.cast_add] at hfin hn
have ht := ENNReal.toReal_mono hfin hn
have hrpow : 0 β€ ((2:β)^N)^(-2*(m ((a:β)+n)-((a:β)+n)/N-(m a-(a:β)/N))+12*lam) := by positivity
simpa only [β ofReal_norm,ENNReal.toReal_ofReal (norm_nonneg _),ENNReal.toReal_mul,
ENNReal.toReal_ofReal hrpow,C,D,Nat.cast_add] using ht
end PlanarFalconer
end OAI
|