File size: 1,595 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 | import Mathlib
namespace OAI
open MeasureTheory Metric
open scoped ENNReal
namespace AllScaleInverseVolume
local instance namedAtLeastTwoTwo : Nat.AtLeastTwo 2 := β¨Nat.le_refl 2β©
abbrev Ambient (d : β) := EuclideanSpace β (Fin d)
noncomputable local instance ambientSub (d : β) : Sub (Ambient d) where
sub vector other := WithLp.toLp (2 : ββ₯0β)
(WithLp.ofLp (p := (2 : ββ₯0β)) vector - WithLp.ofLp (p := (2 : ββ₯0β)) other)
noncomputable local instance ambientInner (d : β) : Inner β (Ambient d) where
inner vector other := β coordinate : Fin d,
inner β (WithLp.ofLp (p := (2 : ββ₯0β)) vector coordinate)
(WithLp.ofLp (p := (2 : ββ₯0β)) other coordinate)
noncomputable def gramVolume {d k : β} (u : Ambient d) (z : Fin k β Ambient d) : β :=
Real.sqrt (Matrix.gram β (fun i => z i-u)).det
noncomputable def inverseVolume {d : β} (u : Ambient d) (z : Fin (d/100) β Ambient d) : ββ₯0β :=
((ENNReal.ofReal (gramVolume u z))β»ΒΉ)^(d/100)
def BallBound {d : β} (Ξ½ : Measure (Ambient d)) : Prop :=
β (x : Ambient d) (r : β), 0 < r β
Ξ½ (ball x r) β€ ENNReal.ofReal (r^(((d:β)-1)/2))
def InverseVolumeStatement : Prop :=
β C : β, 0 < C β§ β dβ : β, β d : β, dβ β€ d β
β Ξ½ : Measure (Ambient d), IsProbabilityMeasure Ξ½ β BallBound Ξ½ β
β u : Ambient d, (β«β» z,inverseVolume u z βMeasure.pi (fun _ : Fin (d/100) => Ξ½)) β€
ENNReal.ofReal (Real.exp (C*d*(d/100:β)))
open Set
open scoped Topology NNReal
end AllScaleInverseVolume
end OAI
|