Navier–Stokes: the Lean blow-up proof, cleaned up together
OpenAI's 2026 Lean proofs of blowup for forced Navier–Stokes and Euler, rerun by others, not refereed, no ruling from Clay; cleaned up together: more readable, faster to build

Merge pull request #711 from s5-euler-source-1
Browse filesrefactor(Euler/Source): 6 small modules folded into the file that imports them (−8.5%, measured)
Checks
build Program · lake build and Comparator
Details
challenge Program · challenge files and build config
Details
+0 −98 Euler/SourceCylinderClassical.lean deleted
| @@ -1,98 +0,0 @@ | ||
| 1 | -import Euler.SourceCylinderRegularity | |
| 2 | -import Euler.CylinderTimeRegularity | |
| 3 | -import Euler.CylinderRawSupport | |
| 4 | - | |
| 5 | -/-! | |
| 6 | -# The solved forward field as an actual smooth cylinder field | |
| 7 | - | |
| 8 | -The representative is recovered by bounded H3 evaluation of the genuine | |
| 9 | -L² solution. It is jointly continuous, spatially and angularly smooth, | |
| 10 | -compactly supported, and has the true pointwise within-time derivative. | |
| 11 | --/ | |
| 12 | - | |
| 13 | -noncomputable section | |
| 14 | - | |
| 15 | -namespace EulerSourceCylinderClassical | |
| 16 | - | |
| 17 | -open Set MeasureTheory ContinuousLinearMap EulerSmoothLimit EulerLiftedGradientSpace | |
| 18 | - EulerMetricTransport EulerMeanCoefficients EulerLpCylinderTranslation EulerLpCylinderPaths | |
| 19 | - EulerSourceCylinderEquation EulerCylinderSmoothOrbit EulerVolterraConvolution | |
| 20 | -open scoped ContDiff BoundedContinuousFunction | |
| 21 | - | |
| 22 | -variable (period : ℝ) [Fact (0 < period)] | |
| 23 | - {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] | |
| 24 | - (S : Set Space) (hS : MeasurableSet S) (hSc : IsCompact S) (T : ℝ) (hT : 0 ≤ T) | |
| 25 | - (Q Q₁ : SmoothCoefficientPath (Icc (0 : ℝ) T) (U →L[ℝ] Space)) | |
| 26 | - (c : ℝ) (hc : 0 < c) (hQ : ∀ t x v, c*‖v‖^2 ≤ ‖Q.field t x v‖^2) | |
| 27 | - (f : C(Icc (0 : ℝ) T,Supported period Space S hS)) (a₀ : Supported period U S hS) | |
| 28 | - (hf : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate period a (includePath period S hS f))) | |
| 29 | - (ha₀ : ContDiff ℝ ∞ (fun a : LiftTangent => translate period a (a₀ : CylinderL2 period U))) | |
| 30 | - | |
| 31 | -/-- The actual physical field, reconstructed from the solved L² class. -/ | |
| 32 | -def field (t : Icc (0 : ℝ) T) (x : LiftDomain period) : Space := | |
| 33 | - pointField period (includePath period S hS (velocity period S hS T hT Q Q₁ c hc hQ f a₀)) | |
| 34 | - (velocity_contDiff period S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀) t x | |
| 35 | - | |
| 36 | -/-- The reconstructed actual product-rule time derivative. -/ | |
| 37 | -def derivativeField (t : Icc (0 : ℝ) T) (x : LiftDomain period) : Space := | |
| 38 | - pointField period (includePath period S hS (velocityDerivative period S hS T hT Q Q₁ c hc hQ f a₀)) | |
| 39 | - (velocityDerivative_contDiff period S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀) t x | |
| 40 | - | |
| 41 | -theorem field_smooth (t : Icc (0 : ℝ) T) (x : LiftDomain period) : | |
| 42 | - ContDiff ℝ ∞ (localFieldLift period (field period S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀ t) x) := | |
| 43 | - pointField_smooth period _ _ t x | |
| 44 | - | |
| 45 | -theorem derivativeField_smooth (t : Icc (0 : ℝ) T) (x : LiftDomain period) : | |
| 46 | - ContDiff ℝ ∞ (localFieldLift period (derivativeField period S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀ t) x) := | |
| 47 | - pointField_smooth period _ _ t x | |
| 48 | - | |
| 49 | -theorem field_ae (t : Icc (0 : ℝ) T) : | |
| 50 | - (velocity period S hS T hT Q Q₁ c hc hQ f a₀ t : CylinderL2 period Space) =ᵐ[liftMeasure period] | |
| 51 | - field period S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀ t := | |
| 52 | - pointField_ae period (includePath period S hS (velocity period S hS T hT Q Q₁ c hc hQ f a₀)) | |
| 53 | - (velocity_contDiff period S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀) t | |
| 54 | - | |
| 55 | -theorem derivativeField_ae (t : Icc (0 : ℝ) T) : | |
| 56 | - (velocityDerivative period S hS T hT Q Q₁ c hc hQ f a₀ t : CylinderL2 period Space) =ᵐ[liftMeasure period] | |
| 57 | - derivativeField period S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀ t := | |
| 58 | - pointField_ae period (includePath period S hS (velocityDerivative period S hS T hT Q Q₁ c hc hQ f a₀)) | |
| 59 | - (velocityDerivative_contDiff period S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀) t | |
| 60 | - | |
| 61 | -theorem field_tsupport_subset (t : Icc (0 : ℝ) T) : | |
| 62 | - tsupport (field period S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀ t) ⊆ spatialSet period S := by | |
| 63 | - change tsupport (pointField period _ _ t) ⊆ _ | |
| 64 | - rw [pointField_eq_representative] | |
| 65 | - exact representative_tsupport_subset period S hS hSc.isClosed _ _ | |
| 66 | - (velocity period S hS T hT Q Q₁ c hc hQ f a₀ t).property | |
| 67 | - | |
| 68 | -/-- Inclusion in full cylinder L² preserves the already proved time derivative. -/ | |
| 69 | -theorem fullVelocity_hasDerivWithinAt | |
| 70 | - (hQt : ∀ t ∈ Icc (0 : ℝ) T, ∀ x : Space, | |
| 71 | - HasDerivWithinAt (fun s => extendPath T hT Q.field s x) | |
| 72 | - (extendPath T hT Q₁.field t x) (Icc (0 : ℝ) T) t) | |
| 73 | - (t : Icc (0 : ℝ) T) : | |
| 74 | - HasDerivWithinAt (extendPath T hT (includePath period S hS | |
| 75 | - (velocity period S hS T hT Q Q₁ c hc hQ f a₀))) | |
| 76 | - (includePath period S hS (velocityDerivative period S hS T hT Q Q₁ c hc hQ f a₀) t) | |
| 77 | - (Icc (0 : ℝ) T) t := by | |
| 78 | - let L : Supported period Space S hS →L[ℝ] LiftL2 period := (Supported period Space S hS).subtypeL | |
| 79 | - exact L.hasFDerivAt.comp_hasDerivWithinAt (t : ℝ) | |
| 80 | - (velocity_hasDerivWithinAt period S hS T hT Q Q₁ c hc hQ f a₀ hQt t) | |
| 81 | - | |
| 82 | -/-- No global time extension is assumed: the true time derivative holds within | |
| 83 | -the closed source interval, at every cylinder point. -/ | |
| 84 | -theorem field_hasDerivWithinAt | |
| 85 | - (hQt : ∀ t ∈ Icc (0 : ℝ) T, ∀ x : Space, | |
| 86 | - HasDerivWithinAt (fun s => extendPath T hT Q.field s x) | |
| 87 | - (extendPath T hT Q₁.field t x) (Icc (0 : ℝ) T) t) | |
| 88 | - (t : Icc (0 : ℝ) T) (x : LiftDomain period) : | |
| 89 | - HasDerivWithinAt (fun s => field period S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀ (projIcc 0 T hT s) x) | |
| 90 | - (derivativeField period S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀ t x) (Icc (0 : ℝ) T) t := | |
| 91 | - pointField_hasDerivWithinAt period T hT | |
| 92 | - (includePath period S hS (velocity period S hS T hT Q Q₁ c hc hQ f a₀)) | |
| 93 | - (includePath period S hS (velocityDerivative period S hS T hT Q Q₁ c hc hQ f a₀)) | |
| 94 | - (velocity_contDiff period S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀) | |
| 95 | - (velocityDerivative_contDiff period S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀) | |
| 96 | - (fullVelocity_hasDerivWithinAt period S hS T hT Q Q₁ c hc hQ f a₀ hQt) t x | |
| 97 | - | |
| 98 | -end EulerSourceCylinderClassical | |
+107 −1 Euler/SourceCylinderClassicalEquation.lean View file
| @@ -1,4 +1,6 @@ | ||
| 1 | -import Euler.SourceCylinderClassical | |
| 1 | +import Euler.SourceCylinderRegularity | |
| 2 | +import Euler.CylinderTimeRegularity | |
| 3 | +import Euler.CylinderRawSupport | |
| 2 | 4 | |
| 3 | 5 | /-! |
| 4 | 6 | # The actual pointwise forward equation |
| @@ -8,6 +10,110 @@ smooth field at every cylinder point. The scalar normal residual is the | ||
| 8 | 10 | literal source expression; its angular primitive will supply the pressure. |
| 9 | 11 | -/ |
| 10 | 12 | |
| 13 | +/-! ## From `Euler/SourceCylinderClassical.lean` | |
| 14 | + | |
| 15 | +The text of `Euler/SourceCylinderClassical.lean`, folded into this file, which was its only importer. -/ | |
| 16 | + | |
| 17 | +section | |
| 18 | + | |
| 19 | +/-! | |
| 20 | +# The solved forward field as an actual smooth cylinder field | |
| 21 | + | |
| 22 | +The representative is recovered by bounded H3 evaluation of the genuine | |
| 23 | +L² solution. It is jointly continuous, spatially and angularly smooth, | |
| 24 | +compactly supported, and has the true pointwise within-time derivative. | |
| 25 | +-/ | |
| 26 | + | |
| 27 | +noncomputable section | |
| 28 | + | |
| 29 | +namespace EulerSourceCylinderClassical | |
| 30 | + | |
| 31 | +open Set MeasureTheory ContinuousLinearMap EulerSmoothLimit EulerLiftedGradientSpace | |
| 32 | + EulerMetricTransport EulerMeanCoefficients EulerLpCylinderTranslation EulerLpCylinderPaths | |
| 33 | + EulerSourceCylinderEquation EulerCylinderSmoothOrbit EulerVolterraConvolution | |
| 34 | +open scoped ContDiff BoundedContinuousFunction | |
| 35 | + | |
| 36 | +variable (period : ℝ) [Fact (0 < period)] | |
| 37 | + {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] | |
| 38 | + (S : Set Space) (hS : MeasurableSet S) (hSc : IsCompact S) (T : ℝ) (hT : 0 ≤ T) | |
| 39 | + (Q Q₁ : SmoothCoefficientPath (Icc (0 : ℝ) T) (U →L[ℝ] Space)) | |
| 40 | + (c : ℝ) (hc : 0 < c) (hQ : ∀ t x v, c*‖v‖^2 ≤ ‖Q.field t x v‖^2) | |
| 41 | + (f : C(Icc (0 : ℝ) T,Supported period Space S hS)) (a₀ : Supported period U S hS) | |
| 42 | + (hf : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate period a (includePath period S hS f))) | |
| 43 | + (ha₀ : ContDiff ℝ ∞ (fun a : LiftTangent => translate period a (a₀ : CylinderL2 period U))) | |
| 44 | + | |
| 45 | +/-- The actual physical field, reconstructed from the solved L² class. -/ | |
| 46 | +def field (t : Icc (0 : ℝ) T) (x : LiftDomain period) : Space := | |
| 47 | + pointField period (includePath period S hS (velocity period S hS T hT Q Q₁ c hc hQ f a₀)) | |
| 48 | + (velocity_contDiff period S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀) t x | |
| 49 | + | |
| 50 | +/-- The reconstructed actual product-rule time derivative. -/ | |
| 51 | +def derivativeField (t : Icc (0 : ℝ) T) (x : LiftDomain period) : Space := | |
| 52 | + pointField period (includePath period S hS (velocityDerivative period S hS T hT Q Q₁ c hc hQ f a₀)) | |
| 53 | + (velocityDerivative_contDiff period S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀) t x | |
| 54 | + | |
| 55 | +theorem field_smooth (t : Icc (0 : ℝ) T) (x : LiftDomain period) : | |
| 56 | + ContDiff ℝ ∞ (localFieldLift period (field period S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀ t) x) := | |
| 57 | + pointField_smooth period _ _ t x | |
| 58 | + | |
| 59 | +theorem derivativeField_smooth (t : Icc (0 : ℝ) T) (x : LiftDomain period) : | |
| 60 | + ContDiff ℝ ∞ (localFieldLift period (derivativeField period S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀ t) x) := | |
| 61 | + pointField_smooth period _ _ t x | |
| 62 | + | |
| 63 | +theorem field_ae (t : Icc (0 : ℝ) T) : | |
| 64 | + (velocity period S hS T hT Q Q₁ c hc hQ f a₀ t : CylinderL2 period Space) =ᵐ[liftMeasure period] | |
| 65 | + field period S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀ t := | |
| 66 | + pointField_ae period (includePath period S hS (velocity period S hS T hT Q Q₁ c hc hQ f a₀)) | |
| 67 | + (velocity_contDiff period S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀) t | |
| 68 | + | |
| 69 | +theorem derivativeField_ae (t : Icc (0 : ℝ) T) : | |
| 70 | + (velocityDerivative period S hS T hT Q Q₁ c hc hQ f a₀ t : CylinderL2 period Space) =ᵐ[liftMeasure period] | |
| 71 | + derivativeField period S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀ t := | |
| 72 | + pointField_ae period (includePath period S hS (velocityDerivative period S hS T hT Q Q₁ c hc hQ f a₀)) | |
| 73 | + (velocityDerivative_contDiff period S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀) t | |
| 74 | + | |
| 75 | +theorem field_tsupport_subset (t : Icc (0 : ℝ) T) : | |
| 76 | + tsupport (field period S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀ t) ⊆ spatialSet period S := by | |
| 77 | + change tsupport (pointField period _ _ t) ⊆ _ | |
| 78 | + rw [pointField_eq_representative] | |
| 79 | + exact representative_tsupport_subset period S hS hSc.isClosed _ _ | |
| 80 | + (velocity period S hS T hT Q Q₁ c hc hQ f a₀ t).property | |
| 81 | + | |
| 82 | +/-- Inclusion in full cylinder L² preserves the already proved time derivative. -/ | |
| 83 | +theorem fullVelocity_hasDerivWithinAt | |
| 84 | + (hQt : ∀ t ∈ Icc (0 : ℝ) T, ∀ x : Space, | |
| 85 | + HasDerivWithinAt (fun s => extendPath T hT Q.field s x) | |
| 86 | + (extendPath T hT Q₁.field t x) (Icc (0 : ℝ) T) t) | |
| 87 | + (t : Icc (0 : ℝ) T) : | |
| 88 | + HasDerivWithinAt (extendPath T hT (includePath period S hS | |
| 89 | + (velocity period S hS T hT Q Q₁ c hc hQ f a₀))) | |
| 90 | + (includePath period S hS (velocityDerivative period S hS T hT Q Q₁ c hc hQ f a₀) t) | |
| 91 | + (Icc (0 : ℝ) T) t := by | |
| 92 | + let L : Supported period Space S hS →L[ℝ] LiftL2 period := (Supported period Space S hS).subtypeL | |
| 93 | + exact L.hasFDerivAt.comp_hasDerivWithinAt (t : ℝ) | |
| 94 | + (velocity_hasDerivWithinAt period S hS T hT Q Q₁ c hc hQ f a₀ hQt t) | |
| 95 | + | |
| 96 | +/-- No global time extension is assumed: the true time derivative holds within | |
| 97 | +the closed source interval, at every cylinder point. -/ | |
| 98 | +theorem field_hasDerivWithinAt | |
| 99 | + (hQt : ∀ t ∈ Icc (0 : ℝ) T, ∀ x : Space, | |
| 100 | + HasDerivWithinAt (fun s => extendPath T hT Q.field s x) | |
| 101 | + (extendPath T hT Q₁.field t x) (Icc (0 : ℝ) T) t) | |
| 102 | + (t : Icc (0 : ℝ) T) (x : LiftDomain period) : | |
| 103 | + HasDerivWithinAt (fun s => field period S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀ (projIcc 0 T hT s) x) | |
| 104 | + (derivativeField period S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀ t x) (Icc (0 : ℝ) T) t := | |
| 105 | + pointField_hasDerivWithinAt period T hT | |
| 106 | + (includePath period S hS (velocity period S hS T hT Q Q₁ c hc hQ f a₀)) | |
| 107 | + (includePath period S hS (velocityDerivative period S hS T hT Q Q₁ c hc hQ f a₀)) | |
| 108 | + (velocity_contDiff period S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀) | |
| 109 | + (velocityDerivative_contDiff period S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀) | |
| 110 | + (fullVelocity_hasDerivWithinAt period S hS T hT Q Q₁ c hc hQ f a₀ hQt) t x | |
| 111 | + | |
| 112 | +end EulerSourceCylinderClassical | |
| 113 | +end | |
| 114 | + | |
| 115 | +end | |
| 116 | + | |
| 11 | 117 | noncomputable section |
| 12 | 118 | |
| 13 | 119 | namespace EulerSourceCylinderClassical |
+216 −1 Euler/SourceCylinderDerivativeBounds.lean View file
| @@ -1,4 +1,7 @@ | ||
| 1 | -import Euler.SourceCylinderDerivativeWeight | |
| 1 | +import Euler.SourceCylinderForcing | |
| 2 | +import Euler.LpCylinderTimeWeight | |
| 3 | +import Euler.OperatorGevreyCalculus | |
| 4 | +import Euler.SourceCylinderWeight | |
| 2 | 5 | import Euler.PacketMajorantShift |
| 3 | 6 | |
| 4 | 7 | /-! |
| @@ -9,6 +12,218 @@ physical time derivative, divided by g, obeys the same fixed-Hq external-word | ||
| 9 | 12 | radius as the forcing and spends just the solve's one shift. |
| 10 | 13 | -/ |
| 11 | 14 | |
| 15 | +/-! ## From `Euler/SourceCylinderTimeBounds.lean` | |
| 16 | + | |
| 17 | +The text of `Euler/SourceCylinderTimeBounds.lean`, folded into this file, which was its only importer. -/ | |
| 18 | + | |
| 19 | +section | |
| 20 | + | |
| 21 | +/-! | |
| 22 | +# Same-radius bounds for the actual forward time right side | |
| 23 | + | |
| 24 | +The coordinate and physical right sides are the literal bounded coefficient | |
| 25 | +expressions in (12) and its physical reconstruction. They preserve the input | |
| 26 | +external radius and shift. Scalar time weights commute with these expressions; | |
| 27 | +in particular no derivative of the positive profile is used. | |
| 28 | +-/ | |
| 29 | + | |
| 30 | +noncomputable section | |
| 31 | + | |
| 32 | +namespace EulerSourceCylinderTimeBounds | |
| 33 | + | |
| 34 | +open Set ContinuousLinearMap EulerSmoothLimit EulerMeanCoefficients EulerLiftedGradientSpace | |
| 35 | + EulerLpCylinderTranslation EulerLpCylinderPaths EulerLpCylinderRectangular | |
| 36 | + EulerSourceCylinderForcing EulerSourceForwardCoefficient EulerTransverseForwardCoefficientGevrey | |
| 37 | + EulerOperatorGevreyCalculus EulerGevrey EulerParameterWordGevrey EulerTimeLpGramGevrey | |
| 38 | + EulerContinuousTimeWeight | |
| 39 | +open scoped ContDiff BoundedContinuousFunction | |
| 40 | + | |
| 41 | +variable (P : ℝ) [Fact (0 < P)] | |
| 42 | + {K U E ι : Type*} [TopologicalSpace K] [CompactSpace K] | |
| 43 | + [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] | |
| 44 | + [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] [Fintype ι] | |
| 45 | + (S : Set Space) (hS : MeasurableSet S) | |
| 46 | + (Q Q₁ : SmoothCoefficientPath K (U →L[ℝ] E)) | |
| 47 | + (c : ℝ) (hc : 0 < c) (hQ : ∀ t x v, c*‖v‖^2 ≤ ‖Q.field t x v‖^2) | |
| 48 | + (f : C(K,Supported P E S hS)) (a : C(K,Supported P U S hS)) | |
| 49 | + | |
| 50 | +def coordinateRhs : C(K,Supported P U S hS) := | |
| 51 | + supportedMultiplierMap P S hS (sourceGenerator Q Q₁ c hc hQ) a+ | |
| 52 | + projectedForcing P S hS Q c hc hQ f | |
| 53 | + | |
| 54 | +def physicalRhs : C(K,Supported P E S hS) := | |
| 55 | + supportedMultiplierMap P S hS Q₁.field a+ | |
| 56 | + supportedMultiplierMap P S hS Q.field (coordinateRhs P S hS Q Q₁ c hc hQ f a) | |
| 57 | + | |
| 58 | +theorem coordinateRhs_contDiff | |
| 59 | + (hf : ContDiff ℝ ∞ (fun b : LiftTangent => pathTranslate P b (includePath P S hS f))) | |
| 60 | + (ha : ContDiff ℝ ∞ (fun b : LiftTangent => pathTranslate P b (includePath P S hS a))) : | |
| 61 | + ContDiff ℝ ∞ (fun b : LiftTangent => pathTranslate P b | |
| 62 | + (includePath P S hS (coordinateRhs P S hS Q Q₁ c hc hQ f a))) := by | |
| 63 | + have h₁ := supported_product_orbit_contDiff P (sourceGenerator Q Q₁ c hc hQ) | |
| 64 | + (sourceGenerator_translation_contDiff Q Q₁ c hc hQ) S hS a ha | |
| 65 | + have h₂ := projectedForcing_contDiff P S hS Q c hc hQ f hf | |
| 66 | + simpa only [coordinateRhs,map_add] using h₁.add h₂ | |
| 67 | + | |
| 68 | +def coordinateCost (ι : Type*) [Fintype ι] (q : ℕ) (Ri C₀ C₁ Df Da : ℝ) : ℝ := | |
| 69 | + 3*sobolevCoefficientAmplitude ι q (4*Ri) (18*Ri*C₀*C₁)*Da+ | |
| 70 | + 3*sobolevCoefficientAmplitude ι q (4*Ri) (3*Ri*C₀)*Df | |
| 71 | + | |
| 72 | +def physicalCost (ι : Type*) [Fintype ι] (q : ℕ) (Ri C₀ C₁ Df Da : ℝ) : ℝ := | |
| 73 | + 3*sobolevCoefficientAmplitude ι q (4*Ri) C₁*Da+ | |
| 74 | + 3*sobolevCoefficientAmplitude ι q (4*Ri) C₀*coordinateCost ι q Ri C₀ C₁ Df Da | |
| 75 | + | |
| 76 | +theorem coordinateRhs_block_bound | |
| 77 | + (directions : ι → LiftTangent) (hd : ∀ i, ‖directions i‖ ≤ 1) (q : ℕ) | |
| 78 | + (hf : ContDiff ℝ ∞ (fun b : LiftTangent => pathTranslate P b (includePath P S hS f))) | |
| 79 | + (ha : ContDiff ℝ ∞ (fun b : LiftTangent => pathTranslate P b (includePath P S hS a))) | |
| 80 | + (Rc C₀ C₁ Ri R Df Da : ℝ) (hRc : 0 ≤ Rc) (hC₀ : 0 ≤ C₀) (hC₁ : 0 ≤ C₁) | |
| 81 | + (hDf : 0 ≤ Df) (hDa : 0 ≤ Da) (hRi : 2*gramCost c C₀ 1*(Rc+1) ≤ Ri) | |
| 82 | + (hR : sobolevCoefficientRadius ι (4*Ri) ≤ R) | |
| 83 | + (hbQ : ∀ n t x, ‖iteratedFDeriv ℝ n (Q.field t : Space → U →L[ℝ] E) x‖ ≤ C₀*majorant Rc 0 n) | |
| 84 | + (hbQ₁ : ∀ n t x, ‖iteratedFDeriv ℝ n (Q₁.field t : Space → U →L[ℝ] E) x‖ ≤ C₁*majorant Rc 0 n) | |
| 85 | + (d : ℕ) | |
| 86 | + (hbf : ∀ n, block directions q (fun b : LiftTangent => pathTranslate P b (includePath P S hS f)) n 0 ≤ Df*majorant R d n) | |
| 87 | + (hba : ∀ n, block directions q (fun b : LiftTangent => pathTranslate P b (includePath P S hS a)) n 0 ≤ Da*majorant R d n) | |
| 88 | + (n : ℕ) : | |
| 89 | + block directions q (fun b : LiftTangent => pathTranslate P b | |
| 90 | + (includePath P S hS (coordinateRhs P S hS Q Q₁ c hc hQ f a))) n 0 ≤ | |
| 91 | + coordinateCost ι q Ri C₀ C₁ Df Da*majorant R d n := by | |
| 92 | + obtain ⟨hi,-⟩ := inverseRadius_bounds c C₀ Rc Ri hc hRc hRi | |
| 93 | + let B := sourceGenerator Q Q₁ c hc hQ | |
| 94 | + have hB := sourceGenerator_translation_contDiff Q Q₁ c hc hQ | |
| 95 | + have hbB := sourceGenerator_translation_bound Q Q₁ c hc hQ Rc C₀ C₁ Ri hRc hC₀ hC₁ hRi hbQ hbQ₁ | |
| 96 | + have hfirst := product_orbit_block_bound P B hB directions hd q (includePath P S hS a) ha | |
| 97 | + (4*Ri) (18*Ri*C₀*C₁) R Da (by positivity) (by positivity) hDa hR hbB d hba n | |
| 98 | + have hsecond := projectedForcing_block_bound P S hS Q c hc hQ directions hd q f hf | |
| 99 | + Rc C₀ Ri R Df hRc hC₀ hDf hRi hR hbQ d hbf n | |
| 100 | + have hsum := block_add_le directions q | |
| 101 | + (fun b : LiftTangent => pathTranslate P b (includePath P S hS | |
| 102 | + (supportedMultiplierMap P S hS B a))) | |
| 103 | + (fun b : LiftTangent => pathTranslate P b (includePath P S hS | |
| 104 | + (projectedForcing P S hS Q c hc hQ f))) | |
| 105 | + (supported_product_orbit_contDiff P B hB S hS a ha) | |
| 106 | + (projectedForcing_contDiff P S hS Q c hc hQ f hf) n 0 | |
| 107 | + have hbound := hsum.trans (add_le_add hfirst hsecond) | |
| 108 | + simpa only [coordinateRhs,coordinateCost,B,map_add,Pi.add_def,add_mul] using hbound | |
| 109 | + | |
| 110 | +theorem physicalRhs_block_bound | |
| 111 | + (directions : ι → LiftTangent) (hd : ∀ i, ‖directions i‖ ≤ 1) (q : ℕ) | |
| 112 | + (hf : ContDiff ℝ ∞ (fun b : LiftTangent => pathTranslate P b (includePath P S hS f))) | |
| 113 | + (ha : ContDiff ℝ ∞ (fun b : LiftTangent => pathTranslate P b (includePath P S hS a))) | |
| 114 | + (Rc C₀ C₁ Ri R Df Da : ℝ) (hRc : 0 ≤ Rc) (hC₀ : 0 ≤ C₀) (hC₁ : 0 ≤ C₁) | |
| 115 | + (hDf : 0 ≤ Df) (hDa : 0 ≤ Da) (hRi : 2*gramCost c C₀ 1*(Rc+1) ≤ Ri) | |
| 116 | + (hR : sobolevCoefficientRadius ι (4*Ri) ≤ R) | |
| 117 | + (hbQ : ∀ n t x, ‖iteratedFDeriv ℝ n (Q.field t : Space → U →L[ℝ] E) x‖ ≤ C₀*majorant Rc 0 n) | |
| 118 | + (hbQ₁ : ∀ n t x, ‖iteratedFDeriv ℝ n (Q₁.field t : Space → U →L[ℝ] E) x‖ ≤ C₁*majorant Rc 0 n) | |
| 119 | + (d : ℕ) | |
| 120 | + (hbf : ∀ n, block directions q (fun b : LiftTangent => pathTranslate P b (includePath P S hS f)) n 0 ≤ Df*majorant R d n) | |
| 121 | + (hba : ∀ n, block directions q (fun b : LiftTangent => pathTranslate P b (includePath P S hS a)) n 0 ≤ Da*majorant R d n) | |
| 122 | + (n : ℕ) : | |
| 123 | + block directions q (fun b : LiftTangent => pathTranslate P b | |
| 124 | + (includePath P S hS (physicalRhs P S hS Q Q₁ c hc hQ f a))) n 0 ≤ | |
| 125 | + physicalCost ι q Ri C₀ C₁ Df Da*majorant R d n := by | |
| 126 | + obtain ⟨hi,hbase⟩ := inverseRadius_bounds c C₀ Rc Ri hc hRc hRi | |
| 127 | + have hq (j : ℕ) (b : Space) : | |
| 128 | + ‖iteratedFDeriv ℝ j (translateCoefficientPath Q.field) b‖ ≤ C₀*majorant (4*Ri) 0 j := | |
| 129 | + (Q.norm_iteratedFDeriv_translation_le j _ (mul_nonneg hC₀ (majorant_nonneg Rc hRc 0 j)) (hbQ j) b).trans | |
| 130 | + (mul_le_mul_of_nonneg_left (majorant_radius_mono Rc (4*Ri) hRc hbase 0 j) hC₀) | |
| 131 | + have hq₁ (j : ℕ) (b : Space) : | |
| 132 | + ‖iteratedFDeriv ℝ j (translateCoefficientPath Q₁.field) b‖ ≤ C₁*majorant (4*Ri) 0 j := | |
| 133 | + (Q₁.norm_iteratedFDeriv_translation_le j _ (mul_nonneg hC₁ (majorant_nonneg Rc hRc 0 j)) (hbQ₁ j) b).trans | |
| 134 | + (mul_le_mul_of_nonneg_left (majorant_radius_mono Rc (4*Ri) hRc hbase 0 j) hC₁) | |
| 135 | + have hcost : 0 ≤ coordinateCost ι q Ri C₀ C₁ Df Da := by | |
| 136 | + unfold coordinateCost | |
| 137 | + exact add_nonneg | |
| 138 | + (mul_nonneg (mul_nonneg (by norm_num) | |
| 139 | + (sobolevCoefficientAmplitude_nonneg q (4*Ri) (18*Ri*C₀*C₁) (by positivity) (by positivity))) hDa) | |
| 140 | + (mul_nonneg (mul_nonneg (by norm_num) | |
| 141 | + (sobolevCoefficientAmplitude_nonneg q (4*Ri) (3*Ri*C₀) (by positivity) (by positivity))) hDf) | |
| 142 | + have hcoord := coordinateRhs_contDiff P S hS Q Q₁ c hc hQ f a hf ha | |
| 143 | + have hbcoord := coordinateRhs_block_bound P S hS Q Q₁ c hc hQ f a directions hd q hf ha | |
| 144 | + Rc C₀ C₁ Ri R Df Da hRc hC₀ hC₁ hDf hDa hRi hR hbQ hbQ₁ d hbf hba | |
| 145 | + have hfirst := product_orbit_block_bound P Q₁.field Q₁.translation_contDiff directions hd q | |
| 146 | + (includePath P S hS a) ha (4*Ri) C₁ R Da (by positivity) hC₁ hDa hR hq₁ d hba n | |
| 147 | + have hsecond := product_orbit_block_bound P Q.field Q.translation_contDiff directions hd q | |
| 148 | + (includePath P S hS (coordinateRhs P S hS Q Q₁ c hc hQ f a)) hcoord | |
| 149 | + (4*Ri) C₀ R (coordinateCost ι q Ri C₀ C₁ Df Da) (by positivity) hC₀ hcost hR hq d hbcoord n | |
| 150 | + have hsum := block_add_le directions q | |
| 151 | + (fun b : LiftTangent => pathTranslate P b (includePath P S hS (supportedMultiplierMap P S hS Q₁.field a))) | |
| 152 | + (fun b : LiftTangent => pathTranslate P b (includePath P S hS | |
| 153 | + (supportedMultiplierMap P S hS Q.field (coordinateRhs P S hS Q Q₁ c hc hQ f a)))) | |
| 154 | + (supported_product_orbit_contDiff P Q₁.field Q₁.translation_contDiff S hS a ha) | |
| 155 | + (supported_product_orbit_contDiff P Q.field Q.translation_contDiff S hS _ hcoord) n 0 | |
| 156 | + have hbound := hsum.trans (add_le_add hfirst hsecond) | |
| 157 | + simpa only [physicalRhs,physicalCost,map_add,Pi.add_def,add_mul] using hbound | |
| 158 | + | |
| 159 | +theorem coordinateRhs_weight (g : C(K,ℝ)) : | |
| 160 | + coordinateRhs P S hS Q Q₁ c hc hQ (weight g f) (weight g a) = | |
| 161 | + weight g (coordinateRhs P S hS Q Q₁ c hc hQ f a) := by | |
| 162 | + simp only [coordinateRhs,projectedForcing,supportedMultiplier_weight,map_add] | |
| 163 | + | |
| 164 | +theorem physicalRhs_weight (g : C(K,ℝ)) : | |
| 165 | + physicalRhs P S hS Q Q₁ c hc hQ (weight g f) (weight g a) = | |
| 166 | + weight g (physicalRhs P S hS Q Q₁ c hc hQ f a) := by | |
| 167 | + simp only [physicalRhs,coordinateRhs_weight,supportedMultiplier_weight,map_add] | |
| 168 | + | |
| 169 | +end EulerSourceCylinderTimeBounds | |
| 170 | +end | |
| 171 | + | |
| 172 | +end | |
| 173 | + | |
| 174 | +/-! ## From `Euler/SourceCylinderDerivativeWeight.lean` | |
| 175 | + | |
| 176 | +The text of `Euler/SourceCylinderDerivativeWeight.lean`, folded into this file, which was its only importer. -/ | |
| 177 | + | |
| 178 | +section | |
| 179 | + | |
| 180 | +/-! The bounded time-right-side estimate applies to the actual PDE time derivative divided by g. -/ | |
| 181 | + | |
| 182 | +noncomputable section | |
| 183 | + | |
| 184 | +namespace EulerSourceCylinderEquation | |
| 185 | + | |
| 186 | +open Set ContinuousLinearMap EulerSmoothLimit EulerMeanCoefficients | |
| 187 | + EulerLpCylinderTranslation EulerLpCylinderPaths EulerLpCylinderRectangular | |
| 188 | + EulerSourceCylinderTimeBounds EulerSourceCylinderForwardSobolev EulerContinuousTimeWeight | |
| 189 | +open scoped BoundedContinuousFunction | |
| 190 | + | |
| 191 | +variable (P : ℝ) [Fact (0 < P)] | |
| 192 | + {U E : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] | |
| 193 | + [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] | |
| 194 | + (S : Set Space) (hS : MeasurableSet S) (T : ℝ) (hT : 0 ≤ T) | |
| 195 | + (Q Q₁ : SmoothCoefficientPath (Icc (0 : ℝ) T) (U →L[ℝ] E)) | |
| 196 | + (c : ℝ) (hc : 0 < c) (hQ : ∀ t x v, c*‖v‖^2 ≤ ‖Q.field t x v‖^2) | |
| 197 | + (f : C(Icc (0 : ℝ) T,Supported P E S hS)) (a₀ : Supported P U S hS) | |
| 198 | + | |
| 199 | +theorem velocityDerivative_eq_physicalRhs : | |
| 200 | + velocityDerivative P S hS T hT Q Q₁ c hc hQ f a₀ = | |
| 201 | + physicalRhs P S hS Q Q₁ c hc hQ f (coordinates P S hS T hT Q Q₁ c hc hQ f a₀) := rfl | |
| 202 | + | |
| 203 | +variable (g : C(Icc (0 : ℝ) T,ℝ)) (hg : ∀ t, 0 < g t) | |
| 204 | + | |
| 205 | +/-- This is A_t/g, obtained from the actual equation rather than differentiating A/g. -/ | |
| 206 | +def normalizedVelocityDerivative : C(Icc (0 : ℝ) T,Supported P E S hS) := | |
| 207 | + physicalRhs P S hS Q Q₁ c hc hQ f | |
| 208 | + (normalizedCoordinates P T hT S hS Q Q₁ c hc hQ g hg f a₀) | |
| 209 | + | |
| 210 | +theorem velocityDerivative_weight_eq : | |
| 211 | + velocityDerivative P S hS T hT Q Q₁ c hc hQ (weight g f) a₀ = | |
| 212 | + weight g (normalizedVelocityDerivative P S hS T hT Q Q₁ c hc hQ f a₀ g hg) := by | |
| 213 | + rw [velocityDerivative_eq_physicalRhs,coordinates_weight_eq] | |
| 214 | + exact physicalRhs_weight P S hS Q Q₁ c hc hQ f _ g | |
| 215 | + | |
| 216 | +theorem normalized_full_velocityDerivative_eq : | |
| 217 | + normalize g hg (includePath P S hS | |
| 218 | + (velocityDerivative P S hS T hT Q Q₁ c hc hQ (weight g f) a₀)) = | |
| 219 | + includePath P S hS (normalizedVelocityDerivative P S hS T hT Q Q₁ c hc hQ f a₀ g hg) := by | |
| 220 | + rw [velocityDerivative_weight_eq,include_weight,normalize_weight] | |
| 221 | + | |
| 222 | +end EulerSourceCylinderEquation | |
| 223 | +end | |
| 224 | + | |
| 225 | +end | |
| 226 | + | |
| 12 | 227 | noncomputable section |
| 13 | 228 | |
| 14 | 229 | namespace EulerSourceCylinderForwardSobolev |
+0 −46 Euler/SourceCylinderDerivativeWeight.lean deleted
| @@ -1,46 +0,0 @@ | ||
| 1 | -import Euler.SourceCylinderTimeBounds | |
| 2 | -import Euler.SourceCylinderWeight | |
| 3 | - | |
| 4 | -/-! The bounded time-right-side estimate applies to the actual PDE time derivative divided by g. -/ | |
| 5 | - | |
| 6 | -noncomputable section | |
| 7 | - | |
| 8 | -namespace EulerSourceCylinderEquation | |
| 9 | - | |
| 10 | -open Set ContinuousLinearMap EulerSmoothLimit EulerMeanCoefficients | |
| 11 | - EulerLpCylinderTranslation EulerLpCylinderPaths EulerLpCylinderRectangular | |
| 12 | - EulerSourceCylinderTimeBounds EulerSourceCylinderForwardSobolev EulerContinuousTimeWeight | |
| 13 | -open scoped BoundedContinuousFunction | |
| 14 | - | |
| 15 | -variable (P : ℝ) [Fact (0 < P)] | |
| 16 | - {U E : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] | |
| 17 | - [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] | |
| 18 | - (S : Set Space) (hS : MeasurableSet S) (T : ℝ) (hT : 0 ≤ T) | |
| 19 | - (Q Q₁ : SmoothCoefficientPath (Icc (0 : ℝ) T) (U →L[ℝ] E)) | |
| 20 | - (c : ℝ) (hc : 0 < c) (hQ : ∀ t x v, c*‖v‖^2 ≤ ‖Q.field t x v‖^2) | |
| 21 | - (f : C(Icc (0 : ℝ) T,Supported P E S hS)) (a₀ : Supported P U S hS) | |
| 22 | - | |
| 23 | -theorem velocityDerivative_eq_physicalRhs : | |
| 24 | - velocityDerivative P S hS T hT Q Q₁ c hc hQ f a₀ = | |
| 25 | - physicalRhs P S hS Q Q₁ c hc hQ f (coordinates P S hS T hT Q Q₁ c hc hQ f a₀) := rfl | |
| 26 | - | |
| 27 | -variable (g : C(Icc (0 : ℝ) T,ℝ)) (hg : ∀ t, 0 < g t) | |
| 28 | - | |
| 29 | -/-- This is A_t/g, obtained from the actual equation rather than differentiating A/g. -/ | |
| 30 | -def normalizedVelocityDerivative : C(Icc (0 : ℝ) T,Supported P E S hS) := | |
| 31 | - physicalRhs P S hS Q Q₁ c hc hQ f | |
| 32 | - (normalizedCoordinates P T hT S hS Q Q₁ c hc hQ g hg f a₀) | |
| 33 | - | |
| 34 | -theorem velocityDerivative_weight_eq : | |
| 35 | - velocityDerivative P S hS T hT Q Q₁ c hc hQ (weight g f) a₀ = | |
| 36 | - weight g (normalizedVelocityDerivative P S hS T hT Q Q₁ c hc hQ f a₀ g hg) := by | |
| 37 | - rw [velocityDerivative_eq_physicalRhs,coordinates_weight_eq] | |
| 38 | - exact physicalRhs_weight P S hS Q Q₁ c hc hQ f _ g | |
| 39 | - | |
| 40 | -theorem normalized_full_velocityDerivative_eq : | |
| 41 | - normalize g hg (includePath P S hS | |
| 42 | - (velocityDerivative P S hS T hT Q Q₁ c hc hQ (weight g f) a₀)) = | |
| 43 | - includePath P S hS (normalizedVelocityDerivative P S hS T hT Q Q₁ c hc hQ f a₀ g hg) := by | |
| 44 | - rw [velocityDerivative_weight_eq,include_weight,normalize_weight] | |
| 45 | - | |
| 46 | -end EulerSourceCylinderEquation | |
+0 −102 Euler/SourceCylinderForwardSobolev.lean deleted
| @@ -1,102 +0,0 @@ | ||
| 1 | -import Euler.SourceCylinderForward | |
| 2 | -import Euler.SourceCylinderForcing | |
| 3 | - | |
| 4 | -/-! | |
| 5 | -# The complete physical forward bound at one mixed-word radius | |
| 6 | - | |
| 7 | -Physical forcing is projected by the actual Gram left inverse, the supported | |
| 8 | -coordinate equation is solved by the constructed evolution, and the result | |
| 9 | -is multiplied by the physical frame. All three operations use the same | |
| 10 | -external radius R. Only the solve spends one shift. | |
| 11 | --/ | |
| 12 | - | |
| 13 | -noncomputable section | |
| 14 | - | |
| 15 | -namespace EulerSourceCylinderForwardSobolev | |
| 16 | - | |
| 17 | -open Set ContinuousLinearMap EulerSmoothLimit EulerLiftedGradientSpace EulerMeanCoefficients | |
| 18 | - EulerLpCylinderTranslation EulerLpCylinderPaths EulerLpCylinderCoefficients | |
| 19 | - EulerSourceCylinderForward EulerSourceCylinderForcing EulerSourceForwardCoefficient | |
| 20 | - EulerGevrey EulerParameterWordGevrey EulerLinearDuhamel EulerLinearFundamentalExistence | |
| 21 | - EulerTimeLpGramGevrey | |
| 22 | -open scoped ContDiff BoundedContinuousFunction | |
| 23 | - | |
| 24 | -variable (period : ℝ) [Fact (0 < period)] | |
| 25 | - {U E ι : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] | |
| 26 | - [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] [Fintype ι] | |
| 27 | - (T : ℝ) (hT : 0 ≤ T) (S : Set Space) (hS : MeasurableSet S) | |
| 28 | - (Q Q₁ : SmoothCoefficientPath (Icc (0 : ℝ) T) (U →L[ℝ] E)) | |
| 29 | - (c : ℝ) (hc : 0 < c) (hQ : ∀ t x v, c*‖v‖^2 ≤ ‖Q.field t x v‖^2) | |
| 30 | - (g : C(Icc (0 : ℝ) T,ℝ)) (hg : ∀ t, 0 < g t) | |
| 31 | - (f : C(Icc (0 : ℝ) T,Supported period E S hS)) (a₀ : Supported period U S hS) | |
| 32 | - | |
| 33 | -private local instance : NormedRing (U →L[ℝ] U) := inferInstance | |
| 34 | -private local instance : NormedRing (Space →ᵇ U →L[ℝ] U) := inferInstance | |
| 35 | - | |
| 36 | -/-- Actual profile-normalized coordinates with physical forcing as input. -/ | |
| 37 | -def normalizedCoordinates : C(Icc (0 : ℝ) T,Supported period U S hS) := | |
| 38 | - (evolution period T hT Q Q₁ c hc hQ S hS).weightedSolution g hg | |
| 39 | - (projectedForcing period S hS Q c hc hQ f) a₀ | |
| 40 | - | |
| 41 | -/-- The corresponding actual profile-normalized physical velocity. -/ | |
| 42 | -def normalizedVelocity : C(Icc (0 : ℝ) T,Supported period E S hS) := | |
| 43 | - physicalVelocity period S hS Q (normalizedCoordinates period T hT S hS Q Q₁ c hc hQ g hg f a₀) | |
| 44 | - | |
| 45 | -/-- Explicit coefficient cost of projecting a physical forcing at the fixed base order. -/ | |
| 46 | -def forcingCost (ι : Type*) [Fintype ι] (q : ℕ) (Ri C₀ : ℝ) : ℝ := | |
| 47 | - 3*sobolevCoefficientAmplitude ι q (4*Ri) (3*Ri*C₀) | |
| 48 | - | |
| 49 | -/-- The physical solution has the source's genuine fixed-Hq mixed-word bound, | |
| 50 | -without changing the input external radius. -/ | |
| 51 | -theorem physical_forward_block_bound | |
| 52 | - (directions : ι → LiftTangent) (hd : ∀ i, ‖directions i‖ ≤ 1) (q : ℕ) | |
| 53 | - (Ω : Set Space) (hΩ : MeasurableSet Ω) (hSc : IsCompact S) (hΩo : IsOpen Ω) (hsub : S ⊆ Ω) | |
| 54 | - (hΩball : ∀ x ∈ Ω, ‖x‖ ≤ (1/2 : ℝ)) | |
| 55 | - (hg₀ : g ⟨0,le_rfl,hT⟩ = 1) | |
| 56 | - (hf : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate period a (includePath period S hS f))) | |
| 57 | - (ha₀ : ContDiff ℝ ∞ (fun a : LiftTangent => translate period a (a₀ : CylinderL2 period U))) | |
| 58 | - (C A D Rc C₀ C₁ Ri R : ℝ) | |
| 59 | - (hC : 0 ≤ C) (hA : 0 ≤ A) (hD : 0 ≤ D) (hRc : 0 ≤ Rc) (hC₀ : 0 ≤ C₀) (hC₁ : 0 ≤ C₁) | |
| 60 | - (hRi : 2*gramCost c C₀ 1*(Rc+1) ≤ Ri) | |
| 61 | - (hbQ : ∀ n t x, ‖iteratedFDeriv ℝ n (Q.field t : Space → U →L[ℝ] E) x‖ ≤ C₀*majorant Rc 0 n) | |
| 62 | - (hbQ₁ : ∀ n t x, ‖iteratedFDeriv ℝ n (Q₁.field t : Space → U →L[ℝ] E) x‖ ≤ C₁*majorant Rc 0 n) | |
| 63 | - (hRforcing : sobolevCoefficientRadius ι (4*Ri) ≤ R) | |
| 64 | - (hRframe : sobolevCoefficientRadius ι Rc ≤ R) | |
| 65 | - (hR : 2*forwardSobolevCost ι q T C A (forcingCost ι q Ri C₀*D) (18*Ri*C₀*C₁) (4*Ri)* | |
| 66 | - (sobolevCoefficientRadius ι (4*Ri)+1) ≤ R) | |
| 67 | - (hH3 : ∀ t s : Icc (0 : ℝ) T, s ≤ t → ∀ x : Space, ‖x‖ ≤ (1/2 : ℝ) → | |
| 68 | - ‖((fundamentalPath T hT (sourceGenerator Q Q₁ c hc hQ)).forward t x).comp | |
| 69 | - ((fundamentalPath T hT (sourceGenerator Q Q₁ c hc hQ)).backward s x)‖ ≤ C*g t/g s) | |
| 70 | - (d : ℕ) | |
| 71 | - (hforce : ∀ n, block directions q | |
| 72 | - (fun a : LiftTangent => pathTranslate period a (includePath period S hS f)) n 0 ≤ D*majorant R d n) | |
| 73 | - (hinitial : ∀ n, block directions q | |
| 74 | - (fun a : LiftTangent => translate period a (a₀ : CylinderL2 period U)) n 0 ≤ A*majorant R d n) | |
| 75 | - (n : ℕ) : | |
| 76 | - block directions q (fun a : LiftTangent => pathTranslate period a (includePath period S hS | |
| 77 | - (normalizedVelocity period T hT S hS Q Q₁ c hc hQ g hg f a₀))) n 0 ≤ | |
| 78 | - (3*sobolevCoefficientAmplitude ι q Rc C₀)*majorant R (d+1) n := by | |
| 79 | - have hpf := projectedForcing_contDiff period S hS Q c hc hQ f hf | |
| 80 | - have hu : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate period a (includePath period S hS | |
| 81 | - (normalizedCoordinates period T hT S hS Q Q₁ c hc hQ g hg f a₀))) := | |
| 82 | - EulerLpCylinderRegularForward.source_solution_contDiff period T hT Ω hΩ | |
| 83 | - (sourceGenerator Q Q₁ c hc hQ) (sourceGenerator_translation_contDiff Q Q₁ c hc hQ) | |
| 84 | - S hS hSc hΩo hsub g hg (projectedForcing period S hS Q c hc hQ f) a₀ hpf ha₀ | |
| 85 | - obtain ⟨hRi₀,-⟩ := EulerTransverseForwardCoefficientGevrey.inverseRadius_bounds c C₀ Rc Ri hc hRc hRi | |
| 86 | - have hcost : 0 ≤ forcingCost ι q Ri C₀ := mul_nonneg (by norm_num) | |
| 87 | - (sobolevCoefficientAmplitude_nonneg q (4*Ri) (3*Ri*C₀) (by positivity) (by positivity)) | |
| 88 | - have hub (j : ℕ) : block directions q (fun a : LiftTangent => pathTranslate period a (includePath period S hS | |
| 89 | - (normalizedCoordinates period T hT S hS Q Q₁ c hc hQ g hg f a₀))) j 0 ≤ majorant R (d+1) j := | |
| 90 | - source_forward_block_bound period directions hd q T hT Q Q₁ c hc hQ Ω S hΩ hS hSc hΩo hsub hΩball | |
| 91 | - g hg hg₀ (projectedForcing period S hS Q c hc hQ f) a₀ hpf ha₀ | |
| 92 | - C A (forcingCost ι q Ri C₀*D) Rc C₀ C₁ Ri R hC hA (mul_nonneg hcost hD) hRc hC₀ hC₁ hRi | |
| 93 | - hbQ hbQ₁ hR hH3 d | |
| 94 | - (projectedForcing_block_bound period S hS Q c hc hQ directions hd q f hf Rc C₀ Ri R D | |
| 95 | - hRc hC₀ hD hRi hRforcing hbQ d hforce) hinitial j | |
| 96 | - have hout := physicalVelocity_block_bound period S hS Q directions hd q | |
| 97 | - (normalizedCoordinates period T hT S hS Q Q₁ c hc hQ g hg f a₀) hu | |
| 98 | - Rc C₀ R 1 hRc hC₀ zero_le_one hRframe hbQ (d+1) | |
| 99 | - (fun j => by simpa only [one_mul] using hub j) n | |
| 100 | - simpa only [mul_one,normalizedVelocity] using hout | |
| 101 | - | |
| 102 | -end EulerSourceCylinderForwardSobolev | |
+0 −50 Euler/SourceCylinderMeanZero.lean deleted
| @@ -1,50 +0,0 @@ | ||
| 1 | -import Euler.CylinderAngleAverageEvolution | |
| 2 | -import Euler.SourceCylinderEquation | |
| 3 | - | |
| 4 | -/-! The actual source transverse solve preserves the angular zero mode constraint. -/ | |
| 5 | - | |
| 6 | -noncomputable section | |
| 7 | - | |
| 8 | -namespace EulerSourceCylinderEquation | |
| 9 | - | |
| 10 | -open Set MeasureTheory ContinuousLinearMap EulerSmoothLimit EulerLiftedGradientSpace | |
| 11 | - EulerMeanCoefficients EulerLpCylinderTranslation EulerLpCylinderPaths | |
| 12 | - EulerLpCylinderRectangular EulerSourceForwardCoefficient EulerSourceCylinderForcing | |
| 13 | - EulerSourceCylinderForward EulerCylinderAngleAverage | |
| 14 | -open scoped BoundedContinuousFunction | |
| 15 | - | |
| 16 | -variable (P : ℝ) [Fact (0 < P)] | |
| 17 | - {U E : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] | |
| 18 | - [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] | |
| 19 | - (S : Set Space) (hS : MeasurableSet S) (T : ℝ) (hT : 0 ≤ T) | |
| 20 | - (Q Q₁ : SmoothCoefficientPath (Icc (0 : ℝ) T) (U →L[ℝ] E)) | |
| 21 | - (c : ℝ) (hc : 0 < c) (hQ : ∀ t x v, c*‖v‖^2 ≤ ‖Q.field t x v‖^2) | |
| 22 | - (f : C(Icc (0 : ℝ) T,Supported P E S hS)) (a₀ : Supported P U S hS) | |
| 23 | - | |
| 24 | -theorem projectedForcing_average_zero | |
| 25 | - (hf : ∀ t, average P (f t : CylinderL2 P E) = 0) (t : Icc (0 : ℝ) T) : | |
| 26 | - average P (projectedForcing P S hS Q c hc hQ f t : CylinderL2 P U) = 0 := by | |
| 27 | - change average P (fullOperatorMap P (sourceForcing Q c hc hQ t) (f t : CylinderL2 P E)) = 0 | |
| 28 | - rw [average_fullOperator, hf t, map_zero] | |
| 29 | - | |
| 30 | -/-- The real Gram-projected Duhamel coordinate solution has zero angular mean. -/ | |
| 31 | -theorem coordinates_average_zero | |
| 32 | - (hf : ∀ t, average P (f t : CylinderL2 P E) = 0) | |
| 33 | - (ha₀ : average P (a₀ : CylinderL2 P U) = 0) (t : Icc (0 : ℝ) T) : | |
| 34 | - average P (coordinates P S hS T hT Q Q₁ c hc hQ f a₀ t : CylinderL2 P U) = 0 := | |
| 35 | - solution_full_average_zero P S hS T hT (sourceGenerator Q Q₁ c hc hQ) | |
| 36 | - (evolution P T hT Q Q₁ c hc hQ S hS) | |
| 37 | - (projectedForcing P S hS Q c hc hQ f) a₀ | |
| 38 | - (projectedForcing_average_zero P S hS T Q c hc hQ f hf) ha₀ t | |
| 39 | - | |
| 40 | -/-- Physical reconstruction by the true frame preserves the same zero mode. -/ | |
| 41 | -theorem velocity_average_zero | |
| 42 | - (hf : ∀ t, average P (f t : CylinderL2 P E) = 0) | |
| 43 | - (ha₀ : average P (a₀ : CylinderL2 P U) = 0) (t : Icc (0 : ℝ) T) : | |
| 44 | - average P (velocity P S hS T hT Q Q₁ c hc hQ f a₀ t : CylinderL2 P E) = 0 := by | |
| 45 | - change average P (fullOperatorMap P (Q.field t) | |
| 46 | - (coordinates P S hS T hT Q Q₁ c hc hQ f a₀ t : CylinderL2 P U)) = 0 | |
| 47 | - rw [average_fullOperator, coordinates_average_zero P S hS T hT Q Q₁ c hc hQ f a₀ hf ha₀ t, | |
| 48 | - map_zero] | |
| 49 | - | |
| 50 | -end EulerSourceCylinderEquation | |
+149 −2 Euler/SourceCylinderPressureMean.lean View file
| @@ -1,5 +1,7 @@ | ||
| 1 | -import Euler.SourceCylinderMeanZero | |
| 2 | -import Euler.SourceCylinderPressureSource | |
| 1 | +import Euler.CylinderAngleAverageEvolution | |
| 2 | +import Euler.SourceCylinderEquation | |
| 3 | +import Euler.SourceCylinderRegularity | |
| 4 | +import Euler.SourceNormalCoefficient | |
| 3 | 5 | import Euler.SourceCylinderClassicalEquation |
| 4 | 6 | import Euler.CylinderScalarAverage |
| 5 | 7 | |
| @@ -11,6 +13,151 @@ to its continuous scalar representative. No zero-mean condition on the | ||
| 11 | 13 | solution or on its pressure residual is assumed. |
| 12 | 14 | -/ |
| 13 | 15 | |
| 16 | +/-! ## From `Euler/SourceCylinderPressureSource.lean` | |
| 17 | + | |
| 18 | +The text of `Euler/SourceCylinderPressureSource.lean`, folded into this file, which was its only importer. -/ | |
| 19 | + | |
| 20 | +section | |
| 21 | + | |
| 22 | +/-! | |
| 23 | +# The actual scalar pressure source on cylinder L² | |
| 24 | + | |
| 25 | +The normal functional is constructed from the positive one-column Gram | |
| 26 | +matrix. Applying it to f−2MA gives a genuine scalar L² path, with the literal | |
| 27 | +normal residual as representative and genuine smooth mixed translation orbit. | |
| 28 | +-/ | |
| 29 | + | |
| 30 | +noncomputable section | |
| 31 | + | |
| 32 | +namespace EulerSourceCylinderEquation | |
| 33 | + | |
| 34 | +open Set MeasureTheory ContinuousLinearMap InnerProductSpace EulerSmoothLimit EulerMeanCoefficients | |
| 35 | + EulerLiftedGradientSpace EulerLpCylinderTranslation EulerLpCylinderPaths EulerLpCylinderRectangular | |
| 36 | + EulerSourceNormalCoefficient | |
| 37 | +open scoped ContDiff BoundedContinuousFunction | |
| 38 | + | |
| 39 | +variable (period : ℝ) [Fact (0 < period)] | |
| 40 | + {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] | |
| 41 | + (S : Set Space) (hS : MeasurableSet S) (T : ℝ) (hT : 0 ≤ T) | |
| 42 | + (Q Q₁ : SmoothCoefficientPath (Icc (0 : ℝ) T) (U →L[ℝ] Space)) | |
| 43 | + (c : ℝ) (hc : 0 < c) (hQ : ∀ t x v, c*‖v‖^2 ≤ ‖Q.field t x v‖^2) | |
| 44 | + (f : C(Icc (0 : ℝ) T,Supported period Space S hS)) (a₀ : Supported period U S hS) | |
| 45 | + (M : SmoothCoefficientPath (Icc (0 : ℝ) T) (Space →L[ℝ] Space)) | |
| 46 | + (m : SmoothCoefficientPath (Icc (0 : ℝ) T) Space) | |
| 47 | + (cm : ℝ) (hcm : 0 < cm) (hm : ∀ t x, cm ≤ ‖m.field t x‖^2) | |
| 48 | + | |
| 49 | +/-- A genuine supported scalar path representing the right side of ∂θπ in (11). -/ | |
| 50 | +def pressureSource : C(Icc (0 : ℝ) T,Supported period ℝ S hS) := | |
| 51 | + supportedMultiplierMap period S hS (normalFunctional m cm hcm hm) | |
| 52 | + (f - (2 : ℝ) • supportedMultiplierMap period S hS M.field | |
| 53 | + (velocity period S hS T hT Q Q₁ c hc hQ f a₀)) | |
| 54 | + | |
| 55 | +/-- The pressure source is precisely the manuscript's scalar quotient. -/ | |
| 56 | +theorem pressureSource_ae (t : Icc (0 : ℝ) T) : | |
| 57 | + (pressureSource period S hS T hT Q Q₁ c hc hQ f a₀ M m cm hcm hm t : CylinderL2 period ℝ) =ᵐ[liftMeasure period] | |
| 58 | + fun x => (⟪m.field t x.1,(f t : CylinderL2 period Space) x⟫_ℝ - | |
| 59 | + 2*⟪m.field t x.1,M.field t x.1 | |
| 60 | + ((velocity period S hS T hT Q Q₁ c hc hQ f a₀ t : CylinderL2 period Space) x)⟫_ℝ) / ‖m.field t x.1‖^2 := by | |
| 61 | + let v := velocity period S hS T hT Q Q₁ c hc hQ f a₀ t | |
| 62 | + let w := supportedOperatorMap period S hS (M.field t) v | |
| 63 | + let r : Supported period Space S hS := f t - (2 : ℝ) • w | |
| 64 | + let N := normalFunctional m cm hcm hm t | |
| 65 | + filter_upwards [EulerLpOperatorField.full_ae (liftMeasure period) (fieldLift period N) (r : CylinderL2 period Space), | |
| 66 | + EulerLpOperatorField.full_ae (liftMeasure period) (fieldLift period (M.field t)) (v : CylinderL2 period Space), | |
| 67 | + Lp.coeFn_sub (f t : CylinderL2 period Space) ((2 : ℝ) • (w : CylinderL2 period Space)), | |
| 68 | + Lp.coeFn_smul (2 : ℝ) (w : CylinderL2 period Space)] with x hn hM hr hs | |
| 69 | + change (EulerLpOperatorField.full (liftMeasure period) (fieldLift period N) (r : CylinderL2 period Space)) x = _ | |
| 70 | + rw [hn] | |
| 71 | + change normalFunctional m cm hcm hm t x.1 ((r : CylinderL2 period Space) x) = _ | |
| 72 | + rw [normalFunctional_apply] | |
| 73 | + change (⟪m.field t x.1,((f t : CylinderL2 period Space) - (2 : ℝ) • (w : CylinderL2 period Space)) x⟫_ℝ) / _ = _ | |
| 74 | + rw [hr] | |
| 75 | + simp only [Pi.sub_apply] | |
| 76 | + rw [hs] | |
| 77 | + simp only [Pi.smul_apply] | |
| 78 | + change (⟪m.field t x.1,(f t : CylinderL2 period Space) x - (2 : ℝ) • | |
| 79 | + (EulerLpOperatorField.full (liftMeasure period) (fieldLift period (M.field t)) (v : CylinderL2 period Space)) x⟫_ℝ) / _ = _ | |
| 80 | + rw [hM,inner_sub_right,inner_smul_right] | |
| 81 | + rfl | |
| 82 | + | |
| 83 | +/-- The actual scalar pressure source inherits genuine mixed regularity from the solve. -/ | |
| 84 | +theorem pressureSource_contDiff (hSc : IsCompact S) | |
| 85 | + (hf : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate period a (includePath period S hS f))) | |
| 86 | + (ha₀ : ContDiff ℝ ∞ (fun a : LiftTangent => translate period a (a₀ : CylinderL2 period U))) : | |
| 87 | + ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate period a (includePath period S hS | |
| 88 | + (pressureSource period S hS T hT Q Q₁ c hc hQ f a₀ M m cm hcm hm))) := by | |
| 89 | + let v := velocity period S hS T hT Q Q₁ c hc hQ f a₀ | |
| 90 | + let w := supportedMultiplierMap period S hS M.field v | |
| 91 | + have hv := velocity_contDiff period S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀ | |
| 92 | + have hw := supported_product_orbit_contDiff period M.field M.translation_contDiff S hS v hv | |
| 93 | + have hr : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate period a | |
| 94 | + (includePath period S hS (f - (2 : ℝ) • w))) := by | |
| 95 | + simpa only [map_sub,map_smul] using hf.sub (hw.const_smul (2 : ℝ)) | |
| 96 | + exact supported_product_orbit_contDiff period (normalFunctional m cm hcm hm) | |
| 97 | + (normalFunctional_translation_contDiff m cm hcm hm) S hS (f - (2 : ℝ) • w) hr | |
| 98 | + | |
| 99 | +end EulerSourceCylinderEquation | |
| 100 | +end | |
| 101 | + | |
| 102 | +end | |
| 103 | + | |
| 104 | +/-! ## From `Euler/SourceCylinderMeanZero.lean` | |
| 105 | + | |
| 106 | +The text of `Euler/SourceCylinderMeanZero.lean`, folded into this file, which was its only importer. -/ | |
| 107 | + | |
| 108 | +section | |
| 109 | + | |
| 110 | +/-! The actual source transverse solve preserves the angular zero mode constraint. -/ | |
| 111 | + | |
| 112 | +noncomputable section | |
| 113 | + | |
| 114 | +namespace EulerSourceCylinderEquation | |
| 115 | + | |
| 116 | +open Set MeasureTheory ContinuousLinearMap EulerSmoothLimit EulerLiftedGradientSpace | |
| 117 | + EulerMeanCoefficients EulerLpCylinderTranslation EulerLpCylinderPaths | |
| 118 | + EulerLpCylinderRectangular EulerSourceForwardCoefficient EulerSourceCylinderForcing | |
| 119 | + EulerSourceCylinderForward EulerCylinderAngleAverage | |
| 120 | +open scoped BoundedContinuousFunction | |
| 121 | + | |
| 122 | +variable (P : ℝ) [Fact (0 < P)] | |
| 123 | + {U E : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] | |
| 124 | + [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] | |
| 125 | + (S : Set Space) (hS : MeasurableSet S) (T : ℝ) (hT : 0 ≤ T) | |
| 126 | + (Q Q₁ : SmoothCoefficientPath (Icc (0 : ℝ) T) (U →L[ℝ] E)) | |
| 127 | + (c : ℝ) (hc : 0 < c) (hQ : ∀ t x v, c*‖v‖^2 ≤ ‖Q.field t x v‖^2) | |
| 128 | + (f : C(Icc (0 : ℝ) T,Supported P E S hS)) (a₀ : Supported P U S hS) | |
| 129 | + | |
| 130 | +theorem projectedForcing_average_zero | |
| 131 | + (hf : ∀ t, average P (f t : CylinderL2 P E) = 0) (t : Icc (0 : ℝ) T) : | |
| 132 | + average P (projectedForcing P S hS Q c hc hQ f t : CylinderL2 P U) = 0 := by | |
| 133 | + change average P (fullOperatorMap P (sourceForcing Q c hc hQ t) (f t : CylinderL2 P E)) = 0 | |
| 134 | + rw [average_fullOperator, hf t, map_zero] | |
| 135 | + | |
| 136 | +/-- The real Gram-projected Duhamel coordinate solution has zero angular mean. -/ | |
| 137 | +theorem coordinates_average_zero | |
| 138 | + (hf : ∀ t, average P (f t : CylinderL2 P E) = 0) | |
| 139 | + (ha₀ : average P (a₀ : CylinderL2 P U) = 0) (t : Icc (0 : ℝ) T) : | |
| 140 | + average P (coordinates P S hS T hT Q Q₁ c hc hQ f a₀ t : CylinderL2 P U) = 0 := | |
| 141 | + solution_full_average_zero P S hS T hT (sourceGenerator Q Q₁ c hc hQ) | |
| 142 | + (evolution P T hT Q Q₁ c hc hQ S hS) | |
| 143 | + (projectedForcing P S hS Q c hc hQ f) a₀ | |
| 144 | + (projectedForcing_average_zero P S hS T Q c hc hQ f hf) ha₀ t | |
| 145 | + | |
| 146 | +/-- Physical reconstruction by the true frame preserves the same zero mode. -/ | |
| 147 | +theorem velocity_average_zero | |
| 148 | + (hf : ∀ t, average P (f t : CylinderL2 P E) = 0) | |
| 149 | + (ha₀ : average P (a₀ : CylinderL2 P U) = 0) (t : Icc (0 : ℝ) T) : | |
| 150 | + average P (velocity P S hS T hT Q Q₁ c hc hQ f a₀ t : CylinderL2 P E) = 0 := by | |
| 151 | + change average P (fullOperatorMap P (Q.field t) | |
| 152 | + (coordinates P S hS T hT Q Q₁ c hc hQ f a₀ t : CylinderL2 P U)) = 0 | |
| 153 | + rw [average_fullOperator, coordinates_average_zero P S hS T hT Q Q₁ c hc hQ f a₀ hf ha₀ t, | |
| 154 | + map_zero] | |
| 155 | + | |
| 156 | +end EulerSourceCylinderEquation | |
| 157 | +end | |
| 158 | + | |
| 159 | +end | |
| 160 | + | |
| 14 | 161 | noncomputable section |
| 15 | 162 | |
| 16 | 163 | namespace EulerSourceCylinderEquation |
+0 −81 Euler/SourceCylinderPressureSource.lean deleted
| @@ -1,81 +0,0 @@ | ||
| 1 | -import Euler.SourceCylinderRegularity | |
| 2 | -import Euler.SourceNormalCoefficient | |
| 3 | - | |
| 4 | -/-! | |
| 5 | -# The actual scalar pressure source on cylinder L² | |
| 6 | - | |
| 7 | -The normal functional is constructed from the positive one-column Gram | |
| 8 | -matrix. Applying it to f−2MA gives a genuine scalar L² path, with the literal | |
| 9 | -normal residual as representative and genuine smooth mixed translation orbit. | |
| 10 | --/ | |
| 11 | - | |
| 12 | -noncomputable section | |
| 13 | - | |
| 14 | -namespace EulerSourceCylinderEquation | |
| 15 | - | |
| 16 | -open Set MeasureTheory ContinuousLinearMap InnerProductSpace EulerSmoothLimit EulerMeanCoefficients | |
| 17 | - EulerLiftedGradientSpace EulerLpCylinderTranslation EulerLpCylinderPaths EulerLpCylinderRectangular | |
| 18 | - EulerSourceNormalCoefficient | |
| 19 | -open scoped ContDiff BoundedContinuousFunction | |
| 20 | - | |
| 21 | -variable (period : ℝ) [Fact (0 < period)] | |
| 22 | - {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] | |
| 23 | - (S : Set Space) (hS : MeasurableSet S) (T : ℝ) (hT : 0 ≤ T) | |
| 24 | - (Q Q₁ : SmoothCoefficientPath (Icc (0 : ℝ) T) (U →L[ℝ] Space)) | |
| 25 | - (c : ℝ) (hc : 0 < c) (hQ : ∀ t x v, c*‖v‖^2 ≤ ‖Q.field t x v‖^2) | |
| 26 | - (f : C(Icc (0 : ℝ) T,Supported period Space S hS)) (a₀ : Supported period U S hS) | |
| 27 | - (M : SmoothCoefficientPath (Icc (0 : ℝ) T) (Space →L[ℝ] Space)) | |
| 28 | - (m : SmoothCoefficientPath (Icc (0 : ℝ) T) Space) | |
| 29 | - (cm : ℝ) (hcm : 0 < cm) (hm : ∀ t x, cm ≤ ‖m.field t x‖^2) | |
| 30 | - | |
| 31 | -/-- A genuine supported scalar path representing the right side of ∂θπ in (11). -/ | |
| 32 | -def pressureSource : C(Icc (0 : ℝ) T,Supported period ℝ S hS) := | |
| 33 | - supportedMultiplierMap period S hS (normalFunctional m cm hcm hm) | |
| 34 | - (f - (2 : ℝ) • supportedMultiplierMap period S hS M.field | |
| 35 | - (velocity period S hS T hT Q Q₁ c hc hQ f a₀)) | |
| 36 | - | |
| 37 | -/-- The pressure source is precisely the manuscript's scalar quotient. -/ | |
| 38 | -theorem pressureSource_ae (t : Icc (0 : ℝ) T) : | |
| 39 | - (pressureSource period S hS T hT Q Q₁ c hc hQ f a₀ M m cm hcm hm t : CylinderL2 period ℝ) =ᵐ[liftMeasure period] | |
| 40 | - fun x => (⟪m.field t x.1,(f t : CylinderL2 period Space) x⟫_ℝ - | |
| 41 | - 2*⟪m.field t x.1,M.field t x.1 | |
| 42 | - ((velocity period S hS T hT Q Q₁ c hc hQ f a₀ t : CylinderL2 period Space) x)⟫_ℝ) / ‖m.field t x.1‖^2 := by | |
| 43 | - let v := velocity period S hS T hT Q Q₁ c hc hQ f a₀ t | |
| 44 | - let w := supportedOperatorMap period S hS (M.field t) v | |
| 45 | - let r : Supported period Space S hS := f t - (2 : ℝ) • w | |
| 46 | - let N := normalFunctional m cm hcm hm t | |
| 47 | - filter_upwards [EulerLpOperatorField.full_ae (liftMeasure period) (fieldLift period N) (r : CylinderL2 period Space), | |
| 48 | - EulerLpOperatorField.full_ae (liftMeasure period) (fieldLift period (M.field t)) (v : CylinderL2 period Space), | |
| 49 | - Lp.coeFn_sub (f t : CylinderL2 period Space) ((2 : ℝ) • (w : CylinderL2 period Space)), | |
| 50 | - Lp.coeFn_smul (2 : ℝ) (w : CylinderL2 period Space)] with x hn hM hr hs | |
| 51 | - change (EulerLpOperatorField.full (liftMeasure period) (fieldLift period N) (r : CylinderL2 period Space)) x = _ | |
| 52 | - rw [hn] | |
| 53 | - change normalFunctional m cm hcm hm t x.1 ((r : CylinderL2 period Space) x) = _ | |
| 54 | - rw [normalFunctional_apply] | |
| 55 | - change (⟪m.field t x.1,((f t : CylinderL2 period Space) - (2 : ℝ) • (w : CylinderL2 period Space)) x⟫_ℝ) / _ = _ | |
| 56 | - rw [hr] | |
| 57 | - simp only [Pi.sub_apply] | |
| 58 | - rw [hs] | |
| 59 | - simp only [Pi.smul_apply] | |
| 60 | - change (⟪m.field t x.1,(f t : CylinderL2 period Space) x - (2 : ℝ) • | |
| 61 | - (EulerLpOperatorField.full (liftMeasure period) (fieldLift period (M.field t)) (v : CylinderL2 period Space)) x⟫_ℝ) / _ = _ | |
| 62 | - rw [hM,inner_sub_right,inner_smul_right] | |
| 63 | - rfl | |
| 64 | - | |
| 65 | -/-- The actual scalar pressure source inherits genuine mixed regularity from the solve. -/ | |
| 66 | -theorem pressureSource_contDiff (hSc : IsCompact S) | |
| 67 | - (hf : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate period a (includePath period S hS f))) | |
| 68 | - (ha₀ : ContDiff ℝ ∞ (fun a : LiftTangent => translate period a (a₀ : CylinderL2 period U))) : | |
| 69 | - ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate period a (includePath period S hS | |
| 70 | - (pressureSource period S hS T hT Q Q₁ c hc hQ f a₀ M m cm hcm hm))) := by | |
| 71 | - let v := velocity period S hS T hT Q Q₁ c hc hQ f a₀ | |
| 72 | - let w := supportedMultiplierMap period S hS M.field v | |
| 73 | - have hv := velocity_contDiff period S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀ | |
| 74 | - have hw := supported_product_orbit_contDiff period M.field M.translation_contDiff S hS v hv | |
| 75 | - have hr : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate period a | |
| 76 | - (includePath period S hS (f - (2 : ℝ) • w))) := by | |
| 77 | - simpa only [map_sub,map_smul] using hf.sub (hw.const_smul (2 : ℝ)) | |
| 78 | - exact supported_product_orbit_contDiff period (normalFunctional m cm hcm hm) | |
| 79 | - (normalFunctional_translation_contDiff m cm hcm hm) S hS (f - (2 : ℝ) • w) hr | |
| 80 | - | |
| 81 | -end EulerSourceCylinderEquation | |
+0 −153 Euler/SourceCylinderTimeBounds.lean deleted
| @@ -1,153 +0,0 @@ | ||
| 1 | -import Euler.SourceCylinderForcing | |
| 2 | -import Euler.LpCylinderTimeWeight | |
| 3 | -import Euler.OperatorGevreyCalculus | |
| 4 | - | |
| 5 | -/-! | |
| 6 | -# Same-radius bounds for the actual forward time right side | |
| 7 | - | |
| 8 | -The coordinate and physical right sides are the literal bounded coefficient | |
| 9 | -expressions in (12) and its physical reconstruction. They preserve the input | |
| 10 | -external radius and shift. Scalar time weights commute with these expressions; | |
| 11 | -in particular no derivative of the positive profile is used. | |
| 12 | --/ | |
| 13 | - | |
| 14 | -noncomputable section | |
| 15 | - | |
| 16 | -namespace EulerSourceCylinderTimeBounds | |
| 17 | - | |
| 18 | -open Set ContinuousLinearMap EulerSmoothLimit EulerMeanCoefficients EulerLiftedGradientSpace | |
| 19 | - EulerLpCylinderTranslation EulerLpCylinderPaths EulerLpCylinderRectangular | |
| 20 | - EulerSourceCylinderForcing EulerSourceForwardCoefficient EulerTransverseForwardCoefficientGevrey | |
| 21 | - EulerOperatorGevreyCalculus EulerGevrey EulerParameterWordGevrey EulerTimeLpGramGevrey | |
| 22 | - EulerContinuousTimeWeight | |
| 23 | -open scoped ContDiff BoundedContinuousFunction | |
| 24 | - | |
| 25 | -variable (P : ℝ) [Fact (0 < P)] | |
| 26 | - {K U E ι : Type*} [TopologicalSpace K] [CompactSpace K] | |
| 27 | - [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] | |
| 28 | - [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] [Fintype ι] | |
| 29 | - (S : Set Space) (hS : MeasurableSet S) | |
| 30 | - (Q Q₁ : SmoothCoefficientPath K (U →L[ℝ] E)) | |
| 31 | - (c : ℝ) (hc : 0 < c) (hQ : ∀ t x v, c*‖v‖^2 ≤ ‖Q.field t x v‖^2) | |
| 32 | - (f : C(K,Supported P E S hS)) (a : C(K,Supported P U S hS)) | |
| 33 | - | |
| 34 | -def coordinateRhs : C(K,Supported P U S hS) := | |
| 35 | - supportedMultiplierMap P S hS (sourceGenerator Q Q₁ c hc hQ) a+ | |
| 36 | - projectedForcing P S hS Q c hc hQ f | |
| 37 | - | |
| 38 | -def physicalRhs : C(K,Supported P E S hS) := | |
| 39 | - supportedMultiplierMap P S hS Q₁.field a+ | |
| 40 | - supportedMultiplierMap P S hS Q.field (coordinateRhs P S hS Q Q₁ c hc hQ f a) | |
| 41 | - | |
| 42 | -theorem coordinateRhs_contDiff | |
| 43 | - (hf : ContDiff ℝ ∞ (fun b : LiftTangent => pathTranslate P b (includePath P S hS f))) | |
| 44 | - (ha : ContDiff ℝ ∞ (fun b : LiftTangent => pathTranslate P b (includePath P S hS a))) : | |
| 45 | - ContDiff ℝ ∞ (fun b : LiftTangent => pathTranslate P b | |
| 46 | - (includePath P S hS (coordinateRhs P S hS Q Q₁ c hc hQ f a))) := by | |
| 47 | - have h₁ := supported_product_orbit_contDiff P (sourceGenerator Q Q₁ c hc hQ) | |
| 48 | - (sourceGenerator_translation_contDiff Q Q₁ c hc hQ) S hS a ha | |
| 49 | - have h₂ := projectedForcing_contDiff P S hS Q c hc hQ f hf | |
| 50 | - simpa only [coordinateRhs,map_add] using h₁.add h₂ | |
| 51 | - | |
| 52 | -def coordinateCost (ι : Type*) [Fintype ι] (q : ℕ) (Ri C₀ C₁ Df Da : ℝ) : ℝ := | |
| 53 | - 3*sobolevCoefficientAmplitude ι q (4*Ri) (18*Ri*C₀*C₁)*Da+ | |
| 54 | - 3*sobolevCoefficientAmplitude ι q (4*Ri) (3*Ri*C₀)*Df | |
| 55 | - | |
| 56 | -def physicalCost (ι : Type*) [Fintype ι] (q : ℕ) (Ri C₀ C₁ Df Da : ℝ) : ℝ := | |
| 57 | - 3*sobolevCoefficientAmplitude ι q (4*Ri) C₁*Da+ | |
| 58 | - 3*sobolevCoefficientAmplitude ι q (4*Ri) C₀*coordinateCost ι q Ri C₀ C₁ Df Da | |
| 59 | - | |
| 60 | -theorem coordinateRhs_block_bound | |
| 61 | - (directions : ι → LiftTangent) (hd : ∀ i, ‖directions i‖ ≤ 1) (q : ℕ) | |
| 62 | - (hf : ContDiff ℝ ∞ (fun b : LiftTangent => pathTranslate P b (includePath P S hS f))) | |
| 63 | - (ha : ContDiff ℝ ∞ (fun b : LiftTangent => pathTranslate P b (includePath P S hS a))) | |
| 64 | - (Rc C₀ C₁ Ri R Df Da : ℝ) (hRc : 0 ≤ Rc) (hC₀ : 0 ≤ C₀) (hC₁ : 0 ≤ C₁) | |
| 65 | - (hDf : 0 ≤ Df) (hDa : 0 ≤ Da) (hRi : 2*gramCost c C₀ 1*(Rc+1) ≤ Ri) | |
| 66 | - (hR : sobolevCoefficientRadius ι (4*Ri) ≤ R) | |
| 67 | - (hbQ : ∀ n t x, ‖iteratedFDeriv ℝ n (Q.field t : Space → U →L[ℝ] E) x‖ ≤ C₀*majorant Rc 0 n) | |
| 68 | - (hbQ₁ : ∀ n t x, ‖iteratedFDeriv ℝ n (Q₁.field t : Space → U →L[ℝ] E) x‖ ≤ C₁*majorant Rc 0 n) | |
| 69 | - (d : ℕ) | |
| 70 | - (hbf : ∀ n, block directions q (fun b : LiftTangent => pathTranslate P b (includePath P S hS f)) n 0 ≤ Df*majorant R d n) | |
| 71 | - (hba : ∀ n, block directions q (fun b : LiftTangent => pathTranslate P b (includePath P S hS a)) n 0 ≤ Da*majorant R d n) | |
| 72 | - (n : ℕ) : | |
| 73 | - block directions q (fun b : LiftTangent => pathTranslate P b | |
| 74 | - (includePath P S hS (coordinateRhs P S hS Q Q₁ c hc hQ f a))) n 0 ≤ | |
| 75 | - coordinateCost ι q Ri C₀ C₁ Df Da*majorant R d n := by | |
| 76 | - obtain ⟨hi,-⟩ := inverseRadius_bounds c C₀ Rc Ri hc hRc hRi | |
| 77 | - let B := sourceGenerator Q Q₁ c hc hQ | |
| 78 | - have hB := sourceGenerator_translation_contDiff Q Q₁ c hc hQ | |
| 79 | - have hbB := sourceGenerator_translation_bound Q Q₁ c hc hQ Rc C₀ C₁ Ri hRc hC₀ hC₁ hRi hbQ hbQ₁ | |
| 80 | - have hfirst := product_orbit_block_bound P B hB directions hd q (includePath P S hS a) ha | |
| 81 | - (4*Ri) (18*Ri*C₀*C₁) R Da (by positivity) (by positivity) hDa hR hbB d hba n | |
| 82 | - have hsecond := projectedForcing_block_bound P S hS Q c hc hQ directions hd q f hf | |
| 83 | - Rc C₀ Ri R Df hRc hC₀ hDf hRi hR hbQ d hbf n | |
| 84 | - have hsum := block_add_le directions q | |
| 85 | - (fun b : LiftTangent => pathTranslate P b (includePath P S hS | |
| 86 | - (supportedMultiplierMap P S hS B a))) | |
| 87 | - (fun b : LiftTangent => pathTranslate P b (includePath P S hS | |
| 88 | - (projectedForcing P S hS Q c hc hQ f))) | |
| 89 | - (supported_product_orbit_contDiff P B hB S hS a ha) | |
| 90 | - (projectedForcing_contDiff P S hS Q c hc hQ f hf) n 0 | |
| 91 | - have hbound := hsum.trans (add_le_add hfirst hsecond) | |
| 92 | - simpa only [coordinateRhs,coordinateCost,B,map_add,Pi.add_def,add_mul] using hbound | |
| 93 | - | |
| 94 | -theorem physicalRhs_block_bound | |
| 95 | - (directions : ι → LiftTangent) (hd : ∀ i, ‖directions i‖ ≤ 1) (q : ℕ) | |
| 96 | - (hf : ContDiff ℝ ∞ (fun b : LiftTangent => pathTranslate P b (includePath P S hS f))) | |
| 97 | - (ha : ContDiff ℝ ∞ (fun b : LiftTangent => pathTranslate P b (includePath P S hS a))) | |
| 98 | - (Rc C₀ C₁ Ri R Df Da : ℝ) (hRc : 0 ≤ Rc) (hC₀ : 0 ≤ C₀) (hC₁ : 0 ≤ C₁) | |
| 99 | - (hDf : 0 ≤ Df) (hDa : 0 ≤ Da) (hRi : 2*gramCost c C₀ 1*(Rc+1) ≤ Ri) | |
| 100 | - (hR : sobolevCoefficientRadius ι (4*Ri) ≤ R) | |
| 101 | - (hbQ : ∀ n t x, ‖iteratedFDeriv ℝ n (Q.field t : Space → U →L[ℝ] E) x‖ ≤ C₀*majorant Rc 0 n) | |
| 102 | - (hbQ₁ : ∀ n t x, ‖iteratedFDeriv ℝ n (Q₁.field t : Space → U →L[ℝ] E) x‖ ≤ C₁*majorant Rc 0 n) | |
| 103 | - (d : ℕ) | |
| 104 | - (hbf : ∀ n, block directions q (fun b : LiftTangent => pathTranslate P b (includePath P S hS f)) n 0 ≤ Df*majorant R d n) | |
| 105 | - (hba : ∀ n, block directions q (fun b : LiftTangent => pathTranslate P b (includePath P S hS a)) n 0 ≤ Da*majorant R d n) | |
| 106 | - (n : ℕ) : | |
| 107 | - block directions q (fun b : LiftTangent => pathTranslate P b | |
| 108 | - (includePath P S hS (physicalRhs P S hS Q Q₁ c hc hQ f a))) n 0 ≤ | |
| 109 | - physicalCost ι q Ri C₀ C₁ Df Da*majorant R d n := by | |
| 110 | - obtain ⟨hi,hbase⟩ := inverseRadius_bounds c C₀ Rc Ri hc hRc hRi | |
| 111 | - have hq (j : ℕ) (b : Space) : | |
| 112 | - ‖iteratedFDeriv ℝ j (translateCoefficientPath Q.field) b‖ ≤ C₀*majorant (4*Ri) 0 j := | |
| 113 | - (Q.norm_iteratedFDeriv_translation_le j _ (mul_nonneg hC₀ (majorant_nonneg Rc hRc 0 j)) (hbQ j) b).trans | |
| 114 | - (mul_le_mul_of_nonneg_left (majorant_radius_mono Rc (4*Ri) hRc hbase 0 j) hC₀) | |
| 115 | - have hq₁ (j : ℕ) (b : Space) : | |
| 116 | - ‖iteratedFDeriv ℝ j (translateCoefficientPath Q₁.field) b‖ ≤ C₁*majorant (4*Ri) 0 j := | |
| 117 | - (Q₁.norm_iteratedFDeriv_translation_le j _ (mul_nonneg hC₁ (majorant_nonneg Rc hRc 0 j)) (hbQ₁ j) b).trans | |
| 118 | - (mul_le_mul_of_nonneg_left (majorant_radius_mono Rc (4*Ri) hRc hbase 0 j) hC₁) | |
| 119 | - have hcost : 0 ≤ coordinateCost ι q Ri C₀ C₁ Df Da := by | |
| 120 | - unfold coordinateCost | |
| 121 | - exact add_nonneg | |
| 122 | - (mul_nonneg (mul_nonneg (by norm_num) | |
| 123 | - (sobolevCoefficientAmplitude_nonneg q (4*Ri) (18*Ri*C₀*C₁) (by positivity) (by positivity))) hDa) | |
| 124 | - (mul_nonneg (mul_nonneg (by norm_num) | |
| 125 | - (sobolevCoefficientAmplitude_nonneg q (4*Ri) (3*Ri*C₀) (by positivity) (by positivity))) hDf) | |
| 126 | - have hcoord := coordinateRhs_contDiff P S hS Q Q₁ c hc hQ f a hf ha | |
| 127 | - have hbcoord := coordinateRhs_block_bound P S hS Q Q₁ c hc hQ f a directions hd q hf ha | |
| 128 | - Rc C₀ C₁ Ri R Df Da hRc hC₀ hC₁ hDf hDa hRi hR hbQ hbQ₁ d hbf hba | |
| 129 | - have hfirst := product_orbit_block_bound P Q₁.field Q₁.translation_contDiff directions hd q | |
| 130 | - (includePath P S hS a) ha (4*Ri) C₁ R Da (by positivity) hC₁ hDa hR hq₁ d hba n | |
| 131 | - have hsecond := product_orbit_block_bound P Q.field Q.translation_contDiff directions hd q | |
| 132 | - (includePath P S hS (coordinateRhs P S hS Q Q₁ c hc hQ f a)) hcoord | |
| 133 | - (4*Ri) C₀ R (coordinateCost ι q Ri C₀ C₁ Df Da) (by positivity) hC₀ hcost hR hq d hbcoord n | |
| 134 | - have hsum := block_add_le directions q | |
| 135 | - (fun b : LiftTangent => pathTranslate P b (includePath P S hS (supportedMultiplierMap P S hS Q₁.field a))) | |
| 136 | - (fun b : LiftTangent => pathTranslate P b (includePath P S hS | |
| 137 | - (supportedMultiplierMap P S hS Q.field (coordinateRhs P S hS Q Q₁ c hc hQ f a)))) | |
| 138 | - (supported_product_orbit_contDiff P Q₁.field Q₁.translation_contDiff S hS a ha) | |
| 139 | - (supported_product_orbit_contDiff P Q.field Q.translation_contDiff S hS _ hcoord) n 0 | |
| 140 | - have hbound := hsum.trans (add_le_add hfirst hsecond) | |
| 141 | - simpa only [physicalRhs,physicalCost,map_add,Pi.add_def,add_mul] using hbound | |
| 142 | - | |
| 143 | -theorem coordinateRhs_weight (g : C(K,ℝ)) : | |
| 144 | - coordinateRhs P S hS Q Q₁ c hc hQ (weight g f) (weight g a) = | |
| 145 | - weight g (coordinateRhs P S hS Q Q₁ c hc hQ f a) := by | |
| 146 | - simp only [coordinateRhs,projectedForcing,supportedMultiplier_weight,map_add] | |
| 147 | - | |
| 148 | -theorem physicalRhs_weight (g : C(K,ℝ)) : | |
| 149 | - physicalRhs P S hS Q Q₁ c hc hQ (weight g f) (weight g a) = | |
| 150 | - weight g (physicalRhs P S hS Q Q₁ c hc hQ f a) := by | |
| 151 | - simp only [physicalRhs,coordinateRhs_weight,supportedMultiplier_weight,map_add] | |
| 152 | - | |
| 153 | -end EulerSourceCylinderTimeBounds | |
+111 −1 Euler/SourceCylinderWeight.lean View file
| @@ -1,5 +1,6 @@ | ||
| 1 | 1 | import Euler.SourceCylinderEquation |
| 2 | -import Euler.SourceCylinderForwardSobolev | |
| 2 | +import Euler.SourceCylinderForward | |
| 3 | +import Euler.SourceCylinderForcing | |
| 3 | 4 | import Euler.LpCylinderTimeWeight |
| 4 | 5 | |
| 5 | 6 | /-! |
| @@ -10,6 +11,115 @@ physical forcing g f by g. This is an algebraic identity of continuous paths; | ||
| 10 | 11 | it does not differentiate g or introduce its extrema into any estimate. |
| 11 | 12 | -/ |
| 12 | 13 | |
| 14 | +/-! ## From `Euler/SourceCylinderForwardSobolev.lean` | |
| 15 | + | |
| 16 | +The text of `Euler/SourceCylinderForwardSobolev.lean`, folded into this file, which was its only importer. -/ | |
| 17 | + | |
| 18 | +section | |
| 19 | + | |
| 20 | +/-! | |
| 21 | +# The complete physical forward bound at one mixed-word radius | |
| 22 | + | |
| 23 | +Physical forcing is projected by the actual Gram left inverse, the supported | |
| 24 | +coordinate equation is solved by the constructed evolution, and the result | |
| 25 | +is multiplied by the physical frame. All three operations use the same | |
| 26 | +external radius R. Only the solve spends one shift. | |
| 27 | +-/ | |
| 28 | + | |
| 29 | +noncomputable section | |
| 30 | + | |
| 31 | +namespace EulerSourceCylinderForwardSobolev | |
| 32 | + | |
| 33 | +open Set ContinuousLinearMap EulerSmoothLimit EulerLiftedGradientSpace EulerMeanCoefficients | |
| 34 | + EulerLpCylinderTranslation EulerLpCylinderPaths EulerLpCylinderCoefficients | |
| 35 | + EulerSourceCylinderForward EulerSourceCylinderForcing EulerSourceForwardCoefficient | |
| 36 | + EulerGevrey EulerParameterWordGevrey EulerLinearDuhamel EulerLinearFundamentalExistence | |
| 37 | + EulerTimeLpGramGevrey | |
| 38 | +open scoped ContDiff BoundedContinuousFunction | |
| 39 | + | |
| 40 | +variable (period : ℝ) [Fact (0 < period)] | |
| 41 | + {U E ι : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] | |
| 42 | + [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] [Fintype ι] | |
| 43 | + (T : ℝ) (hT : 0 ≤ T) (S : Set Space) (hS : MeasurableSet S) | |
| 44 | + (Q Q₁ : SmoothCoefficientPath (Icc (0 : ℝ) T) (U →L[ℝ] E)) | |
| 45 | + (c : ℝ) (hc : 0 < c) (hQ : ∀ t x v, c*‖v‖^2 ≤ ‖Q.field t x v‖^2) | |
| 46 | + (g : C(Icc (0 : ℝ) T,ℝ)) (hg : ∀ t, 0 < g t) | |
| 47 | + (f : C(Icc (0 : ℝ) T,Supported period E S hS)) (a₀ : Supported period U S hS) | |
| 48 | + | |
| 49 | +private local instance : NormedRing (U →L[ℝ] U) := inferInstance | |
| 50 | +private local instance : NormedRing (Space →ᵇ U →L[ℝ] U) := inferInstance | |
| 51 | + | |
| 52 | +/-- Actual profile-normalized coordinates with physical forcing as input. -/ | |
| 53 | +def normalizedCoordinates : C(Icc (0 : ℝ) T,Supported period U S hS) := | |
| 54 | + (evolution period T hT Q Q₁ c hc hQ S hS).weightedSolution g hg | |
| 55 | + (projectedForcing period S hS Q c hc hQ f) a₀ | |
| 56 | + | |
| 57 | +/-- The corresponding actual profile-normalized physical velocity. -/ | |
| 58 | +def normalizedVelocity : C(Icc (0 : ℝ) T,Supported period E S hS) := | |
| 59 | + physicalVelocity period S hS Q (normalizedCoordinates period T hT S hS Q Q₁ c hc hQ g hg f a₀) | |
| 60 | + | |
| 61 | +/-- Explicit coefficient cost of projecting a physical forcing at the fixed base order. -/ | |
| 62 | +def forcingCost (ι : Type*) [Fintype ι] (q : ℕ) (Ri C₀ : ℝ) : ℝ := | |
| 63 | + 3*sobolevCoefficientAmplitude ι q (4*Ri) (3*Ri*C₀) | |
| 64 | + | |
| 65 | +/-- The physical solution has the source's genuine fixed-Hq mixed-word bound, | |
| 66 | +without changing the input external radius. -/ | |
| 67 | +theorem physical_forward_block_bound | |
| 68 | + (directions : ι → LiftTangent) (hd : ∀ i, ‖directions i‖ ≤ 1) (q : ℕ) | |
| 69 | + (Ω : Set Space) (hΩ : MeasurableSet Ω) (hSc : IsCompact S) (hΩo : IsOpen Ω) (hsub : S ⊆ Ω) | |
| 70 | + (hΩball : ∀ x ∈ Ω, ‖x‖ ≤ (1/2 : ℝ)) | |
| 71 | + (hg₀ : g ⟨0,le_rfl,hT⟩ = 1) | |
| 72 | + (hf : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate period a (includePath period S hS f))) | |
| 73 | + (ha₀ : ContDiff ℝ ∞ (fun a : LiftTangent => translate period a (a₀ : CylinderL2 period U))) | |
| 74 | + (C A D Rc C₀ C₁ Ri R : ℝ) | |
| 75 | + (hC : 0 ≤ C) (hA : 0 ≤ A) (hD : 0 ≤ D) (hRc : 0 ≤ Rc) (hC₀ : 0 ≤ C₀) (hC₁ : 0 ≤ C₁) | |
| 76 | + (hRi : 2*gramCost c C₀ 1*(Rc+1) ≤ Ri) | |
| 77 | + (hbQ : ∀ n t x, ‖iteratedFDeriv ℝ n (Q.field t : Space → U →L[ℝ] E) x‖ ≤ C₀*majorant Rc 0 n) | |
| 78 | + (hbQ₁ : ∀ n t x, ‖iteratedFDeriv ℝ n (Q₁.field t : Space → U →L[ℝ] E) x‖ ≤ C₁*majorant Rc 0 n) | |
| 79 | + (hRforcing : sobolevCoefficientRadius ι (4*Ri) ≤ R) | |
| 80 | + (hRframe : sobolevCoefficientRadius ι Rc ≤ R) | |
| 81 | + (hR : 2*forwardSobolevCost ι q T C A (forcingCost ι q Ri C₀*D) (18*Ri*C₀*C₁) (4*Ri)* | |
| 82 | + (sobolevCoefficientRadius ι (4*Ri)+1) ≤ R) | |
| 83 | + (hH3 : ∀ t s : Icc (0 : ℝ) T, s ≤ t → ∀ x : Space, ‖x‖ ≤ (1/2 : ℝ) → | |
| 84 | + ‖((fundamentalPath T hT (sourceGenerator Q Q₁ c hc hQ)).forward t x).comp | |
| 85 | + ((fundamentalPath T hT (sourceGenerator Q Q₁ c hc hQ)).backward s x)‖ ≤ C*g t/g s) | |
| 86 | + (d : ℕ) | |
| 87 | + (hforce : ∀ n, block directions q | |
| 88 | + (fun a : LiftTangent => pathTranslate period a (includePath period S hS f)) n 0 ≤ D*majorant R d n) | |
| 89 | + (hinitial : ∀ n, block directions q | |
| 90 | + (fun a : LiftTangent => translate period a (a₀ : CylinderL2 period U)) n 0 ≤ A*majorant R d n) | |
| 91 | + (n : ℕ) : | |
| 92 | + block directions q (fun a : LiftTangent => pathTranslate period a (includePath period S hS | |
| 93 | + (normalizedVelocity period T hT S hS Q Q₁ c hc hQ g hg f a₀))) n 0 ≤ | |
| 94 | + (3*sobolevCoefficientAmplitude ι q Rc C₀)*majorant R (d+1) n := by | |
| 95 | + have hpf := projectedForcing_contDiff period S hS Q c hc hQ f hf | |
| 96 | + have hu : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate period a (includePath period S hS | |
| 97 | + (normalizedCoordinates period T hT S hS Q Q₁ c hc hQ g hg f a₀))) := | |
| 98 | + EulerLpCylinderRegularForward.source_solution_contDiff period T hT Ω hΩ | |
| 99 | + (sourceGenerator Q Q₁ c hc hQ) (sourceGenerator_translation_contDiff Q Q₁ c hc hQ) | |
| 100 | + S hS hSc hΩo hsub g hg (projectedForcing period S hS Q c hc hQ f) a₀ hpf ha₀ | |
| 101 | + obtain ⟨hRi₀,-⟩ := EulerTransverseForwardCoefficientGevrey.inverseRadius_bounds c C₀ Rc Ri hc hRc hRi | |
| 102 | + have hcost : 0 ≤ forcingCost ι q Ri C₀ := mul_nonneg (by norm_num) | |
| 103 | + (sobolevCoefficientAmplitude_nonneg q (4*Ri) (3*Ri*C₀) (by positivity) (by positivity)) | |
| 104 | + have hub (j : ℕ) : block directions q (fun a : LiftTangent => pathTranslate period a (includePath period S hS | |
| 105 | + (normalizedCoordinates period T hT S hS Q Q₁ c hc hQ g hg f a₀))) j 0 ≤ majorant R (d+1) j := | |
| 106 | + source_forward_block_bound period directions hd q T hT Q Q₁ c hc hQ Ω S hΩ hS hSc hΩo hsub hΩball | |
| 107 | + g hg hg₀ (projectedForcing period S hS Q c hc hQ f) a₀ hpf ha₀ | |
| 108 | + C A (forcingCost ι q Ri C₀*D) Rc C₀ C₁ Ri R hC hA (mul_nonneg hcost hD) hRc hC₀ hC₁ hRi | |
| 109 | + hbQ hbQ₁ hR hH3 d | |
| 110 | + (projectedForcing_block_bound period S hS Q c hc hQ directions hd q f hf Rc C₀ Ri R D | |
| 111 | + hRc hC₀ hD hRi hRforcing hbQ d hforce) hinitial j | |
| 112 | + have hout := physicalVelocity_block_bound period S hS Q directions hd q | |
| 113 | + (normalizedCoordinates period T hT S hS Q Q₁ c hc hQ g hg f a₀) hu | |
| 114 | + Rc C₀ R 1 hRc hC₀ zero_le_one hRframe hbQ (d+1) | |
| 115 | + (fun j => by simpa only [one_mul] using hub j) n | |
| 116 | + simpa only [mul_one,normalizedVelocity] using hout | |
| 117 | + | |
| 118 | +end EulerSourceCylinderForwardSobolev | |
| 119 | +end | |
| 120 | + | |
| 121 | +end | |
| 122 | + | |
| 13 | 123 | noncomputable section |
| 14 | 124 | |
| 15 | 125 | namespace EulerSourceCylinderEquation |
+21 −0 routes/s5-euler-source-1/README.md added View file
| @@ -0,0 +1,21 @@ | ||
| 1 | +--- | |
| 2 | +issue: 14 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s5-euler-source-1 | |
| 6 | + | |
| 7 | +The family `Euler/Source*`: six small modules, each with exactly one importer in the same folder and family, folded | |
| 8 | +into the four files that import them, text unchanged (S-5, the "fewer modules" change of Lean Pool's copy). | |
| 9 | +`SourceCylinderClassical.lean` goes into `SourceCylinderClassicalEquation.lean`; | |
| 10 | +`SourceCylinderTimeBounds.lean` and `SourceCylinderDerivativeWeight.lean` into | |
| 11 | +`SourceCylinderDerivativeBounds.lean`; `SourceCylinderPressureSource.lean` and `SourceCylinderMeanZero.lean` into | |
| 12 | +`SourceCylinderPressureMean.lean`; and `SourceCylinderForwardSobolev.lean` into `SourceCylinderWeight.lean`. Each | |
| 13 | +module's text moves under a heading that names it, in a `section` of its own, before the importer's own text; the | |
| 14 | +importer takes over its imports. The plan is `plan.json` here, and | |
| 15 | +`docs/s5-folding/fold.py check . routes/s5-euler-source-1/plan.json` makes every changed file again from main's | |
| 16 | +text and compares byte for byte. Nothing here reads worse folded than the two files did apart. | |
| 17 | + | |
| 18 | +## Next | |
| 19 | + | |
| 20 | +The pull request is open. What comes next is the maintainer's verdict on this family; the rest of the series' folds | |
| 21 | +wait on it, one family per pull request. | |
+23 −0 routes/s5-euler-source-1/plan.json added View file
| @@ -0,0 +1,23 @@ | ||
| 1 | +{ | |
| 2 | +"imports": "in place", | |
| 3 | +"folds": { | |
| 4 | +"Euler/SourceCylinderClassicalEquation.lean": [ | |
| 5 | +"Euler/SourceCylinderClassical.lean", | |
| 6 | +"Euler/SourceCylinderClassicalEquation.lean" | |
| 7 | +], | |
| 8 | +"Euler/SourceCylinderDerivativeBounds.lean": [ | |
| 9 | +"Euler/SourceCylinderTimeBounds.lean", | |
| 10 | +"Euler/SourceCylinderDerivativeWeight.lean", | |
| 11 | +"Euler/SourceCylinderDerivativeBounds.lean" | |
| 12 | +], | |
| 13 | +"Euler/SourceCylinderPressureMean.lean": [ | |
| 14 | +"Euler/SourceCylinderPressureSource.lean", | |
| 15 | +"Euler/SourceCylinderMeanZero.lean", | |
| 16 | +"Euler/SourceCylinderPressureMean.lean" | |
| 17 | +], | |
| 18 | +"Euler/SourceCylinderWeight.lean": [ | |
| 19 | +"Euler/SourceCylinderForwardSobolev.lean", | |
| 20 | +"Euler/SourceCylinderWeight.lean" | |
| 21 | +] | |
| 22 | +} | |
| 23 | +} | |