File size: 6,126 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 | import OAI.Probability.ProjectionMoments.WeightedCover
namespace OAI
noncomputable section
open MeasureTheory ProbabilityTheory Set Filter InnerProductSpace
open scoped ENNReal NNReal RealInnerProductSpace Topology
namespace ProjectionMoments
theorem positive_cap_domination :
β C : β, 0 < C β§ β d : β, 32 β€ d β
let k := d/16
let Ξ± : β := ((d:β)-1)/2
β (c : EuclideanSpace β (Fin d)), βcβ = 1 β
β r : β, 0 < r β r β€ 2 β
β K : (Fin k β EuclideanSpace β (Fin d)) Γ Label k β ββ₯0β,
Measurable K β (β z, K z β€ 1) β
β D : CapDictionary c r Ξ±, β a : D.I β β,
(β i, 0 β€ a i) β§ Summable (fun i => a i*(r/D.radius i)^Ξ±) β§
(β' i, a i*(r/D.radius i)^Ξ±) β€ Real.exp (C*d)*(capReference K c r).toReal^(1-1/(k:β)) β§
(capMeasure c r).withDensity (capKernelValue K) β€
Measure.sum (fun i => ENNReal.ofReal (a i) β’ capMeasure (D.center i) (D.radius i)) β§
(Measure.sum (fun i => ENNReal.ofReal (a i) β’ capMeasure (D.center i) (D.radius i))) Set.univ < β := by
obtain β¨C,hC,hdualβ© := cap_dual_estimate
refine β¨C,hC,?_β©
intro d hd k Ξ± c hc r hr hr2 K hK hK1
let : NeZero d := β¨by omegaβ©
have hdR : (32:β) β€ d := by exact_mod_cast hd
have hΞ± : 1 β€ Ξ± := by dsimp [Ξ±]; linarith
obtain β¨Dβ© := exists_capDictionary hc hr hΞ±
let := D.countable
let : IsProbabilityMeasure (capMeasure c r) := capMeasure_probability hc hr hr2
let P : D.I β Measure (EuclideanSpace β (Fin d)) := fun i => capMeasure (D.center i) (D.radius i)
let (i : D.I) : IsProbabilityMeasure (P i) :=
capMeasure_probability (D.center_norm i) (D.radius_pos i) ((D.radius_le i).trans hr2)
let b : D.I β β := fun i => (r/D.radius i)^Ξ±
have hb : β i, 1 β€ b i := fun i => Real.one_le_rpow
((one_le_div (D.radius_pos i)).mpr (D.radius_le i)) (zero_le_one.trans hΞ±)
let ΞΌ := (capMeasure c r).withDensity (capKernelValue K)
let : IsFiniteMeasure ΞΌ := isFiniteMeasure_withDensity (ne_of_lt
((lintegral_mono (capKernelValue_le_one hK1)).trans_lt (by simp)))
let B := Real.exp (C*d)*(capReference K c r).toReal^(1-1/(k:β))
have hkR : (1:β) < k := by
have hk : 2 β€ k := by dsimp [k]; omega
exact_mod_cast (show 1 < k by omega)
have hΞΈ : 0 β€ 1-1/(k:β) := by
have hpq := Real.HolderConjugate.conjExponent hkR
rw [one_div,hpq.one_sub_inv]
exact inv_nonneg.mpr hpq.symm.pos.le
have hqtop : capReference K c r β β := ne_of_lt ((capReference_le_one hK1 c r).trans_lt (by simp))
have hB : ENNReal.ofReal B = ENNReal.ofReal (Real.exp (C*d))* (capReference K c r)^(1-1/(k:β)) := by
rw [ENNReal.ofReal_mul (Real.exp_pos _).le, β ENNReal.ofReal_rpow_of_nonneg ENNReal.toReal_nonneg hΞΈ,
ENNReal.ofReal_toReal hqtop]
have htest : β h : EuclideanSpace β (Fin d) β ββ₯0β, Measurable h β
(β H : ββ₯0, β x, h x β€ H) β
(β i, β«β» x, h x βP i β€ ENNReal.ofReal (b i)) β β«β» x, h x βΞΌ β€ ENNReal.ofReal B := by
intro h hh _ hhD
rw [hB,lintegral_withDensity_eq_lintegral_mul _ (measurable_capKernelValue hK) hh]
simp only [Pi.mul_apply]
simpa only [mul_comm] using hdual d hd c hc r hr hr2 D K hK hK1 h hh hhD
obtain β¨a,ha,has,hcost,hdomβ© := Weighted.measure_domination_nonneg ΞΌ P hb D.proper
(show 0 β€ B by positivity) htest
refine β¨D,a,ha,has,hcost,hdom,?_β©
rw [Measure.sum_apply _ MeasurableSet.univ]
simp only [Measure.smul_apply,measure_univ,smul_eq_mul,mul_one]
have has' : Summable a := Summable.of_nonneg_of_le ha
(fun i => by simpa using mul_le_mul_of_nonneg_left (hb i) (ha i)) has
rw [β ENNReal.ofReal_tsum_of_nonneg ha has']
exact ENNReal.ofReal_lt_top
lemma capReference_sum_le_one {E : Type*} [NormedAddCommGroup E] [InnerProductSpace β E]
[FiniteDimensional β E] [MeasurableSpace E] [BorelSpace E]
{k : β} {J : Type*} [Fintype J]
(K : J β (Fin k β E) Γ Label k β ββ₯0β) (hK : β j, Measurable (K j))
(hKsum : β z, β j, K j z β€ 1) (c : E) (r : β) : β j, capReference (K j) c r β€ 1 := by
classical
simp only [capReference]
rw [β lintegral_finsetSum _ (fun j _ => by fun_prop)]
calc
_ = β«β» X, β«β» z, β j, K j (X,capReferenceLabel c r X z) βunitBallLaw k
βMeasure.pi (fun _ => stdGaussian E) := by
apply lintegral_congr
intro X
exact (lintegral_finsetSum _ (fun j _ => by fun_prop)).symm
_ β€ β«β» X, β«β» z : Label k, (1 : ββ₯0β) βunitBallLaw k
βMeasure.pi (fun _ : Fin k => stdGaussian E) :=
lintegral_mono (fun X => lintegral_mono (fun z => hKsum _))
_ = 1 := by simp
theorem positive_family_cap_domination :
β C : β, 0 < C β§ β d : β, 32 β€ d β
let k := d/16
let Ξ± : β := ((d:β)-1)/2
β (c : EuclideanSpace β (Fin d)), βcβ = 1 β
β r : β, 0 < r β r β€ 2 β β N : β,
β K : Fin N β (Fin k β EuclideanSpace β (Fin d)) Γ Label k β ββ₯0β,
(β j, Measurable (K j)) β (β z, β j, K j z β€ 1) β
(β j, capReference (K j) c r) β€ 1 β§
β j, β D : CapDictionary c r Ξ±, β a : D.I β β,
(β i, 0 β€ a i) β§ Summable (fun i => a i*(r/D.radius i)^Ξ±) β§
(β' i, a i*(r/D.radius i)^Ξ±) β€ Real.exp (C*d)*(capReference (K j) c r).toReal^(1-1/(k:β)) β§
(capMeasure c r).withDensity (capKernelValue (K j)) β€
Measure.sum (fun i => ENNReal.ofReal (a i) β’ capMeasure (D.center i) (D.radius i)) β§
(Measure.sum (fun i => ENNReal.ofReal (a i) β’ capMeasure (D.center i) (D.radius i))) Set.univ < β := by
obtain β¨C,hC,hβ© := positive_cap_domination
refine β¨C,hC,?_β©
intro d hd k Ξ± c hc r hr hr2 N K hK hKsum
refine β¨capReference_sum_le_one K hK hKsum c r,?_β©
intro j
apply h d hd c hc r hr hr2 (K j) (hK j)
intro z
exact (Finset.single_le_sum (fun i _ => bot_le) (Finset.mem_univ j)).trans (hKsum z)
end ProjectionMoments
end
end OAI
|