Download data/lean/OAI/Analysis/Conductivity/Geometry/RegularRegionFiniteGluing.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 2.83 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Analysis/Conductivity/Geometry/RegularRegionFiniteGluing.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Analysis/Conductivity/Geometry/RegularRegionFiniteGluing.lean
-
curl -L -o RegularRegionFiniteGluing.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Analysis/Conductivity/Geometry/RegularRegionFiniteGluing.lean
2.83 kB
| import Mathlib | |
| import OAI.Analysis.Conductivity.Geometry.RegularPatch | |
| 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 | |
| lemma regularRegion_finite_gluing | |
| {I : Type*} [Fintype I] | |
| {u v : Coord3 β Fin 2 β β} {A B : Coord3 β Symmetric3} {U : Set Coord3} | |
| (O : I β Set Coord3) (hOU : β i, O i β U) | |
| (hnew : β i, RegularPatch v B (O i)) | |
| (hu : EqOn v u (β i, O i)αΆ) (hA : EqOn B A (β i, O i)αΆ) : | |
| regularRegion u A U \ (β i, frontier (O i)) β regularRegion v B U := by | |
| intro x hx | |
| by_cases hxi : x β β i, O i | |
| Β· obtain β¨i,hiβ© := mem_iUnion.mp hxi | |
| exact mem_regularRegion_iff.mpr β¨O i,hOU i,hnew i,hiβ© | |
| Β· obtain β¨V,hVU,hV,hxVβ© := mem_regularRegion_iff.mp hx.1 | |
| let W := V \ β i, closure (O i) | |
| have hclosed : IsClosed (β i, closure (O i)) := isClosed_iUnion_of_finite (fun _ => isClosed_closure) | |
| have hW : IsOpen W := hV.1.sdiff hclosed | |
| have hxW : x β W := by | |
| refine β¨hxV,?_β© | |
| intro hxc | |
| obtain β¨i,hiβ© := mem_iUnion.mp hxc | |
| apply hx.2 | |
| refine mem_iUnion.mpr β¨i,?_β© | |
| rw [frontier, (hnew i).1.interior_eq] | |
| exact β¨hi,fun hh => hxi (mem_iUnion.mpr β¨i,hhβ©)β© | |
| have hWoff : W β (β i, O i)αΆ := by | |
| intro y hy hi | |
| apply hy.2 | |
| obtain β¨i,hyiβ© := mem_iUnion.mp hi | |
| exact mem_iUnion.mpr β¨i,subset_closure hyiβ© | |
| exact mem_regularRegion_iff.mpr β¨W,sdiff_subset.trans hVU, | |
| (hV.mono hW sdiff_subset).congr (hu.mono hWoff) (hA.mono hWoff),hxWβ© | |
| lemma regularRegion_finite_gluing_ae | |
| (ΞΌ : Measure Coord3) {I : Type*} [Fintype I] | |
| {u v : Coord3 β Fin 2 β β} {A B : Coord3 β Symmetric3} {U : Set Coord3} | |
| (hold : ΞΌ (U \ regularRegion u A U) = 0) | |
| (O : I β Set Coord3) (hOU : β i, O i β U) | |
| (hnew : β i, RegularPatch v B (O i)) | |
| (hu : EqOn v u (β i, O i)αΆ) (hA : EqOn B A (β i, O i)αΆ) | |
| (hnull : β i, ΞΌ (frontier (O i)) = 0) : | |
| ΞΌ (U \ regularRegion v B U) = 0 := by | |
| have hs : U \ regularRegion v B U β | |
| (U \ regularRegion u A U) βͺ (β i, frontier (O i)) := by | |
| intro x hx | |
| by_cases hr : x β regularRegion u A U | |
| Β· right | |
| by_contra hf | |
| exact hx.2 (regularRegion_finite_gluing O hOU hnew hu hA β¨hr,hfβ©) | |
| Β· exact Or.inl β¨hx.1,hrβ© | |
| exact measure_mono_null hs (measure_union_null hold (measure_iUnion_null hnull)) | |
| end ScalarConductivity | |
| end | |
| end OAI | |