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

chore(Euler/Packet): delete 25 declarations nothing uses
Browse filesCo-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Checks
build Program · lake build and Comparator
Details
challenge Program · challenge files and build config
Details
+0 −26 Euler/PacketActivationSourceData.lean View file
| @@ -14,32 +14,6 @@ open Set InnerProductSpace ContinuousLinearMap EulerSmoothLimit | ||
| 14 | 14 | |
| 15 | 15 | variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] |
| 16 | 16 | |
| 17 | -def Data.reframe (D : Data U) (m : Space) (hm : ‖m‖=1) : Data (referencePlane m) where | |
| 18 | - T := D.T | |
| 19 | - T_pos := D.T_pos | |
| 20 | - support := D.support | |
| 21 | - support_compact := D.support_compact | |
| 22 | - m₀ := m | |
| 23 | - m₀_unit := hm | |
| 24 | - R := LinearIsometryEquiv.refl ℝ (referencePlane m) | |
| 25 | - F := D.F | |
| 26 | - F₁ := D.F₁ | |
| 27 | - FInv := D.FInv | |
| 28 | - M := D.M | |
| 29 | - inverse_left := D.inverse_left | |
| 30 | - inverse_right := D.inverse_right | |
| 31 | - frame_time := D.frame_time | |
| 32 | - strain_equation := D.strain_equation | |
| 33 | - | |
| 34 | -def HistoryData.reframe {D : Data U} (B : HistoryData D) (m : Space) (hm : ‖m‖=1) : | |
| 35 | - HistoryData (D.reframe m hm) where | |
| 36 | - H := B.H | |
| 37 | - jacobi := B.jacobi | |
| 38 | - potential := B.potential | |
| 39 | - potential_nonneg := B.potential_nonneg | |
| 40 | - potential_bound := B.potential_bound | |
| 41 | - small := B.small | |
| 42 | - | |
| 43 | 17 | theorem Data.activationRayScale_bounds (D : Data U) (t₀ : Icc (0 : ℝ) D.T) (n : Space) |
| 44 | 18 | (hn : ‖n‖=1) : |
| 45 | 19 | 0 < activationRayScale (D.deformationEquiv t₀ 0) n ∧ |
+0 −14 Euler/PacketCorrectionRapidDecay.lean View file
| @@ -43,18 +43,4 @@ theorem correction_eventually_lt_inverse_power (C p : ℝ) : | ||
| 43 | 43 | apply (lt_div_iff₀ (Real.rpow_pos_of_pos hk p)).mpr |
| 44 | 44 | simpa only [mul_assoc, mul_left_comm, mul_comm] using he |
| 45 | 45 | |
| 46 | -/-- Fixed polynomial losses from physical differentiation or graph | |
| 47 | -restriction are absorbed by the same actual correction target. -/ | |
| 48 | -theorem correction_with_power_loss_eventually (C loss p : ℝ) : | |
| 49 | - ∀ᶠ k : ℝ in atTop, C*k^loss*delta (expansion k) < k^(-p) := by | |
| 50 | - filter_upwards [correction_eventually_lt_inverse_power C (p+loss), | |
| 51 | - eventually_gt_atTop (0 : ℝ)] with k he hk | |
| 52 | - have hm := mul_lt_mul_of_pos_right he (Real.rpow_pos_of_pos hk loss) | |
| 53 | - have hp : k^(-(p+loss))*k^loss=k^(-p) := by | |
| 54 | - rw [← Real.rpow_add hk] | |
| 55 | - congr 1 | |
| 56 | - ring | |
| 57 | - rw [hp] at hm | |
| 58 | - simpa only [mul_assoc, mul_left_comm, mul_comm] using hm | |
| 59 | - | |
| 60 | 46 | end EulerPacketSourceFrequency |
+0 −34 Euler/PacketCurlTime.lean View file
| @@ -20,38 +20,4 @@ variable (P : ℝ) [Fact (0 < P)] | ||
| 20 | 20 | |
| 21 | 21 | include hd |
| 22 | 22 | |
| 23 | -/-- The two product-rule terms are derived from the genuine L² evolution and actual inverse frame derivative. -/ | |
| 24 | -theorem matrixSlowCurl_hasDerivWithinAt (t : Icc (0 : ℝ) T) (x : LiftDomain P) | |
| 25 | - (G : ℝ → Space →L[ℝ] Space) (G₁ : Space →L[ℝ] Space) | |
| 26 | - (hG : HasDerivWithinAt G G₁ (Icc (0 : ℝ) T) t) : | |
| 27 | - HasDerivWithinAt | |
| 28 | - (fun r => curlMatrix ((fieldFDeriv P (pointField P p hp (projIcc 0 T hT r)) x).comp | |
| 29 | - ((ContinuousLinearMap.inl ℝ Space ℝ).comp (G r)))) | |
| 30 | - (curlMatrix ((fieldFDeriv P (pointField P f hf t) x).comp | |
| 31 | - ((ContinuousLinearMap.inl ℝ Space ℝ).comp (G t))) + | |
| 32 | - curlMatrix ((fieldFDeriv P (pointField P p hp t) x).comp | |
| 33 | - ((ContinuousLinearMap.inl ℝ Space ℝ).comp G₁))) | |
| 34 | - (Icc (0 : ℝ) T) t := by | |
| 35 | - have hL : HasDerivWithinAt (fun r => (ContinuousLinearMap.inl ℝ Space ℝ).comp (G r)) | |
| 36 | - ((ContinuousLinearMap.inl ℝ Space ℝ).comp G₁) (Icc (0 : ℝ) T) t := by | |
| 37 | - have h := ((hasDerivAt_const (t : ℝ) (ContinuousLinearMap.inl ℝ Space ℝ)).hasDerivWithinAt).clm_comp hG | |
| 38 | - simpa only [ContinuousLinearMap.zero_comp, zero_add] using h | |
| 39 | - have hD := pointField_fderiv_hasDerivWithinAt P T hT p f hp hf hd t x | |
| 40 | - have h := curlOperator.hasFDerivAt.comp_hasDerivWithinAt (t : ℝ) (hD.clm_comp hL) | |
| 41 | - simpa only [Function.comp_def, map_add, curlOperator_apply, projIcc_of_mem hT t.property] using h | |
| 42 | - | |
| 43 | -/-- This is the literal lifted curl in the Piola packet construction, including both time endpoints. -/ | |
| 44 | -theorem liftedSlowCurl_hasDerivWithinAt (t : Icc (0 : ℝ) T) (x : LiftDomain P) | |
| 45 | - (F : ℝ → Space → Space ≃L[ℝ] Space) (G₁ : Space →L[ℝ] Space) | |
| 46 | - (hG : HasDerivWithinAt (fun r => (F r x.1).symm.toContinuousLinearMap) G₁ | |
| 47 | - (Icc (0 : ℝ) T) t) : | |
| 48 | - HasDerivWithinAt | |
| 49 | - (fun r => liftedSlowCurl P (F r) (pointField P p hp (projIcc 0 T hT r)) x) | |
| 50 | - (liftedSlowCurl P (F t) (pointField P f hf t) x + | |
| 51 | - curlMatrix ((fieldFDeriv P (pointField P p hp t) x).comp | |
| 52 | - ((ContinuousLinearMap.inl ℝ Space ℝ).comp G₁))) | |
| 53 | - (Icc (0 : ℝ) T) t := | |
| 54 | - matrixSlowCurl_hasDerivWithinAt P T hT p f hp hf hd t x | |
| 55 | - (fun r => (F r x.1).symm.toContinuousLinearMap) G₁ hG | |
| 56 | - | |
| 57 | 23 | end EulerPacketPiola |
+0 −4 Euler/PacketCylinderFieldBounds.lean View file
| @@ -29,10 +29,6 @@ theorem WordBound.transfer (h : G.WordBound q R A d) (H : Field P T raw) : H.Wor | ||
| 29 | 29 | rw [← G.path_eq_of_same_raw H] |
| 30 | 30 | exact h |
| 31 | 31 | |
| 32 | -theorem WordBound.congr (h : G.WordBound q R A d) | |
| 33 | - (he : ∀ (t : Icc (0 : ℝ) T) x θ, raw' (t,(x,θ)) = raw (t,(x,θ))) : | |
| 34 | - (G.congr he).WordBound q R A d := h | |
| 35 | - | |
| 36 | 32 | theorem WordBound.mono_amplitude (h : G.WordBound q R A d) (hR : 0 ≤ R) (hAB : A ≤ B) : |
| 37 | 33 | G.WordBound q R B d := fun n => (h n).trans |
| 38 | 34 | (mul_le_mul_of_nonneg_right hAB (majorant_nonneg R hR d n)) |
+0 −11 Euler/PacketForwardCommonRadius.lean View file
| @@ -100,15 +100,4 @@ theorem commonRadius_guards (hC : 0 ≤ terminalCost) (R' : ℝ) | ||
| 100 | 100 | exact ⟨hm.trans hR,hl.trans hR,⟨hmv.trans hR,hmt.trans hR,hmp.trans hR⟩, |
| 101 | 101 | wf,wp,hc.trans hR,hrc.trans hR,he.trans hR⟩ |
| 102 | 102 | |
| 103 | -theorem exists_common_radius (hC : 0 ≤ terminalCost) : | |
| 104 | - ∃ (R' : ℝ) (hM : Rm ≤ R') (hL : L.R ≤ R'), | |
| 105 | - EulerMeanPacketProvider.Budget.GradeGuards (M.enlargeRadius R' hM) ∧ | |
| 106 | - EulerTransversePacketForward.Budget.GradeGuards (P := P) | |
| 107 | - (L.enlargeRadius R' hL) (N.enlargeRadius R' hL) 1 ∧ | |
| 108 | - EulerTransversePacketForward.Budget.GradeGuards (P := P) | |
| 109 | - (L.enlargeRadius R' hL) (N.enlargeRadius R' hL) terminalCost ∧ | |
| 110 | - CB.termCost ≤ R' ∧ sobolevCoefficientRadius (Fin 4) CB.Rc ≤ R' ∧ extra ≤ R' := | |
| 111 | - ⟨commonRadius M L N CB terminalCost extra, | |
| 112 | - commonRadius_guards M L N CB terminalCost extra hC _ le_rfl⟩ | |
| 113 | - | |
| 114 | 103 | end EulerPacketForwardCommonRadius |
+0 −58 Euler/PacketForwardInitializedChildShear.lean View file
| @@ -43,62 +43,4 @@ variable (M : EulerMeanPacketProvider.Data) | ||
| 43 | 43 | |
| 44 | 44 | include hδ1 hα L NB LM hX hF hXY hY hdet hell1 hK hDp hVp hWp |
| 45 | 45 | |
| 46 | -theorem forwardInitialized_child_label_and_shear_eventually (q : ℕ) : | |
| 47 | - ∃ ρ0 γ Cw Cv Cp : ℝ, 0 < ρ0 ∧ 0 < γ ∧ 0 < Cw ∧ 0 < Cv ∧ 0 < Cp ∧ | |
| 48 | - ∀ᶠ k : ℝ in atTop, | |
| 49 | - ∃ (hk : 4 ≤ k) (hn : 1 ≤ truncation k) | |
| 50 | - (Q : EulerAllOrderDriftCorrection.Budget period D.T_pos | |
| 51 | - (forwardInitializedCorrectionData M D hTime δ hδ ξ hs α Cagree | |
| 52 | - (truncation k) hn k hk)) | |
| 53 | - (G : EulerPhysicalGraphFlowBounds.Data period D.T) | |
| 54 | - (E : Icc (0 : ℝ) D.T → EulerChildParticleFieldBounds.Data), | |
| 55 | - Q.delta=delta (expansion k) ∧ Q.initialRadius=ρ0 ∧ Q.growthCoefficient=γ ∧ | |
| 56 | - G.A = Q.liftedPacketCoefficient period | |
| 57 | - (forwardInitializedNormalizedField M D hTime δ hδ ξ hs α (truncation k) k) ∧ | |
| 58 | - G.A₁ = Q.liftedPacketDerivativeCoefficient period | |
| 59 | - (forwardInitializedNormalizedDerivativeField M D hTime δ hδ ξ hs α (truncation k) k) ∧ | |
| 60 | - (∀ t z, graphConstraint k D.m₀ (G.A.field t z)=0) ∧ | |
| 61 | - (∀ (s n : ℕ), n+6 ≤ s → ∀ t : Icc (0 : ℝ) D.T, | |
| 62 | - weightedNorm period 6 n (ρ0/4) ((Q.fieldTower period).realization s t) ≤ Cw*delta (expansion k) ∧ | |
| 63 | - weightedNorm period 6 n (ρ0/4) ((Q.pressureTower period).realization s t) ≤ Cw*delta (expansion k) ∧ | |
| 64 | - weightedNorm period 6 n (ρ0/4) ((Q.timeDerivativeTower period).realization s t) ≤ Cw*delta (expansion k)) ∧ | |
| 65 | - (∀ (t : Icc (0 : ℝ) D.T) (x : Space), | |
| 66 | - ‖fderiv ℝ (forwardInitializedExactPhysicalVelocity M D hTime δ hδ ξ hs α | |
| 67 | - Cagree (truncation k) hn k hk Q t (Y t)) x - | |
| 68 | - (α*deriv (profile δ) (k*⟪D.m₀,Y t x⟫_ℝ)) • | |
| 69 | - rankOne ℝ (canonicalVelocity D ξ t (Y t x)) (D.normal.field t (Y t x))‖ < Cv/k ∧ | |
| 70 | - ‖fderiv ℝ (gradient (forwardInitializedExactPhysicalPressure M D hTime δ hδ ξ hs α | |
| 71 | - Cagree (truncation k) hn k hk Q t (Y t))) x - | |
| 72 | - (EulerPacketForwardShear.pressureCoefficient D ξ α t (Y t x) * | |
| 73 | - deriv (profile δ) (k*⟪D.m₀,Y t x⟫_ℝ)) • | |
| 74 | - rankOne ℝ (D.normal.field t (Y t x)) (D.normal.field t (Y t x))‖ < Cp/k) ∧ | |
| 75 | - (∀ t, (E t).parentDisplacement=Dp t ∧ (E t).parentVelocity=Vp t ∧ (E t).parentAcceleration=Wp t ∧ | |
| 76 | - (E t).displacement=G.displacementField k D.m₀ ell hell t ∧ | |
| 77 | - (E t).velocity=G.velocityField k D.m₀ ell hell t ∧ | |
| 78 | - (E t).acceleration=G.accelerationFieldL2 k D.m₀ ell hell t ∧ | |
| 79 | - (E t).inner=(flowData D.T G.time_nonneg (physicalCoefficient k D.m₀ D.T G.A ell)).forward t) ∧ | |
| 80 | - (∀ t n, | |
| 81 | - classicalBlockSize direction q (E t).childDisplacement.toLp (E t).childDisplacement.translation_contDiff n+ | |
| 82 | - classicalBlockSize direction q (E t).childVelocity.toLp (E t).childVelocity.translation_contDiff n+ | |
| 83 | - classicalBlockSize direction q (E t).childAcceleration.toLp (E t).childAcceleration.translation_contDiff n ≤ | |
| 84 | - (k^(10*(q+2)))^(n+1)*(n.factorial : ℝ)^2) := by | |
| 85 | - obtain ⟨ρ0,γ,Cw,Cv,Cp,hρ,hγ,hCw,hCv,hCp,hsource⟩ := forwardInitialized_flow_and_shear_eventually | |
| 86 | - M D hTime δ hδ hδ1 ξ hs α hα L NB LM Cagree X Y hX hF hXY hY hdet | |
| 87 | - (1/4) (by norm_num) | |
| 88 | - refine ⟨ρ0,γ,Cw,Cv,Cp,hρ,hγ,hCw,hCv,hCp,?_⟩ | |
| 89 | - filter_upwards [hsource,eventually_ge_atTop (69 : ℝ),eventually_ge_atTop K, | |
| 90 | - eventually_ge_atTop (2+45*embeddingCost),eventually_ge_atTop (fixedCost q), | |
| 91 | - (_root_.tendsto_rpow_atTop (by norm_num : (0 : ℝ) < 3/4)).eventually_ge_atTop ell⁻¹] | |
| 92 | - with k hsource hk69 hKk hbig hcost hinv | |
| 93 | - obtain ⟨hk,hn,Q,G,hδQ,hρQ,hγQ,hA,hA1,hgraph,hweighted,herror,hfields⟩ := hsource | |
| 94 | - have hcoarse (t : Icc (0 : ℝ) D.T) := | |
| 95 | - EulerPhysicalChildFields.coarsen_graph_bounds k ell (by linarith) hell hinv | |
| 96 | - (G.displacementField k D.m₀ ell hell t) (G.velocityField k D.m₀ ell hell t) | |
| 97 | - (G.accelerationFieldL2 k D.m₀ ell hell t) | |
| 98 | - (hfields ell hell hell1 t).1 (hfields ell hell hell1 t).2.1 (hfields ell hell hell1 t).2.2.1 | |
| 99 | - (hfields ell hell hell1 t).2.2.2.1 (hfields ell hell hell1 t).2.2.2.2 | |
| 100 | - obtain ⟨E,hmatch,hlabel⟩ := EulerPhysicalChildFields.exists_source_child_fields | |
| 101 | - G k D.m₀ hgraph ell hell Dp Vp Wp K hK hDp hVp hWp q hk69 hKk hbig hcost hcoarse | |
| 102 | - exact ⟨hk,hn,Q,G,E,hδQ,hρQ,hγQ,hA,hA1,hgraph,hweighted,herror,hmatch,hlabel⟩ | |
| 103 | - | |
| 104 | 46 | end EulerPacketTerminalDatum |
+0 −83 Euler/PacketForwardInitializedCorrectionEstimates.lean View file
| @@ -32,87 +32,4 @@ variable (M : EulerMeanPacketProvider.Data) | ||
| 32 | 32 | |
| 33 | 33 | include hδ1 hα L NB LM hΞ hF hdet |
| 34 | 34 | |
| 35 | -theorem forwardInitialized_correction_estimates_eventually : | |
| 36 | - ∃ ρ0 γ C : ℝ, 0 < ρ0 ∧ 0 < γ ∧ 0 < C ∧ ∀ᶠ k : ℝ in atTop, | |
| 37 | - ∃ (hk : 4 ≤ k) (hn : 1 ≤ truncation k) | |
| 38 | - (Q : EulerAllOrderDriftCorrection.Budget period D.T_pos | |
| 39 | - (forwardInitializedCorrectionData M D hTime δ hδ ξ hs α Cagree | |
| 40 | - (truncation k) hn k hk)), | |
| 41 | - Q.delta = delta (expansion k) ∧ Q.initialRadius = ρ0 ∧ Q.growthCoefficient = γ ∧ | |
| 42 | - ∀ (s N : ℕ), N+6 ≤ s → ∀ t : Icc (0 : ℝ) D.T, | |
| 43 | - weightedNorm period 6 N (ρ0/4) ((Q.fieldTower period).realization s t) ≤ C*delta (expansion k) ∧ | |
| 44 | - weightedNorm period 6 N (ρ0/4) ((Q.pressureTower period).realization s t) ≤ C*delta (expansion k) ∧ | |
| 45 | - weightedNorm period 6 N (ρ0/4) ((Q.timeDerivativeTower period).realization s t) ≤ C*delta (expansion k) := by | |
| 46 | - classical | |
| 47 | - let BC := forwardCoefficientBudget period M D hTime NB | |
| 48 | - let Kc := L.correctionCoefficients NB period | |
| 49 | - have hC : 0 ≤ wordCost (Fin 4) 6 δ*‖ξ‖ := | |
| 50 | - mul_nonneg (wordCost_nonneg 6 δ) (norm_nonneg ξ) | |
| 51 | - obtain ⟨R',hM,hL,wm,wf,wp,hcost,hrc,hterminal⟩ := | |
| 52 | - EulerPacketForwardCommonRadius.exists_common_radius LM L NB BC | |
| 53 | - (wordCost (Fin 4) 6 δ*‖ξ‖) (wordRadius (Fin 4) δ) hC | |
| 54 | - let L' := L.enlargeRadius R' hL | |
| 55 | - let N' := NB.enlargeRadius R' hL | |
| 56 | - let M' := LM.enlargeRadius R' hM | |
| 57 | - let S := Scales.ofTimeProfile L.g L.positive hTime.symm α hα | |
| 58 | - have hgrowth : timeProfileChange S.growth hTime = α • L'.g := | |
| 59 | - Scales.ofTimeProfile_growth L.g L.positive hTime.symm α hα | |
| 60 | - let cg := growthCoefficient D period Kc (2*velocity L'.R S.H0 BC.multiplierCost) | |
| 61 | - (12*velocity L'.R S.H0 BC.multiplierCost*(4*L'.R)) | |
| 62 | - let dg := drift L'.R S.H0 BC.multiplierCost | |
| 63 | - let ρ0 := initialRadius L'.R Kc.M Kc.Rc | |
| 64 | - have hR0 := zero_le_one.trans L'.radius_one | |
| 65 | - have hρ : 0 < ρ0 := (initialRadius_bounds L'.R Kc.M Kc.Rc | |
| 66 | - hR0 (zero_le_one.trans Kc.M_one_le) Kc.Rc_nonneg).1 | |
| 67 | - have hv := velocity_nonneg L'.R S.H0 BC.multiplierCost hR0 BC.multiplierCost_nonneg | |
| 68 | - have hcg : 0 < cg := growthCoefficient_pos D period Kc _ _ (by positivity) (by positivity) | |
| 69 | - let Ce := correctionBase D | |
| 70 | - let Cp := correctionPressureCost D period Kc L'.R S.H0 BC.multiplierCost | |
| 71 | - let Ct := correctionTimeCost D period Kc L'.R S.H0 BC.multiplierCost | |
| 72 | - let C := 1+|Ce|+|Cp|+|Ct| | |
| 73 | - have hCe : Ce ≤ C := by dsimp [C]; linarith [le_abs_self Ce,abs_nonneg Cp,abs_nonneg Ct] | |
| 74 | - have hCp : Cp ≤ C := by dsimp [C]; linarith [le_abs_self Cp,abs_nonneg Ce,abs_nonneg Ct] | |
| 75 | - have hCt : Ct ≤ C := by dsimp [C]; linarith [le_abs_self Ct,abs_nonneg Ce,abs_nonneg Cp] | |
| 76 | - refine ⟨ρ0,cg,C,hρ,hcg,by dsimp [C]; positivity,?_⟩ | |
| 77 | - filter_upwards [fixed_costs_eventually | |
| 78 | - ({tailPolynomialConstant L'.R S.H0 BC.termCost,BC.multiplierCost, | |
| 79 | - 12*cg*D.T,8*cg*D.T*dg/ρ0,8*cg*D.T/ρ0} : Finset ℝ)] with k hk | |
| 80 | - obtain ⟨hk,hX,hlog,hc⟩ := hk | |
| 81 | - have hn : 1 ≤ truncation k := (truncation_bounds k (by linarith)).1 | |
| 82 | - let Q := forwardInitializedAllOrderBudget M D hTime δ hδ ξ hs α Cagree | |
| 83 | - L' N' wf M' wm BC hrc hcost hδ1 hα hterminal wp S hgrowth Kc k hk hX hlog | |
| 84 | - (hc _ (by simp)) (hc _ (by simp)) (hc _ (by simp [cg])) | |
| 85 | - (hc _ (by simp [cg,dg,ρ0])) (hc _ (by simp [cg,ρ0])) | |
| 86 | - Ξ hΞ hF hdet | |
| 87 | - refine ⟨hk,hn,Q,rfl,rfl,rfl,?_⟩ | |
| 88 | - intro s N hN t | |
| 89 | - have hδQ : Q.delta=delta (expansion k) := by simp only [Q,forwardInitializedAllOrderBudget] | |
| 90 | - have hrQ : Q.reducedRadius period=ρ0/4 := by | |
| 91 | - simp only [Q,EulerAllOrderDriftCorrection.Budget.reducedRadius,forwardInitializedAllOrderBudget,ρ0] | |
| 92 | - have heQ : Q.correctionSize period=Ce*delta (expansion k) := by | |
| 93 | - simp only [Q,EulerAllOrderDriftCorrection.Budget.correctionSize,forwardInitializedAllOrderBudget, | |
| 94 | - forwardInitializedMetricBudget,sourceMetricBudgetOfFields,sourceMetricBudget,Ce,correctionBase] | |
| 95 | - ring | |
| 96 | - have hpQ : Q.pressureCost period (N+6) (by omega)=Cp := by | |
| 97 | - simp only [Q,EulerAllOrderDriftCorrection.Budget.pressureCost, | |
| 98 | - EulerAllOrderDriftCorrection.Budget.sourceCost,EulerAllOrderDriftCorrection.Budget.baseCorrectionSize, | |
| 99 | - forwardInitializedAllOrderBudget,forwardInitializedDriftBudget,forwardInitializedSpatialBudget, | |
| 100 | - forwardInitializedMetricBudget,sourceMetricBudgetOfFields,sourceMetricBudget,Cp, | |
| 101 | - correctionPressureCost,correctionSourceCost,correctionBase] | |
| 102 | - have htQ : Q.timeDerivativeCost period (N+6) (by omega)=Ct := by | |
| 103 | - simp only [Q,EulerAllOrderDriftCorrection.Budget.timeDerivativeCost, | |
| 104 | - EulerAllOrderDriftCorrection.Budget.sourceCost,EulerAllOrderDriftCorrection.Budget.baseCorrectionSize, | |
| 105 | - forwardInitializedAllOrderBudget,forwardInitializedDriftBudget,forwardInitializedSpatialBudget, | |
| 106 | - forwardInitializedMetricBudget,sourceMetricBudgetOfFields,sourceMetricBudget,Ct, | |
| 107 | - correctionTimeCost,correctionSourceCost,correctionBase] | |
| 108 | - have he := Q.fieldTower_reducedNorm period s N hN t | |
| 109 | - have hp := Q.pressureTower_reducedNorm_delta period (N+6) (by omega) N (by omega) s hN t | |
| 110 | - have ht := Q.timeDerivativeTower_reducedNorm_delta period (N+6) (by omega) N (by omega) s hN t | |
| 111 | - rw [hrQ,heQ] at he | |
| 112 | - rw [hrQ,hpQ,hδQ] at hp | |
| 113 | - rw [hrQ,htQ,hδQ] at ht | |
| 114 | - exact ⟨he.trans (mul_le_mul_of_nonneg_right hCe (delta_pos _).le), | |
| 115 | - hp.trans (mul_le_mul_of_nonneg_right hCp (delta_pos _).le), | |
| 116 | - ht.trans (mul_le_mul_of_nonneg_right hCt (delta_pos _).le)⟩ | |
| 117 | - | |
| 118 | 35 | end EulerPacketTerminalDatum |
+0 −88 Euler/PacketForwardInitializedFlowAndShear.lean View file
| @@ -38,92 +38,4 @@ variable (M : EulerMeanPacketProvider.Data) | ||
| 38 | 38 | |
| 39 | 39 | include hδ1 hα L NB LM hX hF hXY hY hdet |
| 40 | 40 | |
| 41 | -theorem forwardInitialized_flow_and_shear_eventually (ε : ℝ) (hε : 0 < ε) : | |
| 42 | - ∃ ρ0 γ Cw Cv Cp : ℝ, 0 < ρ0 ∧ 0 < γ ∧ 0 < Cw ∧ 0 < Cv ∧ 0 < Cp ∧ | |
| 43 | - ∀ᶠ k : ℝ in atTop, | |
| 44 | - ∃ (hk : 4 ≤ k) (hn : 1 ≤ truncation k) | |
| 45 | - (Q : EulerAllOrderDriftCorrection.Budget period D.T_pos | |
| 46 | - (forwardInitializedCorrectionData M D hTime δ hδ ξ hs α Cagree | |
| 47 | - (truncation k) hn k hk)) | |
| 48 | - (G : EulerPhysicalGraphFlowBounds.Data period D.T), | |
| 49 | - Q.delta=delta (expansion k) ∧ Q.initialRadius=ρ0 ∧ Q.growthCoefficient=γ ∧ | |
| 50 | - G.A = Q.liftedPacketCoefficient period | |
| 51 | - (forwardInitializedNormalizedField M D hTime δ hδ ξ hs α (truncation k) k) ∧ | |
| 52 | - G.A₁ = Q.liftedPacketDerivativeCoefficient period | |
| 53 | - (forwardInitializedNormalizedDerivativeField M D hTime δ hδ ξ hs α (truncation k) k) ∧ | |
| 54 | - (∀ t z, graphConstraint k D.m₀ (G.A.field t z)=0) ∧ | |
| 55 | - (∀ (s n : ℕ), n+6 ≤ s → ∀ t : Icc (0 : ℝ) D.T, | |
| 56 | - weightedNorm period 6 n (ρ0/4) ((Q.fieldTower period).realization s t) ≤ Cw*delta (expansion k) ∧ | |
| 57 | - weightedNorm period 6 n (ρ0/4) ((Q.pressureTower period).realization s t) ≤ Cw*delta (expansion k) ∧ | |
| 58 | - weightedNorm period 6 n (ρ0/4) ((Q.timeDerivativeTower period).realization s t) ≤ Cw*delta (expansion k)) ∧ | |
| 59 | - (∀ (t : Icc (0 : ℝ) D.T) (x : Space), | |
| 60 | - ‖fderiv ℝ (forwardInitializedExactPhysicalVelocity M D hTime δ hδ ξ hs α | |
| 61 | - Cagree (truncation k) hn k hk Q t (Y t)) x - | |
| 62 | - (α*deriv (profile δ) (k*⟪D.m₀,Y t x⟫_ℝ)) • | |
| 63 | - rankOne ℝ (canonicalVelocity D ξ t (Y t x)) (D.normal.field t (Y t x))‖ < Cv/k ∧ | |
| 64 | - ‖fderiv ℝ (gradient (forwardInitializedExactPhysicalPressure M D hTime δ hδ ξ hs α | |
| 65 | - Cagree (truncation k) hn k hk Q t (Y t))) x - | |
| 66 | - (EulerPacketForwardShear.pressureCoefficient D ξ α t (Y t x) * | |
| 67 | - deriv (profile δ) (k*⟪D.m₀,Y t x⟫_ℝ)) • | |
| 68 | - rankOne ℝ (D.normal.field t (Y t x)) (D.normal.field t (Y t x))‖ < Cp/k) ∧ | |
| 69 | - (∀ (ell : ℝ) (hell : 0 < ell), ell ≤ 1 → ∀ t : Icc (0 : ℝ) D.T, | |
| 70 | - (G.displacementField k D.m₀ ell hell t).HasJetBound | |
| 71 | - (k^(-(1/2 : ℝ)+ε)) (ell⁻¹*k^(1+ε)) ∧ | |
| 72 | - (G.velocityField k D.m₀ ell hell t).HasJetBound | |
| 73 | - (k^(-(1/2 : ℝ)+ε)) (ell⁻¹*k^(1+ε)) ∧ | |
| 74 | - (G.accelerationFieldL2 k D.m₀ ell hell t).HasJetBound | |
| 75 | - (k^ε) (ell⁻¹*k^(1+ε)) ∧ | |
| 76 | - HasSupBound (G.displacementField k D.m₀ ell hell t).field | |
| 77 | - (k^(-(1/2 : ℝ)+ε)) (ell⁻¹*k^(1+ε)) ∧ | |
| 78 | - HasSupBound (G.velocityField k D.m₀ ell hell t).field | |
| 79 | - (k^(-(1/2 : ℝ)+ε)) (ell⁻¹*k^(1+ε))) := by | |
| 80 | - classical | |
| 81 | - let BC := forwardCoefficientBudget period M D hTime NB | |
| 82 | - have hC : 0 ≤ wordCost (Fin 4) 6 δ*‖ξ‖ := | |
| 83 | - mul_nonneg (wordCost_nonneg 6 δ) (norm_nonneg ξ) | |
| 84 | - obtain ⟨R',hM,hL,wm,wf,wp,hcost,hrc,hterminal⟩ := | |
| 85 | - EulerPacketForwardCommonRadius.exists_common_radius LM L NB BC | |
| 86 | - (wordCost (Fin 4) 6 δ*‖ξ‖) (wordRadius (Fin 4) δ) hC | |
| 87 | - let L' := L.enlargeRadius R' hL | |
| 88 | - let N' := NB.enlargeRadius R' hL | |
| 89 | - let M' := LM.enlargeRadius R' hM | |
| 90 | - let S := Scales.ofTimeProfile L.g L.positive hTime.symm α hα | |
| 91 | - have hgrowth : timeProfileChange S.growth hTime=α • L'.g := | |
| 92 | - Scales.ofTimeProfile_growth L.g L.positive hTime.symm α hα | |
| 93 | - obtain ⟨ρ0,γ,Cw,hρ,hγ,hCw,hsource⟩ := forwardInitialized_flow_and_correction_eventually | |
| 94 | - M D hTime δ hδ hδ1 ξ hs α hα L NB LM Cagree X Y hX hF hXY hY hdet ε hε | |
| 95 | - let Kv := forwardInitializedGlobalShearCost L'.R S.H0 N'.C | |
| 96 | - let Kp := forwardInitializedPressureHessianCost N' L'.R S.H0 L'.Rc L'.C₀ | |
| 97 | - let Cv := 1+|Kv| | |
| 98 | - let Cp := 1+|Kp| | |
| 99 | - have hXd : ∀ t x, HasFDerivAt (X t) (D.F.field t x) x := by | |
| 100 | - intro t x | |
| 101 | - rw [← hF t x] | |
| 102 | - exact ((hX t).differentiable (by simp) x).hasFDerivAt | |
| 103 | - have hYd := continuousInverse_hasFDerivAt D X Y hXd hXY hY | |
| 104 | - refine ⟨ρ0,γ,Cw,Cv,Cp,hρ,hγ,hCw,by dsimp [Cv]; positivity,by dsimp [Cp]; positivity,?_⟩ | |
| 105 | - filter_upwards [hsource, | |
| 106 | - fixed_costs_eventually ({tailPolynomialConstant L'.R S.H0 BC.termCost} : Finset ℝ)] | |
| 107 | - with k hsource hscalar | |
| 108 | - obtain ⟨hk,hn,Q,G,hδQ,hρQ,hγQ,hA,hA1,hgraph,hweighted,hcorrection,hflow⟩ := hsource | |
| 109 | - have hk0 : 0 < k := by linarith | |
| 110 | - have hk1 : 1 ≤ k := by linarith | |
| 111 | - have hbase : tailBase L'.R S.H0 BC.termCost (truncation k) ≤ k^(1/100 : ℝ) := | |
| 112 | - tailBase_frequency L'.R S.H0 BC.termCost k BC.termCost_nonneg hk1 (hscalar.2.2.2 _ (by simp)) | |
| 113 | - refine ⟨hk,hn,Q,G,hδQ,hρQ,hγQ,hA,hA1,hgraph,hweighted,?_,hflow⟩ | |
| 114 | - intro t x | |
| 115 | - constructor | |
| 116 | - · have h := forwardInitializedExactPhysicalVelocity_global_gradient_error M D hTime δ hδ ξ hs α | |
| 117 | - L' N' wf M' wm BC hrc hcost hδ1 hα hterminal wp S hgrowth | |
| 118 | - Cagree (truncation k) hn k hk Q hbase t (Y t) x (hYd t x) | |
| 119 | - have ht : Kv/k ≤ |Kv|/k := div_le_div_of_nonneg_right (le_abs_self Kv) hk0.le | |
| 120 | - exact h.trans_lt ((add_lt_add_of_le_of_lt ht (hcorrection t x).1).trans_eq | |
| 121 | - (by dsimp [Cv]; ring)) | |
| 122 | - · have h := forwardInitializedExactPhysicalPressure_hessian_error M D hTime δ hδ ξ hs α | |
| 123 | - Cagree (truncation k) hn k hk Q X Y hXd hXY hY L' N' wf M' wm BC hrc hcost | |
| 124 | - hδ1 hα hterminal wp S hgrowth hbase hdet t x | |
| 125 | - have ht : Kp/k ≤ |Kp|/k := div_le_div_of_nonneg_right (le_abs_self Kp) hk0.le | |
| 126 | - exact h.trans_lt ((add_lt_add_of_le_of_lt ht (hcorrection t x).2).trans_eq | |
| 127 | - (by dsimp [Cp]; ring)) | |
| 128 | - | |
| 129 | 41 | end EulerPacketTerminalDatum |
+0 −146 Euler/PacketForwardInitializedFlowBounds.lean View file
| @@ -42,150 +42,4 @@ variable (M : EulerMeanPacketProvider.Data) | ||
| 42 | 42 | |
| 43 | 43 | include hδ1 hα L NB LM hX hF hXY hY hdet |
| 44 | 44 | |
| 45 | -theorem forwardInitialized_flow_and_correction_eventually (ε : ℝ) (hε : 0 < ε) : | |
| 46 | - ∃ ρ0 γ Cw : ℝ, 0 < ρ0 ∧ 0 < γ ∧ 0 < Cw ∧ | |
| 47 | - ∀ᶠ k : ℝ in atTop, | |
| 48 | - ∃ (hk : 4 ≤ k) (hn : 1 ≤ truncation k) | |
| 49 | - (Q : EulerAllOrderDriftCorrection.Budget period D.T_pos | |
| 50 | - (forwardInitializedCorrectionData M D hTime δ hδ ξ hs α Cagree | |
| 51 | - (truncation k) hn k hk)) | |
| 52 | - (G : EulerPhysicalGraphFlowBounds.Data period D.T), | |
| 53 | - Q.delta=delta (expansion k) ∧ Q.initialRadius=ρ0 ∧ Q.growthCoefficient=γ ∧ | |
| 54 | - G.A = Q.liftedPacketCoefficient period | |
| 55 | - (forwardInitializedNormalizedField M D hTime δ hδ ξ hs α (truncation k) k) ∧ | |
| 56 | - G.A₁ = Q.liftedPacketDerivativeCoefficient period | |
| 57 | - (forwardInitializedNormalizedDerivativeField M D hTime δ hδ ξ hs α (truncation k) k) ∧ | |
| 58 | - (∀ t z, graphConstraint k D.m₀ (G.A.field t z)=0) ∧ | |
| 59 | - (∀ (s n : ℕ), n+6 ≤ s → ∀ t : Icc (0 : ℝ) D.T, | |
| 60 | - weightedNorm period 6 n (ρ0/4) ((Q.fieldTower period).realization s t) ≤ Cw*delta (expansion k) ∧ | |
| 61 | - weightedNorm period 6 n (ρ0/4) ((Q.pressureTower period).realization s t) ≤ Cw*delta (expansion k) ∧ | |
| 62 | - weightedNorm period 6 n (ρ0/4) ((Q.timeDerivativeTower period).realization s t) ≤ Cw*delta (expansion k)) ∧ | |
| 63 | - (∀ (t : Icc (0 : ℝ) D.T) (x : Space), | |
| 64 | - ‖fderiv ℝ (fun y => k⁻¹ • D.F.field t (Y t y) | |
| 65 | - (Q.pointField period t (cylinderGraph period k D.m₀ (Y t y)))) x‖ < k⁻¹ ∧ | |
| 66 | - ‖fderiv ℝ (gradient (Q.physicalPotential D period k Y t)) x‖ < k⁻¹) ∧ | |
| 67 | - (∀ (ell : ℝ) (hell : 0 < ell), ell ≤ 1 → ∀ t : Icc (0 : ℝ) D.T, | |
| 68 | - (G.displacementField k D.m₀ ell hell t).HasJetBound | |
| 69 | - (k^(-(1/2 : ℝ)+ε)) (ell⁻¹*k^(1+ε)) ∧ | |
| 70 | - (G.velocityField k D.m₀ ell hell t).HasJetBound | |
| 71 | - (k^(-(1/2 : ℝ)+ε)) (ell⁻¹*k^(1+ε)) ∧ | |
| 72 | - (G.accelerationFieldL2 k D.m₀ ell hell t).HasJetBound | |
| 73 | - (k^ε) (ell⁻¹*k^(1+ε)) ∧ | |
| 74 | - HasSupBound (G.displacementField k D.m₀ ell hell t).field | |
| 75 | - (k^(-(1/2 : ℝ)+ε)) (ell⁻¹*k^(1+ε)) ∧ | |
| 76 | - HasSupBound (G.velocityField k D.m₀ ell hell t).field | |
| 77 | - (k^(-(1/2 : ℝ)+ε)) (ell⁻¹*k^(1+ε))) := by | |
| 78 | - classical | |
| 79 | - let BC := forwardCoefficientBudget period M D hTime NB | |
| 80 | - have hC : 0 ≤ wordCost (Fin 4) 6 δ*‖ξ‖ := | |
| 81 | - mul_nonneg (wordCost_nonneg 6 δ) (norm_nonneg ξ) | |
| 82 | - obtain ⟨R',hM,hL,wm,wf,wp,hcost,hrc,hterminal⟩ := | |
| 83 | - EulerPacketForwardCommonRadius.exists_common_radius LM L NB BC | |
| 84 | - (wordCost (Fin 4) 6 δ*‖ξ‖) (wordRadius (Fin 4) δ) hC | |
| 85 | - let L' := L.enlargeRadius R' hL | |
| 86 | - let N' := NB.enlargeRadius R' hL | |
| 87 | - let M' := LM.enlargeRadius R' hM | |
| 88 | - let S := Scales.ofTimeProfile L.g L.positive hTime.symm α hα | |
| 89 | - have hgrowth : timeProfileChange S.growth hTime=α • L'.g := | |
| 90 | - Scales.ofTimeProfile_growth L.g L.positive hTime.symm α hα | |
| 91 | - obtain ⟨ρ0,γ,Cw,hρ,hγ,hCw,hQ⟩ := forwardInitialized_correction_estimates_eventually | |
| 92 | - M D hTime δ hδ hδ1 ξ hs α hα L NB LM Cagree X hX hF hdet | |
| 93 | - let C0 := velocity L'.R S.H0 BC.multiplierCost | |
| 94 | - let Cn := normal L'.R S.H0 BC.multiplierCost | |
| 95 | - let Ch := 6*N'.blockAmplitude* | |
| 96 | - (fixedVelocityGradeCost L'.R S.H0 1+fixedVelocityGradeCost L'.R S.H0 2+1) | |
| 97 | - let Rf := physicalInputRadius (4*L'.R) (4*L'.R) (ρ0/4) | |
| 98 | - let Av := liftedInputConstant period*(C0+Cn) | |
| 99 | - let Ev := 2*liftedInputConstant period*Cw | |
| 100 | - let At := 2*liftedInputConstant period*(Ch+Cw) | |
| 101 | - let Kerr := weightedPhysicalGradientCost D period L.Rc L.C₀ (ρ0/4) Cw | |
| 102 | - have hRv : 0 ≤ 4*L'.R := by have := L'.radius_one; linarith | |
| 103 | - have hρ' : 0 < ρ0/4 := by positivity | |
| 104 | - have hRf : 0 < Rf := (liftedInputRadius_pos (4*L'.R) (ρ0/4) hRv hρ').trans_le (le_max_left _ _) | |
| 105 | - have hK : 0 ≤ liftedInputConstant period := zero_le_one.trans (liftedInputConstant_one_le period) | |
| 106 | - have hC0 : 0 ≤ C0 := velocity_nonneg L'.R S.H0 BC.multiplierCost | |
| 107 | - (zero_le_one.trans L'.radius_one) BC.multiplierCost_nonneg | |
| 108 | - have hCn : 0 ≤ Cn := normal_nonneg L'.R S.H0 BC.multiplierCost | |
| 109 | - (zero_le_one.trans L'.radius_one) BC.multiplierCost_nonneg | |
| 110 | - have hCh : 0 ≤ Ch := by | |
| 111 | - have hN := N'.blockAmplitude_nonneg | |
| 112 | - have h₁ := fixedVelocityGradeCost_nonneg L'.R S.H0 (zero_le_one.trans L'.radius_one) 1 | |
| 113 | - have h₂ := fixedVelocityGradeCost_nonneg L'.R S.H0 (zero_le_one.trans L'.radius_one) 2 | |
| 114 | - dsimp [Ch] | |
| 115 | - positivity | |
| 116 | - have hAv : 0 ≤ Av := mul_nonneg hK (add_nonneg hC0 hCn) | |
| 117 | - have hEv : 0 ≤ Ev := by dsimp [Ev]; positivity | |
| 118 | - have hEta := inputExponent_pos ε hε | |
| 119 | - have hXd : ∀ t x, HasFDerivAt (X t) (D.F.field t x) x := by | |
| 120 | - intro t x | |
| 121 | - rw [← hF t x] | |
| 122 | - exact ((hX t).differentiable (by simp) x).hasFDerivAt | |
| 123 | - refine ⟨ρ0,γ,Cw,hρ,hγ,hCw,?_⟩ | |
| 124 | - filter_upwards [hQ, | |
| 125 | - fixed_costs_eventually ({tailPolynomialConstant L'.R S.H0 BC.termCost} : Finset ℝ), | |
| 126 | - liftedAmplitude_small_eventually Av Ev Rf D.T hAv hEv hRf.le D.T_pos.le, | |
| 127 | - (_root_.tendsto_rpow_atTop hEta).eventually_ge_atTop Rf, | |
| 128 | - (_root_.tendsto_rpow_atTop hEta).eventually_ge_atTop At, | |
| 129 | - (_root_.tendsto_rpow_atTop hEta).eventually_ge_atTop D.T, | |
| 130 | - correction_with_power_loss_eventually Kerr 1 1, | |
| 131 | - data_field_bounds_eventually period D.T ε hε, | |
| 132 | - data_sup_bounds_eventually period D.T ε hε] | |
| 133 | - with k hQ hscalar hsmall hRf_k hAt_k hT_k hdecay hLp hSup | |
| 134 | - obtain ⟨hk,hn,Q,hδQ,hρQ,hγQ,hweighted⟩ := hQ | |
| 135 | - have hk0 : 0 < k := by linarith | |
| 136 | - have hk1 : 1 ≤ k := by linarith | |
| 137 | - have hbase : tailBase L'.R S.H0 BC.termCost (truncation k) ≤ k^(1/100 : ℝ) := | |
| 138 | - tailBase_frequency L'.R S.H0 BC.termCost k BC.termCost_nonneg hk1 (hscalar.2.2.2 _ (by simp)) | |
| 139 | - let V := forwardInitializedNormalizedField M D hTime δ hδ ξ hs α (truncation k) k | |
| 140 | - let Vt := forwardInitializedNormalizedDerivativeField M D hTime δ hδ ξ hs α (truncation k) k | |
| 141 | - have hv := forwardInitializedNormalizedField_bound M D hTime δ hδ ξ hs α | |
| 142 | - L' N' wf M' wm BC hrc hcost hδ1 hα hterminal wp S hgrowth (truncation k) hn k hk hbase | |
| 143 | - have hnrm := forwardInitializedNormalizedField_normal_bound M D hTime δ hδ ξ hs α | |
| 144 | - L' N' wf M' wm BC hrc hcost hδ1 hα hterminal wp S hgrowth (truncation k) hn k hk hbase | |
| 145 | - have hvt := forwardInitializedNormalizedDerivativeField_bound M D hTime δ hδ ξ hs α | |
| 146 | - L' N' wf M' wm BC hrc hcost hδ1 hα hterminal wp S hgrowth (truncation k) hn k hk hbase | |
| 147 | - have he (n : ℕ) (t : Icc (0 : ℝ) D.T) : weightedNorm period 6 n (ρ0/4) | |
| 148 | - ((Q.fieldTower period).realization (n+6) t) ≤ Cw*delta (expansion k) := | |
| 149 | - (hweighted (n+6) n le_rfl t).1 | |
| 150 | - have hp (n : ℕ) (t : Icc (0 : ℝ) D.T) : weightedNorm period 6 n (ρ0/4) | |
| 151 | - ((Q.pressureTower period).realization (n+6) t) ≤ Cw*delta (expansion k) := | |
| 152 | - (hweighted (n+6) n le_rfl t).2.1 | |
| 153 | - have het (n : ℕ) (t : Icc (0 : ℝ) D.T) : weightedNorm period 6 n (ρ0/4) | |
| 154 | - ((Q.timeDerivativeTower period).realization (n+6) t) ≤ Cw := | |
| 155 | - ((hweighted (n+6) n le_rfl t).2.2).trans | |
| 156 | - ((mul_le_mul_of_nonneg_left (delta_le_one _) hCw.le).trans_eq (mul_one _)) | |
| 157 | - have hsize : physicalInputSize period k C0 Cn (Cw*delta (expansion k)) = liftedAmplitude Av Ev k := by | |
| 158 | - dsimp [physicalInputSize,liftedAmplitude,Av,Ev] | |
| 159 | - ring | |
| 160 | - let G := Q.physicalFlowData period V Vt rfl | |
| 161 | - (forwardInitializedNormalizedField_time M D hTime δ hδ ξ hs α (truncation k) k) | |
| 162 | - k (4*L'.R) (4*L'.R) (ρ0/4) C0 Cn Ch (Cw*delta (expansion k)) Cw | |
| 163 | - hk1 rfl D.m₀_unit.le hRv hRv hρ' hC0 hCn hCh | |
| 164 | - (mul_nonneg hCw.le (delta_pos _).le) hCw.le hv hnrm hvt he het | |
| 165 | - (by change physicalInputSize period k C0 Cn (Cw*delta (expansion k))*Rf*D.T ≤ 1/8 | |
| 166 | - rw [hsize] | |
| 167 | - exact hsmall.2.2.2) | |
| 168 | - have hGB : G.B ≤ 2*k^(-(1/2 : ℝ)) := by | |
| 169 | - change physicalInputSize period k C0 Cn (Cw*delta (expansion k)) ≤ _ | |
| 170 | - rw [hsize] | |
| 171 | - exact hsmall.2.2.1 | |
| 172 | - have hflow := hLp G rfl rfl rfl hGB hRf_k hAt_k hT_k D.m₀ D.m₀_unit | |
| 173 | - have hsup := hSup G hGB hRf_k hT_k D.m₀ D.m₀_unit | |
| 174 | - have hcorrection (t : Icc (0 : ℝ) D.T) (x : Space) := | |
| 175 | - Q.physical_gradient_hessian_of_weighted D period X Y hXd hXY hY hdet | |
| 176 | - L.Rc L.C₀ L.Rc_nonneg L.C₀_nonneg L.frame_bound k (ρ0/4) Cw (delta (expansion k)) | |
| 177 | - hk1 rfl rfl hρ' hCw.le (delta_pos _).le he hp t x | |
| 178 | - have hdecay' : Kerr*k*delta (expansion k) < k⁻¹ := by | |
| 179 | - simpa only [Real.rpow_one,Real.rpow_neg_one] using hdecay | |
| 180 | - refine ⟨hk,hn,Q,G,hδQ,hρQ,hγQ,rfl,rfl,?_,hweighted,?_,?_⟩ | |
| 181 | - · intro t z | |
| 182 | - change graphConstraint k D.m₀ | |
| 183 | - (EulerMetricTransport.transportDirection k⁻¹ D.m₀ ((Q.packetCoefficient period V).field t z)) = 0 | |
| 184 | - exact graphConstraint_transport k k⁻¹ (mul_inv_cancel₀ hk0.ne') D.m₀ _ | |
| 185 | - · intro t x | |
| 186 | - exact ⟨((hcorrection t x).1).trans_lt hdecay',((hcorrection t x).2).trans_lt hdecay'⟩ | |
| 187 | - · intro ell hell hell1 t | |
| 188 | - exact ⟨(hflow ell hell hell1 t).1,(hflow ell hell hell1 t).2.1, | |
| 189 | - (hflow ell hell hell1 t).2.2,(hsup ell hell hell1 t).1,(hsup ell hell hell1 t).2⟩ | |
| 190 | - | |
| 191 | 45 | end EulerPacketTerminalDatum |
+0 −51 Euler/PacketGraphFlowFieldBounds.lean View file
| @@ -15,55 +15,4 @@ open Set Filter EulerLiftedGradientSpace EulerSmoothFlowGevrey | ||
| 15 | 15 | |
| 16 | 16 | variable (P T : ℝ) [Fact (0 < P)] |
| 17 | 17 | |
| 18 | -theorem data_field_bounds_eventually (ε : ℝ) (hε : 0 < ε) : | |
| 19 | - ∀ᶠ k : ℝ in atTop, ∀ (G : Data P T), | |
| 20 | - G.C=G.B → G.S=G.R → G.S₁=G.R → | |
| 21 | - G.B ≤ 2*k^(-(1/2 : ℝ)) → G.R ≤ k^(inputExponent ε) → | |
| 22 | - G.C₁ ≤ k^(inputExponent ε) → T ≤ k^(inputExponent ε) → | |
| 23 | - ∀ m : Vector3, ‖m‖=1 → ∀ (ell : ℝ) (hell : 0 < ell), ell ≤ 1 → | |
| 24 | - ∀ t : Icc (0 : ℝ) T, | |
| 25 | - (G.displacementField k m ell hell t).HasJetBound | |
| 26 | - (k^(-(1/2 : ℝ)+ε)) (ell⁻¹*k^(1+ε)) ∧ | |
| 27 | - (G.velocityField k m ell hell t).HasJetBound | |
| 28 | - (k^(-(1/2 : ℝ)+ε)) (ell⁻¹*k^(1+ε)) ∧ | |
| 29 | - (G.accelerationFieldL2 k m ell hell t).HasJetBound | |
| 30 | - (k^ε) (ell⁻¹*k^(1+ε)) := by | |
| 31 | - filter_upwards [physical_bounds_eventually ε (Real.sqrt (2/P+2*P)) hε (Real.sqrt_nonneg _), | |
| 32 | - eventually_ge_atTop (1 : ℝ)] with k hnum hk | |
| 33 | - intro G hC hS hS₁ hB hR hC₁ hT m hm ell hell hell1 t | |
| 34 | - have hn := hnum G.B G.R T G.C₁ ell G.B_nonneg G.R_pos.le G.time_nonneg | |
| 35 | - G.C₁_nonneg hell hR hT hC₁ hB | |
| 36 | - have hvr : G.velocityRadius=flowRadius G.B G.R T G.R := by rw [Data.velocityRadius,hS] | |
| 37 | - have har : G.accelerationRadius=flowRadius G.B G.R T (6*G.R) := by | |
| 38 | - rw [Data.accelerationRadius,hS,hS₁] | |
| 39 | - congr 1 | |
| 40 | - ring | |
| 41 | - have haa : G.accelerationAmplitude=G.C₁+3*G.B^2*G.R := by | |
| 42 | - rw [Data.accelerationAmplitude,hC] | |
| 43 | - ring | |
| 44 | - have hgf : graphFactor k m=1+k := by | |
| 45 | - rw [graphFactor,hm,abs_of_nonneg (by linarith : 0 ≤ k),mul_one] | |
| 46 | - have hv0 := G.velocityRadius_nonneg | |
| 47 | - have ha0 := G.accelerationRadius_nonneg | |
| 48 | - have hc0 := G.C_nonneg | |
| 49 | - have ht0 := G.time_nonneg | |
| 50 | - have hac0 := G.accelerationAmplitude_nonneg | |
| 51 | - have hg0 := graphFactor_nonneg k m | |
| 52 | - refine ⟨?_,?_,?_⟩ | |
| 53 | - · apply (G.displacementField_bound k m ell hell hell1 t).mono | |
| 54 | - · positivity | |
| 55 | - · positivity | |
| 56 | - · simpa only [hC,hvr] using hn.1 | |
| 57 | - · simpa only [hvr,hgf] using hn.2.2.2.1 | |
| 58 | - · apply (G.velocityField_bound k m ell hell hell1 t).mono | |
| 59 | - · positivity | |
| 60 | - · positivity | |
| 61 | - · simpa only [hC,hvr] using hn.2.1 | |
| 62 | - · simpa only [hvr,hgf] using hn.2.2.2.1 | |
| 63 | - · apply (G.accelerationField_bound k m ell hell hell1 t).mono | |
| 64 | - · positivity | |
| 65 | - · positivity | |
| 66 | - · simpa only [haa,har] using hn.2.2.1 | |
| 67 | - · simpa only [har,hgf] using hn.2.2.2.2 | |
| 68 | - | |
| 69 | 18 | end EulerPhysicalGraphFlowBounds |
+0 −34 Euler/PacketGraphFlowFrequency.lean View file
| @@ -11,19 +11,6 @@ namespace EulerPacketGraphFlowFrequency | ||
| 11 | 11 | |
| 12 | 12 | open Filter Real EulerSmoothFlowGevrey |
| 13 | 13 | |
| 14 | -def inputExponent (ε : ℝ) : ℝ := min (ε/6) (1/4) | |
| 15 | - | |
| 16 | -theorem inputExponent_pos (ε : ℝ) (hε : 0 < ε) : 0 < inputExponent ε := by | |
| 17 | - unfold inputExponent | |
| 18 | - positivity | |
| 19 | - | |
| 20 | -theorem inputExponent_le_quarter (ε : ℝ) : inputExponent ε ≤ 1/4 := min_le_right _ _ | |
| 21 | - | |
| 22 | -theorem six_inputExponent_le (ε : ℝ) : 6*inputExponent ε ≤ ε := by | |
| 23 | - have h := min_le_left (ε/6) (1/4 : ℝ) | |
| 24 | - dsimp [inputExponent] | |
| 25 | - linarith | |
| 26 | - | |
| 27 | 14 | private theorem flow_radius_polynomial (B R T w : ℝ) |
| 28 | 15 | (hB : 0 ≤ B) (hR : 0 ≤ R) (hT : 0 ≤ T) (hw : 71 ≤ w) |
| 29 | 16 | (hRw : R ≤ w) (hTw : T ≤ w) (hsmall : B*w ≤ 1) : |
| @@ -144,25 +131,4 @@ theorem physical_bounds_of_power (ε η K k B R T C1 ell : ℝ) | ||
| 144 | 131 | _ = _ := by rw [← Real.rpow_add hk0] |
| 145 | 132 | exact ⟨hd.trans hdisp,hv.trans hdisp,ha.trans h6,hr.trans hrad,hr1.trans hrad⟩ |
| 146 | 133 | |
| 147 | -theorem physical_bounds_eventually (ε K : ℝ) (hε : 0 < ε) (hK : 0 ≤ K) : | |
| 148 | - ∀ᶠ k : ℝ in atTop, ∀ B R T C1 ell : ℝ, | |
| 149 | - 0 ≤ B → 0 ≤ R → 0 ≤ T → 0 ≤ C1 → 0 < ell → | |
| 150 | - R ≤ k^(inputExponent ε) → T ≤ k^(inputExponent ε) → C1 ≤ k^(inputExponent ε) → | |
| 151 | - B ≤ 2*k^(-(1/2 : ℝ)) → | |
| 152 | - K*(T*B)*(1+flowRadius B R T R) ≤ k^(-(1/2 : ℝ)+ε) ∧ | |
| 153 | - K*B*(1+flowRadius B R T R) ≤ k^(-(1/2 : ℝ)+ε) ∧ | |
| 154 | - K*(C1+3*B^2*R)*(1+flowRadius B R T (6*R)) ≤ k^ε ∧ | |
| 155 | - ell⁻¹*(4*flowRadius B R T R*(1+k)) ≤ ell⁻¹*k^(1+ε) ∧ | |
| 156 | - ell⁻¹*(4*flowRadius B R T (6*R)*(1+k)) ≤ ell⁻¹*k^(1+ε) := by | |
| 157 | - have hη := inputExponent_pos ε hε | |
| 158 | - have hηq := inputExponent_le_quarter ε | |
| 159 | - have hroot : 0 < 1/2-inputExponent ε := by linarith | |
| 160 | - filter_upwards [eventually_ge_atTop (1 : ℝ), | |
| 161 | - (_root_.tendsto_rpow_atTop hη).eventually_ge_atTop 71, | |
| 162 | - (_root_.tendsto_rpow_atTop hη).eventually_ge_atTop K, | |
| 163 | - (_root_.tendsto_rpow_atTop hroot).eventually_ge_atTop 2] with k hk hw hKw hr | |
| 164 | - intro B R T C1 ell hB hR hT hC1 hell hRw hTw hCw hsmall | |
| 165 | - exact physical_bounds_of_power ε (inputExponent ε) K k B R T C1 ell | |
| 166 | - hη hηq (six_inputExponent_le ε) hK hB hR hT hC1 hk hell hw hKw hRw hTw hCw hr hsmall | |
| 167 | - | |
| 168 | 134 | end EulerPacketGraphFlowFrequency |
+0 −46 Euler/PacketGraphFlowSupBounds.lean View file
| @@ -21,50 +21,4 @@ private theorem radius_le_flowRadius (B R T : ℝ) (hB : 0 ≤ B) (hR : 0 ≤ R) | ||
| 21 | 21 | |
| 22 | 22 | variable (P T : ℝ) [Fact (0 < P)] |
| 23 | 23 | |
| 24 | -theorem data_sup_bounds_eventually (ε : ℝ) (hε : 0 < ε) : | |
| 25 | - ∀ᶠ k : ℝ in atTop, ∀ (G : Data P T), | |
| 26 | - G.B ≤ 2*k^(-(1/2 : ℝ)) → G.R ≤ k^(inputExponent ε) → T ≤ k^(inputExponent ε) → | |
| 27 | - ∀ m : Vector3, ‖m‖=1 → ∀ (ell : ℝ) (hell : 0 < ell), ell ≤ 1 → | |
| 28 | - ∀ t : Icc (0 : ℝ) T, | |
| 29 | - HasSupBound (G.displacementField k m ell hell t).field | |
| 30 | - (k^(-(1/2 : ℝ)+ε)) (ell⁻¹*k^(1+ε)) ∧ | |
| 31 | - HasSupBound (G.velocityField k m ell hell t).field | |
| 32 | - (k^(-(1/2 : ℝ)+ε)) (ell⁻¹*k^(1+ε)) := by | |
| 33 | - filter_upwards [physical_bounds_eventually ε 1 hε zero_le_one, | |
| 34 | - eventually_ge_atTop (1 : ℝ)] with k hnum hk | |
| 35 | - intro G hB hR hT m hm ell hell hell1 t | |
| 36 | - have hk0 : 0 ≤ k := by linarith | |
| 37 | - have hn := hnum G.B G.R T 0 ell G.B_nonneg G.R_pos.le G.time_nonneg le_rfl hell | |
| 38 | - hR hT (Real.rpow_nonneg hk0 _) hB | |
| 39 | - have hgf : graphFactor k m=1+k := by rw [graphFactor,hm,abs_of_nonneg hk0,mul_one] | |
| 40 | - have hf0 : 0 ≤ flowRadius G.B G.R T G.R := by | |
| 41 | - have := G.B_nonneg | |
| 42 | - have := G.R_pos | |
| 43 | - have := G.time_nonneg | |
| 44 | - unfold flowRadius | |
| 45 | - positivity | |
| 46 | - have hrad := hn.2.2.2.1 | |
| 47 | - have hB0 := G.B_nonneg | |
| 48 | - have hT0 := G.time_nonneg | |
| 49 | - have hR0 := G.R_pos.le | |
| 50 | - have hg0 := graphFactor_nonneg k m | |
| 51 | - have hdisp : G.B*T ≤ k^(-(1/2 : ℝ)+ε) := by | |
| 52 | - apply (show G.B*T ≤ T*G.B*(1+flowRadius G.B G.R T G.R) by | |
| 53 | - nlinarith [mul_nonneg (mul_nonneg hB0 hT0) hf0]).trans | |
| 54 | - simpa only [one_mul] using hn.1 | |
| 55 | - have hvel : G.B ≤ k^(-(1/2 : ℝ)+ε) := by | |
| 56 | - apply (show G.B ≤ G.B*(1+flowRadius G.B G.R T G.R) by nlinarith [mul_nonneg hB0 hf0]).trans | |
| 57 | - simpa only [one_mul] using hn.2.1 | |
| 58 | - constructor | |
| 59 | - · apply (G.displacement_sup_bound k m ell hell hell1 t).mono (mul_nonneg hB0 hT0) (by positivity) hdisp | |
| 60 | - rw [hgf] | |
| 61 | - apply le_trans _ hrad | |
| 62 | - gcongr | |
| 63 | - exact radius_le_flowRadius G.B G.R T hB0 hR0 hT0 | |
| 64 | - · apply (G.velocity_sup_bound k m ell hell hell1 t).mono hB0 (by positivity) hvel | |
| 65 | - rw [hgf] | |
| 66 | - apply le_trans _ hrad | |
| 67 | - gcongr | |
| 68 | - nlinarith | |
| 69 | - | |
| 70 | 24 | end EulerPhysicalGraphFlowBounds |
+0 −58 Euler/PacketInitializedChildBounds.lean View file
| @@ -45,62 +45,4 @@ variable (M : EulerMeanPacketProvider.Data) | ||
| 45 | 45 | |
| 46 | 46 | include hδ1 hα L NB LM hX hF hXY hY hdet hell1 hK hDp hVp hWp |
| 47 | 47 | |
| 48 | -theorem initialized_child_label_bounds_eventually (q : ℕ) : | |
| 49 | - ∃ ρ0 γ Cw Cv Cp : ℝ, 0 < ρ0 ∧ 0 < γ ∧ 0 < Cw ∧ 0 < Cv ∧ 0 < Cp ∧ | |
| 50 | - ∀ᶠ k : ℝ in atTop, | |
| 51 | - ∃ (hk : 4 ≤ k) (hn : 1 ≤ truncation k) | |
| 52 | - (Q : EulerAllOrderDriftCorrection.Budget period D.T_pos | |
| 53 | - (initializedCorrectionData M D hTime τ hτ hτT B δ hδ ξ hs α Cagree | |
| 54 | - (truncation k) hn k hk)) | |
| 55 | - (G : EulerPhysicalGraphFlowBounds.Data period D.T) | |
| 56 | - (E : Icc (0 : ℝ) D.T → EulerChildParticleFieldBounds.Data), | |
| 57 | - Q.delta=delta (expansion k) ∧ Q.initialRadius=ρ0 ∧ Q.growthCoefficient=γ ∧ | |
| 58 | - G.A = Q.liftedPacketCoefficient period | |
| 59 | - (initializedNormalizedField M D hTime τ hτ hτT B δ hδ ξ hs α (truncation k) k) ∧ | |
| 60 | - G.A₁ = Q.liftedPacketDerivativeCoefficient period | |
| 61 | - (initializedNormalizedDerivativeField M D hTime τ hτ hτT B δ hδ ξ hs α (truncation k) k) ∧ | |
| 62 | - (∀ t z, graphConstraint k D.m₀ (G.A.field t z)=0) ∧ | |
| 63 | - (∀ (s n : ℕ), n+6 ≤ s → ∀ t : Icc (0 : ℝ) D.T, | |
| 64 | - weightedNorm period 6 n (ρ0/4) ((Q.fieldTower period).realization s t) ≤ Cw*delta (expansion k) ∧ | |
| 65 | - weightedNorm period 6 n (ρ0/4) ((Q.pressureTower period).realization s t) ≤ Cw*delta (expansion k) ∧ | |
| 66 | - weightedNorm period 6 n (ρ0/4) ((Q.timeDerivativeTower period).realization s t) ≤ Cw*delta (expansion k)) ∧ | |
| 67 | - (∀ (t : Icc (0 : ℝ) D.T) (x : Space), | |
| 68 | - ‖fderiv ℝ (initializedExactPhysicalVelocity M D hTime τ hτ hτT B δ hδ ξ hs α | |
| 69 | - Cagree (truncation k) hn k hk Q t (Y t)) x - | |
| 70 | - (α*deriv (profile δ) (k*⟪D.m₀,Y t x⟫_ℝ)) • | |
| 71 | - rankOne ℝ (canonicalVelocity τ hτ hτT B ξ hs t (Y t x)) (D.normal.field t (Y t x))‖ < Cv/k ∧ | |
| 72 | - ‖fderiv ℝ (gradient (initializedExactPhysicalPressure M D hTime τ hτ hτT B δ hδ ξ hs α | |
| 73 | - Cagree (truncation k) hn k hk Q t (Y t))) x - | |
| 74 | - (EulerPacketPrimaryPressure.coefficient τ hτ hτT B ξ hs α t (Y t x) * | |
| 75 | - deriv (profile δ) (k*⟪D.m₀,Y t x⟫_ℝ)) • | |
| 76 | - rankOne ℝ (D.normal.field t (Y t x)) (D.normal.field t (Y t x))‖ < Cp/k) ∧ | |
| 77 | - (∀ t, (E t).parentDisplacement=Dp t ∧ (E t).parentVelocity=Vp t ∧ (E t).parentAcceleration=Wp t ∧ | |
| 78 | - (E t).displacement=G.displacementField k D.m₀ ell hell t ∧ | |
| 79 | - (E t).velocity=G.velocityField k D.m₀ ell hell t ∧ | |
| 80 | - (E t).acceleration=G.accelerationFieldL2 k D.m₀ ell hell t ∧ | |
| 81 | - (E t).inner=(flowData D.T G.time_nonneg (physicalCoefficient k D.m₀ D.T G.A ell)).forward t) ∧ | |
| 82 | - (∀ t n, | |
| 83 | - classicalBlockSize direction q (E t).childDisplacement.toLp (E t).childDisplacement.translation_contDiff n+ | |
| 84 | - classicalBlockSize direction q (E t).childVelocity.toLp (E t).childVelocity.translation_contDiff n+ | |
| 85 | - classicalBlockSize direction q (E t).childAcceleration.toLp (E t).childAcceleration.translation_contDiff n ≤ | |
| 86 | - (k^(10*(q+2)))^(n+1)*(n.factorial : ℝ)^2) := by | |
| 87 | - obtain ⟨ρ0,γ,Cw,Cv,Cp,hρ,hγ,hCw,hCv,hCp,hsource⟩ := initialized_flow_and_shear_eventually | |
| 88 | - M D hTime τ hτ hτT B δ hδ hδ1 ξ hs α hα L NB LM Cagree X Y hX hF hXY hY hdet | |
| 89 | - (1/4) (by norm_num) | |
| 90 | - refine ⟨ρ0,γ,Cw,Cv,Cp,hρ,hγ,hCw,hCv,hCp,?_⟩ | |
| 91 | - filter_upwards [hsource,eventually_ge_atTop (69 : ℝ),eventually_ge_atTop K, | |
| 92 | - eventually_ge_atTop (2+45*embeddingCost),eventually_ge_atTop (fixedCost q), | |
| 93 | - (_root_.tendsto_rpow_atTop (by norm_num : (0 : ℝ) < 3/4)).eventually_ge_atTop ell⁻¹] | |
| 94 | - with k hsource hk69 hKk hbig hcost hinv | |
| 95 | - obtain ⟨hk,hn,Q,G,hδQ,hρQ,hγQ,hA,hA1,hgraph,hweighted,herror,hfields⟩ := hsource | |
| 96 | - have hcoarse (t : Icc (0 : ℝ) D.T) := | |
| 97 | - EulerPhysicalChildFields.coarsen_graph_bounds k ell (by linarith) hell hinv | |
| 98 | - (G.displacementField k D.m₀ ell hell t) (G.velocityField k D.m₀ ell hell t) | |
| 99 | - (G.accelerationFieldL2 k D.m₀ ell hell t) | |
| 100 | - (hfields ell hell hell1 t).1 (hfields ell hell hell1 t).2.1 (hfields ell hell hell1 t).2.2.1 | |
| 101 | - (hfields ell hell hell1 t).2.2.2.1 (hfields ell hell hell1 t).2.2.2.2 | |
| 102 | - obtain ⟨E,hmatch,hlabel⟩ := EulerPhysicalChildFields.exists_source_child_fields | |
| 103 | - G k D.m₀ hgraph ell hell Dp Vp Wp K hK hDp hVp hWp q hk69 hKk hbig hcost hcoarse | |
| 104 | - exact ⟨hk,hn,Q,G,E,hδQ,hρQ,hγQ,hA,hA1,hgraph,hweighted,herror,hmatch,hlabel⟩ | |
| 105 | - | |
| 106 | 48 | end EulerPacketTerminalDatum |
+0 −78 Euler/PacketInitializedCorrectionEstimateChoice.lean View file
| @@ -31,82 +31,4 @@ variable (M : EulerMeanPacketProvider.Data) | ||
| 31 | 31 | |
| 32 | 32 | include hδ1 hα L NB LM hΞ hF hdet |
| 33 | 33 | |
| 34 | -/-- Original source budgets determine fixed positive constants and a | |
| 35 | -fixed positive radius for all sufficiently large frequencies. Every | |
| 36 | -norm is evaluated on the actual correction selected by the drift-aware | |
| 37 | -construction, with no pressure or time estimate as an input. -/ | |
| 38 | -theorem initialized_correction_estimates_eventually : | |
| 39 | - ∃ ρ0 G C : ℝ, 0 < ρ0 ∧ 0 < G ∧ 0 < C ∧ ∀ᶠ k : ℝ in atTop, | |
| 40 | - ∃ (hk : 4 ≤ k) (hn : 1 ≤ truncation k) | |
| 41 | - (Q : EulerAllOrderDriftCorrection.Budget period D.T_pos | |
| 42 | - (initializedCorrectionData M D hTime τ hτ hτT B δ hδ ξ hs α Cagree | |
| 43 | - (truncation k) hn k hk)), | |
| 44 | - Q.delta=delta (expansion k) ∧ Q.initialRadius=ρ0 ∧ Q.growthCoefficient=G ∧ | |
| 45 | - ∀ (s N : ℕ), N+6 ≤ s → ∀ t : Icc (0 : ℝ) D.T, | |
| 46 | - weightedNorm period 6 N (ρ0/4) ((Q.fieldTower period).realization s t) ≤ C*delta (expansion k) ∧ | |
| 47 | - weightedNorm period 6 N (ρ0/4) ((Q.pressureTower period).realization s t) ≤ C*delta (expansion k) ∧ | |
| 48 | - weightedNorm period 6 N (ρ0/4) ((Q.timeDerivativeTower period).realization s t) ≤ C*delta (expansion k) := by | |
| 49 | - classical | |
| 50 | - let BC := joinedCoefficientBudget period M D hTime τ hτ hτT B NB | |
| 51 | - let Kc := L.correctionCoefficients NB period | |
| 52 | - obtain ⟨L',H',N',M',hprofile,wj,wm,wp,hterminal,hcost,hrc⟩ := | |
| 53 | - exists_initialized_budgets LM L NB BC δ ξ | |
| 54 | - let S := Scales.ofTimeProfile L.fullProfile L.fullProfile_pos hTime.symm α hα | |
| 55 | - have hgrowth : timeProfileChange S.growth hTime=α • L'.fullProfile := by | |
| 56 | - rw [hprofile] | |
| 57 | - exact Scales.ofTimeProfile_growth L.fullProfile L.fullProfile_pos hTime.symm α hα | |
| 58 | - let cg := growth D period Kc L'.R S.H0 BC.multiplierCost | |
| 59 | - let dg := drift L'.R S.H0 BC.multiplierCost | |
| 60 | - let ρ0 := initialRadius L'.R Kc.M Kc.Rc | |
| 61 | - let Ce := correctionBase D | |
| 62 | - let Cp := correctionPressureCost D period Kc L'.R S.H0 BC.multiplierCost | |
| 63 | - let Ct := correctionTimeCost D period Kc L'.R S.H0 BC.multiplierCost | |
| 64 | - let C := 1+|Ce|+|Cp|+|Ct| | |
| 65 | - have hCe : Ce ≤ C := by dsimp [C]; linarith [le_abs_self Ce, abs_nonneg Cp, abs_nonneg Ct] | |
| 66 | - have hCp : Cp ≤ C := by dsimp [C]; linarith [le_abs_self Cp, abs_nonneg Ce, abs_nonneg Ct] | |
| 67 | - have hCt : Ct ≤ C := by dsimp [C]; linarith [le_abs_self Ct, abs_nonneg Ce, abs_nonneg Cp] | |
| 68 | - have hρ : 0 < ρ0 := (initialRadius_bounds L'.R Kc.M Kc.Rc | |
| 69 | - (zero_le_one.trans L'.radius_bounds.1) (zero_le_one.trans Kc.M_one_le) Kc.Rc_nonneg).1 | |
| 70 | - have hcg : 0 < cg := growth_pos D period Kc L'.R S.H0 BC.multiplierCost | |
| 71 | - (zero_le_one.trans L'.radius_bounds.1) BC.multiplierCost_nonneg | |
| 72 | - refine ⟨ρ0,cg,C,hρ,hcg,by dsimp [C]; positivity,?_⟩ | |
| 73 | - filter_upwards [fixed_costs_eventually | |
| 74 | - ({tailPolynomialConstant L'.R S.H0 BC.termCost,BC.multiplierCost, | |
| 75 | - 12*cg*D.T,8*cg*D.T*dg/ρ0,8*cg*D.T/ρ0} : Finset ℝ)] with k hk | |
| 76 | - obtain ⟨hk,hX,hlog,hc⟩ := hk | |
| 77 | - have hn : 1 ≤ truncation k := (truncation_bounds k (by linarith)).1 | |
| 78 | - let Q := initializedAllOrderBudget M D hTime τ hτ hτT B δ hδ ξ hs α Cagree | |
| 79 | - L' H' N' wj M' wm BC hrc hcost hδ1 hα hterminal wp S hgrowth Kc k hk hX hlog | |
| 80 | - (hc _ (by simp)) (hc _ (by simp)) (hc _ (by simp [cg])) | |
| 81 | - (hc _ (by simp [cg,dg,ρ0])) (hc _ (by simp [cg,ρ0])) | |
| 82 | - Ξ hΞ hF hdet | |
| 83 | - refine ⟨hk,hn,Q,rfl,rfl,rfl,?_⟩ | |
| 84 | - intro s N hN t | |
| 85 | - have hδQ : Q.delta=delta (expansion k) := by simp only [Q,initializedAllOrderBudget] | |
| 86 | - have hrQ : Q.reducedRadius period=ρ0/4 := by | |
| 87 | - simp only [Q,EulerAllOrderDriftCorrection.Budget.reducedRadius,initializedAllOrderBudget,ρ0] | |
| 88 | - have heQ : Q.correctionSize period=Ce*delta (expansion k) := by | |
| 89 | - simp only [Q,EulerAllOrderDriftCorrection.Budget.correctionSize,initializedAllOrderBudget, | |
| 90 | - initializedMetricBudget,sourceMetricBudgetOfFields,sourceMetricBudget,Ce,correctionBase] | |
| 91 | - ring | |
| 92 | - have hpQ : Q.pressureCost period (N+6) (by omega)=Cp := by | |
| 93 | - simp only [Q,EulerAllOrderDriftCorrection.Budget.pressureCost, | |
| 94 | - EulerAllOrderDriftCorrection.Budget.sourceCost,EulerAllOrderDriftCorrection.Budget.baseCorrectionSize, | |
| 95 | - initializedAllOrderBudget,initializedDriftBudget,initializedSpatialBudget,initializedMetricBudget, | |
| 96 | - sourceMetricBudgetOfFields,sourceMetricBudget,Cp,correctionPressureCost,correctionSourceCost,correctionBase] | |
| 97 | - have htQ : Q.timeDerivativeCost period (N+6) (by omega)=Ct := by | |
| 98 | - simp only [Q,EulerAllOrderDriftCorrection.Budget.timeDerivativeCost, | |
| 99 | - EulerAllOrderDriftCorrection.Budget.sourceCost,EulerAllOrderDriftCorrection.Budget.baseCorrectionSize, | |
| 100 | - initializedAllOrderBudget,initializedDriftBudget,initializedSpatialBudget,initializedMetricBudget, | |
| 101 | - sourceMetricBudgetOfFields,sourceMetricBudget,Ct,correctionTimeCost,correctionSourceCost,correctionBase] | |
| 102 | - have he := Q.fieldTower_reducedNorm period s N hN t | |
| 103 | - have hp := Q.pressureTower_reducedNorm_delta period (N+6) (by omega) N (by omega) s hN t | |
| 104 | - have ht := Q.timeDerivativeTower_reducedNorm_delta period (N+6) (by omega) N (by omega) s hN t | |
| 105 | - rw [hrQ,heQ] at he | |
| 106 | - rw [hrQ,hpQ,hδQ] at hp | |
| 107 | - rw [hrQ,htQ,hδQ] at ht | |
| 108 | - exact ⟨he.trans (mul_le_mul_of_nonneg_right hCe (delta_pos _).le), | |
| 109 | - hp.trans (mul_le_mul_of_nonneg_right hCp (delta_pos _).le), | |
| 110 | - ht.trans (mul_le_mul_of_nonneg_right hCt (delta_pos _).le)⟩ | |
| 111 | - | |
| 112 | 34 | end EulerPacketTerminalDatum |
+0 −164 Euler/PacketInitializedFlowAndShear.lean View file
| @@ -44,168 +44,4 @@ variable (M : EulerMeanPacketProvider.Data) | ||
| 44 | 44 | |
| 45 | 45 | include hδ1 hα L NB LM hX hF hXY hY hdet |
| 46 | 46 | |
| 47 | -theorem initialized_flow_and_shear_eventually (ε : ℝ) (hε : 0 < ε) : | |
| 48 | - ∃ ρ0 γ Cw Cv Cp : ℝ, 0 < ρ0 ∧ 0 < γ ∧ 0 < Cw ∧ 0 < Cv ∧ 0 < Cp ∧ | |
| 49 | - ∀ᶠ k : ℝ in atTop, | |
| 50 | - ∃ (hk : 4 ≤ k) (hn : 1 ≤ truncation k) | |
| 51 | - (Q : EulerAllOrderDriftCorrection.Budget period D.T_pos | |
| 52 | - (initializedCorrectionData M D hTime τ hτ hτT B δ hδ ξ hs α Cagree | |
| 53 | - (truncation k) hn k hk)) | |
| 54 | - (G : EulerPhysicalGraphFlowBounds.Data period D.T), | |
| 55 | - Q.delta=delta (expansion k) ∧ Q.initialRadius=ρ0 ∧ Q.growthCoefficient=γ ∧ | |
| 56 | - G.A = Q.liftedPacketCoefficient period | |
| 57 | - (initializedNormalizedField M D hTime τ hτ hτT B δ hδ ξ hs α (truncation k) k) ∧ | |
| 58 | - G.A₁ = Q.liftedPacketDerivativeCoefficient period | |
| 59 | - (initializedNormalizedDerivativeField M D hTime τ hτ hτT B δ hδ ξ hs α (truncation k) k) ∧ | |
| 60 | - (∀ t z, graphConstraint k D.m₀ (G.A.field t z)=0) ∧ | |
| 61 | - (∀ (s n : ℕ), n+6 ≤ s → ∀ t : Icc (0 : ℝ) D.T, | |
| 62 | - weightedNorm period 6 n (ρ0/4) ((Q.fieldTower period).realization s t) ≤ Cw*delta (expansion k) ∧ | |
| 63 | - weightedNorm period 6 n (ρ0/4) ((Q.pressureTower period).realization s t) ≤ Cw*delta (expansion k) ∧ | |
| 64 | - weightedNorm period 6 n (ρ0/4) ((Q.timeDerivativeTower period).realization s t) ≤ Cw*delta (expansion k)) ∧ | |
| 65 | - (∀ (t : Icc (0 : ℝ) D.T) (x : Space), | |
| 66 | - ‖fderiv ℝ (initializedExactPhysicalVelocity M D hTime τ hτ hτT B δ hδ ξ hs α | |
| 67 | - Cagree (truncation k) hn k hk Q t (Y t)) x - | |
| 68 | - (α*deriv (profile δ) (k*⟪D.m₀,Y t x⟫_ℝ)) • | |
| 69 | - rankOne ℝ (canonicalVelocity τ hτ hτT B ξ hs t (Y t x)) (D.normal.field t (Y t x))‖ < Cv/k ∧ | |
| 70 | - ‖fderiv ℝ (gradient (initializedExactPhysicalPressure M D hTime τ hτ hτT B δ hδ ξ hs α | |
| 71 | - Cagree (truncation k) hn k hk Q t (Y t))) x - | |
| 72 | - (EulerPacketPrimaryPressure.coefficient τ hτ hτT B ξ hs α t (Y t x) * | |
| 73 | - deriv (profile δ) (k*⟪D.m₀,Y t x⟫_ℝ)) • | |
| 74 | - rankOne ℝ (D.normal.field t (Y t x)) (D.normal.field t (Y t x))‖ < Cp/k) ∧ | |
| 75 | - (∀ (ell : ℝ) (hell : 0 < ell), ell ≤ 1 → ∀ t : Icc (0 : ℝ) D.T, | |
| 76 | - (G.displacementField k D.m₀ ell hell t).HasJetBound | |
| 77 | - (k^(-(1/2 : ℝ)+ε)) (ell⁻¹*k^(1+ε)) ∧ | |
| 78 | - (G.velocityField k D.m₀ ell hell t).HasJetBound | |
| 79 | - (k^(-(1/2 : ℝ)+ε)) (ell⁻¹*k^(1+ε)) ∧ | |
| 80 | - (G.accelerationFieldL2 k D.m₀ ell hell t).HasJetBound | |
| 81 | - (k^ε) (ell⁻¹*k^(1+ε)) ∧ | |
| 82 | - HasSupBound (G.displacementField k D.m₀ ell hell t).field | |
| 83 | - (k^(-(1/2 : ℝ)+ε)) (ell⁻¹*k^(1+ε)) ∧ | |
| 84 | - HasSupBound (G.velocityField k D.m₀ ell hell t).field | |
| 85 | - (k^(-(1/2 : ℝ)+ε)) (ell⁻¹*k^(1+ε))) := by | |
| 86 | - classical | |
| 87 | - let BC := joinedCoefficientBudget period M D hTime τ hτ hτT B NB | |
| 88 | - obtain ⟨L',H',N',M',hprofile,wj,wm,wp,hterminal,hcost,hrc⟩ := | |
| 89 | - exists_initialized_budgets LM L NB BC δ ξ | |
| 90 | - let S := Scales.ofTimeProfile L.fullProfile L.fullProfile_pos hTime.symm α hα | |
| 91 | - have hgrowth : timeProfileChange S.growth hTime=α • L'.fullProfile := by | |
| 92 | - rw [hprofile] | |
| 93 | - exact Scales.ofTimeProfile_growth L.fullProfile L.fullProfile_pos hTime.symm α hα | |
| 94 | - obtain ⟨ρ0,γ,Cw,hρ,hγ,hCw,hQ⟩ := initialized_correction_estimates_eventually | |
| 95 | - M D hTime τ hτ hτT B δ hδ hδ1 ξ hs α hα L NB LM Cagree X hX hF hdet | |
| 96 | - let C0 := velocity L'.R S.H0 BC.multiplierCost | |
| 97 | - let Cn := normal L'.R S.H0 BC.multiplierCost | |
| 98 | - let Ch := 6*N'.blockAmplitude* | |
| 99 | - (fixedVelocityGradeCost L'.R S.H0 1+fixedVelocityGradeCost L'.R S.H0 2+1) | |
| 100 | - let Rf := physicalInputRadius (4*L'.R) (4*L'.R) (ρ0/4) | |
| 101 | - let Av := liftedInputConstant period*(C0+Cn) | |
| 102 | - let Ev := 2*liftedInputConstant period*Cw | |
| 103 | - let At := 2*liftedInputConstant period*(Ch+Cw) | |
| 104 | - let Kerr := weightedPhysicalGradientCost D period L.Rc L.C₀ (ρ0/4) Cw | |
| 105 | - let Kv := initializedGlobalShearCost L'.R S.H0 N'.C | |
| 106 | - let Kp := initializedPressureHessianCost N' L'.R S.H0 L'.Rc L'.C₀ | |
| 107 | - let Cv := 1+|Kv| | |
| 108 | - let Cp := 1+|Kp| | |
| 109 | - have hRv : 0 ≤ 4*L'.R := by have := L'.radius_bounds.1; linarith | |
| 110 | - have hρ' : 0 < ρ0/4 := by positivity | |
| 111 | - have hRf : 0 < Rf := (liftedInputRadius_pos (4*L'.R) (ρ0/4) hRv hρ').trans_le (le_max_left _ _) | |
| 112 | - have hK : 0 ≤ liftedInputConstant period := zero_le_one.trans (liftedInputConstant_one_le period) | |
| 113 | - have hC0 : 0 ≤ C0 := velocity_nonneg L'.R S.H0 BC.multiplierCost | |
| 114 | - (zero_le_one.trans L'.radius_bounds.1) BC.multiplierCost_nonneg | |
| 115 | - have hCn : 0 ≤ Cn := normal_nonneg L'.R S.H0 BC.multiplierCost | |
| 116 | - (zero_le_one.trans L'.radius_bounds.1) BC.multiplierCost_nonneg | |
| 117 | - have hCh : 0 ≤ Ch := by | |
| 118 | - have hN := N'.blockAmplitude_nonneg | |
| 119 | - have h₁ := fixedVelocityGradeCost_nonneg L'.R S.H0 (zero_le_one.trans L'.radius_bounds.1) 1 | |
| 120 | - have h₂ := fixedVelocityGradeCost_nonneg L'.R S.H0 (zero_le_one.trans L'.radius_bounds.1) 2 | |
| 121 | - dsimp [Ch] | |
| 122 | - positivity | |
| 123 | - have hAv : 0 ≤ Av := mul_nonneg hK (add_nonneg hC0 hCn) | |
| 124 | - have hEv : 0 ≤ Ev := by dsimp [Ev]; positivity | |
| 125 | - have hEta := inputExponent_pos ε hε | |
| 126 | - have hXd : ∀ t x, HasFDerivAt (X t) (D.F.field t x) x := by | |
| 127 | - intro t x | |
| 128 | - rw [← hF t x] | |
| 129 | - exact ((hX t).differentiable (by simp) x).hasFDerivAt | |
| 130 | - have hYd := continuousInverse_hasFDerivAt D X Y hXd hXY hY | |
| 131 | - refine ⟨ρ0,γ,Cw,Cv,Cp,hρ,hγ,hCw,by dsimp [Cv]; positivity,by dsimp [Cp]; positivity,?_⟩ | |
| 132 | - filter_upwards [hQ, | |
| 133 | - fixed_costs_eventually ({tailPolynomialConstant L'.R S.H0 BC.termCost} : Finset ℝ), | |
| 134 | - liftedAmplitude_small_eventually Av Ev Rf D.T hAv hEv hRf.le D.T_pos.le, | |
| 135 | - (_root_.tendsto_rpow_atTop hEta).eventually_ge_atTop Rf, | |
| 136 | - (_root_.tendsto_rpow_atTop hEta).eventually_ge_atTop At, | |
| 137 | - (_root_.tendsto_rpow_atTop hEta).eventually_ge_atTop D.T, | |
| 138 | - correction_with_power_loss_eventually Kerr 1 1, | |
| 139 | - data_field_bounds_eventually period D.T ε hε, | |
| 140 | - data_sup_bounds_eventually period D.T ε hε] | |
| 141 | - with k hQ hscalar hsmall hRf_k hAt_k hT_k hdecay hLp hSup | |
| 142 | - obtain ⟨hk,hn,Q,hδQ,hρQ,hγQ,hweighted⟩ := hQ | |
| 143 | - have hk0 : 0 < k := by linarith | |
| 144 | - have hk1 : 1 ≤ k := by linarith | |
| 145 | - have hbase : tailBase L'.R S.H0 BC.termCost (truncation k) ≤ k^(1/100 : ℝ) := | |
| 146 | - tailBase_frequency L'.R S.H0 BC.termCost k BC.termCost_nonneg hk1 (hscalar.2.2.2 _ (by simp)) | |
| 147 | - let V := initializedNormalizedField M D hTime τ hτ hτT B δ hδ ξ hs α (truncation k) k | |
| 148 | - let Vt := initializedNormalizedDerivativeField M D hTime τ hτ hτT B δ hδ ξ hs α (truncation k) k | |
| 149 | - have hv := initializedNormalizedField_bound M D hTime τ hτ hτT B δ hδ ξ hs α | |
| 150 | - L' H' N' wj M' wm BC hrc hcost hδ1 hα hterminal wp S hgrowth (truncation k) hn k hk hbase | |
| 151 | - have hnrm := initializedNormalizedField_normal_bound M D hTime τ hτ hτT B δ hδ ξ hs α | |
| 152 | - L' H' N' wj M' wm BC hrc hcost hδ1 hα hterminal wp S hgrowth (truncation k) hn k hk hbase | |
| 153 | - have hvt := initializedNormalizedDerivativeField_bound M D hTime τ hτ hτT B δ hδ ξ hs α | |
| 154 | - L' H' N' wj M' wm BC hrc hcost hδ1 hα hterminal wp S hgrowth (truncation k) hn k hk hbase | |
| 155 | - have he (n : ℕ) (t : Icc (0 : ℝ) D.T) : weightedNorm period 6 n (ρ0/4) | |
| 156 | - ((Q.fieldTower period).realization (n+6) t) ≤ Cw*delta (expansion k) := | |
| 157 | - (hweighted (n+6) n le_rfl t).1 | |
| 158 | - have hp (n : ℕ) (t : Icc (0 : ℝ) D.T) : weightedNorm period 6 n (ρ0/4) | |
| 159 | - ((Q.pressureTower period).realization (n+6) t) ≤ Cw*delta (expansion k) := | |
| 160 | - (hweighted (n+6) n le_rfl t).2.1 | |
| 161 | - have het (n : ℕ) (t : Icc (0 : ℝ) D.T) : weightedNorm period 6 n (ρ0/4) | |
| 162 | - ((Q.timeDerivativeTower period).realization (n+6) t) ≤ Cw := | |
| 163 | - ((hweighted (n+6) n le_rfl t).2.2).trans | |
| 164 | - ((mul_le_mul_of_nonneg_left (delta_le_one _) hCw.le).trans_eq (mul_one _)) | |
| 165 | - have hsize : physicalInputSize period k C0 Cn (Cw*delta (expansion k)) = liftedAmplitude Av Ev k := by | |
| 166 | - dsimp [physicalInputSize,liftedAmplitude,Av,Ev] | |
| 167 | - ring | |
| 168 | - let G := Q.physicalFlowData period V Vt rfl | |
| 169 | - (initializedNormalizedField_time M D hTime τ hτ hτT B δ hδ ξ hs α (truncation k) k) | |
| 170 | - k (4*L'.R) (4*L'.R) (ρ0/4) C0 Cn Ch (Cw*delta (expansion k)) Cw | |
| 171 | - hk1 rfl D.m₀_unit.le hRv hRv hρ' hC0 hCn hCh | |
| 172 | - (mul_nonneg hCw.le (delta_pos _).le) hCw.le hv hnrm hvt he het | |
| 173 | - (by change physicalInputSize period k C0 Cn (Cw*delta (expansion k))*Rf*D.T ≤ 1/8 | |
| 174 | - rw [hsize] | |
| 175 | - exact hsmall.2.2.2) | |
| 176 | - have hGB : G.B ≤ 2*k^(-(1/2 : ℝ)) := by | |
| 177 | - change physicalInputSize period k C0 Cn (Cw*delta (expansion k)) ≤ _ | |
| 178 | - rw [hsize] | |
| 179 | - exact hsmall.2.2.1 | |
| 180 | - have hflow := hLp G rfl rfl rfl hGB hRf_k hAt_k hT_k D.m₀ D.m₀_unit | |
| 181 | - have hsup := hSup G hGB hRf_k hT_k D.m₀ D.m₀_unit | |
| 182 | - have hcorrection (t : Icc (0 : ℝ) D.T) (x : Space) := | |
| 183 | - Q.physical_gradient_hessian_of_weighted D period X Y hXd hXY hY hdet | |
| 184 | - L.Rc L.C₀ L.Rc_nonneg L.C₀_nonneg L.frame_bound k (ρ0/4) Cw (delta (expansion k)) | |
| 185 | - hk1 rfl rfl hρ' hCw.le (delta_pos _).le he hp t x | |
| 186 | - have hdecay' : Kerr*k*delta (expansion k) < k⁻¹ := by | |
| 187 | - simpa only [Real.rpow_one,Real.rpow_neg_one] using hdecay | |
| 188 | - refine ⟨hk,hn,Q,G,hδQ,hρQ,hγQ,rfl,rfl,?_,hweighted,?_,?_⟩ | |
| 189 | - · intro t z | |
| 190 | - change graphConstraint k D.m₀ | |
| 191 | - (EulerMetricTransport.transportDirection k⁻¹ D.m₀ ((Q.packetCoefficient period V).field t z)) = 0 | |
| 192 | - exact graphConstraint_transport k k⁻¹ (mul_inv_cancel₀ hk0.ne') D.m₀ _ | |
| 193 | - · intro t x | |
| 194 | - constructor | |
| 195 | - · have h := initializedExactPhysicalVelocity_global_gradient_error M D hTime τ hτ hτT B δ hδ ξ hs α | |
| 196 | - L' H' N' wj M' wm BC hrc hcost hδ1 hα hterminal wp S hgrowth | |
| 197 | - Cagree (truncation k) hn k hk Q hbase t (Y t) x (hYd t x) | |
| 198 | - have hc := ((hcorrection t x).1).trans_lt hdecay' | |
| 199 | - have ht : Kv/k ≤ |Kv|/k := div_le_div_of_nonneg_right (le_abs_self Kv) hk0.le | |
| 200 | - exact h.trans_lt ((add_lt_add_of_le_of_lt ht hc).trans_eq (by dsimp [Cv]; ring)) | |
| 201 | - · have h := initializedExactPhysicalPressure_hessian_error M D hTime τ hτ hτT B δ hδ ξ hs α | |
| 202 | - Cagree (truncation k) hn k hk Q X Y hXd hXY hY L' H' N' wj M' wm BC hrc hcost | |
| 203 | - hδ1 hα hterminal wp S hgrowth hbase hdet t x | |
| 204 | - have hc := ((hcorrection t x).2).trans_lt hdecay' | |
| 205 | - have ht : Kp/k ≤ |Kp|/k := div_le_div_of_nonneg_right (le_abs_self Kp) hk0.le | |
| 206 | - exact h.trans_lt ((add_lt_add_of_le_of_lt ht hc).trans_eq (by dsimp [Cp]; ring)) | |
| 207 | - · intro ell hell hell1 t | |
| 208 | - exact ⟨(hflow ell hell hell1 t).1,(hflow ell hell hell1 t).2.1, | |
| 209 | - (hflow ell hell hell1 t).2.2,(hsup ell hell hell1 t).1,(hsup ell hell hell1 t).2⟩ | |
| 210 | - | |
| 211 | 47 | end EulerPacketTerminalDatum |
+0 −44 Euler/PacketLiftedSmallness.lean View file
| @@ -13,48 +13,4 @@ open scoped Topology | ||
| 13 | 13 | |
| 14 | 14 | def liftedAmplitude (C E k : ℝ) : ℝ := C/k + E*delta (expansion k) |
| 15 | 15 | |
| 16 | -theorem fixed_div_eventually_le_inverse_half (C : ℝ) : | |
| 17 | - ∀ᶠ k : ℝ in atTop, C/k ≤ k^(-(1/2 : ℝ)) := by | |
| 18 | - filter_upwards [(_root_.tendsto_rpow_atTop (by norm_num : (0 : ℝ) < 1/2)).eventually_ge_atTop C, | |
| 19 | - eventually_gt_atTop (0 : ℝ)] with k hC hk | |
| 20 | - apply (div_le_iff₀ hk).mpr | |
| 21 | - have he : k^(-(1/2 : ℝ))*k = k^(1/2 : ℝ) := by | |
| 22 | - calc | |
| 23 | - _ = k^(-(1/2 : ℝ))*k^(1 : ℝ) := by rw [Real.rpow_one] | |
| 24 | - _ = k^(-(1/2 : ℝ)+1) := (Real.rpow_add hk _ _).symm | |
| 25 | - _ = _ := by norm_num | |
| 26 | - rwa [he] | |
| 27 | - | |
| 28 | -theorem liftedAmplitude_nonneg (C E k : ℝ) (hC : 0 ≤ C) (hE : 0 ≤ E) (hk : 0 ≤ k) : | |
| 29 | - 0 ≤ liftedAmplitude C E k := by | |
| 30 | - unfold liftedAmplitude | |
| 31 | - exact add_nonneg (div_nonneg hC hk) (mul_nonneg hE (delta_pos (expansion k)).le) | |
| 32 | - | |
| 33 | -theorem liftedAmplitude_eventually_le_inverse_half (C E : ℝ) : | |
| 34 | - ∀ᶠ k : ℝ in atTop, liftedAmplitude C E k ≤ 2*k^(-(1/2 : ℝ)) := by | |
| 35 | - filter_upwards [fixed_div_eventually_le_inverse_half C, | |
| 36 | - correction_eventually_lt_inverse_power E (1/2)] with k hC hE | |
| 37 | - have h := add_le_add hC hE.le | |
| 38 | - simpa only [liftedAmplitude, two_mul] using h | |
| 39 | - | |
| 40 | -theorem liftedAmplitude_small_eventually (C E R T : ℝ) | |
| 41 | - (hC : 0 ≤ C) (hE : 0 ≤ E) (hR : 0 ≤ R) (hT : 0 ≤ T) : | |
| 42 | - ∀ᶠ k : ℝ in atTop, 4 ≤ k ∧ 0 ≤ liftedAmplitude C E k ∧ | |
| 43 | - liftedAmplitude C E k ≤ 2*k^(-(1/2 : ℝ)) ∧ | |
| 44 | - liftedAmplitude C E k*R*T ≤ 1/8 := by | |
| 45 | - filter_upwards [eventually_ge_atTop (4 : ℝ), | |
| 46 | - liftedAmplitude_eventually_le_inverse_half C E, | |
| 47 | - (_root_.tendsto_rpow_atTop (by norm_num : (0 : ℝ) < 1/2)).eventually_ge_atTop (16*R*T)] | |
| 48 | - with k hk hb hroot | |
| 49 | - have hk0 : 0 < k := by linarith | |
| 50 | - have hp : 0 < k^(1/2 : ℝ) := Real.rpow_pos_of_pos hk0 _ | |
| 51 | - refine ⟨hk, liftedAmplitude_nonneg C E k hC hE hk0.le, hb, ?_⟩ | |
| 52 | - calc | |
| 53 | - _ ≤ (2*k^(-(1/2 : ℝ)))*R*T := | |
| 54 | - mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_right hb hR) hT | |
| 55 | - _ = (2*R*T)/k^(1/2 : ℝ) := by rw [Real.rpow_neg hk0.le]; ring | |
| 56 | - _ ≤ 1/8 := by | |
| 57 | - apply (div_le_iff₀ hp).mpr | |
| 58 | - nlinarith | |
| 59 | - | |
| 60 | 16 | end EulerPacketSourceFrequency |
+23 −0 routes/s1-euler-packet-2/README.md added View file
| @@ -0,0 +1,23 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-packet-2 | |
| 6 | + | |
| 7 | +One unit of S-1 (#10), the `Euler/Packet*` family, wave 2: delete the 25 | |
| 8 | +declarations that nothing uses, 939 lines across 16 files of `Euler/`. The | |
| 9 | +list was cut from Treant's run of 2026-12-03 (TitiSkywalker/NavierStokesAndEuler) | |
| 10 | +and re-checked against this project's main under the keep rule: a declaration | |
| 11 | +that the paper's results reach, that names the paper in its docstring, that is | |
| 12 | +an existence result, or that a kept declaration refers to stays. None of the 25 | |
| 13 | +is kept by that rule, and no remaining Lean file names any of them after the | |
| 14 | +deletion. | |
| 15 | + | |
| 16 | +The diff is deletions only: no statement and no proof that stays is changed, and | |
| 17 | +no import is touched. | |
| 18 | + | |
| 19 | +## Next | |
| 20 | + | |
| 21 | +Open the pull request into `main`. The `build` check on its head decides the | |
| 22 | +rest; nothing here needs a reader's edit. A later wave can take the same family | |
| 23 | +again from the remaining unreachable declarations. | |