Download data/lean/OAI/Analysis/Conductivity/Variational/CompactDepthReductionRegular.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 6.25 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Analysis/Conductivity/Variational/CompactDepthReductionRegular.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Analysis/Conductivity/Variational/CompactDepthReductionRegular.lean
-
curl -L -o CompactDepthReductionRegular.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Analysis/Conductivity/Variational/CompactDepthReductionRegular.lean
6.25 kB
| import Mathlib | |
| import OAI.Analysis.Conductivity.Variational.TsupportFiniteSumSubset | |
| import OAI.Analysis.Conductivity.Variational.Unchanged | |
| namespace OAI | |
| noncomputable section | |
| open MeasureTheory | |
| open scoped ENNReal | |
| open Matrix Filter Topology | |
| open Set MeasureTheory Filter Topology | |
| open scoped BigOperators | |
| open Set MeasureTheory Filter Topology | |
| open scoped Manifold | |
| open Set Filter | |
| open scoped Topology | |
| open Set Filter MeasureTheory | |
| open scoped Topology Manifold ENNReal | |
| open Set | |
| namespace ScalarConductivity | |
| open Matrix Set MeasureTheory Filter Topology | |
| open scoped Matrix.Norms.Elementwise | |
| theorem exists_compact_depth_reduction_regular | |
| (ΞΌ : Measure Coord3) [ΞΌ.IsAddHaarMeasure] | |
| (u : Coord3 β Fin 2 β β) (A : Coord3 β Symmetric3) | |
| {U : Set Coord3} (hU : IsOpen U) (hUb : Bornology.IsBounded U) | |
| (hu : ContDiffOn β (β(β€ : ββ)) u U) | |
| (hA : ContDiffOn β (β(β€ : ββ)) (fun x => (A x).val) U) | |
| (hdiv : β j (Ο : Coord3 β β), ContDiff β (β(β€ : ββ)) Ο β HasCompactSupport Ο β | |
| tsupport Ο β U β (β« x, fderiv β Ο x ((conductivityFlux u A x).col j) βΞΌ) = 0) | |
| (hr : TwoFieldRankRegular u U) | |
| {a b : β} (ha : 0 < a) {T : Set DiagonalTriple} | |
| (hT : IsOpen T) (hsub : β d β T, IsFiniteLaminate a b d) | |
| (hperm : β d β T, β e : Equiv.Perm (Fin 3), d β e β T) | |
| {p : Coord3} (hpU : p β U) {n : β} | |
| (hp : A p β spectralExtension (depthClass T (n+1))) | |
| (hsc : (spectralExtension (depthClass T n)).Nonempty) : | |
| β W : Set Coord3, IsOpen W β§ p β W β§ closure W β U β§ IsCompact (closure W) β§ | |
| β O : Set Coord3, IsOpen O β O β W β β Ξ΅ : β, 0 < Ξ΅ β | |
| β R : CompactCompatibleReplacement ΞΌ O u A, | |
| TwoFieldRankRegular (fun x => u x+R.du x) O β§ | |
| (β x β O, R.tensor x β matrixFiniteLaminate a b) β§ | |
| ΞΌ {x | x β O β§ R.tensor x β spectralExtension (depthClass T n)} β€ ENNReal.ofReal Ξ΅ := by | |
| classical | |
| by_cases hn : A p β spectralExtension (depthClass T n) | |
| Β· have hTo := isOpen_spectralExtension (isOpen_depthClass ha hT hsub n) (depthClass_permute hperm n) | |
| have hAc : ContinuousAt A p := Topology.IsInducing.subtypeVal.continuousAt_iff.mpr | |
| (hA.continuousOn.continuousAt (hU.mem_nhds hpU)) | |
| have hev : βαΆ x in π p, x β U β§ A x β spectralExtension (depthClass T n) := | |
| Filter.Eventually.and (hU.mem_nhds hpU) (hAc.preimage_mem_nhds (hTo.mem_nhds hn)) | |
| obtain β¨V, hVs, hV, hpVβ© := mem_nhds_iff.mp hev | |
| obtain β¨W, hW, hpW, hWV, hWcβ© := exists_precompact_open_inside hV hpV | |
| have hVU : V β U := fun x hx => (hVs hx).1 | |
| refine β¨W, hW, hpW, hWV.trans hVU, hWc, ?_β© | |
| intro O hO hOW Ξ΅ _ | |
| have hOV := hOW.trans (subset_closure.trans hWV) | |
| have hOU := hOV.trans hVU | |
| let R := CompactCompatibleReplacement.unchanged ΞΌ O u A (hA.mono hOU) | |
| refine β¨R, ?_, fun x hx => spectral_depth_subset hsub n (hVs (hOV hx)).2, ?_β© | |
| Β· simpa only [R, CompactCompatibleReplacement.unchanged, Pi.zero_apply, add_zero] using hr.mono hOU | |
| Β· have he : {x | x β O β§ R.tensor x β spectralExtension (depthClass T n)} = β := by | |
| ext x | |
| simp only [mem_ofPred_eq, mem_empty_iff_false, iff_false, not_and, not_not] | |
| intro hx | |
| exact (hVs (hOV hx)).2 | |
| rw [he, measure_empty] | |
| exact bot_le | |
| Β· exact exists_compact_depth_reduction_regular_nontrivial ΞΌ u A hU hUb hu hA hdiv hr | |
| ha hT hsub hperm hpU hp hn hsc | |
| end ScalarConductivity | |
| namespace ScalarConductivity | |
| open Matrix Set MeasureTheory Filter Topology | |
| open scoped Matrix.Norms.Elementwise | |
| theorem assemble_compatible_replacements | |
| (ΞΌ : Measure Coord3) [ΞΌ.IsAddHaarMeasure] | |
| {I : Type*} [Fintype I] [DecidableEq I] | |
| (O : I β Set Coord3) (hO : β i, IsOpen (O i)) | |
| (hd : Pairwise (fun i j => Disjoint (O i) (O j))) | |
| (u : Coord3 β Fin 2 β β) (A : Coord3 β Symmetric3) | |
| (R : β i, CompactCompatibleReplacement ΞΌ (O i) u A) : | |
| β (du : Coord3 β Fin 2 β β) (dF : Coord3 β Matrix (Fin 3) (Fin 2) β), | |
| ContDiff β (β(β€ : ββ)) du β§ HasCompactSupport du β§ tsupport du β β i, O i β§ | |
| ContDiff β (β(β€ : ββ)) dF β§ HasCompactSupport dF β§ tsupport dF β β i, O i β§ | |
| (β j (Ο : Coord3 β β), ContDiff β (β(β€ : ββ)) Ο β | |
| (β« x, fderiv β Ο x ((dF x).col j) βΞΌ) = 0) β§ | |
| (β i, EqOn du (R i).du (O i) β§ EqOn dF (R i).dF (O i) β§ | |
| β x β O i, | |
| fderiv β (fun y => u y+du y) x = fderiv β (fun y => u y+(R i).du y) x) β§ | |
| (β x β β i, O i, du x = 0 β§ dF x = 0) := by | |
| let du : Coord3 β Fin 2 β β := fun x => β i, (R i).du x | |
| let dF : Coord3 β Matrix (Fin 3) (Fin 2) β := fun x => β i, (R i).dF x | |
| have heu : β i, EqOn du (R i).du (O i) := | |
| supported_sum_eq_on O hd (fun i => (R i).du) (fun i => (R i).support_du) | |
| have heF : β i, EqOn dF (R i).dF (O i) := | |
| supported_sum_eq_on O hd (fun i => (R i).dF) (fun i => (R i).support_dF) | |
| have hcdu : HasCompactSupport du := by | |
| simpa only [du, β Finset.sum_apply] using | |
| (HasCompactSupport.finset_sum (s := Finset.univ) (fun i _ => (R i).compact_du)) | |
| have hcdF : HasCompactSupport dF := by | |
| simpa only [dF, β Finset.sum_apply] using | |
| (HasCompactSupport.finset_sum (s := Finset.univ) (fun i _ => (R i).compact_dF)) | |
| refine β¨du, dF, ContDiff.sum (fun i _ => (R i).smooth_du), | |
| hcdu, | |
| (tsupport_finite_sum_subset _).trans (iUnion_mono (fun i => (R i).support_du)), | |
| ContDiff.sum (fun i _ => (R i).smooth_dF), | |
| hcdF, | |
| (tsupport_finite_sum_subset _).trans (iUnion_mono (fun i => (R i).support_dF)), ?_, ?_, ?_β© | |
| Β· exact finite_sum_cauchy_preserving ΞΌ (fun i => (R i).dF) | |
| (fun i => (R i).smooth_dF) (fun i => (R i).compact_dF) (fun i => (R i).cauchy_dF) | |
| Β· intro i | |
| refine β¨heu i, heF i, ?_β© | |
| intro x hx | |
| apply Filter.EventuallyEq.fderiv_eq | |
| filter_upwards [(hO i).mem_nhds hx] with y hy | |
| rw [heu i hy] | |
| Β· intro x hx | |
| exact β¨supported_sum_eq_zero_off O _ (fun i => (R i).support_du) hx, | |
| supported_sum_eq_zero_off O _ (fun i => (R i).support_dF) hxβ© | |
| end ScalarConductivity | |
| end | |
| end OAI | |