Download data/lean/OAI/Analysis/Conductivity/Fourier/EndingJoinMiddleModel.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 3.36 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Analysis/Conductivity/Fourier/EndingJoinMiddleModel.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Analysis/Conductivity/Fourier/EndingJoinMiddleModel.lean
-
curl -L -o EndingJoinMiddleModel.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Analysis/Conductivity/Fourier/EndingJoinMiddleModel.lean
3.36 kB
| import Mathlib | |
| import OAI.Analysis.Conductivity.Fourier.PeriodicBandCompactness | |
| import OAI.Analysis.Conductivity.Walls.EndingJoinCutoff | |
| namespace OAI | |
| section | |
| noncomputable section | |
| namespace ScalarConductivity | |
| open Set Filter Topology Real MeasureTheory Matrix | |
| open scoped Matrix.Norms.Elementwise | |
| def delayedInitialTensor (lam k J R : β) (x : Coord3) : Mat3 := | |
| fun i j => pureModeTensor (initialConnectorAngular (lam/k) (1/2) J (k*(x 0-R))) 1 | |
| (angularAxisSwap i) (angularAxisSwap j) | |
| lemma delayedInitialTensor_smooth (lam k J R : β) : | |
| ContDiff β (β(β€:ββ)) (delayedInitialTensor lam k J R) := by | |
| have hq : ContDiff β (β(β€:ββ)) (fun x : Coord3 => initialConnectorAngular (lam/k) (1/2) J (k*(x 0-R))) := | |
| (initialConnectorAngular_smooth _ _ _).comp (contDiff_const.mul ((contDiff_apply β β 0).sub contDiff_const)) | |
| have hh := pureModeTensor_smooth hq (1:Fin 3) | |
| apply contDiff_pi.mpr; intro i | |
| apply contDiff_pi.mpr; intro j | |
| exact contDiff_pi.mp (contDiff_pi.mp hh (angularAxisSwap i)) (angularAxisSwap j) | |
| lemma delayedInitialTensor_symm (lam k J R : β) (x : Coord3) : | |
| (delayedInitialTensor lam k J R x).IsSymm := by | |
| ext i j | |
| exact congrFun (congrFun (pureModeTensor_symm _ _) (angularAxisSwap i)) (angularAxisSwap j) | |
| lemma delayedEndingTensor_initial {lam k J L K R : β} (x : Coord3) (hx : k*(x 0-R)<J+2) : | |
| delayedEndingTensor lam k J L K R x=delayedInitialTensor lam k J R x := by | |
| ext i j | |
| change finiteEndingTensor (lam/k) J L K (permutedDilation angularAxisSwap k (x-Pi.single 0 R)) | |
| (angularAxisSwap i) (angularAxisSwap j)=_ | |
| have ht : (permutedDilation angularAxisSwap k (x-Pi.single 0 R)) 0=k*(x 0-R) := by | |
| simp [permutedDilation,angularAxisSwap_apply] | |
| rw [finiteEndingTensor,ht,ite_eq_left hx] | |
| rfl | |
| def endingJoinMiddleTensor (s : Fin 3 β β) (lam k J : β) (x : Coord3) : Symmetric3 := | |
| β¨(1-endingJoinCutoff (x 0)) β’ flatBackgroundTensor s+ | |
| endingJoinCutoff (x 0) β’ delayedInitialTensor lam k J 7 x, | |
| ((flatBackgroundTensor_symm s).smul _).add ((delayedInitialTensor_symm _ _ _ _ _).smul _)β© | |
| lemma endingJoinMiddleTensor_smooth (s : Fin 3 β β) (lam k J : β) : | |
| ContDiff β (β(β€:ββ)) (fun x => (endingJoinMiddleTensor s lam k J x).val) := by | |
| have hΟ := endingJoinCutoff_smooth.comp (contDiff_apply β β (0:Fin 3)) | |
| exact ((contDiff_const.sub hΟ).smul contDiff_const).add (hΟ.smul (delayedInitialTensor_smooth _ _ _ _)) | |
| lemma endingJoinMiddle_regular_ae (s : Fin 3 β β) (lam J : β) {k : β} (hk : kβ 0) : | |
| βα΅ x : Coord3,xβregularRegion (wallCoordinatePair (pureWallMode 1 lam k)) | |
| (endingJoinMiddleTensor s lam k J) univ := by | |
| have hu : ContDiff β (β(β€:ββ)) (wallCoordinatePair (pureWallMode 1 lam k)) := | |
| wallCoordinatePair_smooth (pureWallMode_smooth _ _ _) | |
| have hh := regularRegion_ae_of_simple_minor hu (endingJoinMiddleTensor_smooth s lam k J) isOpen_univ | |
| (fun x _ hx => (pureMode_pairMinor_noncritical (by norm_num : (1:β)β 0) hk x).resolve_left (not_not.mpr hx)) | |
| filter_upwards [hh] with x hx | |
| exact hx (mem_univ _) | |
| lemma wallCoordinatePair_pure (lam k : β) (x : Coord3) : | |
| wallCoordinatePair (pureWallMode 1 lam k) x=![x 0,exp (-lam*x 0)*cos (k*x 2)] := by | |
| simp [wallCoordinatePair,pureWallMode,boxCoordinates_apply] | |
| end ScalarConductivity | |
| end | |
| end | |
| end OAI | |