Buckets:
| import Mathlib | |
| import OAI.Geometry.SmoothYau.Model | |
| namespace OAI | |
| noncomputable section | |
| open Set Filter | |
| open scoped Topology ContDiff | |
| open Set Filter | |
| open scoped Topology ContDiff | |
| open MvPolynomial | |
| open Set Filter | |
| open scoped ContDiff | |
| open Set Filter | |
| open scoped Topology ContDiff | |
| open Set Filter MvPolynomial | |
| open scoped Topology ContDiff | |
| open Set Filter Function MvPolynomial | |
| open scoped Topology ContDiff | |
| open Set Filter Function MvPolynomial | |
| open scoped Topology ContDiff | |
| open Set Filter | |
| open scoped Topology ContDiff | |
| open Set Filter | |
| open scoped Topology ContDiff | |
| open Set Filter Function | |
| open scoped Topology ContDiff | |
| open Set Filter Function | |
| open scoped Topology ContDiff | |
| open scoped Topology | |
| open Set Filter Manifold Bundle MeasureTheory | |
| open scoped Topology ContDiff ENNReal | |
| namespace YauCounterexamples | |
| variable {E : Type*} [NormedAddCommGroup E] [NormedSpace โ E] | |
| [FiniteDimensional โ E] {M : Type*} [TopologicalSpace M] [ChartedSpace E M] | |
| [IsManifold ๐(โ, E) โ M] | |
| def chartTransition (p q : M) : E โ E := (chartAt E p) โ (chartAt E q).symm | |
| def coordinateTransitionMatrix (p q : M) (y : E) : | |
| Matrix (CoordIndex E) (CoordIndex E) โ := | |
| LinearMap.toMatrix (Module.finBasis โ E) (Module.finBasis โ E) | |
| (fderiv โ (chartTransition p q) y).toLinearMap | |
| def inverseChartDerivative (p : M) (y : E) : E โL[โ] E := | |
| mfderiv ๐(โ, E) ๐(โ, E) (chartAt E p).symm y | |
| omit [FiniteDimensional โ E] in | |
| lemma invChart_derivative_change (p q : M) {y : E} | |
| (hy : y โ (chartAt E q).target) (hp : (chartAt E q).symm y โ (chartAt E p).source) : | |
| (inverseChartDerivative p (chartTransition p q y)).comp | |
| (fderiv โ (chartTransition p q) y) = | |
| inverseChartDerivative q y := by | |
| have hpc := mdifferentiable_chart (I := ๐(โ, E)) p | |
| have hqc := mdifferentiable_chart (I := ๐(โ, E)) q | |
| have hc := mfderiv_comp y (hpc.mdifferentiableAt hp) (hqc.mdifferentiableAt_symm hy) | |
| rw [mfderiv_eq_fderiv] at hc | |
| change fderiv โ (chartTransition p q) y = _ at hc | |
| unfold inverseChartDerivative | |
| erw [hc, โ ContinuousLinearMap.comp_assoc, hpc.symm_comp_deriv hp, | |
| ContinuousLinearMap.id_comp] | |
| lemma coordinateVector_change (p q : M) {y : E} | |
| (hy : y โ (chartAt E q).target) (hp : (chartAt E q).symm y โ (chartAt E p).source) | |
| (i : CoordIndex E) : | |
| coordinateVector q y i = โ k, coordinateTransitionMatrix p q y k i โข | |
| coordinateVector p (chartTransition p q y) k := by | |
| have hh := congrArg (fun L : E โL[โ] E => L (Module.finBasis โ E i)) | |
| (invChart_derivative_change p q hy hp) | |
| change _ = coordinateVector q y i at hh | |
| rw [โ hh] | |
| change (inverseChartDerivative p (chartTransition p q y)) | |
| ((fderiv โ (chartTransition p q) y) (Module.finBasis โ E i)) = _ | |
| rw [โ (Module.finBasis โ E).sum_repr ((fderiv โ (chartTransition p q) y) (Module.finBasis โ E i))] | |
| simp only [map_sum, map_smul, coordinateTransitionMatrix, LinearMap.toMatrix_apply] | |
| rfl | |
| omit [FiniteDimensional โ E] in | |
| private lemma bilinear_sum_matrix {ฮน : Type*} [Fintype ฮน] | |
| (B : E โL[โ] E โL[โ] โ) (a : ฮน โ ฮน โ โ) (v : ฮน โ E) (i j : ฮน) : | |
| B (โ k, a k i โข v k) (โ k, a k j โข v k) = | |
| โ k, โ l, a l i * B (v l) (v k) * a k j := by | |
| simp only [map_sum, map_smul, sum_apply, smul_apply, smul_eq_mul, Finset.mul_sum] | |
| apply Finset.sum_congr rfl | |
| intro k _ | |
| apply Finset.sum_congr rfl | |
| intro l _ | |
| ring | |
| lemma metricCoefficients_change (g : SmoothMetric E M) (p q : M) {y : E} | |
| (hy : y โ (chartAt E q).target) (hp : (chartAt E q).symm y โ (chartAt E p).source) : | |
| metricCoefficients g q y = (coordinateTransitionMatrix p q y).transpose * | |
| metricCoefficients g p (chartTransition p q y) * coordinateTransitionMatrix p q y := by | |
| ext i j | |
| have he : (chartAt E p).symm (chartTransition p q y) = (chartAt E q).symm y := | |
| (chartAt E p).left_inv hp | |
| simp only [Matrix.mul_apply, Matrix.transpose_apply, metricCoefficients, Finset.sum_mul] | |
| rw [he] | |
| let B : E โL[โ] E โL[โ] โ := g.inner ((chartAt E q).symm y) | |
| change B (coordinateVector q y i) (coordinateVector q y j) = _ | |
| rw [coordinateVector_change p q hy hp i, coordinateVector_change p q hy hp j] | |
| change B (โ k : CoordIndex E, coordinateTransitionMatrix p q y k i โข | |
| (coordinateVector p (chartTransition p q y) k : E)) | |
| (โ k : CoordIndex E, coordinateTransitionMatrix p q y k j โข | |
| (coordinateVector p (chartTransition p q y) k : E)) = _ | |
| exact bilinear_sum_matrix B (coordinateTransitionMatrix p q y) | |
| (fun k => (coordinateVector p (chartTransition p q y) k : E)) i j | |
| end YauCounterexamples | |
| end | |
| end OAI | |
Xet Storage Details
- Size:
- 4.65 kB
- Xet hash:
- 42f5680f52bba0c8c8f91850dfa29872ae6e7eb520c20a2e23c67779ec1102c1
ยท
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.