Buckets:
| import OAI.Geometry.IsometricImmersion.Metrics.MetricSmoothness | |
| import Mathlib.Tactic.FieldSimp | |
| import Mathlib.Tactic.Ring | |
| namespace OAI | |
| noncomputable section | |
| open scoped ContDiff BigOperators Matrix | |
| namespace SmoothLocal.Geometry | |
| def heightEnergy (g : MetricField) (z : Coord → ℝ) (p : Coord) : ℝ := | |
| (g p).det * (1 - covectorNormSq g z p) | |
| theorem heightEnergy_contDiffOn {g : MetricField} {z : Coord → ℝ} {U : Set Coord} | |
| (hg : SmoothPositiveOn g U) (hU : IsOpen U) (hz : ContDiffOn ℝ ∞ z U) : | |
| ContDiffOn ℝ ∞ (heightEnergy g z) U := | |
| (metricDet_contDiffOn hg).mul (contDiffOn_const.sub (covectorNormSq_contDiffOn hg hU hz)) | |
| theorem heightEnergy_polynomial {g : MetricField} (z : Coord → ℝ) {U : Set Coord} | |
| (hg : SmoothPositiveOn g U) {p : Coord} (hp : p ∈ U) : | |
| heightEnergy g z p = (g p).det - | |
| (g p 1 1 * (coordPartial 0 z p) ^ 2 - | |
| (g p 0 1 + g p 1 0) * coordPartial 0 z p * coordPartial 1 z p + | |
| g p 0 0 * (coordPartial 1 z p) ^ 2) := by | |
| have hdet := metricDet_ne_zero hg hp | |
| simp only [heightEnergy, covectorNormSq, inverseMetric, Matrix.inv_def, | |
| Ring.inverse_eq_inv, Matrix.adjugate_fin_two, Fin.sum_univ_two] | |
| simp only [Matrix.smul_apply, smul_eq_mul, Matrix.of_apply, | |
| Matrix.cons_val_zero, Matrix.cons_val_one] | |
| field_simp [hdet] | |
| ring | |
| end SmoothLocal.Geometry | |
| end | |
| end OAI | |
Xet Storage Details
- Size:
- 1.37 kB
- Xet hash:
- 5b5a6a98c2bdc539a54ebe2257c320534551c0d5000bb4759372bfbc3251f55a
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.