File size: 5,212 Bytes
4a56cd6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 | import OAI.MathematicalPhysics.NavierStokes.ForcedComputation.Flow.PlanarCompactBridge
import OAI.MathematicalPhysics.NavierStokes.ForcedComputation.Flow.PlanarTransition
namespace OAI
/-! Bounds and actual global transitions for the compact planar version of
the normalized program. The periodic spatial expression agrees on the
chart; outside the common support all derivatives vanish. -/
noncomputable section
namespace ForcedComputation.Recorder.Planar
open ShearFlows PlanarHamiltonian Set Filter
open scoped Topology ContDiff NNReal
def compactVelocity (I : Alternating.MachineInput) (hI : Alternating.ValidInput I)
(s : β) : Plane β Plane :=
PlanarHamiltonian.periodicVelocity
(n := (actions (freshMachine I.1) (freshInput_wellFormed hI)).length)
(normalizedPulse I hI) s
theorem compactVelocity_smooth (I : Alternating.MachineInput)
(hI : Alternating.ValidInput I) :
ContDiff β β (fun y : β Γ Plane => compactVelocity I hI y.1 y.2) :=
periodicVelocity_smooth (normalizedPulse_valid I hI)
theorem compactVelocity_germ (I : Alternating.MachineInput)
(hI : Alternating.ValidInput I) (s : β) {x : Plane}
(hxβ : x 0 β Ioo (0 : β) 1) (hxβ : x 1 β Ioo (0 : β) 1) :
compactVelocity I hI s =αΆ [π x] planarSlice (normalizedHamiltonian I hI) s := by
have ho : IsOpen {y : Plane | y 0 β Ioo (0 : β) 1 β§ y 1 β Ioo (0 : β) 1} :=
(isOpen_Ioo.preimage (continuous_apply 0)).inter
(isOpen_Ioo.preimage (continuous_apply 1))
filter_upwards [ho.mem_nhds β¨hxβ, hxββ©] with y hy
exact normalized_planar_field_on_chart I hI s y hy.1 hy.2
theorem compactVelocity_support (I : Alternating.MachineInput)
(hI : Alternating.ValidInput I) (s : β) :
tsupport (compactVelocity I hI s) β commonSupport (normalizedPulse I hI) :=
(periodicVelocity_properties (normalizedPulse_valid I hI) s).1
theorem compactVelocity_off_chart (I : Alternating.MachineInput)
(hI : Alternating.ValidInput I) (s : β) {x : Plane}
(hx : Β¬ (x 0 β Ioo (0 : β) 1 β§ x 1 β Ioo (0 : β) 1)) :
x β tsupport (compactVelocity I hI s) := by
intro hm
have h := commonSupport_in_unit (normalizedPulse_inUnit I hI)
(compactVelocity_support I hI s hm)
exact hx β¨h 0, h 1β©
theorem compactVelocity_bound (I : Alternating.MachineInput)
(hI : Alternating.ValidInput I) (s : β) (x : Plane) :
βcompactVelocity I hI s xβ β€
((SpatialExpression.suspensionCode (normalizedHamiltonian I hI)).bound [] : β) := by
by_cases hx : x 0 β Ioo (0 : β) 1 β§ x 1 β Ioo (0 : β) 1
Β· rw [(compactVelocity_germ I hI s hx.1 hx.2).eq_of_nhds]
exact planarSlice_bound (normalizedHamiltonian_valid I hI)
(normalizedHamiltonian_noTime I hI) s x
Β· rw [image_eq_zero_of_notMem_tsupport (compactVelocity_off_chart I hI s hx), norm_zero]
exact Nat.cast_nonneg _
theorem compactVelocity_derivative_bounds (I : Alternating.MachineInput)
(hI : Alternating.ValidInput I) (s : β) (x : Plane) :
βfderiv β (compactVelocity I hI s) xβ β€
(planarVariationCoefficient (normalizedHamiltonian I hI) : β) β§
βfderiv β (fderiv β (compactVelocity I hI s)) xβ β€
(planarVariationCoefficient (normalizedHamiltonian I hI) : β) := by
by_cases hx : x 0 β Ioo (0 : β) 1 β§ x 1 β Ioo (0 : β) 1
Β· have he := compactVelocity_germ I hI s hx.1 hx.2
rw [he.fderiv_eq, he.fderiv.fderiv_eq]
exact planar_derivative_bounds (normalizedHamiltonian_valid I hI)
(normalizedHamiltonian_noTime I hI) s x
Β· have hn := compactVelocity_off_chart I hI s hx
have hn' : x β tsupport (fderiv β (compactVelocity I hI s)) :=
fun h => hn (tsupport_fderiv_subset β h)
constructor
Β· rw [fderiv_of_notMem_tsupport β hn, norm_zero]
exact Nat.cast_nonneg _
Β· have hz := fderiv_of_notMem_tsupport β hn'
exact (congrArg norm hz).le.trans ((ContinuousLinearMap.opNorm_zero :
β(0 : Plane βL[β] (Plane βL[β] Plane))β = 0).le.trans (Nat.cast_nonneg _))
theorem compactVelocity_lipschitz (I : Alternating.MachineInput)
(hI : Alternating.ValidInput I) (s : β) :
LipschitzWith (planarVariationCoefficient (normalizedHamiltonian I hI) : ββ₯0)
(compactVelocity I hI s) := by
have hi : ContDiff β β (fun x : Plane => (s, x)) :=
contDiff_const.prodMk contDiff_id
have hs := (compactVelocity_smooth I hI).comp hi
apply lipschitzWith_of_nnnorm_fderiv_le (hs.differentiable (by simp))
intro x
exact_mod_cast (compactVelocity_derivative_bounds I hI s x).1
theorem compactVelocity_transitions (I : Alternating.MachineInput)
(hI : Alternating.ValidInput I) :
β Ξ¨, IsPlanarTransition (compactVelocity I hI) Ξ¨ := by
apply exists_planarTransition_of_bounds (B :=
((SpatialExpression.suspensionCode (normalizedHamiltonian I hI)).bound [] : ββ₯0))
(compactVelocity_lipschitz I hI)
Β· intro x
have hi : Continuous (fun t : β => (t, x)) := continuous_id.prodMk continuous_const
have h := (compactVelocity_smooth I hI).continuous.comp hi
exact h
Β· exact compactVelocity_bound I hI
end ForcedComputation.Recorder.Planar
end
end OAI
|