Download data/lean/OAI/Analysis/Fourier/Cone/Geometry.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 3.43 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Analysis/Fourier/Cone/Geometry.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Analysis/Fourier/Cone/Geometry.lean
-
curl -L -o Geometry.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Analysis/Fourier/Cone/Geometry.lean
3.43 kB
Lean 4 Β· 6
declarations fullstatements
| import OAI.Analysis.Fourier.Estimates | |
| open OAI.Analysis.Fourier.Wave | |
| open _root_.MeasureTheory Set | |
| open scoped ENNReal RealInnerProductSpace | |
| noncomputable section | |
| namespace OAI.Analysis.Fourier.Cone | |
| /-- The usual parametrization of the forward light cone. -/ | |
| def coneParam {n : β} (p : β Γ Space n) : Space n Γ β := | |
| (p.1 β’ p.2, p.1) | |
| /-- Euclidean inner product on spatial/time pairs, written explicitly to avoid | |
| using the max product norm. -/ | |
| def coneInner {n : β} (v w : Space n Γ β) : β := | |
| inner β v.1 w.1 + v.2 * w.2 | |
| /-- Tangent vectors of the cone parametrization in an orthonormal spherical | |
| frame: the radial vector first, then the angular vectors. -/ | |
| def coneTangent {n d : β} (Ο : β) (Ο : Space n) (v : Fin d β Space n) : | |
| Option (Fin d) β Space n Γ β | |
| | none => (Ο, 1) | |
| | some i => (Ο β’ v i, 0) | |
| theorem coneTangent_gram {n d : β} (Ο : β) (Ο : Space n) | |
| (v : Fin d β Space n) (hΟ : inner β Ο Ο = 1) | |
| (hv : β i j, inner β (v i) (v j) = if i = j then 1 else 0) | |
| (ht : β i, inner β Ο (v i) = 0) : | |
| (fun i j => coneInner (coneTangent Ο Ο v i) (coneTangent Ο Ο v j)) = | |
| Matrix.diagonal (fun i : Option (Fin d) => match i with | |
| | none => 2 | some _ => Ο ^ 2) := by | |
| funext i j | |
| cases i with | |
| | none => | |
| cases j with | |
| | none => simpa only [coneTangent, coneInner, hΟ, Matrix.diagonal_apply_eq] using | |
| (show (1 : β) + 1 * 1 = 2 by norm_num) | |
| | some j => | |
| change inner β Ο (Ο β’ v j) + 1 * 0 = 0 | |
| rw [real_inner_smul_right, ht] | |
| ring | |
| | some i => | |
| cases j with | |
| | none => | |
| change inner β (Ο β’ v i) Ο + 0 * 1 = 0 | |
| rw [real_inner_smul_left, real_inner_comm, ht] | |
| ring | |
| | some j => | |
| simp only [coneTangent, coneInner, real_inner_smul_left, real_inner_smul_right, | |
| hv, mul_zero, add_zero, Matrix.diagonal_apply, Option.some.injEq] | |
| split_ifs <;> simp [pow_two] | |
| /-- The first fundamental form has determinant `2 Ο^(2d)`. Thus its volume | |
| density is exactly the standard induced cone surface density. -/ | |
| theorem coneTangent_volume_density {n d : β} {Ο : β} (hΟ : 0 β€ Ο) | |
| (Ο : Space n) (v : Fin d β Space n) (hΟ : inner β Ο Ο = 1) | |
| (hv : β i j, inner β (v i) (v j) = if i = j then 1 else 0) | |
| (ht : β i, inner β Ο (v i) = 0) : | |
| Real.sqrt (Matrix.det (fun i j => | |
| coneInner (coneTangent Ο Ο v i) (coneTangent Ο Ο v j))) = | |
| Real.sqrt 2 * Ο ^ d := by | |
| rw [coneTangent_gram Ο Ο v hΟ hv ht, Matrix.det_diagonal] | |
| simp only [Fintype.prod_option, Finset.prod_const, Finset.card_univ, Fintype.card_fin] | |
| rw [β pow_mul, Nat.mul_comm 2 d, pow_mul, Real.sqrt_mul (by norm_num), | |
| Real.sqrt_sq (pow_nonneg hΟ d)] | |
| theorem hasFDerivAt_coneParam {n : β} (Ο : β) (Ο : Space n) : | |
| HasFDerivAt (@coneParam n) | |
| (((ContinuousLinearMap.fst β β (Space n)).smulRight Ο + | |
| Ο β’ ContinuousLinearMap.snd β β (Space n)).prod | |
| (ContinuousLinearMap.fst β β (Space n))) (Ο, Ο) := by | |
| have h1 : HasFDerivAt (fun p : β Γ Space n => p.1) | |
| (ContinuousLinearMap.fst β β (Space n)) (Ο, Ο) := hasFDerivAt_fst | |
| have h2 : HasFDerivAt (fun p : β Γ Space n => p.2) | |
| (ContinuousLinearMap.snd β β (Space n)) (Ο, Ο) := hasFDerivAt_snd | |
| simpa only [coneParam, Pi.smul_apply, add_comm] using! (h1.smul h2).prodMk h1 | |
| end OAI.Analysis.Fourier.Cone | |
Outline