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