cfahlgren1's picture
download
raw
3.04 kB
import Mathlib
import OAI.Analysis.Conductivity.Variational.FullWeakEndEnergy
namespace OAI
section
noncomputable section
namespace ScalarConductivity
open Set MeasureTheory Filter Topology
lemma sourceExtendedBox_mono {l r l' r' : ℝ} (hl : l'≤l) (hr : r≤r') :
sourceExtendedBox l r ⊆ sourceExtendedBox l' r' := by
intro x hx
obtain ⟨ht,ha,hb⟩ := mem_sourceExtendedBox.mp hx
exact mem_sourceExtendedBox.mpr ⟨⟨hl.trans ht.1,ht.2.trans hr⟩,ha,hb⟩
lemma sourceCollarPieces_aedisjoint {l r : ℝ}
(hl : -(1:ℝ)/100≤l) (hr : r≤1/100) :
Pairwise (fun k m : Fin 4 × Fin 4 => AEDisjoint volume
(sourceCollarPiece k.1 k.2 '' sourceExtendedBox l r)
(sourceCollarPiece m.1 m.2 '' sourceExtendedBox l r)) := by
intro k m hkm
have hn : ∀ᵐ y : Fin 3 → ℝ, y∉
(sourceCollarPiece k.1 k.2 '' sourceExtendedBox l r) ∩
(sourceCollarPiece m.1 m.2 '' sourceExtendedBox l r) := by
filter_upwards [sourceCollar_open_charts_ae] with y hy hm
obtain ⟨⟨z,hz,hzy⟩,w,hw,hwy⟩ := hm
have hyb := sourceCollarClosedPiece_subset (l:=-(1:ℝ)/100) (r:=1/100)
le_rfl le_rfl k.1 k.2 ⟨z,sourceExtendedBox_mono hl hr hz,hzy⟩
obtain ⟨i,j,x,hx,hxy⟩ := hy hyb
obtain ⟨hik,hjk⟩ := sourceCollarPiece_open_unique i j k.1 k.2 hx
(sourceExtendedBox_mono hl hr hz) (hxy.trans hzy.symm)
obtain ⟨him,hjm⟩ := sourceCollarPiece_open_unique i j m.1 m.2 hx
(sourceExtendedBox_mono hl hr hw) (hxy.trans hwy.symm)
exact hkm (Prod.ext (hik.symm.trans him) (hjk.symm.trans hjm))
simpa only [AEDisjoint,ae_iff,not_not,Set.ofPred_mem_eq] using hn
theorem sourceClosedCollarBand_measure_faces {l r : ℝ}
(hl : -(1:ℝ)/100≤l) (hr : r≤1/100) :
volume.restrict (sourceClosedCollarBand l r)=
∑ i : Fin 4,∑ j : Fin 4,
volume.restrict (sourceCollarPiece i j '' sourceExtendedBox l r) := by
rw [sourceClosedCollarBand_eq l r hl hr]
have he : (⋃ i : Fin 4,⋃ j : Fin 4,sourceCollarPiece i j '' sourceExtendedBox l r)=
⋃ k : Fin 4 × Fin 4,sourceCollarPiece k.1 k.2 '' sourceExtendedBox l r := by
ext x
simp
rw [he,Measure.restrict_iUnion_ae (sourceCollarPieces_aedisjoint hl hr)
(fun k => (sourceCollarClosedPiece_measurable l r k.1 k.2).nullMeasurableSet),
Measure.sum_fintype,Fintype.sum_prod_type]
lemma integral_sourceClosedCollarBand_faces {l r : ℝ}
(hl : -(1:ℝ)/100≤l) (hr : r≤1/100) {F : (Fin 3 → ℝ) → ℝ}
(hF : IntegrableOn F (sourceClosedCollarBand l r) volume) :
(∫ y in sourceClosedCollarBand l r,F y)=
∑ i : Fin 4,∑ j : Fin 4,
∫ y in sourceCollarPiece i j '' sourceExtendedBox l r,F y := by
have hi (i j : Fin 4) := hF.mono_set (sourceCollarClosedPiece_subset hl hr i j)
rw [sourceClosedCollarBand_measure_faces hl hr,integral_finsetSum_measure (fun i _ =>
integrable_finsetSum_measure.mpr (fun j _ => hi i j))]
simp_rw [integral_finsetSum_measure (fun j _ => hi _ j)]
end ScalarConductivity
end
end
end OAI

Xet Storage Details

Size:
3.04 kB
·
Xet hash:
77ceed9e21506ffe0ed2dcdbe0bb1be4e6564765a2b7d7845b494d2a5ce08897

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.