math / data /lean /ComparatorChallenges /ProjectionCounterexample.lean
introvoyz045's picture
Migrated from GitHub
4a56cd6 verified
Raw History Blame Contribute Delete
1.32 kB
import Mathlib.Analysis.Convex.Hull
import Mathlib.Analysis.InnerProductSpace.PiL2
import Mathlib.Analysis.InnerProductSpace.Projection.Basic
import Mathlib.Geometry.Euclidean.Volume.Measure
namespace OAI
noncomputable section
open Set MeasureTheory
open scoped RealInnerProductSpace
namespace ProjectionCounterexample
abbrev E (d : โ„•) := EuclideanSpace โ„ (Fin d)
def simplex (d : โ„•) : Set (E d) :=
convexHull โ„ (insert 0 (range fun i : Fin d => EuclideanSpace.single i (1 : โ„)))
def IsConvexBody {d : โ„•} (P : Set (E d)) : Prop :=
IsCompact P โˆง Convex โ„ P โˆง (interior P).Nonempty
def project {d : โ„•} (u : E d) : E d โ†’L[โ„] E d :=
(โ„ โˆ™ u)แ—ฎ.starProjection
def projectionVolume {d : โ„•} (P : Set (E d)) (u : E d) : โ„ :=
(Measure.euclideanHausdorffMeasure (d - 1) (project u '' P)).toReal
def projectionBody {d : โ„•} (P : Set (E d)) : Set (E d) :=
{x | โˆ€ u : E d, โ€–uโ€– = 1 โ†’ โŸชu, xโŸซ โ‰ค projectionVolume P u}
def bodyVolume {d : โ„•} (P : Set (E d)) : โ„ := (volume P).toReal
def ratio {d : โ„•} (P : Set (E d)) : โ„ :=
bodyVolume (projectionBody P) / bodyVolume P ^ (d - 1)
theorem universal_simplex_upper_bound_false :
ยฌ (โˆ€ P : Set (E 20), IsConvexBody P โ†’ ratio P โ‰ค ratio (simplex 20)) := by
sorry
end ProjectionCounterexample
end
end OAI