math / data /lean /OAI /MathematicalPhysics /NavierStokes /ForcedComputation /Flow /PlanarFlowSmooth.lean
Download data/lean/OAI/MathematicalPhysics/NavierStokes/ForcedComputation/Flow/PlanarFlowSmooth.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 3.53 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/MathematicalPhysics/NavierStokes/ForcedComputation/Flow/PlanarFlowSmooth.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/MathematicalPhysics/NavierStokes/ForcedComputation/Flow/PlanarFlowSmooth.lean
-
curl -L -o PlanarFlowSmooth.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/MathematicalPhysics/NavierStokes/ForcedComputation/Flow/PlanarFlowSmooth.lean
3.53 kB
| import OAI.MathematicalPhysics.NavierStokes.ForcedComputation.Flow.FlowNonautonomous | |
| import OAI.MathematicalPhysics.NavierStokes.ForcedComputation.Flow.PlanarTransition | |
| namespace OAI | |
| /-! The time-augmented smooth-flow theorem applied to the actual finite | |
| Hamiltonian expression used by the planar processor. -/ | |
| noncomputable section | |
| namespace ForcedComputation | |
| open ShearFlows | |
| open scoped ContDiff NNReal | |
| def phaseSpacePoint (p : β Γ Plane) : Space := atHeight p.2 p.1 | |
| theorem phaseSpacePoint_smooth : ContDiff β β phaseSpacePoint := by | |
| apply contDiff_pi.mpr | |
| intro j | |
| fin_cases j | |
| Β· change ContDiff β β (fun p : β Γ Plane => p.2 0) | |
| exact (contDiff_apply β β 0).comp contDiff_snd | |
| Β· change ContDiff β β (fun p : β Γ Plane => p.2 1) | |
| exact (contDiff_apply β β 1).comp contDiff_snd | |
| Β· exact contDiff_fst | |
| theorem phaseSpacePoint_lipschitz : LipschitzWith 1 phaseSpacePoint := by | |
| apply LipschitzWith.of_dist_le_mul | |
| intro p q | |
| rw [NNReal.coe_one, one_mul, dist_eq_norm, dist_eq_norm] | |
| apply (pi_norm_le_iff_of_nonneg (norm_nonneg (p - q))).mpr | |
| intro j | |
| fin_cases j | |
| Β· exact (norm_le_pi_norm (p.2 - q.2) 0).trans (norm_snd_le (p - q)) | |
| Β· exact (norm_le_pi_norm (p.2 - q.2) 1).trans (norm_snd_le (p - q)) | |
| Β· exact norm_fst_le (p - q) | |
| theorem horizontal_smooth : ContDiff β β horizontal := by | |
| apply contDiff_pi.mpr | |
| intro j | |
| fin_cases j <;> exact contDiff_apply β β _ | |
| theorem horizontal_lipschitz : LipschitzWith 1 horizontal := by | |
| apply LipschitzWith.of_dist_le_mul | |
| intro x y | |
| have he : horizontal (x - y) = horizontal x - horizontal y := by | |
| ext j | |
| fin_cases j <;> rfl | |
| simpa only [NNReal.coe_one, one_mul, dist_eq_norm, he] using horizontal_norm_le (x - y) | |
| theorem planarSlice_joint_smooth {H : FieldExpr} (hH : H.Valid) : | |
| ContDiff β β (fun p : β Γ Plane => planarSlice H p.1 p.2) := by | |
| have he : (fun p : β Γ Plane => planarSlice H p.1 p.2) = | |
| horizontal β SpatialExpression.suspensionField H β phaseSpacePoint := by | |
| funext p | |
| exact planarSlice_eq_horizontal hH p.1 p.2 | |
| rw [he] | |
| exact horizontal_smooth.comp | |
| ((SpatialExpression.suspensionField_smooth hH).comp phaseSpacePoint_smooth) | |
| theorem planarSlice_joint_lipschitz {H : FieldExpr} (hH : H.Valid) | |
| (hT : SpatialExpression.NoTime H) : | |
| LipschitzWith (suspensionLipschitzBound H : ββ₯0) | |
| (fun p : β Γ Plane => planarSlice H p.1 p.2) := by | |
| have h := horizontal_lipschitz.comp | |
| ((suspensionField_lipschitz hH hT).comp phaseSpacePoint_lipschitz) | |
| simpa only [one_mul, mul_one, Function.comp_def, phaseSpacePoint, | |
| β planarSlice_eq_horizontal hH] using h | |
| theorem planarTransition_joint_smooth {H : FieldExpr} (hH : H.Valid) | |
| (hT : SpatialExpression.NoTime H) {Ξ© : β β β β Plane β Plane} | |
| (hΞ© : IsPlanarTransition (planarSlice H) Ξ©) : | |
| ContDiff β β (fun p : β Γ (β Γ Plane) => Ξ© p.1 p.2.1 p.2.2) := | |
| Flow.transition_contDiff | |
| β¨_, (planarSlice_joint_smooth hH).continuousβ© | |
| (planarSlice_joint_smooth hH) (planarSlice_joint_lipschitz hH hT) | |
| hΞ©.ode hΞ©.initial | |
| theorem planarTransition_backward_smooth {H : FieldExpr} (hH : H.Valid) | |
| (hT : SpatialExpression.NoTime H) {Ξ© : β β β β Plane β Plane} | |
| (hΞ© : IsPlanarTransition (planarSlice H) Ξ©) : | |
| ContDiff β β (fun p : β Γ Plane => Ξ© p.1 (-p.1) p.2) := | |
| (planarTransition_joint_smooth hH hT hΞ©).comp | |
| (contDiff_fst.prodMk (contDiff_fst.neg.prodMk contDiff_snd)) | |
| end ForcedComputation | |
| end | |
| end OAI | |