math / data /lean /ComparatorChallenges /ProjectionVolume.lean
introvoyz045's picture
Migrated from GitHub
4a56cd6 verified
Raw History Blame Contribute Delete
2.11 kB
import Mathlib
namespace OAI
noncomputable section
open Set MeasureTheory
open scoped RealInnerProductSpace Pointwise
namespace Paper092
noncomputable def simplexConstant (d : โ„•) : โ„ :=
(d + 1) * (d : โ„) ^ d / d.factorial
abbrev Euclidean (n : โ„•) := EuclideanSpace โ„ (Fin n)
def normalHyperplane {n : โ„•} (u : Euclidean n) : Submodule โ„ (Euclidean n) :=
(Submodule.span โ„ ({u} : Set (Euclidean n)))แ—ฎ
def projectionVolume {n : โ„•} (K : Set (Euclidean n)) (u : Euclidean n) : ENNReal :=
(volume : Measure (normalHyperplane u))
((normalHyperplane u).orthogonalProjectionOnto '' K)
def brightness {n : โ„•} (K : Set (Euclidean n)) (u : Euclidean n) : โ„ :=
โ€–uโ€– * (projectionVolume K u).toReal
def projectionBody {n : โ„•} (K : Set (Euclidean n)) : Set (Euclidean n) :=
{y | โˆ€ u, โŸชu, yโŸซ โ‰ค brightness K u}
def normalizedProjectionVolume {n : โ„•} (K : Set (Euclidean n)) : โ„ :=
(volume (projectionBody K)).toReal / (volume K).toReal ^ (n - 1)
def standardSimplex (n : โ„•) : Set (Euclidean n) :=
convexHull โ„ (insert 0 (Set.range fun i : Fin n => EuclideanSpace.single i (1 : โ„)))
def firstBlock (x : Euclidean 20) : Euclidean 10 :=
WithLp.toLp 2 (fun i : Fin 10 => x (Fin.castAdd 10 i))
def secondBlock (x : Euclidean 20) : Euclidean 10 :=
WithLp.toLp 2 (fun i : Fin 10 => x (Fin.natAdd 10 i))
def productWitness : Set (Euclidean 20) :=
{x | firstBlock x โˆˆ standardSimplex 10 โˆง secondBlock x โˆˆ standardSimplex 10}
theorem product_counterexample :
(IsCompact productWitness โˆง Convex โ„ productWitness โˆง
(interior productWitness).Nonempty) โˆง
normalizedProjectionVolume productWitness / simplexConstant 20 =
(121 * (Nat.choose 20 10 : โ„)) / (21 * (2 : โ„) ^ 20) โˆง
normalizedProjectionVolume productWitness / simplexConstant 20 =
(22355476 : โ„) / 22020096 โˆง
1 < normalizedProjectionVolume productWitness / simplexConstant 20 โˆง
(volume (projectionBody productWitness)).toReal >
simplexConstant 20 * (volume productWitness).toReal ^ 19 := by
sorry
end Paper092
end
end OAI