cfahlgren1/math / lean /OAI /Analysis /Conductivity /Geometry /UniformPhysicalBoxCorrection.lean
cfahlgren1's picture
download
raw
5.02 kB
import Mathlib
import OAI.Analysis.Conductivity.Sobolev.LocalPhysicalCorrectionBound
import OAI.Analysis.Conductivity.Variational.MetricControlledPiola
namespace OAI
section
noncomputable section
namespace ScalarConductivity
open Set Matrix MeasureTheory
open scoped Matrix.Norms.Elementwise
theorem uniform_physical_box_symmetric_correction_C0
{I : Type*} (Xs : I → OpenPartialHomeomorph Coord3 Coord3)
(hXs : ∀ i,ContDiffOn ℝ (↑(⊤:ℕ∞)) (Xs i) (Xs i).source)
(hXis : ∀ i,ContDiffOn ℝ (↑(⊤:ℕ∞)) (Xs i).symm (Xs i).target)
{a b c d : Coord3} (hab : ∀ i,a i<b i)
(hca : ∀ i,c i<a i) (hbd : ∀ i,b i<d i)
(hboxes : ∀ i,closedCorrectionBox c d⊆(Xs i).source)
{P : ℝ} (hP : 0<P)
(hmetric : ∀ i x,x∈closedCorrectionBox c d →
9*|(fderiv ℝ (Xs i) x).det|⁻¹*‖operatorMatrix (fderiv ℝ (Xs i) x)‖*
‖operatorMatrix (fderiv ℝ (Xs i) x)‖≤P) :
∃ L : ℝ,0<L ∧ ∀ i (r₁ r₂ : Box3 → ℝ),
ContDiff ℝ (↑(⊤:ℕ∞)) r₁ → ContDiff ℝ (↑(⊤:ℕ∞)) r₂ →
HasCompactSupport r₁ → HasCompactSupport r₂ →
tsupport r₁⊆(Ioo (a 0) (b 0) ×ˢ Ioo (a 1) (b 1)) ×ˢ Ioo (a 2) (b 2) →
tsupport r₂⊆(Ioo (a 0) (b 0) ×ˢ Ioo (a 1) (b 1)) ×ˢ Ioo (a 2) (b 2) →
(∫ p,r₁ p)=0 → (∫ p,r₂ p)=0 →
(∫ p,p.1.2*r₁ p-p.1.1*r₂ p)=0 → ∀ M : ℝ,0≤M →
UniformC1Bound r₁ M → UniformC1Bound r₂ M →
∃ H : Coord3 → Mat3,
ContDiff ℝ (↑(⊤:ℕ∞)) H ∧ HasCompactSupport H ∧ tsupport H⊆(Xs i).target ∧
(∀ y,(H y).IsSymm) ∧
(∀ j (ψ : Coord3 → ℝ),ContDiff ℝ (↑(⊤:ℕ∞)) ψ →
(∫ y,fderiv ℝ ψ y ((H y*gradientColumns (fderiv ℝ (coordinatePair∘(Xs i).symm) y)).col j))=
-(∫ y,ψ y*localPiolaSource (Xs i) (fun x => ![r₁ (boxCoordinates x),r₂ (boxCoordinates x)] j) y)) ∧
(∀ y,‖H y‖≤L*M) := by
obtain ⟨L,hL,solve⟩ := compact_coordinate_box_correction_C0 hab hca hbd
refine ⟨P*L,mul_pos hP hL,?_⟩
intro i r₁ r₂ hr₁ hr₂ hs₁ hs₂ hv₁ hv₂ hz₁ hz₂ ht M hM hb₁ hb₂
let X := Xs i
have hX := hXs i
have hXi := hXis i
have hbox := hboxes i
have hPi := fun (B : Coord3 → Mat3) (hB : Function.support B⊆closedCorrectionBox c d) (y : Coord3) =>
localPiolaTensor_bound_of_coefficient X hP.le (hmetric i) B hB y
obtain ⟨B,hB,hcB,htB,hsy,hw₁,hw₂,hbB⟩ :=
solve r₁ r₂ hr₁ hr₂ hs₁ hs₂ hv₁ hv₂ hz₁ hz₂ ht M hM hb₁ hb₂
have hBs : tsupport B⊆X.source := htB.trans hbox
have hinner : (Ioo (a 0) (b 0) ×ˢ Ioo (a 1) (b 1)) ×ˢ Ioo (a 2) (b 2)⊆
(Icc (c 0) (d 0) ×ˢ Icc (c 1) (d 1)) ×ˢ Icc (c 2) (d 2) := by
intro p hp
exact ⟨⟨⟨((hca 0).trans hp.1.1.1).le,(hp.1.1.2.trans (hbd 0)).le⟩,
⟨((hca 1).trans hp.1.2.1).le,(hp.1.2.2.trans (hbd 1)).le⟩⟩,
⟨((hca 2).trans hp.2.1).le,(hp.2.2.trans (hbd 2)).le⟩⟩
let r : Fin 2 → Coord3 → ℝ := fun j x => ![r₁ (boxCoordinates x),r₂ (boxCoordinates x)] j
have hcr : ∀ j,HasCompactSupport (r j) := by
intro j
fin_cases j
· exact hs₁.comp_homeomorph boxCoordinates.toHomeomorph
· exact hs₂.comp_homeomorph boxCoordinates.toHomeomorph
have hsr : ∀ j,tsupport (r j)⊆X.source := by
intro j
fin_cases j
· exact ((tsupport_comp_subset_preimage r₁ boxCoordinates.continuous).trans
(preimage_mono (hv₁.trans hinner))).trans hbox
· exact ((tsupport_comp_subset_preimage r₂ boxCoordinates.continuous).trans
(preimage_mono (hv₂.trans hinner))).trans hbox
have hweak : ∀ j (φ : Coord3 → ℝ), ContDiff ℝ (↑(⊤ : ℕ∞)) φ →
(∫ x,fderiv ℝ φ x ((B x*gradientColumns (fderiv ℝ coordinatePair x)).col j))=
-(∫ x,φ x*r j x) := by
intro j φ hφ
simp_rw [coordinatePair_columns]
fin_cases j
· exact hw₁ φ hφ
· exact hw₂ φ hφ
refine ⟨localPiolaTensor X B,localPiolaTensor_smooth X hX hXi B hB hcB hBs,
(localPiolaTensor_compact X B hcB hBs).1,(localPiolaTensor_compact X B hcB hBs).2,
localPiolaTensor_isSymm X B hsy,?_,?_⟩
· intro j ψ hψ
change (∫ y,fderiv ℝ ψ y ((localPiolaTensor X B y*gradientColumns (fderiv ℝ (coordinatePair∘X.symm) y)).col j))=_
simp_rw [localPiolaTensor_columns X (hX.differentiableOn (by simp))
(hXi.differentiableOn (by simp)) B coordinatePair
(coordinatePair_smooth.differentiable (by simp)).differentiableOn]
have htj := tensorColumn_tsupport B (fun x => gradientColumns (fderiv ℝ coordinatePair x)) j
exact localPiolaFlux_weak_source volume X hX hXi _ _
(hcB.of_isClosed_subset isClosed_closure htj) (hcr j) (htj.trans hBs) (hsr j) (hweak j) ψ hψ
· intro y
exact (hPi B ((subset_tsupport B).trans htB) y).trans
((mul_le_mul_of_nonneg_left (hbB _) hP.le).trans_eq (by ring))
end ScalarConductivity
end
end
end OAI

Xet Storage Details

Size:
5.02 kB
·
Xet hash:
cc3e0ae48a547e8a8b742cf972fa06b5ecd2a955dda956319e37c361de2b92b0

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