Download data/lean/OAI/Analysis/HyperbolicCones/KernelSmooth.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 3.68 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Analysis/HyperbolicCones/KernelSmooth.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Analysis/HyperbolicCones/KernelSmooth.lean
-
curl -L -o KernelSmooth.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Analysis/HyperbolicCones/KernelSmooth.lean
3.68 kB
| import OAI.Analysis.HyperbolicCones.KernelLocal | |
| import OAI.Analysis.HyperbolicCones.Coordinates | |
| namespace OAI | |
| noncomputable section | |
| open scoped ContDiff Matrix.Norms.L2Operator | |
| open Set Matrix ContinuousLinearMap | |
| namespace Paper256 | |
| theorem contDiff_outerSym : ContDiff β β (outerSym : Vec 4 β Sym 4) := by | |
| have hcoord : ContDiff β β (fun v : Vec 4 => | |
| fun ij : SymIndex => v ij.val.1 * v ij.val.2) := by | |
| apply contDiff_pi.mpr | |
| intro ij | |
| exact (contDiff_piLp_apply (π := β) (p := 2) (i := ij.val.1)).mul | |
| (contDiff_piLp_apply (π := β) (p := 2) (i := ij.val.2)) | |
| have heq : (outerSym : Vec 4 β Sym 4) = fun v => | |
| symmetricCoordinateEquiv.symm (fun ij => v ij.val.1 * v ij.val.2) := by | |
| funext v | |
| apply symmetricCoordinateEquiv.injective | |
| rw [LinearEquiv.apply_symm_apply] | |
| rfl | |
| rw [heq] | |
| exact symmetricCoordinateEquiv.symm.toContinuousLinearEquiv.contDiff.comp hcoord | |
| def symmetricOperatorLinear (c : β) : Sym c ββ[β] (Vec c βL[β] Vec c) := | |
| (Matrix.toEuclideanCLM (n := Fin c) (π := β)).toAlgEquiv.toLinearEquiv.toLinearMap.comp | |
| (selfAdjoint.submodule β (Mat c β)).subtype | |
| theorem contDiff_kernelFamily (c : β) (E : Sym 4 ββ[β] Sym c) : | |
| ContDiff β β (fun u => symmetricOperatorLinear c (E (1 - outerSym u))) := by | |
| exact (symmetricOperatorLinear c).toContinuousLinearMap.contDiff.comp | |
| (E.toContinuousLinearMap.contDiff.comp (contDiff_const.sub contDiff_outerSym)) | |
| theorem kernelFamily_isSelfAdjoint (c : β) (E : Sym 4 ββ[β] Sym c) (u : Vec 4) : | |
| IsSelfAdjoint (symmetricOperatorLinear c (E (1 - outerSym u))) := | |
| (E (1 - outerSym u)).property.map (Matrix.toEuclideanCLM (n := Fin c) (π := β)) | |
| theorem kernel_projection_smooth_local_extension (c : β) (_hC : 0 < c) | |
| (E : Sym 4 ββ[β] Sym c) : | |
| β (v : Vec 4) (U : Set (Vec 4)) (F : Vec 4 β Mat c β), | |
| βvβ = 1 β§ v 0 β 0 β§ IsOpen U β§ v β U β§ ContDiffOn β β F U β§ | |
| β u β U, βuβ = 1 β | |
| F u = kernelProjection (E (1 - outerSym u) : Mat c β) := by | |
| let A : Vec 4 β Vec c βL[β] Vec c := fun u => symmetricOperatorLinear c (E (1 - outerSym u)) | |
| have hA : ContDiff β β A := contDiff_kernelFamily c E | |
| let S : Set (Vec 4) := {u | βuβ = 1 β§ u 0 β 0} | |
| have hs : S.Nonempty := β¨PiLp.single 2 0 1, by simp [S]β© | |
| have hself (u : Vec 4) (_hu : u β S) : IsSelfAdjoint (A u) := | |
| kernelFamily_isSelfAdjoint c E u | |
| obtain β¨v, hv, U, P, hU, hvU, hP, heqβ© := exists_smooth_kernel_extension S hs A hA hself | |
| let U' := U β© {u : Vec 4 | u 0 β 0} | |
| let F : Vec 4 β Mat c β := fun u => | |
| (Matrix.toEuclideanCLM (n := Fin c) (π := β)).symm (P u) | |
| refine β¨v, U', F, hv.1, hv.2, ?_, β¨hvU, hv.2β©, ?_, ?_β© | |
| Β· have hc : Continuous (fun u : Vec 4 => u 0) := | |
| (contDiff_piLp_apply (π := β) (p := 2) (n := β) (i := (0 : Fin 4))).continuous | |
| exact hU.inter (isOpen_ne.preimage hc) | |
| Β· exact (Matrix.toEuclideanCLM (n := Fin c) (π := β)).symm.toAlgEquiv.toLinearEquiv.toContinuousLinearEquiv.contDiff.comp_contDiffOn | |
| (hP.mono (fun _ hu => hu.1)) | |
| Β· intro u hu hunit | |
| apply (Matrix.toEuclideanCLM (n := Fin c) (π := β)).injective | |
| change (Matrix.toEuclideanCLM (n := Fin c) (π := β)) | |
| ((Matrix.toEuclideanCLM (n := Fin c) (π := β)).symm (P u)) = _ | |
| rw [StarAlgEquiv.apply_symm_apply, heq u hu.1 β¨hunit, hu.2β©] | |
| apply ContinuousLinearMap.coe_injective | |
| change _ = Matrix.toEuclideanLin (kernelProjection (E (1 - outerSym u) : Mat c β)) | |
| rw [kernelProjection, LinearEquiv.apply_symm_apply] | |
| rfl | |
| end Paper256 | |
| end | |
| end OAI | |