cfahlgren1/math / lean /OAI /Geometry /TamingCompatibility /Elliptic /PrincipalDerivativeError.lean
cfahlgren1's picture
download
raw
5.98 kB
import Mathlib
import OAI.Geometry.TamingCompatibility.DifferentialForms.FiberMap
namespace OAI
section
section
section
section
noncomputable section
noncomputable section
namespace TamingCompatibility.HilbertSobolev
open MeasureTheory TemperedDistribution EuclideanSobolevOperators
open scoped SchwartzMap ENNReal LineDeriv Laplacian FourierTransform
variable {E F : Type*} [NormedAddCommGroup E] [InnerProductSpace โ„ E]
[FiniteDimensional โ„ E] [MeasurableSpace E] [BorelSpace E]
[NormedAddCommGroup F] [InnerProductSpace โ„‚ F] [CompleteSpace F]
omit [CompleteSpace F] in
lemma distribution_derivatives_commute (v w : E) (u : ๐“ข'(E,F)) :
โˆ‚_{v} (โˆ‚_{w} u) = โˆ‚_{w} (โˆ‚_{v} u) := by
apply (FourierTransform.fourierEquiv โ„‚ ๐“ข'(E,F)).injective
change ๐“• (โˆ‚_{v} (โˆ‚_{w} u)) = ๐“• (โˆ‚_{w} (โˆ‚_{v} u))
simp only [fourier_lineDerivOp_eq, map_smul]
congr 2
rw [smulLeftCLM_smulLeftCLM_apply (by fun_prop) (by fun_prop),
smulLeftCLM_smulLeftCLM_apply (by fun_prop) (by fun_prop)]
rw [mul_comm]
omit [CompleteSpace F] in
lemma helmholtz_derivative (v : E) (u : ๐“ข'(E,F)) :
EuclideanGreen.helmholtz (โˆ‚_{v} u) = โˆ‚_{v} (EuclideanGreen.helmholtz u) := by
rw [โ† EuclideanGreen.bessel_two_eq_helmholtz, โ† EuclideanGreen.bessel_two_eq_helmholtz]
apply (FourierTransform.fourierEquiv โ„‚ ๐“ข'(E,F)).injective
change ๐“• (besselPotential E F 2 (โˆ‚_{v} u)) = ๐“• (โˆ‚_{v} (besselPotential E F 2 u))
simp only [fourier_besselPotential_eq_smulLeftCLM_fourier_apply,
fourier_lineDerivOp_eq, map_smul]
congr 1
rw [smulLeftCLM_smulLeftCLM_apply (by fun_prop) (by fun_prop),
smulLeftCLM_smulLeftCLM_apply (by fun_prop) (by fun_prop)]
rw [mul_comm]
def principalDerivativeError (a : basisIndex E โ†’ basisIndex E โ†’ ๐“ข(E,โ„‚))
(v : E) (u : ๐“ข'(E,F)) : ๐“ข'(E,F) :=
โˆ‘ i, โˆ‘ j, smulLeftCLM F (โˆ‚_{v} (a i j) : ๐“ข(E,โ„‚))
(โˆ‚_{stdOrthonormalBasis โ„ E i} (โˆ‚_{stdOrthonormalBasis โ„ E j} u))
omit [CompleteSpace F] in
lemma perturbedHelmholtz_derivative
(a : basisIndex E โ†’ basisIndex E โ†’ ๐“ข(E,โ„‚)) (v : E) (u : ๐“ข'(E,F)) :
โˆ‚_{v} (perturbedHelmholtz a u) =
perturbedHelmholtz a (โˆ‚_{v} u) + principalDerivativeError a v u := by
simp only [perturbedHelmholtz, differentialPerturbation,
LineDeriv.lineDerivOp_add, LineDeriv.lineDerivOp_sum,
distribution_derivative_product, Finset.sum_add_distrib,
principalDerivativeError, โ† helmholtz_derivative]
have hc (i j : basisIndex E) :
โˆ‚_{v} (โˆ‚_{stdOrthonormalBasis โ„ E i} (โˆ‚_{stdOrthonormalBasis โ„ E j} u)) =
โˆ‚_{stdOrthonormalBasis โ„ E i} (โˆ‚_{stdOrthonormalBasis โ„ E j} (โˆ‚_{v} u)) := by
rw [distribution_derivatives_commute v, distribution_derivatives_commute v]
simp only [hc]
abel
lemma principalDerivativeError_memSobolev (n : โ„•)
(a : basisIndex E โ†’ basisIndex E โ†’ ๐“ข(E,โ„‚)) (v : E)
{u : ๐“ข'(E,F)} (hu : MemSobolev ((n:โ„)+2) 2 u) :
MemSobolev n 2 (principalDerivativeError a v u) := by
apply memSobolev_sum
intro i _
apply memSobolev_sum
intro j _
apply memSobolev_nat_product
convert hu.lineDerivOp.lineDerivOp using 1
ring
theorem principal_H1_bootstrap (n : โ„•)
(a : basisIndex E โ†’ basisIndex E โ†’ ๐“ข(E,โ„‚))
(hweak : โ€–perturbationNegOne (F := F) aโ€– < 1)
(hstrong : โ€–perturbation (F := F) 0 aโ€– < 1) {u : ๐“ข'(E,F)}
(hu : MemSobolev 1 2 u)
(hf : MemSobolev n 2 (perturbedHelmholtz a u)) :
MemSobolev ((n:โ„)+2) 2 u := by
induction n generalizing u with
| zero =>
simp only [Nat.cast_zero, zero_add] at hf โŠข
exact weak_H1_regular a hweak hstrong hu hf
| succ n ih =>
have hf' : MemSobolev n 2 (perturbedHelmholtz a u) :=
hf.mono (by exact_mod_cast Nat.le_succ n)
have hu2 := ih hu hf'
have hd (i : basisIndex E) :
MemSobolev ((n:โ„)+2) 2 (โˆ‚_{stdOrthonormalBasis โ„ E i} u) := by
have hd1 : MemSobolev 1 2 (โˆ‚_{stdOrthonormalBasis โ„ E i} u) :=
hu2.lineDerivOp.mono (by have := Nat.cast_nonneg (ฮฑ := โ„) n; linarith)
have hdf : MemSobolev n 2 (โˆ‚_{stdOrthonormalBasis โ„ E i}
(perturbedHelmholtz a u)) := by
convert hf.lineDerivOp using 1
simp
have he := principalDerivativeError_memSobolev n a
(stdOrthonormalBasis โ„ E i) hu2
have hr := hdf.sub he
rw [perturbedHelmholtz_derivative, add_sub_cancel_right] at hr
exact ih hd1 hr
have h := memSobolev_succ_of_derivatives (stdOrthonormalBasis โ„ E) hu2 hd
convert h using 1
push_cast
ring
theorem matrix_H1_bootstrap {ฮน ฮบ : Type*} [Fintype ฮน] [Fintype ฮบ]
(n : โ„•) (a : basisIndex E โ†’ basisIndex E โ†’ ๐“ข(E,โ„‚))
(hweak : โ€–perturbationNegOne (F := F) aโ€– < 1)
(hstrong : โ€–perturbation (F := F) 0 aโ€– < 1)
(b : ฮน โ†’ ๐“ข(E,โ„‚)) (L : ฮน โ†’ F โ†’L[โ„‚] F) (v : ฮน โ†’ E)
(c : ฮบ โ†’ ๐“ข(E,โ„‚)) (K : ฮบ โ†’ F โ†’L[โ„‚] F) {u : ๐“ข'(E,F)}
(hu : MemSobolev 1 2 u)
(hf : MemSobolev n 2 (perturbedHelmholtz a u + matrixLowerOrder b L v c K u)) :
MemSobolev ((n:โ„)+2) 2 u := by
induction n with
| zero =>
have hu' : MemSobolev ((0:โ„•)+1:โ„) 2 u := by simpa using hu
have hl := matrixLowerOrder_memSobolev 0 b L v c K hu'
have hp := hf.sub hl
rw [add_sub_cancel_right] at hp
exact principal_H1_bootstrap 0 a hweak hstrong hu hp
| succ n ih =>
have hu2 := ih (hf.mono (by exact_mod_cast Nat.le_succ n))
have hu' : MemSobolev ((n+1:โ„•)+1:โ„) 2 u := by
convert hu2 using 1
push_cast
ring
have hl := matrixLowerOrder_memSobolev (n+1) b L v c K hu'
have hp := hf.sub hl
rw [add_sub_cancel_right] at hp
exact principal_H1_bootstrap (n+1) a hweak hstrong hu hp
end TamingCompatibility.HilbertSobolev
noncomputable section
open MeasureTheory FourierTransform
open scoped SchwartzMap BoundedContinuousFunction RealInnerProductSpace
end
end
end
end
end
end
end
end OAI

Xet Storage Details

Size:
5.98 kB
ยท
Xet hash:
adf1cac220d56cd696b5709e6338e3784728063c8a81ccb1667d9e3985028d55

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