File size: 9,649 Bytes
4a56cd6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 | import OAI.Analysis.Calculus.Current.AverageCompact
/-! Conservation of the actual compactly averaged, cut off, regularized current. -/
noncomputable section
namespace OAI.Analysis.Calculus.Current
open _root_.MeasureTheory OAI.Analysis.Calculus.Quaternion
open scoped Matrix Matrix.Norms.Elementwise Topology ContDiff
private theorem fderiv_snd_value {E F G : Type*}
[NormedAddCommGroup E] [NormedSpace β E]
[NormedAddCommGroup F] [NormedSpace β F]
[NormedAddCommGroup G] [NormedSpace β G]
{f : F β G} (q : E Γ F) (hf : DifferentiableAt β f q.2) :
fderiv β (fun y : E Γ F => f y.2) q =
(fderiv β f q.2).comp (ContinuousLinearMap.snd β E F) := by
simpa only using! (hf.hasFDerivAt.comp q (ContinuousLinearMap.snd β E F).hasFDerivAt).fderiv
private theorem differentiableAt_add_smul_value {E F : Type*}
[NormedAddCommGroup E] [NormedSpace β E]
[NormedAddCommGroup F] [NormedSpace β F]
{f g : E β F} {q : E} (hf : DifferentiableAt β f q)
(hg : DifferentiableAt β g q) (c : β) :
DifferentiableAt β (fun y => f y + c β’ g y) q :=
hf.add (hg.const_smul c)
private theorem fderiv_add_smul_value {E F : Type*}
[NormedAddCommGroup E] [NormedSpace β E]
[NormedAddCommGroup F] [NormedSpace β F]
{f g : E β F} {q : E} (hf : DifferentiableAt β f q)
(hg : DifferentiableAt β g q) (c : β) (v : E) :
fderiv β (fun y => f y + c β’ g y) q v =
fderiv β f q v + c β’ fderiv β g q v := by
simpa only [add_apply, smul_apply] using!
congrArg (fun L => L v) (hf.hasFDerivAt.add (hg.hasFDerivAt.const_smul c)).fderiv
variable {d : β} {ΞΉ Ξ± : Type*} [Fintype ΞΉ]
local instance : NormedAddCommGroup (Matrix (Index d) (Index d) OAI.Analysis.Calculus.Quaternion.Q) :=
inferInstanceAs (NormedAddCommGroup (Index d β Index d β OAI.Analysis.Calculus.Quaternion.Q))
local instance : NormedSpace β (Matrix (Index d) (Index d) OAI.Analysis.Calculus.Quaternion.Q) :=
inferInstanceAs (NormedSpace β (Index d β Index d β OAI.Analysis.Calculus.Quaternion.Q))
local instance : ContinuousSMul β (Matrix (Index d) (Index d) OAI.Analysis.Calculus.Quaternion.Q) :=
inferInstanceAs (ContinuousSMul β (Index d β Index d β OAI.Analysis.Calculus.Quaternion.Q))
local instance : ContinuousConstSMul β (Matrix (Index d) (Index d) OAI.Analysis.Calculus.Quaternion.Q) :=
inferInstanceAs (ContinuousConstSMul β (Index d β Index d β OAI.Analysis.Calculus.Quaternion.Q))
theorem differentiableAt_cutoffCurrent (g : β β β) (a : β)
(A : (Index d β β) β (Index d β β) β Matrix (Index d) (Index d) OAI.Analysis.Calculus.Quaternion.Q)
(q : CurrentSpace d) (hq : q β currentNonzeroDomain d)
(hg : DifferentiableAt β g (phi q.2 / (a : β)))
(hA : DifferentiableAt β (fun y : CurrentSpace d => A y.1 y.2) q) :
DifferentiableAt β (fun y : CurrentSpace d => cutoffCurrent g a A y.1 y.2) q := by
have hΟ := (differentiableAt_phi q.2 hq).restrictScalars β
have hscale : DifferentiableAt β (fun z : β => z / (a : β)) (phi q.2) := by fun_prop
have hgs : DifferentiableAt β (fun z : Index d β β => g (phi z / (a : β))) q.2 :=
hg.comp q.2 (hscale.comp q.2 hΟ)
exact (hgs.comp q differentiableAt_snd).smul hA
theorem differentiableAt_fiberCofactor_field (w a : β) (q : CurrentSpace d)
(hq : q β currentNonzeroDomain d) :
DifferentiableAt β (fun y : CurrentSpace d => fiberCofactor w a y.2) q :=
((contDiffAt_fiberCofactor w a q.2 hq).differentiableAt (by simp)).comp q
differentiableAt_snd
theorem fiberCofactor_field_divergence_zero (w a : β) (q : CurrentSpace d)
(hq : q β currentNonzeroDomain d) (b : Index d) :
OAI.Analysis.Calculus.Quaternion.strongDivergence OAI.Analysis.Calculus.Quaternion.threeSlots (fun p =>
fderiv β (fun y : CurrentSpace d => fiberCofactor w a y.2) q
(currentDirection p)) b = 0 := by
have hC := (contDiffAt_fiberCofactor w a q.2 hq).differentiableAt (by simp)
change DifferentiableAt β (fun z : Index d β β =>
(fiberCofactor w a z : Index d β Index d β OAI.Analysis.Calculus.Quaternion.Q)) q.2 at hC
have hF : fderiv β (fun y : CurrentSpace d => fiberCofactor w a y.2) q =
(fderiv β (fiberCofactor w a) q.2).comp
(ContinuousLinearMap.snd β (Index d β β) (Index d β β)) := by
simpa only using! fderiv_snd_value q hC
simp only [hF, ContinuousLinearMap.comp_apply]
change OAI.Analysis.Calculus.Quaternion.strongDivergence OAI.Analysis.Calculus.Quaternion.threeSlots (fun p =>
fderiv β (fiberCofactor w a) q.2 ((currentDirection p).2)) b = 0
simp only [currentDirection_snd]
exact fiberCofactor_divergence_zero w a q.2 hq b
section Compact
variable [TopologicalSpace Ξ±] [CompactSpace Ξ±] [T2Space Ξ±] [SecondCountableTopology Ξ±]
[MeasurableSpace Ξ±] [BorelSpace Ξ±] (ΞΌ : Measure Ξ±) [IsFiniteMeasure ΞΌ]
theorem cutoff_averagedWaveCurrent_divergence_zero (shift : Ξ± β Index d β β)
(hshift : Continuous shift) (g : β β β) (a : β)
(ΞΊ cR cI : ΞΉ β β) (v : ΞΉ β Fin d β β) (q : CurrentSpace d)
(hq : q β currentNonzeroDomain d)
(hg : DifferentiableAt β g (phi q.2 / (a : β))) (b : Index d) :
OAI.Analysis.Calculus.Quaternion.strongDivergence OAI.Analysis.Calculus.Quaternion.threeSlots (fun p => fderiv β
(fun y : CurrentSpace d =>
cutoffCurrent g a (averagedWaveCurrent ΞΌ shift ΞΊ cR cI v) y.1 y.2) q
(currentDirection p)) b = 0 := by
have hA := differentiableAt_averagedWaveCurrent ΞΌ shift hshift ΞΊ cR cI v q hq
have hcut := differentiableAt_cutoffCurrent g a _ q hq hg hA
have hdiv : β b, OAI.Analysis.Calculus.Quaternion.strongDivergence OAI.Analysis.Calculus.Quaternion.threeSlots
(threeSlotMatrixDerivative (averagedWaveCurrent ΞΌ shift ΞΊ cR cI v) q.1 q.2) b = 0 := by
intro j
simpa only [fderiv_currentDirection hA] using
averagedWaveCurrent_divergence_zero ΞΌ shift hshift ΞΊ cR cI v q hq j
have htan : β b, β c, complexK (phaseRow (ratio q.2) c) *
averagedWaveCurrent ΞΌ shift ΞΊ cR cI v q.1 q.2 c b = 0 := by
intro j
simpa only [Matrix.mulVec_single_one, Matrix.col_apply] using
averagedWaveCurrent_tangent ΞΌ shift ΞΊ cR cI v q.1 q.2
(integrable_waveCurrent_translate ΞΌ shift hshift ΞΊ cR cI v q.1 q.2 hq)
(Pi.single j 1)
simpa only [fderiv_currentDirection hcut] using
cutoffCurrent_divergence_zero g a hq hg hA htan hdiv b
theorem differentiableAt_regularizedCurrent (shift : Ξ± β Index d β β)
(hshift : Continuous shift) (h a : β) (ΞΊ cR cI : ΞΉ β β)
(v : ΞΉ β Fin d β β) (q : CurrentSpace d) (hq : q β currentNonzeroDomain d) :
DifferentiableAt β
(fun y : CurrentSpace d => regularizedCurrent ΞΌ shift h a ΞΊ cR cI v y.1 y.2) q := by
have hA := differentiableAt_averagedWaveCurrent ΞΌ shift hshift ΞΊ cR cI v q hq
have hg := phaseCutoff_contDiff.differentiable (by simp) (phi q.2 / (a : β))
have hC := differentiableAt_fiberCofactor_field (1 / 10) a q hq
change DifferentiableAt β (fun y : CurrentSpace d =>
(fiberCofactor (1 / 10) a y.2 : Index d β Index d β OAI.Analysis.Calculus.Quaternion.Q)) q at hC
simpa only using! differentiableAt_add_smul_value
(differentiableAt_cutoffCurrent phaseCutoff a _ q hq hg hA) hC (h ^ (50 * (d + 1)))
/-- The divergence vanishes for the defined regularized current, with no
conservation, tangency, or differentiation-under-integral premise. -/
theorem regularizedCurrent_divergence_zero (shift : Ξ± β Index d β β)
(hshift : Continuous shift) (h a : β) (ΞΊ cR cI : ΞΉ β β)
(v : ΞΉ β Fin d β β) (q : CurrentSpace d) (hq : q β currentNonzeroDomain d)
(b : Index d) :
OAI.Analysis.Calculus.Quaternion.strongDivergence OAI.Analysis.Calculus.Quaternion.threeSlots (fun p => fderiv β
(fun y : CurrentSpace d => regularizedCurrent ΞΌ shift h a ΞΊ cR cI v y.1 y.2) q
(currentDirection p)) b = 0 := by
have hA := differentiableAt_averagedWaveCurrent ΞΌ shift hshift ΞΊ cR cI v q hq
have hg := phaseCutoff_contDiff.differentiable (by simp) (phi q.2 / (a : β))
have hcut := differentiableAt_cutoffCurrent phaseCutoff a _ q hq hg hA
have hC := differentiableAt_fiberCofactor_field (1 / 10) a q hq
change DifferentiableAt β (fun y : CurrentSpace d =>
(fiberCofactor (1 / 10) a y.2 : Index d β Index d β OAI.Analysis.Calculus.Quaternion.Q)) q at hC
change DifferentiableAt β (fun y : CurrentSpace d =>
(cutoffCurrent phaseCutoff a (averagedWaveCurrent ΞΌ shift ΞΊ cR cI v) y.1 y.2 :
Index d β Index d β OAI.Analysis.Calculus.Quaternion.Q)) q at hcut
have hF (p : Index d Γ Fin 3) : fderiv β
(fun y : CurrentSpace d => regularizedCurrent ΞΌ shift h a ΞΊ cR cI v y.1 y.2) q
(currentDirection p) =
fderiv β (fun y : CurrentSpace d => cutoffCurrent phaseCutoff a
(averagedWaveCurrent ΞΌ shift ΞΊ cR cI v) y.1 y.2) q (currentDirection p) +
h ^ (50 * (d + 1)) β’ fderiv β
(fun y : CurrentSpace d => fiberCofactor (1 / 10) a y.2) q (currentDirection p) := by
simpa only using! fderiv_add_smul_value hcut hC (h ^ (50 * (d + 1))) (currentDirection p)
simp only [hF, OAI.Analysis.Calculus.Quaternion.strongDivergence_add, OAI.Analysis.Calculus.Quaternion.strongDivergence_smul, cutoff_averagedWaveCurrent_divergence_zero ΞΌ shift hshift phaseCutoff a ΞΊ cR cI v q hq hg b, fiberCofactor_field_divergence_zero (1 / 10) a q hq b, smul_zero, add_zero]
end Compact
end OAI.Analysis.Calculus.Current
|