Download data/lean/OAI/Analysis/Calculus/Current/Strong.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 2.03 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Analysis/Calculus/Current/Strong.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Analysis/Calculus/Current/Strong.lean
-
curl -L -o Strong.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Analysis/Calculus/Current/Strong.lean
2.03 kB
| import OAI.Analysis.Calculus.Current.Smooth | |
| namespace OAI.Analysis.Calculus.Current | |
| noncomputable section | |
| /-- The actual coordinate-derivative array in the three-slot convention | |
| `(real, i, j)` used by the quaternionic calculus section. -/ | |
| def threeSlotMatrixDerivative {d : β} | |
| (A : (Index d β β) β (Index d β β) β Matrix (Index d) (Index d) (Quaternion β)) | |
| (x : Index d β β) (z : Index d β β) | |
| (p : Index d Γ Fin 3) : Matrix (Index d) (Index d) (Quaternion β) := fun r s => | |
| ![quaternionRealD (fun q w => A q w r s) x z p.1, | |
| quaternionImagD (fun q w => A q w r s) x z p.1 1, | |
| quaternionImagD (fun q w => A q w r s) x z p.1 Complex.I] p.2 | |
| theorem strongDivergence_eq_quaternionDivergence {d : β} | |
| (A : (Index d β β) β (Index d β β) β Matrix (Index d) (Index d) (Quaternion β)) | |
| (x : Index d β β) (z : Index d β β) (b : Index d) : | |
| OAI.Analysis.Calculus.Quaternion.strongDivergence OAI.Analysis.Calculus.Quaternion.threeSlots (threeSlotMatrixDerivative A x z) b = | |
| quaternionDivergence (fun a q w => A q w a b) x z := by | |
| unfold OAI.Analysis.Calculus.Quaternion.strongDivergence quaternionDivergence | |
| apply Finset.sum_congr rfl | |
| intro a _ | |
| simp [threeSlotMatrixDerivative, OAI.Analysis.Calculus.Quaternion.threeSlots, Fin.sum_univ_succ, qi, qj] | |
| ext <;> simp <;> ring | |
| /-- The manuscript's strong-divergence identity for the exact normalized | |
| outer-product wave current, using the actual coordinate derivatives. -/ | |
| theorem waveCurrent_strongDivergence {d : β} {ΞΉ : Type*} [Fintype ΞΉ] | |
| (ΞΊ cR cI : ΞΉ β β) (v : ΞΉ β Fin d β β) (x : Index d β β) (z : Index d β β) | |
| (hY : z none β 0) (b : Index d) : | |
| OAI.Analysis.Calculus.Quaternion.strongDivergence OAI.Analysis.Calculus.Quaternion.threeSlots | |
| (threeSlotMatrixDerivative (waveCurrent ΞΊ cR cI v) x z) b = 0 := by | |
| rw [strongDivergence_eq_quaternionDivergence] | |
| exact waveCurrent_divergence ΞΊ cR cI v x z hY b | |
| end | |
| end OAI.Analysis.Calculus.Current | |