Download data/lean/OAI/Analysis/Calculus/Current/Fiber/Coercivity.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 5.06 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Analysis/Calculus/Current/Fiber/Coercivity.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Analysis/Calculus/Current/Fiber/Coercivity.lean
-
curl -L -o Coercivity.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Analysis/Calculus/Current/Fiber/Coercivity.lean
5.06 kB
| import OAI.Analysis.Calculus.Current.Fiber.Height | |
| import OAI.Analysis.PDE.Dirichlet.Coercivity | |
| /-! A uniform lower bound for the spatial fiber Jacobian. -/ | |
| noncomputable section | |
| namespace OAI.Analysis.Calculus.Current | |
| open OAI.Analysis.Calculus.Quaternion Set Metric | |
| open scoped Matrix Matrix.Norms.Elementwise | |
| def admissibleRatios (d : β) : Set (Fin d β β) := | |
| {W | (β i, βW iβ ^ 2) β€ (1 / 10 : β) ^ 2} | |
| theorem isCompact_admissibleRatios (d : β) : IsCompact (admissibleRatios d) := by | |
| have hc : IsClosed (admissibleRatios d) := isClosed_le (by fun_prop) continuous_const | |
| apply (isCompact_closedBall (0 : Fin d β β) 1).of_isClosed_subset hc | |
| intro W hW | |
| simp only [mem_closedBall, dist_zero_right] | |
| apply (pi_norm_le_iff_of_nonneg zero_le_one).mpr | |
| intro i | |
| have hi : βW iβ ^ 2 β€ β j, βW jβ ^ 2 := | |
| Finset.single_le_sum (fun j _ => sq_nonneg βW jβ) (Finset.mem_univ i) | |
| change (β j, βW jβ ^ 2) β€ (1 / 10 : β) ^ 2 at hW | |
| nlinarith [norm_nonneg (W i)] | |
| theorem admissibleRatios_nonempty (d : β) : (admissibleRatios d).Nonempty := by | |
| exact β¨0, by simp [admissibleRatios]β© | |
| def modelFiberPoint {d : β} (W : Fin d β β) : Index d β β | |
| | none => 1 | |
| | some none => 0 | |
| | some (some i) => W i | |
| theorem ratio_modelFiberPoint {d : β} (W : Fin d β β) : ratio (modelFiberPoint W) = W := by | |
| funext i | |
| simp [ratio, modelFiberPoint] | |
| def baseFiberJacobian {d : β} (W : Fin d β β) : Matrix (Option (Fin d)) (Index d) OAI.Analysis.Calculus.Quaternion.Q := | |
| quaternionFiberJacobian 1 10 (modelFiberPoint W) | |
| def fiberSpatialLift {d : β} (v : Option (Fin d) β OAI.Analysis.Calculus.Quaternion.Q) : Index d β OAI.Analysis.Calculus.Quaternion.Q | |
| | none => v none | |
| | some none => v none | |
| | some (some i) => v (some i) | |
| theorem fiberSpatialLift_injective (d : β) : Function.Injective (fiberSpatialLift (d := d)) := by | |
| intro v w h | |
| funext i | |
| cases i with | |
| | none => exact congrFun h none | |
| | some i => exact congrFun h (some (some i)) | |
| theorem fiberSpatialLift_smul {d : β} (r : β) (v : Option (Fin d) β OAI.Analysis.Calculus.Quaternion.Q) : | |
| fiberSpatialLift (r β’ v) = r β’ fiberSpatialLift v := by | |
| funext b | |
| cases b with | |
| | none => rfl | |
| | some b => cases b <;> rfl | |
| theorem continuous_fiberSpatialLift (d : β) : Continuous (fiberSpatialLift (d := d)) := by | |
| apply continuous_pi | |
| intro b | |
| cases b with | |
| | none => exact continuous_apply none | |
| | some b => cases b <;> exact continuous_apply _ | |
| theorem continuous_baseFiberJacobian (d : β) : Continuous (baseFiberJacobian (d := d)) := by | |
| classical | |
| apply continuous_pi | |
| intro i | |
| apply continuous_pi | |
| intro b | |
| apply contDiff_complexK.continuous.comp | |
| cases i with | |
| | none => | |
| cases b with | |
| | none => simp [fiberJacobian, | |
| phaseRow, ratio_modelFiberPoint]; fun_prop | |
| | some b => cases b <;> | |
| simp [fiberJacobian, | |
| phaseRow, ratio_modelFiberPoint] <;> fun_prop | |
| | some i => | |
| cases b with | |
| | none => simp [fiberJacobian, | |
| ratioRow, ratio_modelFiberPoint, modelFiberPoint]; fun_prop | |
| | some b => cases b <;> | |
| simp [fiberJacobian, | |
| ratioRow, modelFiberPoint] <;> fun_prop | |
| theorem baseFiberJacobian_spatial_injective {d : β} (W : Fin d β β) | |
| (hW : W β admissibleRatios d) (v : Option (Fin d) β OAI.Analysis.Calculus.Quaternion.Q) | |
| (hv : baseFiberJacobian W *α΅₯ fiberSpatialLift v = 0) : v = 0 := by | |
| have hD : fiberDenominator W β 0 := fiberDenominator_ne_zero W (by | |
| change (β i, βW iβ ^ 2) β€ (1 / 10 : β) ^ 2 at hW | |
| linarith) | |
| have hz := quaternionFiberJacobian_spatial_injective 1 10 (modelFiberPoint W) | |
| (fiberSpatialLift v) (by norm_num) (by norm_num) (by simp [modelFiberPoint]) | |
| (by simpa [ratio_modelFiberPoint] using hD) rfl hv | |
| apply fiberSpatialLift_injective d | |
| have hzero : fiberSpatialLift (0 : Option (Fin d) β OAI.Analysis.Calculus.Quaternion.Q) = 0 := by | |
| funext b | |
| cases b with | |
| | none => rfl | |
| | some b => cases b <;> rfl | |
| rw [hzero] | |
| exact hz | |
| theorem baseFiberJacobian_uniform_lower (d : β) : | |
| β c : β, 0 < c β§ β W β admissibleRatios d, β v : Option (Fin d) β OAI.Analysis.Calculus.Quaternion.Q, | |
| c * βvβ ^ 2 β€ βbaseFiberJacobian W *α΅₯ fiberSpatialLift vβ ^ 2 := by | |
| have hs : (sphere (0 : Option (Fin d) β OAI.Analysis.Calculus.Quaternion.Q) 1).Nonempty := | |
| β¨fun _ => 1, by simp []β© | |
| apply OAI.Analysis.PDE.Dirichlet.uniform_positive_quadratic_lower | |
| (isCompact_admissibleRatios d) (admissibleRatios_nonempty d) hs | |
| (fun W v => βbaseFiberJacobian W *α΅₯ fiberSpatialLift vβ ^ 2) | |
| Β· have hJ := continuous_baseFiberJacobian d | |
| have hv := continuous_fiberSpatialLift d | |
| apply Continuous.continuousOn | |
| fun_prop | |
| Β· intro W hW v hv | |
| apply sq_pos_of_pos | |
| apply norm_pos_iff.mpr | |
| exact fun h => hv (baseFiberJacobian_spatial_injective W hW v h) | |
| Β· intro W hW r v | |
| simp [fiberSpatialLift_smul, Matrix.mulVec_smul, norm_smul, mul_pow] | |
| end OAI.Analysis.Calculus.Current | |