Download data/lean/OAI/Geometry/IsometricImmersion/Assembly/SupportedSmoothComplete.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 6.47 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/IsometricImmersion/Assembly/SupportedSmoothComplete.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Geometry/IsometricImmersion/Assembly/SupportedSmoothComplete.lean
-
curl -L -o SupportedSmoothComplete.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/IsometricImmersion/Assembly/SupportedSmoothComplete.lean
6.47 kB
| import OAI.Geometry.IsometricImmersion.Assembly.SupportedPerturbations | |
| import Mathlib.Analysis.Calculus.UniformLimitsDeriv | |
| import Mathlib.Topology.Sequences | |
| import Mathlib.Topology.Baire.CompleteMetrizable | |
| import Mathlib.Topology.Baire.Lemmas | |
| namespace OAI | |
| noncomputable section | |
| open scoped ContDiff Topology BigOperators Matrix Matrix.Norms.Elementwise Distributions | |
| open Set Filter TopologicalSpace | |
| open scoped BoundedContinuousFunction | |
| namespace SmoothLocal.Perturbation | |
| open SmoothLocal.Geometry | |
| variable {V : Type*} [NormedAddCommGroup V] [NormedSpace β V] [CompleteSpace V] | |
| abbrev SupportedJetProduct (V : Type*) [NormedAddCommGroup V] [NormedSpace β V] := | |
| Ξ k : β, Coord βα΅ (Coord [Γk]βL[β] V) | |
| def supportedJetMap (K : Compacts Coord) : | |
| ContDiffMapSupportedIn Coord V β€ K βL[β] SupportedJetProduct V := | |
| ContinuousLinearMap.pi (ContDiffMapSupportedIn.structureMapCLM β β€) | |
| omit [CompleteSpace V] in | |
| theorem supportedJetMap_isUniformEmbedding (K : Compacts Coord) : | |
| IsUniformEmbedding (supportedJetMap K : | |
| ContDiffMapSupportedIn Coord V β€ K β SupportedJetProduct V) := | |
| ContDiffMapSupportedIn.isUniformEmbedding_pi_structureMapCLM (π := β) (n := β€) | |
| omit [CompleteSpace V] in | |
| theorem supportedJetMap_isClosed_range (K : Compacts Coord) : | |
| IsClosed (Set.range (supportedJetMap K : | |
| ContDiffMapSupportedIn Coord V β€ K β SupportedJetProduct V)) := by | |
| apply isSeqClosed_iff_isClosed.mp | |
| intro u v hu ht | |
| choose f hf using hu | |
| have hfconv : Tendsto (fun n => supportedJetMap K (f n)) atTop (π v) := by | |
| simpa only [hf] using ht | |
| have hconv (k : β) : TendstoUniformly | |
| (fun n => iteratedFDeriv β k (f n)) (v k) atTop := by | |
| have hcoord := ((continuous_apply k).tendsto v).comp hfconv | |
| change Tendsto (fun n => ContDiffMapSupportedIn.structureMapCLM β β€ k (f n)) | |
| atTop (π (v k)) at hcoord | |
| have h := BoundedContinuousFunction.tendsto_iff_tendstoUniformly.mp hcoord | |
| simpa only [ContDiffMapSupportedIn.structureMapCLM_top_apply] using h | |
| let C (k : β) := | |
| continuousMultilinearCurryLeftEquiv β (fun _ : Fin (k + 1) => Coord) V | |
| have hderivative (k : β) (x : Coord) : | |
| HasFDerivAt (fun y => v k y) (C k (v (k + 1) x)) x := by | |
| have hnext : TendstoUniformly | |
| (fun n => C k β iteratedFDeriv β (k + 1) (f n)) (C k β v (k + 1)) atTop := | |
| (C k).isometry.uniformContinuous.comp_tendstoUniformly (hconv (k + 1)) | |
| have hfn (n : β) (y : Coord) : HasFDerivAt (iteratedFDeriv β k (f n)) | |
| (C k (iteratedFDeriv β (k + 1) (f n) y)) y := by | |
| have hs : ContDiff β β (f n) := (f n).contDiff | |
| have hd := ((hs.contDiffAt (x := y)).differentiableAt_iteratedFDeriv | |
| (ENat.natCast_lt_of_coe_top_le_withTop le_rfl k)).hasFDerivAt | |
| simpa only [fderiv_iteratedFDeriv, Function.comp_apply, C] using hd | |
| exact hasFDerivAt_of_tendstoUniformly hnext hfn (fun y => (hconv k).tendsto_at y) x | |
| let C0 := continuousMultilinearCurryFin0 β Coord V | |
| let g : Coord β V := fun x => C0 (v 0 x) | |
| have hjet : β k : β, iteratedFDeriv β k g = (v k : Coord β Coord [Γk]βL[β] V) := by | |
| intro k | |
| induction k with | |
| | zero => | |
| funext x | |
| change C0.symm (C0 (v 0 x)) = v 0 x | |
| exact C0.symm_apply_apply _ | |
| | succ k ih => | |
| rw [iteratedFDeriv_succ_eq_comp_left, ih] | |
| funext x | |
| change (C k).symm (fderiv β (fun y => v k y) x) = v (k + 1) x | |
| rw [(hderivative k x).fderiv] | |
| exact (C k).symm_apply_apply _ | |
| have hg : ContDiff β β g := by | |
| apply contDiff_iff_continuous_differentiable.mpr | |
| constructor | |
| Β· intro k _ | |
| rw [hjet k] | |
| exact (v k).continuous | |
| Β· intro k _ | |
| rw [hjet k] | |
| exact fun x => (hderivative k x).differentiableAt | |
| have hzero : EqOn g 0 (K : Set Coord)αΆ := by | |
| intro x hx | |
| have hlim := (hconv 0).tendsto_at x | |
| have hconst : Tendsto (fun n => iteratedFDeriv β 0 (f n) x) atTop (π 0) := by | |
| have hz (n : β) : iteratedFDeriv β 0 (f n) x = 0 := | |
| (f n).iteratedFDeriv_zero_on_compl hx | |
| simpa only [hz] using (tendsto_const_nhds (x := (0 : Coord [Γ0]βL[β] V))) | |
| have hvzero : v 0 x = 0 := tendsto_nhds_unique hlim hconst | |
| change C0 (v 0 x) = 0 | |
| rw [hvzero, map_zero] | |
| let Ο : ContDiffMapSupportedIn Coord V β€ K := β¨g, hg, hzeroβ© | |
| refine β¨Ο, ?_β© | |
| funext k | |
| apply BoundedContinuousFunction.ext | |
| intro x | |
| change ContDiffMapSupportedIn.structureMapCLM β β€ k Ο x = v k x | |
| rw [ContDiffMapSupportedIn.structureMapCLM_top_apply] | |
| exact congrFun (hjet k) x | |
| theorem supportedSmooth_completeSpace (K : Compacts Coord) : | |
| CompleteSpace (ContDiffMapSupportedIn Coord V β€ K) := | |
| (supportedJetMap_isUniformEmbedding (V := V) K).isUniformInducing.completeSpace | |
| (supportedJetMap_isClosed_range (V := V) K).isComplete | |
| theorem supportedSmooth_completelyMetrizable (K : Compacts Coord) : | |
| IsCompletelyMetrizableSpace (ContDiffMapSupportedIn Coord V β€ K) := by | |
| have (k : β) : IsCompletelyMetrizableSpace (Coord βα΅ (Coord [Γk]βL[β] V)) := by | |
| have hc : CompleteSpace (Coord βα΅ (Coord [Γk]βL[β] V)) := inferInstance | |
| refine β¨β¨inferInstance, ?_, ?_β©β© | |
| Β· rfl | |
| Β· exact hc | |
| have : IsCompletelyMetrizableSpace (SupportedJetProduct V) := inferInstance | |
| have he : Topology.IsClosedEmbedding (supportedJetMap K : | |
| ContDiffMapSupportedIn Coord V β€ K β SupportedJetProduct V) := | |
| β¨(supportedJetMap_isUniformEmbedding K).isEmbedding, supportedJetMap_isClosed_range Kβ© | |
| exact he.IsCompletelyMetrizableSpace | |
| theorem symmetricPerturbation_completeSpace : CompleteSpace SymmetricPerturbation := by | |
| let : CompleteSpace SupportedTensor := supportedSmooth_completeSpace patchCompact | |
| let : IsClosed (symmetricSupportedSubmodule : Set SupportedTensor) := | |
| symmetricSupportedSubmodule_isClosed | |
| infer_instance | |
| theorem symmetricPerturbation_completelyMetrizable : | |
| IsCompletelyMetrizableSpace SymmetricPerturbation := by | |
| let : IsCompletelyMetrizableSpace SupportedTensor := supportedSmooth_completelyMetrizable patchCompact | |
| exact symmetricSupportedSubmodule_isClosed.isClosedEmbedding_subtypeVal.IsCompletelyMetrizableSpace | |
| theorem symmetricPerturbation_baire : BaireSpace SymmetricPerturbation := by | |
| let : IsCompletelyMetrizableSpace SymmetricPerturbation := symmetricPerturbation_completelyMetrizable | |
| infer_instance | |
| end SmoothLocal.Perturbation | |
| end | |
| end OAI | |