Download data/lean/OAI/Analysis/Conductivity/Geometry/BoxIteration.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 2.53 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Analysis/Conductivity/Geometry/BoxIteration.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Analysis/Conductivity/Geometry/BoxIteration.lean
-
curl -L -o BoxIteration.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Analysis/Conductivity/Geometry/BoxIteration.lean
2.53 kB
| import Mathlib | |
| import OAI.Analysis.Conductivity.Geometry.ExtendedCollar | |
| namespace OAI | |
| noncomputable section | |
| namespace ScalarConductivity | |
| open Set MeasureTheory | |
| def threeArrow : (Fin 3 β β) βα΅ βΓ(βΓβ) := | |
| (MeasurableEquiv.piFinSuccAbove (fun _ : Fin 3 => β) 0).trans | |
| ((MeasurableEquiv.refl β).prodCongr (MeasurableEquiv.finTwoArrow)) | |
| lemma threeArrow_apply (x : Fin 3 β β) : threeArrow x=(x 0,x 1,x 2) := by rfl | |
| lemma threeArrow_symm_apply (x : βΓ(βΓβ)) : threeArrow.symm x=![x.1,x.2.1,x.2.2] := by | |
| ext i; fin_cases i <;> rfl | |
| lemma threeArrow_volume : MeasurePreserving threeArrow := by | |
| exact ((MeasurePreserving.id volume).prod (volume_preserving_finTwoArrow β)).comp | |
| (volume_preserving_piFinSuccAbove (fun _ : Fin 3 => β) 0) | |
| lemma sourceExtendedBox_image (l r : β) : | |
| threeArrow '' sourceExtendedBox l r=Icc l r ΓΛ’ (Icc (-1:β) 1 ΓΛ’ Icc (-1:β) 1) := by | |
| ext z | |
| rw [MeasurableEquiv.image_eq_preimage_symm] | |
| simp [threeArrow_symm_apply,mem_sourceExtendedBox,abs_le,Prod.le_def] | |
| tauto | |
| lemma integral_sourceExtendedBox {g : (Fin 3 β β) β β} (hg : Continuous g) | |
| {l r : β} (hlr : lβ€r) : | |
| (β« x in sourceExtendedBox l r,g x)= | |
| β« t in l..r,β« a in (-1:β)..1,β« b in (-1:β)..1,g ![t,a,b] := by | |
| have hc : Continuous (fun z : βΓ(βΓβ) => g ![z.1,z.2.1,z.2.2]) := hg.comp (by fun_prop) | |
| have hi := hc.continuousOn.integrableOn_compact (ΞΌ:=volume) | |
| (isCompact_Icc.prod (isCompact_Icc.prod isCompact_Icc) : | |
| IsCompact (Icc l r ΓΛ’ (Icc (-1:β) 1 ΓΛ’ Icc (-1:β) 1))) | |
| have he := threeArrow_volume.setIntegral_image_emb threeArrow.measurableEmbedding | |
| (fun z : βΓ(βΓβ) => g ![z.1,z.2.1,z.2.2]) (sourceExtendedBox l r) | |
| simp only [threeArrow_apply] at he | |
| have hid (x : Fin 3 β β) : ![x 0,x 1,x 2]=x := by ext i; fin_cases i <;> rfl | |
| simp_rw [hid] at he | |
| have him := sourceExtendedBox_image l r | |
| simp only [threeArrow_apply] at him | |
| rw [βhe,him] | |
| change (β« y in Icc l r ΓΛ’ (Icc (-1:β) 1 ΓΛ’ Icc (-1:β) 1), | |
| g ![y.1,y.2.1,y.2.2] βvolume.prod volume)=_ | |
| rw [setIntegral_prod _ hi] | |
| simp_rw [intervalIntegral.integral_of_le hlr, | |
| intervalIntegral.integral_of_le (by norm_num : (-1:β)β€1),βintegral_Icc_eq_integral_Ioc] | |
| apply setIntegral_congr_fun measurableSet_Icc | |
| intro t ht | |
| exact setIntegral_prod _ ((hc.comp (continuous_const.prodMk continuous_id)).continuousOn.integrableOn_compact | |
| (isCompact_Icc.prod isCompact_Icc)) | |
| end ScalarConductivity | |
| end | |
| end OAI | |