Download data/lean/OAI/Geometry/Kakeya/Quadratic/CompressionDimension.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 2.65 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/Kakeya/Quadratic/CompressionDimension.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Geometry/Kakeya/Quadratic/CompressionDimension.lean
-
curl -L -o CompressionDimension.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/Kakeya/Quadratic/CompressionDimension.lean
2.65 kB
| import OAI.Geometry.Kakeya.Quadratic.Compression | |
| import Mathlib.Topology.MetricSpace.HausdorffDimension | |
| open Set Module | |
| open scoped Topology ContDiff ENNReal | |
| noncomputable section | |
| namespace OAI.Geometry.Kakeya.Quadratic | |
| variable {E D : Type*} [NormedAddCommGroup E] [NormedSpace β E] | |
| [FiniteDimensional β E] [NormedAddCommGroup D] [NormedSpace β D] | |
| [FiniteDimensional β D] | |
| def ruledConstraint (P Q : E ββ[β] D) : Set (E Γ β) := | |
| {z | P z.1 = z.2 β’ Q z.1} | |
| /-- The ruled constraint is parametrized by ker P times the real line. | |
| This proves its dimension bound directly, without a manifold dimension | |
| theorem or a Jordan normal form. -/ | |
| theorem dimH_ruledConstraint (P Q : E ββ[β] D) | |
| (hs : Function.Surjective (P.prod Q)) : | |
| dimH (ruledConstraint P Q) β€ (finrank β E - finrank β D + 1 : β) := by | |
| obtain β¨R, hRβ© := (P.prod Q).exists_rightInverse_of_surjective | |
| (LinearMap.range_eq_top.mpr hs) | |
| have hP (a : D) : P (R (a, 0)) = a := | |
| congrArg (fun f : D Γ D ββ[β] D Γ D => (f (a, 0)).1) hR | |
| have hQ (a : D) : Q (R (a, 0)) = 0 := | |
| congrArg (fun f : D Γ D ββ[β] D Γ D => (f (a, 0)).2) hR | |
| let f : P.ker Γ β β E Γ β := fun z => | |
| ((z.1 : E) + z.2 β’ R (Q (z.1 : E), 0), z.2) | |
| have hf : ContDiff β β f := by | |
| have hc : ContDiff β β (fun z : P.ker => (z : E)) := P.ker.subtypeL.contDiff | |
| have hRc : ContDiff β β R := R.toContinuousLinearMap.contDiff | |
| have hQc : ContDiff β β Q := Q.toContinuousLinearMap.contDiff | |
| dsimp [f] | |
| fun_prop | |
| have hsub : ruledConstraint P Q β Set.range f := by | |
| intro z hz | |
| let v : P.ker := β¨z.1 - z.2 β’ R (Q z.1, 0), by | |
| change P (z.1 - z.2 β’ R (Q z.1, 0)) = 0 | |
| rw [map_sub, map_smul, hP] | |
| exact sub_eq_zero.mpr hzβ© | |
| refine β¨(v, z.2), ?_β© | |
| apply Prod.ext | |
| Β· change (z.1 - z.2 β’ R (Q z.1, 0)) + | |
| z.2 β’ R (Q (z.1 - z.2 β’ R (Q z.1, 0)), 0) = z.1 | |
| rw [map_sub, map_smul, hQ, smul_zero, sub_zero] | |
| abel | |
| Β· rfl | |
| have hPs : Function.Surjective P := by | |
| intro a | |
| obtain β¨x, hxβ© := hs (a, 0) | |
| exact β¨x, congrArg Prod.fst hxβ© | |
| have hrank := P.finrank_range_add_finrank_ker | |
| rw [LinearMap.range_eq_top.mpr hPs, finrank_top] at hrank | |
| have hk : finrank β P.ker = finrank β E - finrank β D := by omega | |
| calc | |
| dimH (ruledConstraint P Q) β€ dimH (Set.range f) := dimH_mono hsub | |
| _ β€ finrank β (P.ker Γ β) := (hf.differentiable (by norm_num)).dimH_range_le | |
| _ = (finrank β E - finrank β D + 1 : β) := by | |
| rw [Module.finrank_prod, hk, Module.finrank_self] | |
| end OAI.Geometry.Kakeya.Quadratic | |