File size: 4,085 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 | import OAI.MeasureTheory.Falconer.Angular.AngularLengthPartition
namespace OAI
namespace PlanarFalconer
open Set Metric
theorem angularLengthShell_cover {x : Fin 4 β Plane} {a h : β}
(hc : x β angularLengthComparable)
(hupper : max (dist (x 0) (x 1)) (dist (x 2) (x 3)) β€ 2*(2:β)^(-(a:β)))
(hfar : 16*(2:β)^(-(h:β)) < max (dist (x 0) (x 1)) (dist (x 2) (x 3))) :
β b β Finset.Icc (a+9) (h+5), x β angularLengthShell b := by
let d := max (dist (x 0) (x 1)) (dist (x 2) (x 3))
have hd : 0 < d := (by positivity : 0 < 16*(2:β)^(-(h:β))).trans hfar
obtain β¨n,hnlo,hnhiβ© := exists_displacement_depth hd
have hpow (k : β) : (2:β)^(k-(n:β)-10) = (2:β)^k*(2:β)^(-((n:β)+10)) := by
rw [show k-(n:β)-10 = k+(-((n:β)+10)) by ring,Real.rpow_add (by norm_num : (0:β) < 2)]
have haexp : (2:β)^(-(n:β)-1) < (2:β)^(1-(a:β)) := by
have he : (2:β)^(1-(a:β)) = 2*(2:β)^(-(a:β)) := by
rw [sub_eq_add_neg,Real.rpow_add (by norm_num : (0:β) < 2),Real.rpow_one]
rw [he]
exact hnlo.trans_le hupper
have hhexp : (2:β)^(4-(h:β)) < (2:β)^(-(n:β)) := by
have he : (2:β)^(4-(h:β)) = 16*(2:β)^(-(h:β)) := by
rw [sub_eq_add_neg,Real.rpow_add (by norm_num : (0:β) < 2)]
norm_num
rw [he]
exact hfar.trans_le hnhi
have haR := (Real.rpow_lt_rpow_left_iff (by norm_num : (1:β) < 2)).mp haexp
have hhR := (Real.rpow_lt_rpow_left_iff (by norm_num : (1:β) < 2)).mp hhexp
have haZ : (a:β€)-2 < n := by exact_mod_cast (show (a:β)-2 < (n:β) by linarith)
have hhZ : n < (h:β€)-4 := by exact_mod_cast (show (n:β) < (h:β)-4 by linarith)
have hb0 : 0 β€ n+10 := by omega
let b := (n+10).toNat
have hbZ : (b:β€) = n+10 := Int.toNat_of_nonneg hb0
have hbR : (b:β) = (n:β)+10 := by exact_mod_cast hbZ
refine β¨b,Finset.mem_Icc.mpr β¨by omega,by omegaβ©,hc,?_,?_β©
Β· have he : (2:β)^(-(n:β)-1) = 512*(2:β)^(-(b:β)) := by
rw [hbR,show -(n:β)-1 = 9-(n:β)-10 by ring,hpow]
norm_num
rw [β he]
exact hnlo
Β· have he : (2:β)^(-(n:β)) = 1024*(2:β)^(-(b:β)) := by
rw [hbR,show -(n:β) = 10-(n:β)-10 by ring,hpow]
norm_num
rw [β he]
exact hnhi
theorem parent_cell_displacement_bound (Qβ Qβ : DyadicSquare)
(hQβ : Qβ.side = 1) (hQβ : Qβ.side = 1) (a : β) (A B : CellPath)
(hA : A.length = a) (hB : B.length = a) (x : Fin 4 β Plane)
(hxβ : x 0 β (Qβ.descendant A).carrier) (hxβ : x 1 β (Qβ.descendant A).carrier)
(hxβ : x 2 β (Qβ.descendant B).carrier) (hxβ : x 3 β (Qβ.descendant B).carrier) :
max (dist (x 0) (x 1)) (dist (x 2) (x 3)) β€ 2*(2:β)^(-(a:β)) := by
have h1 := (Qβ.descendant A).dist_le
(Qβ.descendant_side_pos (by rw [hQβ]; norm_num) A).le hxβ hxβ
have h2 := (Qβ.descendant B).dist_le
(Qβ.descendant_side_pos (by rw [hQβ]; norm_num) B).le hxβ hxβ
rw [Qβ.descendant_side,hA,hQβ] at h1
rw [Qβ.descendant_side,hB,hQβ] at h2
simp only [Real.rpow_neg (by norm_num : (0:β) β€ 2),Real.rpow_natCast,
one_div] at *
exact max_le h1 h2
theorem angular_far_max_displacement (Qβ Qβ : DyadicSquare)
(hQβ : Qβ.side = 1) (hQβ : Qβ.side = 1) (h : β) (row col : CellPath Γ CellPath)
(hr : row β (dyadicPaths h) ΓΛ’ (dyadicPaths h))
(hc : col β (dyadicPaths h) ΓΛ’ (dyadicPaths h))
(hfar : Β¬ angularNear Qβ Qβ h row col) (x : Fin 4 β Plane)
(hxβ : x 0 β (Qβ.descendant row.1).carrier) (hxβ : x 1 β (Qβ.descendant col.1).carrier)
(hxβ : x 2 β (Qβ.descendant row.2).carrier) (hxβ : x 3 β (Qβ.descendant col.2).carrier) :
16*(2:β)^(-(h:β)) < max (dist (x 0) (x 1)) (dist (x 2) (x 3)) := by
have hh := angular_far_displacement Qβ Qβ hQβ hQβ h row col hr hc hfar
(x 0) (x 1) (x 2) (x 3) hxβ hxβ hxβ hxβ
simpa only [Real.rpow_neg (by norm_num : (0:β) β€ 2),Real.rpow_natCast,
β div_eq_mul_inv,lt_max_iff] using hh
end PlanarFalconer
end OAI
|