Download data/lean/OAI/Geometry/ComplexTorus/RiemannProjectivity/GenericProjectionOn.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 7.4 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/ComplexTorus/RiemannProjectivity/GenericProjectionOn.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Geometry/ComplexTorus/RiemannProjectivity/GenericProjectionOn.lean
-
curl -L -o GenericProjectionOn.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/ComplexTorus/RiemannProjectivity/GenericProjectionOn.lean
7.4 kB
| import OAI.Geometry.ComplexTorus.RiemannProjectivity.HolomorphicRegularityAt | |
| import Mathlib.Topology.MetricSpace.HausdorffDimension | |
| import Mathlib.LinearAlgebra.Dimension.Constructions | |
| import Mathlib.LinearAlgebra.Complex.FiniteDimensional | |
| /-! # Generic Projection On -/ | |
| namespace OAI.Geometry.ComplexTorus.RiemannProjectivity.GenericProjectionOn.Constructions.GenericProjection | |
| noncomputable section | |
| /-! | |
| # RiemannProjectivity: projections avoiding a parametrized projective cone | |
| Matrices killing a normalized projective vector have one column determined | |
| by the others. Their incidence parametrization has smaller real dimension | |
| than the full matrix space when the target dimension exceeds the dimension | |
| of the projective parameter space. Hausdorff dimension supplies a matrix | |
| outside every bad incidence image. | |
| -/ | |
| open Set Filter _root_.Metric _root_.Module | |
| open scoped _root_.Topology BigOperators ENNReal | |
| variable {V W : Type*} [NormedAddCommGroup V] [NormedSpace β V] | |
| [NormedSpace β V] [IsScalarTower β β V] [FiniteDimensional β V] | |
| [NormedAddCommGroup W] [NormedSpace β W] [FiniteDimensional β W] | |
| /-- Holomorphic images of open sets have at most the real dimension of their domain. -/ | |
| theorem dimH_image_le_of_holomorphic {U : Set V} {f : V β W} | |
| (hU : IsOpen U) (hf : DifferentiableOn β f U) : | |
| dimH (f '' U) β€ finrank β V := by | |
| let : FiniteDimensional β V := FiniteDimensional.trans β β V | |
| let : SecondCountableTopology V := inferInstance | |
| let : CompleteSpace W := FiniteDimensional.complete β W | |
| apply le_trans (dimH_image_le_of_locally_lipschitzOn ?_) | |
| ((dimH_mono (subset_univ U)).trans_eq (Real.dimH_univ_eq_finrank V)) | |
| intro x hx | |
| obtain β¨C, D, hD, hLβ© := | |
| (HolomorphicRegularityAt.Constructions.HolomorphicRegularity.contDiffAt_one_of_differentiableOn hU hf hx).exists_lipschitzOnWith | |
| exact β¨C, D, mem_nhdsWithin_of_mem_nhds hD, hLβ© | |
| variable {n k : β} | |
| /-- Insert the unique column forced by annihilating a normalized vector. -/ | |
| def badMatrix (i : Fin (n + 1)) (r : V β Fin n β β) | |
| (p : V Γ (Fin n β Fin k β β)) : Fin (n + 1) β Fin k β β := | |
| i.insertNth (-β j, r p.1 j β’ p.2 j) p.2 | |
| omit [NormedSpace β V] [IsScalarTower β β V] [FiniteDimensional β V] in | |
| theorem differentiableOn_badMatrix (i : Fin (n + 1)) {U : Set V} | |
| {r : V β Fin n β β} (hr : DifferentiableOn β r U) : | |
| DifferentiableOn β (badMatrix (k := k) i r) (U ΓΛ’ univ) := by | |
| have hB : DifferentiableOn β (fun p : V Γ (Fin n β Fin k β β) => p.2) | |
| (U ΓΛ’ univ) := differentiable_snd.differentiableOn | |
| apply differentiableOn_pi.mpr | |
| intro j | |
| refine Fin.succAboveCases i ?_ (fun l => ?_) j | |
| Β· simp only [badMatrix, Fin.insertNth_apply_same] | |
| apply DifferentiableOn.neg | |
| apply DifferentiableOn.fun_sum | |
| intro l _ | |
| exact ((differentiableOn_pi.mp hr l).comp differentiable_fst.differentiableOn | |
| (fun p hp => hp.1)).smul | |
| (differentiableOn_pi.mp hB l) | |
| Β· simpa only [badMatrix, Fin.insertNth_apply_succAbove] using | |
| differentiableOn_pi.mp hB l | |
| omit [NormedAddCommGroup V] [NormedSpace β V] [NormedSpace β V] | |
| [IsScalarTower β β V] [FiniteDimensional β V] in | |
| /-- The incidence parametrization captures every matrix killing a vector in its chart. -/ | |
| theorem eq_badMatrix_of_annihilates (i : Fin (n + 1)) (r : V β Fin n β β) | |
| (z : V) (v : Fin (n + 1) β β) (M : Fin (n + 1) β Fin k β β) | |
| (hi : v i β 0) (hr : β j, v (i.succAbove j) / v i = r z j) | |
| (hM : β j, v j β’ M j = 0) : | |
| M = badMatrix i r (z, i.removeNth M) := by | |
| apply Fin.eq_insertNth_iff.mpr | |
| refine β¨?_, rflβ© | |
| have hsum : v i β’ M i + β j : Fin n, v (i.succAbove j) β’ M (i.succAbove j) = 0 := by | |
| rw [Fin.sum_univ_succAbove _ i] at hM | |
| exact hM | |
| have hnorm := congrArg (fun w : Fin k β β => (v i)β»ΒΉ β’ w) hsum | |
| simp only [smul_add, Finset.smul_sum, smul_smul, inv_mul_cancelβ hi, one_smul, | |
| smul_zero] at hnorm | |
| have heq : (β j : Fin n, ((v i)β»ΒΉ * v (i.succAbove j)) β’ M (i.succAbove j)) = | |
| β j : Fin n, r z j β’ i.removeNth M j := by | |
| apply Finset.sum_congr rfl | |
| intro j _ | |
| rw [β hr j, div_eq_mul_inv, mul_comm] | |
| rfl | |
| rw [heq] at hnorm | |
| exact eq_neg_of_add_eq_zero_left hnorm | |
| /-- Matrices outside all the bad projective incidence images are dense. -/ | |
| theorem dense_matrices_avoiding (hk : finrank β V < k) | |
| (U : Fin (n + 1) β Set V) (r : Fin (n + 1) β V β Fin n β β) | |
| (hU : β i, IsOpen (U i)) (hr : β i, DifferentiableOn β (r i) (U i)) : | |
| Dense {M : Fin (n + 1) β Fin k β β | | |
| β i z, z β U i β β B, M β badMatrix i (r i) (z, B)} := by | |
| let : FiniteDimensional β V := FiniteDimensional.trans β β V | |
| let B : Set (Fin (n + 1) β Fin k β β) := | |
| β i, badMatrix i (r i) '' (U i ΓΛ’ univ) | |
| have hdim : dimH B β€ (finrank β (V Γ (Fin n β Fin k β β)) : ββ₯0β) := by | |
| rw [show B = _ from rfl, dimH_iUnion] | |
| exact iSup_le fun i => dimH_image_le_of_holomorphic | |
| ((hU i).prod isOpen_univ) (differentiableOn_badMatrix i (hr i)) | |
| have hlt : finrank β (V Γ (Fin n β Fin k β β)) < | |
| finrank β (Fin (n + 1) β Fin k β β) := by | |
| have hV : finrank β V = 2 * finrank β V := by | |
| rw [β Module.finrank_mul_finrank β β V, Complex.finrank_real_complex] | |
| simp only [Module.finrank_prod, Module.finrank_pi_fintype, | |
| Complex.finrank_real_complex, Finset.sum_const, Finset.card_univ, | |
| Fintype.card_fin, nsmul_eq_mul, hV] | |
| nlinarith | |
| apply (dense_compl_of_dimH_lt_finrank | |
| (hdim.trans_lt (Nat.cast_lt.mpr hlt))).mono | |
| intro M hM i z hz C heq | |
| apply hM | |
| exact mem_iUnion.mpr β¨i, β¨(z, C), β¨hz, mem_univ _β©, heq.symmβ©β© | |
| /-- A matrix exists outside all the bad projective incidence images. -/ | |
| theorem exists_matrix_avoiding (hk : finrank β V < k) | |
| (U : Fin (n + 1) β Set V) (r : Fin (n + 1) β V β Fin n β β) | |
| (hU : β i, IsOpen (U i)) (hr : β i, DifferentiableOn β (r i) (U i)) : | |
| β M : Fin (n + 1) β Fin k β β, | |
| β i z, z β U i β β B, M β badMatrix i (r i) (z, B) := | |
| (dense_matrices_avoiding hk U r hU hr).nonempty | |
| /-- A linear projection has no nonzero kernel vector on the covered cone. -/ | |
| theorem exists_projection_avoiding (hk : finrank β V < k) | |
| (U : Fin (n + 1) β Set V) (r : Fin (n + 1) β V β Fin n β β) | |
| (hU : β i, IsOpen (U i)) (hr : β i, DifferentiableOn β (r i) (U i)) | |
| (S : Set (Fin (n + 1) β β)) | |
| (hcover : β v β S, v β 0 β β i z, z β U i β§ v i β 0 β§ | |
| β j, v (i.succAbove j) / v i = r i z j) : | |
| β L : (Fin (n + 1) β β) βL[β] (Fin k β β), | |
| β v β S, L v = 0 β v = 0 := by | |
| obtain β¨M, hMβ© := exists_matrix_avoiding hk U r hU hr | |
| let L : (Fin (n + 1) β β) ββ[β] (Fin k β β) := | |
| { toFun := fun v => β j, v j β’ M j | |
| map_add' := by intros; simp [add_smul, Finset.sum_add_distrib] | |
| map_smul' := by intros; simp [Finset.smul_sum, smul_smul] } | |
| refine β¨L.toContinuousLinearMap, fun v hv hLv => ?_β© | |
| by_contra hv0 | |
| obtain β¨i, z, hz, hi, hratioβ© := hcover v hv hv0 | |
| exact hM i z hz (i.removeNth M) (eq_badMatrix_of_annihilates i (r i) z v M hi hratio hLv) | |
| end | |
| end OAI.Geometry.ComplexTorus.RiemannProjectivity.GenericProjectionOn.Constructions.GenericProjection | |