File size: 4,077 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 | import OAI.Dynamics.StandardMap.StablePrefix
namespace OAI
open MeasureTheory Set
open scoped ENNReal BigOperators
open MeasureTheory Set Filter Metric
open scoped Topology ENNReal
namespace StandardMapEntropy
lemma real_axes_decomposition (s : β) : s=s.re β’ (1:β)+s.im β’ Complex.I := by
apply Complex.ext <;> simp
lemma row_axes_decomposition (row : β βL[β] β) (s : β) :
row s=s.re*row 1+s.im*row Complex.I := by
conv_lhs => rw [real_axes_decomposition s]
simp only [map_add,map_smul,smul_eq_mul]
lemma normalized_kernel_from_stable (row : β βL[β] β) (s : β) (D : β)
(hD : 0 < D) (hu : βsβ=1) (hs : |s.re| β€ 1/4)
(hrow : D/3 β€ |row 1|) (hsmall : |row s| β€ Dβ»ΒΉ) :
β (u : β) (e : β), u.im=1 β§ row u=0 β§
u=(s.im)β»ΒΉ β’ s+e β’ (1:β) β§ |e| β€ 6/D^2 := by
have him := vertical_im_lower s hu hs
have hsim : s.im β 0 := abs_pos.mp (by linarith : 0 < |s.im|)
have hr1 : row 1 β 0 := abs_pos.mp (by linarith : 0 < |row 1|)
let u : β := (-row Complex.I/row 1) β’ (1:β)+Complex.I
let e := -row s/(row 1*s.im)
refine β¨u,e,?_,?_,?_,?_β©
Β· simp [u]
Β· simp only [u,map_add,map_smul,smul_eq_mul]
field_simp
ring
Β· have haxes:=row_axes_decomposition row s
apply Complex.ext
Β· simp only [u,Complex.add_re,Complex.smul_re,Complex.one_re,smul_eq_mul,mul_one,Complex.I_re,add_zero]
dsimp [e]
field_simp
nlinarith
Β· simp only [u,Complex.add_im,Complex.smul_im,Complex.one_im,smul_eq_mul,mul_zero,Complex.I_im,zero_add,add_zero]
exact (inv_mul_cancelβ hsim).symm
Β· have hden : 0 < |row 1| *|s.im| := mul_pos (abs_pos.mpr hr1) (abs_pos.mpr hsim)
dsimp [e]
rw [abs_div,abs_neg,abs_mul]
apply (div_le_iffβ hden).mpr
have hprod : D/6 β€ |row 1| *|s.im| := by nlinarith
have hh := mul_le_mul_of_nonneg_left hprod (by positivity : 0 β€ 6/D^2)
have he : (6/D^2)*(D/6)=Dβ»ΒΉ := by field_simp
rw [he] at hh
exact hsmall.trans hh
lemma eligible_row_contraction (A : β β β βL[β] β) (s u : β) (e M D : β)
(B l : β) (_hl : 1 β€ l) (hlB : l β€ B) (hM : 1 < M)
(hu : βsβ=1) (hs : |s.re| β€ 1/4)
(heq : u=(s.im)β»ΒΉ β’ s+e β’ (1:β)) (he : |e| β€ 6/D^2)
(hD : M^((49/50:β)*(B:β)) β€ D)
(hstable : βA l sβ β€ 3*M^(-(47/50:β)*(l:β)))
(hup : βA lβ β€ M^(l:β)) :
βA l uβ β€ 12*M^(-(47/50:β)*(l:β)) := by
have hp : 0 < M := by linarith
have hDpos : 0 < D := (Real.rpow_pos_of_pos hp _).trans_le hD
have him:=vertical_im_lower s hu hs
have hi : |(s.im)β»ΒΉ| β€ 2 := by
rw [abs_inv]
rw [inv_eq_one_div]
apply (div_le_iffβ (by linarith : 0 < |s.im|)).mpr
linarith
have he' : |e| β€ 6*M^(-(49/25:β)*(B:β)) := by
calc
_ β€ 6/D^2 := he
_ β€ 6/(M^((49/50:β)*(B:β)))^2 := by gcongr
_ = _ := by
rw [β Real.rpow_natCast,β Real.rpow_mul hp.le,div_eq_mul_inv,β Real.rpow_neg hp.le]
congr 2
ring
have herror : |e| * M^(l:β) β€ 6*M^(-(47/50:β)*(l:β)) := by
calc
_ β€ 6*M^(-(49/25:β)*(B:β))*M^(l:β) := mul_le_mul_of_nonneg_right he' (Real.rpow_nonneg hp.le _)
_ = 6*M^(-(49/25:β)*(B:β)+(l:β)) := by rw [Real.rpow_add hp]; ring
_ β€ _ := by
apply mul_le_mul_of_nonneg_left (Real.rpow_le_rpow_of_exponent_le hM.le ?_) (by norm_num)
have hlR : (l:β) β€ B := by exact_mod_cast hlB
have hl0 : (0:β) β€ l := Nat.cast_nonneg l
linarith
rw [heq,map_add,map_smul,map_smul]
calc
_ β€ β(s.im)β»ΒΉ β’ A l sβ+βe β’ A l 1β := norm_add_le _ _
_ = |(s.im)β»ΒΉ| *βA l sβ+|e| *βA l 1β := by simp only [norm_smul,Real.norm_eq_abs]
_ β€ 2*(3*M^(-(47/50:β)*(l:β)))+|e| *M^(l:β) := by
apply add_le_add (mul_le_mul hi hstable (norm_nonneg _) (by norm_num))
apply mul_le_mul_of_nonneg_left _ (abs_nonneg _)
exact ((A l).le_opNorm 1).trans (by simpa using hup)
_ β€ _ := by linarith
end StandardMapEntropy
end OAI
|