Download lean/OAI/Geometry/ProjectionBody/NullHyperplane.lean from roseking/openAI-math-dataset: direct link, hf CLI and curl.
- Browser
- Download file 1.08 kB
-
https://huggingface.co/datasets/roseking/openAI-math-dataset/resolve/main/lean/OAI/Geometry/ProjectionBody/NullHyperplane.lean
- Command line
-
hf download hf://datasets/roseking/openAI-math-dataset/lean/OAI/Geometry/ProjectionBody/NullHyperplane.lean
-
curl -L -o NullHyperplane.lean https://huggingface.co/datasets/roseking/openAI-math-dataset/resolve/main/lean/OAI/Geometry/ProjectionBody/NullHyperplane.lean
1.08 kB
| import Mathlib.MeasureTheory.Measure.Lebesgue.EqHaar | |
| namespace OAI | |
| noncomputable section | |
| open Set MeasureTheory | |
| namespace ProjectionCounterexample | |
| /-- Every level set of a nonzero real linear functional has zero ambient volume. -/ | |
| theorem volume_linear_level_eq_zero | |
| {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] | |
| [FiniteDimensional ℝ V] [MeasureSpace V] [BorelSpace V] | |
| [Measure.IsAddHaarMeasure (volume : Measure V)] | |
| (f : V →ₗ[ℝ] ℝ) (hf : f ≠ 0) (c : ℝ) : | |
| volume {x : V | f x = c} = 0 := by | |
| let H : AffineSubspace ℝ V := (affineSpan ℝ ({c} : Set ℝ)).comap f.toAffineMap | |
| have hmem (x : V) : x ∈ H ↔ f x = c := by | |
| simp [H] | |
| have hproper : H ≠ ⊤ := by | |
| intro htop | |
| have heq (x : V) : f x = c := (hmem x).mp (by rw [htop]; trivial) | |
| have hc : c = 0 := by simpa using (heq 0).symm | |
| apply hf | |
| ext x | |
| simpa [hc] using heq x | |
| have hset : (H : Set V) = {x : V | f x = c} := Set.ext hmem | |
| rw [← hset] | |
| exact Measure.addHaar_affineSubspace volume H hproper | |
| end ProjectionCounterexample | |
| end | |
| end OAI | |