Download data/lean/OAI/Geometry/ProjectionVolume/Model.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 1.52 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/ProjectionVolume/Model.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Geometry/ProjectionVolume/Model.lean
-
curl -L -o Model.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/ProjectionVolume/Model.lean
1.52 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} | |
| end Paper092 | |
| end | |
| end OAI | |