Download data/lean/OAI/Analysis/Conductivity/Sources/SymmetricCutoffSources.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 2.84 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Analysis/Conductivity/Sources/SymmetricCutoffSources.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Analysis/Conductivity/Sources/SymmetricCutoffSources.lean
-
curl -L -o SymmetricCutoffSources.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Analysis/Conductivity/Sources/SymmetricCutoffSources.lean
2.84 kB
| import Mathlib | |
| import OAI.Analysis.Conductivity.Sources.LocalPiola | |
| import OAI.Analysis.Conductivity.Variational.CompactSymmetricMoments | |
| import OAI.Analysis.Conductivity.Flux.CompactFluxDivergence | |
| namespace OAI | |
| noncomputable section | |
| namespace ScalarConductivity | |
| open Set MeasureTheory Matrix | |
| open scoped Matrix.Norms.Elementwise | |
| def symmetricSource (H : Coord3 β Mat3) (u : Coord3 β Fin 2 β β) (j : Fin 2) : Coord3 β β := | |
| coordinateDivergence (fun x => (H x*gradientColumns (fderiv β u x)).col j) | |
| lemma symmetricFlux_smooth {H : Coord3 β Mat3} {u : Coord3 β Fin 2 β β} | |
| (hH : ContDiff β (β(β€ : ββ)) H) (hu : ContDiff β (β(β€ : ββ)) u) (j : Fin 2) : | |
| ContDiff β (β(β€ : ββ)) (fun x => (H x*gradientColumns (fderiv β u x)).col j) := by | |
| have hm : ContDiff β (β(β€ : ββ)) (fun x => H x*gradientColumns (fderiv β u x)) := by | |
| rw [contDiff_iff_contDiffAt] | |
| intro x | |
| exact contDiffAt_matrix_mul hH.contDiffAt (contDiff_gradientColumns u hu).contDiffAt | |
| apply contDiff_pi.mpr | |
| intro i | |
| exact contDiff_pi.mp (contDiff_pi.mp hm i) j | |
| lemma symmetricFlux_compact {H : Coord3 β Mat3} (hH : HasCompactSupport H) | |
| (u : Coord3 β Fin 2 β β) (j : Fin 2) : | |
| HasCompactSupport (fun x => (H x*gradientColumns (fderiv β u x)).col j) := | |
| hH.of_isClosed_subset isClosed_closure (tensorColumn_tsupport H _ j) | |
| theorem symmetric_cutoff_sources | |
| (H : Coord3 β Mat3) (hH : ContDiff β (β(β€ : ββ)) H) (hs : HasCompactSupport H) | |
| (hsy : β x,(H x).IsSymm) | |
| (u : Coord3 β Fin 2 β β) (hu : ContDiff β (β(β€ : ββ)) u) : | |
| (β j,ContDiff β (β(β€ : ββ)) (symmetricSource H u j)) β§ | |
| (β j,HasCompactSupport (symmetricSource H u j)) β§ | |
| (β j (Ο : Coord3 β β),ContDiff β (β(β€ : ββ)) Ο β | |
| (β« x,fderiv β Ο x ((H x*gradientColumns (fderiv β u x)).col j))= | |
| -(β« x,Ο x*symmetricSource H u j x)) β§ | |
| (β« x,symmetricSource H u 0 x)=0 β§ (β« x,symmetricSource H u 1 x)=0 β§ | |
| (β« x,u x 1*symmetricSource H u 0 x-u x 0*symmetricSource H u 1 x)=0 := by | |
| have hr (j : Fin 2) : ContDiff β (β(β€ : ββ)) (symmetricSource H u j) := | |
| coordinateDivergence_smooth (symmetricFlux_smooth hH hu j) | |
| have hsr (j : Fin 2) : HasCompactSupport (symmetricSource H u j) := | |
| coordinateDivergence_compact (symmetricFlux_compact hs u j) | |
| have hw (j : Fin 2) (Ο : Coord3 β β) (hΟ : ContDiff β (β(β€ : ββ)) Ο) : | |
| (β« x,fderiv β Ο x ((H x*gradientColumns (fderiv β u x)).col j))= | |
| -(β« x,Ο x*symmetricSource H u j x) := | |
| coordinateDivergence_weak (symmetricFlux_smooth hH hu j) (symmetricFlux_compact hs u j) Ο hΟ | |
| exact β¨hr,hsr,hw,compact_symmetric_source_moments u hu H hsy _ hr hsr hwβ© | |
| end ScalarConductivity | |
| end | |
| end OAI | |